Remove channel from the network


Nikos Karamolegkos
 

The purpose of removing the channel is that is not anymore useful for the BC network. The peers and the orderers are joined to another channel so how can I remove them from the useless channel? Is it enough for the peers to use peer unjoin? Is there something similar for the orderer nodes?


Baohua Yang
 

What's the original purpose of removing a channel?

If just to prevent using it, you can remove/disable the peers/orderers.

On Mon, Sep 19, 2022 at 1:49 AM Nikos Karamolegkos <nkaram@...> wrote:
Any proposals for that? What is the flow (steps) I should follow for "removing" a channel? Is it enough just to unjoin the peers and orderers nodes?



--
Best wishes!

Baohua Yang


Nikos Karamolegkos
 

Any proposals for that? What is the flow (steps) I should follow for "removing" a channel? Is it enough just to unjoin the peers and orderers nodes?


Nikos Karamolegkos
 

If a channel is not useful anymore, is peer unjoin enough. I should somehow remove the orderers from the channel too.


Joaquim Pedro Carvalho de Oliveira
 

Hi, Nikos.

Starting on Fabric 2.4, you can use peer channel unjoin command.

Atenciosamente,


Serpro
Joaquim Pedro Carvalho de Oliveira
Gerente de Divisão
Analista
Superintendência de Produtos e Serviços - Centro de Dados
Diretoria de Operações
(85) 4008-4630


De: fabric@... <fabric@...> em nome de Nikos Karamolegkos <nkaram@...>
Enviado: quinta-feira, 19 de maio de 2022 04:42
Para: fabric@... <fabric@...>
Assunto: Re: [Hyperledger Fabric] Remove channel from the network
 
Thanks, but what happens if the peers and orderers have already join a channel that it is not useful anymore?


“Essa mensagem do SERVIÇO FEDERAL DE PROCESSAMENTO DE DADOS (SERPRO), empresa pública federal regida pelo disposto na Lei Federal nº 5.615, é enviada exclusivamente ao destinatário informado e pode conter dados pessoais, protegidos pela Lei Geral de Proteção de Dados (Lei 13.709/2018), assim como informações confidenciais, protegidas por sigilo profissional. O SERPRO ressalta seu comprometimento em assegurar a segurança e a proteção das informações contidas neste e-mail e informa que a sua utilização desautorizada é ilegal e sujeita o infrator às penas da lei. Se você o recebeu indevidamente, queira, por gentileza, reenviá-lo ao emitente, esclarecendo o equívoco.” “This message from SERVIÇO FEDERAL DE PROCESSAMENTO DE DADOS (SERPRO) - a government company established under Brazilian law (5.615/70) - is directed exclusively to its addressee and may contain personal data protected by the General Data Protection Law (13.709/2018) as well as confidencial data, protected under professional secrecy rules. SERPRO highlights its commitment to ensuring the security and protection of the information contained in this email and its unauthorized use is illegal and may subject the transgressor to the law´s penalties. If you´re not the addressee, please send it back, elucidating the failure.”


Nikos Karamolegkos
 

Thanks, but what happens if the peers and orderers have already join a channel that it is not useful anymore?


Nikhil Gupta
 

Hi Nikos,

There is no way to delete a channel. But as you spin up new peers and ordering nodes, you can select which channels they join. If you do not join them to channels that you do not want to preserve, then those channels will effectively disappear as you deploy new nodes.

Nik


On Tue, May 17, 2022 at 9:50 AM Nikos Karamolegkos <nkaram@...> wrote:
I have a network with M orgs and N orderers which can join in multiple
channels. In case a channel is no more needed what should I do to
somehow "delete" the channel from the network since delete of the
channel is not an option in HLF?

Thanks,
Nikos

--
Nikos Karamolegkos
R & D engineer at ICS-FORTH
Telecommunications and Networks Lab (TNL)







Nikos Karamolegkos
 

I have a network with M orgs and N orderers which can join in multiple channels. In case a channel is no more needed what should I do to somehow "delete" the channel from the network since delete of the channel is not an option in HLF?

Thanks,
Nikos

--
Nikos Karamolegkos
R & D engineer at ICS-FORTH
Telecommunications and Networks Lab (TNL)