[Spacewalk-list] Where are Spacewalk logs when applying patches?
Bill
howe.bill at gmail.com
Sun Apr 30 21:10:04 UTC 2017
We had similar issues with scheduling/jobs:
* rhnsd -> Client check ins once an hour is not frequent enough.
* osad -> Constant issues with that daemon...found myself writing
auto-healing health checks for it and constantly baby sitting it.
o Have since removed osad on all clients and disabled jabberd on
the Spacewalk server. Very few issues since then.
o If you disable jabberd on the server, you will also want to
remove it from the /usr/bin/spacewalk-services script (for
status, start, stop).
Finally settled on this method that has worked great and is very reliable:
* Custom cron entry on every registered client that executes rhn_check
every 30 mins
* This since systems check in at the top/bottom of every hour, just
schedule something 10-15 mins before a top/bottom of the hour.
o Example: Schedule updates for systems to be "picked up no
earlier than 4:45am"
+ Systems will check in at about 4:30am, will NOT pick up updates
+ Systems will check in again about 5am, and WILL get updates
Bill Howe
howe.bill at gmail.com
On 04/28/2017 05:12 PM, Waldirio Manhães Pinheiro wrote:
> Hi Chris
>
> OSAd is part of SW, then you can say yes, SW could be real time
> talking about client execution / installation / etc, btw will be
> necessary install / configure the packages. By default, rhn will be
> 240 min, you can decrease to 60 min.
>
> Have a good one.
>
> ______________
> Atenciosamente
> Waldirio
> msn: waldirio at gmail.com <mailto:waldirio at gmail.com>
> Skype: waldirio
> Site: www.waldirio.com.br <http://www.waldirio.com.br>
> Blog: blog.waldirio.com.br <http://blog.waldirio.com.br>
> LinkedIn: http://br.linkedin.com/pub/waldirio-pinheiro/22/b21/646
> PGP: www.waldirio.com.br/public.html
> <http://www.waldirio.com.br/public.html>
>
> On Fri, Apr 28, 2017 at 6:22 PM, Fouts, Christopher
> <Christopher.Fouts at teradata.com
> <mailto:Christopher.Fouts at teradata.com>> wrote:
>
> I see. So SW is NOT a “real-time” solution, that is, it is NOT a
> tool that I can use to “apply patches NOW” or “apply patches at
> 5:00pm.” I’ll need yet some other tool to do this, e.g., OSAD.
>
> Chris
>
> *From: *<spacewalk-list-bounces at redhat.com
> <mailto:spacewalk-list-bounces at redhat.com>> on behalf of Waldirio
> Manhães Pinheiro <waldirio at gmail.com <mailto:waldirio at gmail.com>>
> *Reply-To: *"spacewalk-list at redhat.com
> <mailto:spacewalk-list at redhat.com>" <spacewalk-list at redhat.com
> <mailto:spacewalk-list at redhat.com>>
> *Date: *Friday, April 28, 2017 at 4:55 PM
>
>
> *To: *"spacewalk-list at redhat.com
> <mailto:spacewalk-list at redhat.com>" <spacewalk-list at redhat.com
> <mailto:spacewalk-list at redhat.com>>
> *Subject: *Re: [Spacewalk-list] Where are Spacewalk logs when
> applying patches?
>
> Hi Chris
>
> This is the SW architecture, by default, all clients will check
> what is pending in cycle of 240 min *4h* by default, you could
> decrease to 60 min / 1h *minimum value*
> */etc/sysconfig/rhn/rhn<something here>*, just grep 240, then if
> you did some schedule and your client still with default conf,
> only after 4h or just if you execute rhn_check in your machine.
>
> As our friend told, OSAd is one good solution, because will be
> real time, when you submit, jabber will send one broadcast and
> then your machine will receive / execute the task.
>
> Please, feel free to check our documentation on link [1] or just
> this book [2], here you will find all answers to your questions,
> via cli and/or webUI *osad, client configuration, schedule, tasks
> and much more*
>
> Have a good one.
>
>
> [1].
> https://access.redhat.com/documentation/en-US/Red_Hat_Satellite/5.7/html-single/Client_Configuration_Guide/index.html
> <https://access.redhat.com/documentation/en-US/Red_Hat_Satellite/5.7/html-single/Client_Configuration_Guide/index.html>
> [2].
> https://www.amazon.com/Spacewalk-Satellite-Project-solution-management-ebook/dp/B071DDQ4W2/ref=sr_1_1?s=books&ie=UTF8&qid=1492602720&sr=1-1&keywords=spacewalk+satellite
> <https://www.amazon.com/Spacewalk-Satellite-Project-solution-management-ebook/dp/B071DDQ4W2/ref=sr_1_1?s=books&ie=UTF8&qid=1492602720&sr=1-1&keywords=spacewalk+satellite>
>
>
> ______________
> Atenciosamente
> Waldirio
> msn: waldirio at gmail.com <mailto:waldirio at gmail.com>
> Skype: waldirio
> Site: www.waldirio.com.br <http://www.waldirio.com.br>
> Blog: blog.waldirio.com.br <http://blog.waldirio.com.br>
>
> LinkedIn: http://br.linkedin.com/pub/waldirio-pinheiro/22/b21/646
> <http://br.linkedin.com/pub/waldirio-pinheiro/22/b21/646>
> PGP: www.waldirio.com.br/public.html
> <http://www.waldirio.com.br/public.html>
>
> On Fri, Apr 28, 2017 at 5:45 PM, Fouts, Christopher
> <Christopher.Fouts at teradata.com
> <mailto:Christopher.Fouts at teradata.com>> wrote:
>
> Good to know, but it kinda sucks. For example, some of my
> scheduled jobs have been in pending state for 1+ hours, and
> Spacewalk gives me NO idea why.
>
> Chris
>
> *From: *<spacewalk-list-bounces at redhat.com
> <mailto:spacewalk-list-bounces at redhat.com>> on behalf of
> Matthew Madey <mattmadey at gmail.com <mailto:mattmadey at gmail.com>>
> *Reply-To: *"spacewalk-list at redhat.com
> <mailto:spacewalk-list at redhat.com>" <spacewalk-list at redhat.com
> <mailto:spacewalk-list at redhat.com>>
> *Date: *Friday, April 28, 2017 at 4:34 PM
>
>
> *To: *"spacewalk-list at redhat.com
> <mailto:spacewalk-list at redhat.com>" <spacewalk-list at redhat.com
> <mailto:spacewalk-list at redhat.com>>
> *Subject: *Re: [Spacewalk-list] Where are Spacewalk logs when
> applying patches?
>
> As far as I know, this isn't logged anywhere except the action
> tables in the database.. You can
> check /var/log/rhn/rhn_web_api.log, but I don't think it
> specifically logs those types of events.
>
> If you're having an issue with actions not being picked up, I
> would refer to this:
> https://github.com/spacewalkproject/spacewalk/wiki/JabberAndOSAD
> <https://github.com/spacewalkproject/spacewalk/wiki/JabberAndOSAD>
>
> On Fri, Apr 28, 2017 at 2:43 PM, Fouts, Christopher
> <Christopher.Fouts at teradata.com
> <mailto:Christopher.Fouts at teradata.com>> wrote:
>
> Well if I schedule it at say 4:00PM UTC, and it’s now
> 4:15PM UTC and it’s still pending, I curious to know why
> it’s still pending 15 minutes later?
>
> Chris
>
> *From: *<spacewalk-list-bounces at redhat.com
> <mailto:spacewalk-list-bounces at redhat.com>> on behalf of
> Waldirio Manhães Pinheiro <waldirio at gmail.com
> <mailto:waldirio at gmail.com>>
> *Reply-To: *"spacewalk-list at redhat.com
> <mailto:spacewalk-list at redhat.com>"
> <spacewalk-list at redhat.com <mailto:spacewalk-list at redhat.com>>
> *Date: *Friday, April 28, 2017 at 3:36 PM
>
>
> *To: *"spacewalk-list at redhat.com
> <mailto:spacewalk-list at redhat.com>"
> <spacewalk-list at redhat.com <mailto:spacewalk-list at redhat.com>>
> *Subject: *Re: [Spacewalk-list] Where are Spacewalk logs
> when applying patches?
>
> Hi
>
> Yes, should be, if you schedule/submit the new
> installation or errata via webUI, the task should be on
> pending state *schedule tab* until be processed.
>
> Best Regards
>
>
> ______________
> Atenciosamente
> Waldirio
> msn: waldirio at gmail.com <mailto:waldirio at gmail.com>
> Skype: waldirio
> Site: www.waldirio.com.br <http://www.waldirio.com.br>
> Blog: blog.waldirio.com.br <http://blog.waldirio.com.br>
>
> LinkedIn:
> http://br.linkedin.com/pub/waldirio-pinheiro/22/b21/646
> <http://br.linkedin.com/pub/waldirio-pinheiro/22/b21/646>
> PGP: www.waldirio.com.br/public.html
> <http://www.waldirio.com.br/public.html>
>
> On Fri, Apr 28, 2017 at 4:33 PM, Fouts, Christopher
> <Christopher.Fouts at teradata.com
> <mailto:Christopher.Fouts at teradata.com>> wrote:
>
> Thanks, I was aware of that, but that’s not what I
> asked though. Is the scheduled update activity not
> logged in the system in real-time? If not, that’s
> fine, I just want to know.
>
> Chris
>
> *From: *<spacewalk-list-bounces at redhat.com
> <mailto:spacewalk-list-bounces at redhat.com>> on behalf
> of Waldirio Manhães Pinheiro <waldirio at gmail.com
> <mailto:waldirio at gmail.com>>
> *Reply-To: *"spacewalk-list at redhat.com
> <mailto:spacewalk-list at redhat.com>"
> <spacewalk-list at redhat.com
> <mailto:spacewalk-list at redhat.com>>
> *Date: *Friday, April 28, 2017 at 3:29 PM
> *To: *"spacewalk-list at redhat.com
> <mailto:spacewalk-list at redhat.com>"
> <spacewalk-list at redhat.com
> <mailto:spacewalk-list at redhat.com>>
> *Subject: *Re: [Spacewalk-list] Where are Spacewalk
> logs when applying patches?
>
> Hi Chris
>
> Schedule tab, just check there the information if the
> task was executed, still pending or if failed.
>
> Best Regards
>
>
> ______________
> Atenciosamente
> Waldirio
> msn: waldirio at gmail.com <mailto:waldirio at gmail.com>
> Skype: waldirio
> Site: www.waldirio.com.br <http://www.waldirio.com.br>
> Blog: blog.waldirio.com.br <http://blog.waldirio.com.br>
>
> LinkedIn:
> http://br.linkedin.com/pub/waldirio-pinheiro/22/b21/646
> <http://br.linkedin.com/pub/waldirio-pinheiro/22/b21/646>
> PGP: www.waldirio.com.br/public.html
> <http://www.waldirio.com.br/public.html>
>
> On Fri, Apr 28, 2017 at 4:14 PM, Fouts, Christopher
> <Christopher.Fouts at teradata.com
> <mailto:Christopher.Fouts at teradata.com>> wrote:
>
> I’ve scheduled my registered systems to be
> updated. When the update actually runs, where is
> this logged in the Spacewalk server?
>
> Chris
>
>
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com
> <mailto:Spacewalk-list at redhat.com>
> https://www.redhat.com/mailman/listinfo/spacewalk-list
> <https://www.redhat.com/mailman/listinfo/spacewalk-list>
>
>
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com
> <mailto:Spacewalk-list at redhat.com>
> https://www.redhat.com/mailman/listinfo/spacewalk-list
> <https://www.redhat.com/mailman/listinfo/spacewalk-list>
>
>
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com <mailto:Spacewalk-list at redhat.com>
> https://www.redhat.com/mailman/listinfo/spacewalk-list
> <https://www.redhat.com/mailman/listinfo/spacewalk-list>
>
>
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com <mailto:Spacewalk-list at redhat.com>
> https://www.redhat.com/mailman/listinfo/spacewalk-list
> <https://www.redhat.com/mailman/listinfo/spacewalk-list>
>
>
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com <mailto:Spacewalk-list at redhat.com>
> https://www.redhat.com/mailman/listinfo/spacewalk-list
> <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/20170430/8a3cf676/attachment.htm>
More information about the Spacewalk-list
mailing list