[Spacewalk-list] How to properly setup Solaris Channels

Daryl Rose rosede12 at gmail.com
Tue Nov 18 13:53:24 UTC 2014


Hello everyone.  I'm finally able to reply to this posting.

Here is what I have discovered.  Nested channels, at least for Solaris,
does not work.  However, I now realize that I SW does not handle Solaris
packages, so it really doesn't matter if I have a channel for packages,
only patches.

A Solaris package is normally in the .pkg format and is installed with the
pkgadd command.  A Solaris patch is totally different and is installed with
patchadd command.  It appears to me that SW doesn't know how to install a
package, but it can install a patch. So perhaps it doesn't know how to use
the pkgadd command?

I'm a little disappointed by this, because I was hoping that SW could be
used to support my Solaris servers as well.  I know that I was told during
my initial post that Solaris support will be removed in future releases,
but I was hoping to use it until I could find some other low cost
replacement.  I can use it to apply patches, which will be very beneficial,
I just can't use it for packages.

Thank you all for the reply's and feedback.

Daryl


On Fri, Nov 14, 2014 at 11:23 AM, Waldirio Manhães Pinheiro <
waldirio at gmail.com> wrote:

> Sorry, Daryl!
>
> B'Regards
>
> ______________
> Atenciosamente
> Waldirio
> msn: waldirio at gmail.com
> Skype: waldirio
> Site: www.waldirio.com.br
> Blog: blog.waldirio.com.br
> LinkedIn: http://br.linkedin.com/pub/waldirio-pinheiro/22/b21/646
> PGP: www.waldirio.com.br/public.html
>
> On Fri, Nov 14, 2014 at 3:22 PM, Waldirio Manhães Pinheiro <
> waldirio at gmail.com> wrote:
>
>> Daryk
>>
>> Can you post some pics in the web ?!
>>
>> If you prefer, can send me directly by email.
>>
>> B'Regards
>>
>> ______________
>> Atenciosamente
>> Waldirio
>> msn: waldirio at gmail.com
>> Skype: waldirio
>> Site: www.waldirio.com.br
>> Blog: blog.waldirio.com.br
>> LinkedIn: http://br.linkedin.com/pub/waldirio-pinheiro/22/b21/646
>> PGP: www.waldirio.com.br/public.html
>>
>> On Fri, Nov 14, 2014 at 3:13 PM, Daryl Rose <rosede12 at gmail.com> wrote:
>>
>>> Waldirio,
>>>
>>> I just realized that the example that you provided me was a channel and
>>> repositories.  That is exactly how I have the CentOS channel setup.  A
>>> single channel with three repositories.
>>>
>>> Solaris doesn't have repositories that I can draw from that is why I am
>>> adding the packages and patches to the channel(s).
>>>
>>> Thanks.
>>>
>>> Daryl
>>>
>>>
>>>
>>> On Fri, Nov 14, 2014 at 10:14 AM, Waldirio Manhães Pinheiro <
>>> waldirio at gmail.com> wrote:
>>>
>>>> Daryl, good afternoon
>>>>
>>>> Sure, no problem. Take a look in
>>>> https://www.redhat.com/archives/spacewalk-list/2014-October/msg00222.html
>>>> .
>>>>
>>>> You can create in your environment different's base channels, for
>>>> example:
>>>>
>>>> B centos6.4
>>>>
>>>> B centos6.5
>>>>
>>>> B centos6.6
>>>>
>>>> You can subscribe your client just in one Base Channel, only centos6.4
>>>> or centos6.5 or centos6.6, although you can use epel, flash, vmwaretools,
>>>> so you can create child channels, like example bellow:
>>>>
>>>> B centos6.4
>>>>      | -- epel_6_x86-64
>>>>      | -- vmware_tools_6_x86-64
>>>>      | -- xpto_6_x86-64
>>>>
>>>> B centos6.5
>>>>
>>>> B centos6.6
>>>>
>>>> Now, if you have you client subscribed in centos6.4, you can sign too
>>>> child channels (epel, vmware and xpto).
>>>>
>>>> Make sense to you ?!
>>>>
>>>> Let me know !!
>>>>
>>>> B'Regards
>>>>
>>>>
>>>> ______________
>>>> Atenciosamente
>>>> Waldirio
>>>> msn: waldirio at gmail.com
>>>> Skype: waldirio
>>>> Site: www.waldirio.com.br
>>>> Blog: blog.waldirio.com.br
>>>> LinkedIn: http://br.linkedin.com/pub/waldirio-pinheiro/22/b21/646
>>>> PGP: www.waldirio.com.br/public.html
>>>>
>>>> On Fri, Nov 14, 2014 at 2:02 PM, Daryl Rose <rosede12 at gmail.com> wrote:
>>>>
>>>>> Waldirio,
>>>>>
>>>>> Would you please clarify that comment?  Are you telling me to create a
>>>>> base channel and a child channel, and then subscribe to the child channel?
>>>>>
>>>>> Thanks
>>>>>
>>>>> Daryl
>>>>>
>>>>>
>>>>> On Thu, Nov 13, 2014 at 5:37 PM, Waldirio Manhães Pinheiro <
>>>>> waldirio at gmail.com> wrote:
>>>>>
>>>>>> Daryl
>>>>>>
>>>>>> Child channel yes, Base channel no!
>>>>>>
>>>>>> Take care
>>>>>> Em 13/11/2014 17:43, "Daryl Rose" <rosede12 at gmail.com> escreveu:
>>>>>>
>>>>>>> Can I register the same client to two different channels?
>>>>>>>
>>>>>>> Thank you
>>>>>>>
>>>>>>> Daryl
>>>>>>>
>>>>>>> On Thu, Nov 13, 2014 at 11:13 AM, Ethan Bonick <
>>>>>>> ethan.bonick at truqua.com> wrote:
>>>>>>>
>>>>>>>> You shouldn’t have to do that. I have mine set up as separate
>>>>>>>> channels on CentOS and they work independently. I would try out the Solaris
>>>>>>>> if I had the time, but I don’t. I also don’t know Solaris really all that
>>>>>>>> much, hopefully someone else can chime in.
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> Regards,
>>>>>>>>
>>>>>>>> [image:
>>>>>>>> https://lh3.googleusercontent.com/pPQYWyEgd3U9tfRSLCOfyEAjztZRe-j4nPYRdMYrN6FGIZFJEo-O3D-nQ5mhhJA1aetmO-GtoGO7U3mYiw2fDUZIGYNtR5ifQ4hOE_g1rRE0sUqsJlk]
>>>>>>>>
>>>>>>>> *Ethan Bonick** | Information Technology *
>>>>>>>> *TruQua*
>>>>>>>> Mobile 630.445.9313
>>>>>>>> Office 312.525.8790
>>>>>>>>
>>>>>>>> *CONFIDENTIAL:  *This e-mail and any attachments are confidential
>>>>>>>> and may be protected by legal privilege. If you are not the intended
>>>>>>>> recipient, be aware that any disclosure, copying, distribution or use of
>>>>>>>> this e-mail or any attachment is prohibited. If you have received this
>>>>>>>> e-mail in error, please reply and notify the sender and delete this copy
>>>>>>>> from your system.
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> *From:* spacewalk-list-bounces at redhat.com [mailto:
>>>>>>>> spacewalk-list-bounces at redhat.com] *On Behalf Of *Daryl Rose
>>>>>>>> *Sent:* Thursday, November 13, 2014 10:56 AM
>>>>>>>> *To:* spacewalk-list at redhat.com
>>>>>>>> *Subject:* Re: [Spacewalk-list] How to properly setup Solaris
>>>>>>>> Channels
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> Ethan,
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> To answer your questions, yes. Yes, I ran the rhn_check -vv on the
>>>>>>>> client server, and yes the server had checked in.  So, the updates channel
>>>>>>>> was a child of the base, so when I re-registered the client, it should have
>>>>>>>> known about the child because it was part of the activation key.
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> I've since blown away the base channel and the child channel and
>>>>>>>> combined everything into a single channel. I know see that there are over
>>>>>>>> 900 updates available, which should be pretty accurate, however, I don't
>>>>>>>> like all of patches and packages intermixed.  It makes it difficult to
>>>>>>>> figure out whats what.  however, that is how the CentOS channel is, all
>>>>>>>> three repositories combined into a single large list, so maybe I just have
>>>>>>>> to get used to it.
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> Thanks
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> Daryl
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> On Thu, Nov 13, 2014 at 9:58 AM, Ethan Bonick <
>>>>>>>> ethan.bonick at truqua.com> wrote:
>>>>>>>>
>>>>>>>> Have you run an rhn_check or has the server checked in get to get
>>>>>>>> the new channel config? My guess would be it doesn't know about the channel
>>>>>>>> yet. When you re-registered did you make sure the child channel is
>>>>>>>> subscribed to by the base channel? I know some of it is low level and you
>>>>>>>> might have checked already, but never hurts to ask. Also did you remove the
>>>>>>>> repo or just the channel?
>>>>>>>>
>>>>>>>>
>>>>>>>> *Ethan Bonick | *Information Technology
>>>>>>>> *TruQua*
>>>>>>>>
>>>>>>>> *CONFIDENTIAL:  *This e-mail and any attachments are confidential
>>>>>>>> and may be protected by legal privilege. If you are not the intended
>>>>>>>> recipient, be aware that any disclosure, copying, distribution or use of
>>>>>>>> this e-mail or any attachment is prohibited. If you have received this
>>>>>>>> e-mail in error, please reply and notify the sender and delete this copy
>>>>>>>> from your system.
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> On Thu, Nov 13, 2014 at 8:21 AM, Daryl Rose <rosede12 at gmail.com>
>>>>>>>> wrote:
>>>>>>>>
>>>>>>>> When I initially setup Solaris, I did just a single channel just
>>>>>>>> for patches.  However, I decided that I want to also have a base channel as
>>>>>>>> well.  Currently, if I want to add a new package to a Solaris server, I
>>>>>>>> have to either pop a dvd into the drive, or NFS an ISO image.  However,
>>>>>>>> this is what SW is for.  A repository of all of the packages, plus updates
>>>>>>>> that may need to be applied.
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> I made a new base channel and imported all of the installation
>>>>>>>> packages into it.   However, I already had an update channel with a system
>>>>>>>> assigned to it.  What I am trying to figure out is; what is the correct way
>>>>>>>> to set up the two channels?
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> I removed the updates channel, and recreated it as a child of the
>>>>>>>> base channel.  I had previously removed the subscribed system, so I
>>>>>>>> resubscribed to the base channel.  There are over 2000 packages in the base
>>>>>>>> channel, and 381 in the updates channel.  I thought that once I
>>>>>>>> resubscribed the server to the base/child updates channel, I would see
>>>>>>>> needed updates. I know that there should be 80 updates needed on this
>>>>>>>> server, however, SW tells me that the system is up to date.
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> When I setup the CentOS Channel, I created three repositories:
>>>>>>>>  Base, Updates and Extra's.   All three are then assigned to the CentOS
>>>>>>>> channel.  There are now over 8000 packages available for the CentOS
>>>>>>>> server.  Is best practice to put *ALL *base packages and updates
>>>>>>>> together in a single channel so that way the Solaris server can see
>>>>>>>> everything?  Why doesn't the client server see the child channel and SW
>>>>>>>> tell me that it needs updates?
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> Thank you.
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> Daryl
>>>>>>>>
>>>>>>>>
>>>>>>>> _______________________________________________
>>>>>>>> Spacewalk-list mailing list
>>>>>>>> Spacewalk-list at redhat.com
>>>>>>>> https://www.redhat.com/mailman/listinfo/spacewalk-list
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> _______________________________________________
>>>>>>>> Spacewalk-list mailing list
>>>>>>>> Spacewalk-list at redhat.com
>>>>>>>> https://www.redhat.com/mailman/listinfo/spacewalk-list
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> _______________________________________________
>>>>>>>> Spacewalk-list mailing list
>>>>>>>> Spacewalk-list at redhat.com
>>>>>>>> https://www.redhat.com/mailman/listinfo/spacewalk-list
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> Spacewalk-list mailing list
>>>>>>> Spacewalk-list at redhat.com
>>>>>>> https://www.redhat.com/mailman/listinfo/spacewalk-list
>>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> Spacewalk-list mailing list
>>>>>> Spacewalk-list at redhat.com
>>>>>> https://www.redhat.com/mailman/listinfo/spacewalk-list
>>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Spacewalk-list mailing list
>>>>> Spacewalk-list at redhat.com
>>>>> https://www.redhat.com/mailman/listinfo/spacewalk-list
>>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Spacewalk-list mailing list
>>>> Spacewalk-list at redhat.com
>>>> https://www.redhat.com/mailman/listinfo/spacewalk-list
>>>>
>>>
>>>
>>> _______________________________________________
>>> Spacewalk-list mailing list
>>> Spacewalk-list at redhat.com
>>> https://www.redhat.com/mailman/listinfo/spacewalk-list
>>>
>>
>>
>
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20141118/c764a712/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: image/gif
Size: 2038 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20141118/c764a712/attachment.gif>


More information about the Spacewalk-list mailing list