Re: [Spacewalk-list] Best Practice for adding a child Channel?
Hello, SSM can be managed from spacecmd. You can add your systems using “spacecmd ssm_add” and then continue from there. They can be added individually, by group, by channel or by search string. You should have a look at “spacecmd help” or “man spacecmd” for details. Its capabilities are quite extensive. From: spacewalk-list-boun...@redhat.com On Behalf Of Guy Matz Sent: Saturday, June 15, 2019 12:48 PM To: spacewalk-list@redhat.com Subject: Re: [Spacewalk-list] Best Practice for adding a child Channel? Thanks. Would be nice if SSM could be managed from spacecmd . . . On Tue, Jun 11, 2019 at 5:00 PM William Hongach mailto:william.hong...@marist.edu>> wrote: Hello, Add all of the target systems to the SSM as Robert suggested, then run the following from the server: spacecmd system_addchildchannels ssm This should subscribe all of the systems currently in the SSM to the child channel that you specify by its label. If you do not have the “spacecmd” CLI already installed on your system, you should be able to grab it from the Spacewalk repo for your distribution. Hope this helps. From: spacewalk-list-boun...@redhat.com<mailto:spacewalk-list-boun...@redhat.com> mailto:spacewalk-list-boun...@redhat.com>> On Behalf Of Guy Matz Sent: Tuesday, June 11, 2019 4:43 PM To: spacewalk-list@redhat.com<mailto:spacewalk-list@redhat.com> Subject: Re: [Spacewalk-list] Best Practice for adding a child Channel? Hey! Thanks for the reply! I'm asking about the scenario in which a system is already registered and a new child channel is added . . . On Tue, Jun 11, 2019 at 4:36 PM William Hongach mailto:william.hong...@marist.edu>> wrote: Hello, If the child channel is already associated with the activation key at the time of client registration, the client should subscribe to the base and child channels simultaneously if things are working correctly. If you want to retroactively associate previously registered clients with a newly added child channel, I think you may have to script something to process this. For example, you can make use of “spacecmd system_addchildchannels” to associate the system or system groups with the child channel. I’m not sure if “Reactivation” within the GUI using the generated key would also work, but that is also a possibility to investigate. From: spacewalk-list-boun...@redhat.com<mailto:spacewalk-list-boun...@redhat.com> mailto:spacewalk-list-boun...@redhat.com>> On Behalf Of Guy Matz Sent: Tuesday, June 11, 2019 4:21 PM To: Spacewalk-list@redhat.com<mailto:Spacewalk-list@redhat.com> Subject: [Spacewalk-list] Best Practice for adding a child Channel? Hi! Is there a best way to add child channels? I've added a channel, and made it a child channel in the "Activation Keys" section of the UI, but the channel does not show up on the client unless I add the child channel to the system. Is there a better way? Am I missing something? Thanks a lot, Guy ___ Spacewalk-list mailing list Spacewalk-list@redhat.com<mailto:Spacewalk-list@redhat.com> https://www.redhat.com/mailman/listinfo/spacewalk-list ___ Spacewalk-list mailing list Spacewalk-list@redhat.com<mailto:Spacewalk-list@redhat.com> https://www.redhat.com/mailman/listinfo/spacewalk-list ___ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list
Re: [Spacewalk-list] Best Practice for adding a child Channel?
Thanks. Would be nice if SSM could be managed from spacecmd . . . On Tue, Jun 11, 2019 at 5:00 PM William Hongach wrote: > Hello, > > > > Add all of the target systems to the SSM as Robert suggested, then run the > following from the server: > > > > spacecmd system_addchildchannels ssm > > > > This should subscribe all of the systems currently in the SSM to the child > channel that you specify by its label. If you do not have the “spacecmd” > CLI already installed on your system, you should be able to grab it from > the Spacewalk repo for your distribution. Hope this helps. > > > > *From:* spacewalk-list-boun...@redhat.com < > spacewalk-list-boun...@redhat.com> *On Behalf Of *Guy Matz > *Sent:* Tuesday, June 11, 2019 4:43 PM > *To:* spacewalk-list@redhat.com > *Subject:* Re: [Spacewalk-list] Best Practice for adding a child Channel? > > > > Hey! Thanks for the reply! I'm asking about the scenario in which a > system is already registered and a new child channel is added . . . > > > > On Tue, Jun 11, 2019 at 4:36 PM William Hongach < > william.hong...@marist.edu> wrote: > > Hello, > > > > If the child channel is already associated with the activation key at the > time of client registration, the client should subscribe to the base and > child channels simultaneously if things are working correctly. If you want > to retroactively associate previously registered clients with a newly added > child channel, I think you may have to script something to process this. > For example, you can make use of “spacecmd system_addchildchannels” to > associate the system or system groups with the child channel. > > > > I’m not sure if “Reactivation” within the GUI using the generated key > would also work, but that is also a possibility to investigate. > > > > *From:* spacewalk-list-boun...@redhat.com < > spacewalk-list-boun...@redhat.com> *On Behalf Of *Guy Matz > *Sent:* Tuesday, June 11, 2019 4:21 PM > *To:* Spacewalk-list@redhat.com > *Subject:* [Spacewalk-list] Best Practice for adding a child Channel? > > > > Hi! Is there a best way to add child channels? I've added a channel, and > made it a child channel in the "Activation Keys" section of the UI, but the > channel does not show up on the client unless I add the child channel to > the system. Is there a better way? Am I missing something? > > > > Thanks a lot, > > Guy > > ___ > Spacewalk-list mailing list > Spacewalk-list@redhat.com > https://www.redhat.com/mailman/listinfo/spacewalk-list > > ___ > Spacewalk-list mailing list > Spacewalk-list@redhat.com > https://www.redhat.com/mailman/listinfo/spacewalk-list ___ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list
Re: [Spacewalk-list] Best Practice for adding a child Channel?
Hello, Add all of the target systems to the SSM as Robert suggested, then run the following from the server: spacecmd system_addchildchannels ssm This should subscribe all of the systems currently in the SSM to the child channel that you specify by its label. If you do not have the “spacecmd” CLI already installed on your system, you should be able to grab it from the Spacewalk repo for your distribution. Hope this helps. From: spacewalk-list-boun...@redhat.com On Behalf Of Guy Matz Sent: Tuesday, June 11, 2019 4:43 PM To: spacewalk-list@redhat.com Subject: Re: [Spacewalk-list] Best Practice for adding a child Channel? Hey! Thanks for the reply! I'm asking about the scenario in which a system is already registered and a new child channel is added . . . On Tue, Jun 11, 2019 at 4:36 PM William Hongach mailto:william.hong...@marist.edu>> wrote: Hello, If the child channel is already associated with the activation key at the time of client registration, the client should subscribe to the base and child channels simultaneously if things are working correctly. If you want to retroactively associate previously registered clients with a newly added child channel, I think you may have to script something to process this. For example, you can make use of “spacecmd system_addchildchannels” to associate the system or system groups with the child channel. I’m not sure if “Reactivation” within the GUI using the generated key would also work, but that is also a possibility to investigate. From: spacewalk-list-boun...@redhat.com<mailto:spacewalk-list-boun...@redhat.com> mailto:spacewalk-list-boun...@redhat.com>> On Behalf Of Guy Matz Sent: Tuesday, June 11, 2019 4:21 PM To: Spacewalk-list@redhat.com<mailto:Spacewalk-list@redhat.com> Subject: [Spacewalk-list] Best Practice for adding a child Channel? Hi! Is there a best way to add child channels? I've added a channel, and made it a child channel in the "Activation Keys" section of the UI, but the channel does not show up on the client unless I add the child channel to the system. Is there a better way? Am I missing something? Thanks a lot, Guy ___ Spacewalk-list mailing list Spacewalk-list@redhat.com<mailto:Spacewalk-list@redhat.com> https://www.redhat.com/mailman/listinfo/spacewalk-list ___ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list
Re: [Spacewalk-list] Best Practice for adding a child Channel?
Hey! Thanks for the reply! I'm asking about the scenario in which a system is already registered and a new child channel is added . . . On Tue, Jun 11, 2019 at 4:36 PM William Hongach wrote: > Hello, > > > > If the child channel is already associated with the activation key at the > time of client registration, the client should subscribe to the base and > child channels simultaneously if things are working correctly. If you want > to retroactively associate previously registered clients with a newly added > child channel, I think you may have to script something to process this. > For example, you can make use of “spacecmd system_addchildchannels” to > associate the system or system groups with the child channel. > > > > I’m not sure if “Reactivation” within the GUI using the generated key > would also work, but that is also a possibility to investigate. > > > > *From:* spacewalk-list-boun...@redhat.com < > spacewalk-list-boun...@redhat.com> *On Behalf Of *Guy Matz > *Sent:* Tuesday, June 11, 2019 4:21 PM > *To:* Spacewalk-list@redhat.com > *Subject:* [Spacewalk-list] Best Practice for adding a child Channel? > > > > Hi! Is there a best way to add child channels? I've added a channel, and > made it a child channel in the "Activation Keys" section of the UI, but the > channel does not show up on the client unless I add the child channel to > the system. Is there a better way? Am I missing something? > > > > Thanks a lot, > > Guy > ___ > Spacewalk-list mailing list > Spacewalk-list@redhat.com > https://www.redhat.com/mailman/listinfo/spacewalk-list ___ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list
Re: [Spacewalk-list] Best Practice for adding a child Channel?
If you add the channel to the activation key *after* the client has been registered with that key, nothing will be done on the client. That's by design. New clients *will* get the child channel when registering with that key. If you need to modify many clients now, use the SSM. Robert sent from my mobile device Originale Nachricht Von: Guy Matz Gesendet: Tue Jun 11 22:21:28 GMT+02:00 2019 An: spacewalk-list@redhat.com Betreff: [Spacewalk-list] Best Practice for adding a child Channel? Hi! Is there a best way to add child channels? I've added a channel, and made it a child channel in the "Activation Keys" section of the UI, but the channel does not show up on the client unless I add the child channel to the system. Is there a better way? Am I missing something? Thanks a lot, Guy ___ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list ___ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list
Re: [Spacewalk-list] Best Practice for adding a child Channel?
Hello, If the child channel is already associated with the activation key at the time of client registration, the client should subscribe to the base and child channels simultaneously if things are working correctly. If you want to retroactively associate previously registered clients with a newly added child channel, I think you may have to script something to process this. For example, you can make use of “spacecmd system_addchildchannels” to associate the system or system groups with the child channel. I’m not sure if “Reactivation” within the GUI using the generated key would also work, but that is also a possibility to investigate. From: spacewalk-list-boun...@redhat.com On Behalf Of Guy Matz Sent: Tuesday, June 11, 2019 4:21 PM To: Spacewalk-list@redhat.com Subject: [Spacewalk-list] Best Practice for adding a child Channel? Hi! Is there a best way to add child channels? I've added a channel, and made it a child channel in the "Activation Keys" section of the UI, but the channel does not show up on the client unless I add the child channel to the system. Is there a better way? Am I missing something? Thanks a lot, Guy ___ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list