<font size=2 face="sans-serif">Hi Phil</font>
<br>
<br><font size=2 face="sans-serif">Ohh.. thanks a lot for your notices,
they are quite helpfull, but :-)</font>
<br>
<br><font size=2 face="sans-serif">can I install an osad on the spacewalk-server,
so that he can schedules tasks on "himself"?</font>
<br>
<br><font size=2 face="sans-serif">I tried the following, on the SW-Web-Gui:</font>
<br>
<br><font size=2 face="sans-serif">Systems -> Seeking my Spacewalk-Server
(swmain) -> Details -> Remote Command</font>
<br><font size=2 face="sans-serif">As skript just a "ls" or something
like that and schedule in 5 mins.</font>
<br>
<br><font size=2 face="sans-serif">Got a "</font><font size=2 color=#4f4f4f face="Arial">Remote
Command has been </font><a href="https://spacewalk.metzler.com/rhn/systems/details/history/Event.do?sid=1000010014&aid=17093"><font size=2 color=#0082bf face="Arial"><u>scheduled
successfully</u></font></a><font size=2 color=#4f4f4f face="Arial"> at <b>1/23/19
1:34:00 PM CET</b>.</font><font size=3> </font><font size=2 face="sans-serif">"
</font>
<br>
<br><font size=2 face="sans-serif">A look into Schedule tells me "Pending",
afai understand, and I will see it tomorrow, in max 4h he will/should execute
my simple ls, and now the part I am seeking for...</font>
<br><font size=2 face="sans-serif">Again thats not scheduled on any client,
but on the Spacewalk-Server, where Spacewalk is running solely, pgsql,
the webgui, osa-dispatcher and all the stuff..</font>
<br>
<br><font size=2 face="sans-serif">As I learned, the osa-dispatcher ->
osad communication does the trick to schedule it and run it at the designated
time, not the 4h cycle, since the osad runs on SW-clients, there is no
trouble, (well sometimes with the communication of osad, but thats a different
topic), now the question, could I riskfree install a osad on my swmain,
there would be running osa-dispatcher and osad on the same machine, and
would he (swmain) pick the job correctly?</font>
<br>
<br><font size=2 face="sans-serif">Thanks again for your time</font>
<br><font size=2 face="sans-serif">cheers</font>
<br><font size=2 face="sans-serif">Matthias</font>
<br>
<br><font size=2 face="sans-serif">------------------------------------------------------------------------------------<br>
METZLER <br>
Informationstechnologie<br>
<br>
Matthias Gruber <br>
IT-Infrastruktur & -Betrieb<br>
<br>
B. Metzler seel. Sohn & Co.<br>
Kommanditgesellschaft auf Aktien<br>
Untermainanlage 1<br>
60329 Frankfurt am Main<br>
Telefon (0 69) 21 04 - 43 30<br>
Telefax (0 69) 21 04 - 40 40<br>
MGruber@metzler.com<br>
</font><a href=www.metzler.com><font size=2 face="sans-serif">www.metzler.com</font></a>
<br>
<br>
<br>
<br><font size=1 color=#5f5f5f face="sans-serif">Von:      
 </font><font size=1 face="sans-serif">"P.Cookson@bham.ac.uk"
<P.Cookson@bham.ac.uk></font>
<br><font size=1 color=#5f5f5f face="sans-serif">An:      
 </font><font size=1 face="sans-serif">"spacewalk-list@redhat.com"
<spacewalk-list@redhat.com></font>
<br><font size=1 color=#5f5f5f face="sans-serif">Datum:      
 </font><font size=1 face="sans-serif">23.01.2019 13:03</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Betreff:    
   </font><font size=1 face="sans-serif">Re: [Spacewalk-list]
Antwort: Re: Any chance to get        "Schedule"-Jobs
       running        on
       SW-Server?</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Gesendet von:    
   </font><font size=1 face="sans-serif">spacewalk-list-bounces@redhat.com</font>
<br>
<hr noshade>
<br>
<br>
<br><font size=3 color=#004080 face="Calibri">Hi Matthias</font>
<br><font size=3 color=#004080 face="Calibri"> </font>
<br><font size=3 color=#004080 face="Calibri">No problem, I have NO ability
to write as much as you have in a foreign language so you’re still doing
far better than me</font><font size=3 color=#004080 face="Wingdings">J</font>
<br><font size=3 color=#004080 face="Calibri"> </font>
<br><font size=3 color=#004080 face="Calibri">When Spacewalk is installed
on the server osa-dispatcher will be running automatically. Scheduled tasks
(including scripts initiated from Remote Command) will only be picked up
every 4 hours, as mentioned below. You could possibly reduce this to minutes,
rather than hours, by amending the setting in /etc/sysconfig/rhn/rhnsd.
Alternatively, you can install OSAD on registered client systems and then
scheduled tasks should be picked up almost immediately.</font>
<br><font size=3 color=#004080 face="Calibri"> </font>
<br><font size=3 color=#004080 face="Calibri">If you want to install OSAD
my notes, below, may help?</font>
<br><font size=3 color=#004080 face="Calibri"><b> </b></font>
<br><font size=3 face="Times New Roman"><b>osa-dispatcher</b></font>
<br><font size=3 face="Times New Roman">Server-side service written in
Python that determines when an osad client instance needs to be pinged
or run rhn_check and sends a message telling them to do so.</font>
<br><font size=3 face="Times New Roman"> </font>
<br><font size=3 face="Times New Roman"><b>Open Source Architecture Daemon
(OSAD)</b></font>
<br><font size=3 face="Times New Roman">Client-side service written in
Python that responds to pings and runs rhn_check when told to by osa-dispatcher.</font>
<br><font size=3 face="Times New Roman"> </font>
<br><font size=3 face="Times New Roman"><b>Install OSAD and related RHN/Spacewalk
packages</b></font>
<br><font size=3 face="Times New Roman"># yum -y install osad rhncfg rhncfg-actions
rhncfg-client</font>
<br><font size=3 face="Times New Roman"> </font>
<br><font size=3 face="Times New Roman"><b>Spacewalk Actions Control -
Enable Scheduled Actions</b></font>
<br><font size=3 face="Times New Roman"># rhn-actions-control --enable-all</font>
<br><font size=3 face="Times New Roman"> </font>
<br><font size=3 face="Times New Roman"><b>Spacewalk Actions Control -
Show Status</b></font>
<br><font size=3 face="Times New Roman"># rhn-actions-control --report</font>
<br><font size=3 face="Times New Roman"> </font>
<br><font size=3 face="Times New Roman"><b>Start OSAD</b></font>
<br><font size=3 face="Times New Roman"># systemctl start osad.service
OR service osad start</font>
<br><font size=3 face="Times New Roman"> </font>
<br><font size=3 face="Times New Roman"><b>Enable OSAD</b></font>
<br><font size=3 face="Times New Roman"># systemctl enable osad.service
OR chkconfig osad on</font>
<br><font size=3 face="Times New Roman"> </font>
<br><font size=3 face="Times New Roman"><b>OSAD Log File</b></font>
<br><font size=3 face="Times New Roman">/var/log/osad</font>
<br><font size=3 color=#004080 face="Calibri"><b> </b></font>
<br><font size=3 color=#004080 face="Calibri">Regards</font>
<br><font size=3 color=#004080 face="Calibri">Phil</font>
<br><font size=3 color=#004080 face="Calibri"> </font>
<br><font size=3 face="Calibri"><b>From:</b> spacewalk-list-bounces@redhat.com
<spacewalk-list-bounces@redhat.com> <b>On Behalf Of </b>MGruber@metzler.com<b><br>
Sent:</b> 23 January 2019 11:21<b><br>
To:</b> spacewalk-list@redhat.com<b><br>
Subject:</b> [Spacewalk-list] Antwort: Re: Any chance to get "Schedule"-Jobs
running on SW-Server?</font>
<br><font size=3 face="Times New Roman"> </font>
<br><font size=3 face="Arial">Hi Phil,</font><font size=3 face="Times New Roman">
<br>
</font><font size=3 face="Arial"><br>
thanks for your explanation, sorry, as non native english person, I had
some trouble to formulate it correct....</font><font size=3 face="Times New Roman">
<br>
</font><font size=3 face="Arial"><br>
Yes thats the way, as you describe with client systems, the way I also
do it or via spacecmd, but I would like to schedule this way on my SpaceWalk-Server,
not the client.</font><font size=3 face="Times New Roman"> </font><font size=3 face="Arial"><br>
As far as I noticed there is the osa-dispatcher running but not an osad
(client) therefore he (my spacewalk-server) doesnt pick the job</font><font size=3 face="Times New Roman">
<br>
</font><font size=3 face="Arial"><br>
This was my question... (still have trouble to put it in propper english
sentences ;->)</font><font size=3 face="Times New Roman"> <br>
</font><font size=3 face="Arial"><br>
cheers</font><font size=3 face="Times New Roman"> </font><font size=3 face="Arial"><br>
Matthias</font><font size=3 face="Times New Roman"> <br>
<br>
</font><font size=3 face="Arial"><br>
------------------------------------------------------------------------------------<br>
METZLER <br>
Informationstechnologie<br>
<br>
Matthias Gruber <br>
IT-Infrastruktur & -Betrieb<br>
<br>
B. Metzler seel. Sohn & Co.<br>
Kommanditgesellschaft auf Aktien<br>
Untermainanlage 1<br>
60329 Frankfurt am Main<br>
Telefon (0 69) 21 04 - 43 30<br>
Telefax (0 69) 21 04 - 40 40</font><font size=3 color=blue face="Arial"><u><br>
</u></font><a href=mailto:MGruber@metzler.com><font size=3 color=blue face="Arial"><u>MGruber@metzler.com</u></font></a><font size=3 color=blue face="Times New Roman"><u><br>
</u></font><a href=www.metzler.com><font size=3 color=blue face="Arial"><u>www.metzler.com</u></font></a><font size=3 face="Times New Roman">
<br>
<br>
<br>
</font><font size=3 color=#5f5f5f face="Arial"><br>
Von:        </font><font size=3 face="Arial">"</font><a href=mailto:P.Cookson@bham.ac.uk><font size=3 color=blue face="Arial"><u>P.Cookson@bham.ac.uk</u></font></a><font size=3 face="Arial">"
<</font><a href=mailto:P.Cookson@bham.ac.uk><font size=3 color=blue face="Arial"><u>P.Cookson@bham.ac.uk</u></font></a><font size=3 face="Arial">></font><font size=3 face="Times New Roman">
</font><font size=3 color=#5f5f5f face="Arial"><br>
An:        </font><font size=3 face="Arial">"</font><a href="mailto:spacewalk-list@redhat.com"><font size=3 color=blue face="Arial"><u>spacewalk-list@redhat.com</u></font></a><font size=3 face="Arial">"
<</font><a href="mailto:spacewalk-list@redhat.com"><font size=3 color=blue face="Arial"><u>spacewalk-list@redhat.com</u></font></a><font size=3 face="Arial">></font><font size=3 face="Times New Roman">
</font><font size=3 color=#5f5f5f face="Arial"><br>
Datum:        </font><font size=3 face="Arial">23.01.2019
11:43</font><font size=3 face="Times New Roman"> </font><font size=3 color=#5f5f5f face="Arial"><br>
Betreff:        </font><font size=3 face="Arial">Re:
[Spacewalk-list] Any chance to get "Schedule"-Jobs running  
     on        SW-Server?</font><font size=3 face="Times New Roman">
</font><font size=3 color=#5f5f5f face="Arial"><br>
Gesendet von:        </font><a href="mailto:spacewalk-list-bounces@redhat.com"><font size=3 color=blue face="Arial"><u>spacewalk-list-bounces@redhat.com</u></font></a><font size=3 face="Times New Roman">
</font>
<div align=center>
<hr noshade></div>
<br><font size=3 face="Times New Roman"><br>
<br>
</font><font size=3 color=#004080 face="Calibri"><br>
Hi Matthias</font><font size=3 face="Times New Roman"> </font><font size=3 color=#004080 face="Calibri"><br>
 </font><font size=3 face="Times New Roman"> </font><font size=3 color=#004080 face="Calibri"><br>
I’m not entirely sure what you’re asking but you can schedule scripts
from the Spacewalk Web UI in the following way:</font><font size=3 face="Times New Roman">
</font><font size=3 color=#004080 face="Calibri"><br>
 </font><font size=3 face="Times New Roman"> </font><font size=3 color=#004080 face="Calibri"><b><br>
Systems > Click on system name > Remote Command - Add script details
then click on Schedule</b></font><font size=3 face="Times New Roman"> </font><font size=3 color=#004080 face="Calibri"><b><br>
 </b></font><font size=3 face="Times New Roman"> </font><font size=3 color=#004080 face="Calibri"><b><br>
Click on Schedule top menu item to see progress of Action</b></font><font size=3 face="Times New Roman">
</font><font size=3 color=#004080 face="Calibri"><br>
 </font><font size=3 face="Times New Roman"> </font><font size=3 color=#004080 face="Calibri"><br>
Note, by default, the <b>rhnsd</b> daemon on a client system connects to
the Spacewalk server every <b>4</b> <b>hours</b> (see <b>/etc/sysconfig/rhn/rhnsd</b>)
and performs any updates or actions that you have scheduled. However, if
you install the <b>Open Source Architecture Daemon</b> (<b>OSAD</b>), on
the client system, updates and actions should be picked up almost immediately
from the Spacewalk server.</font><font size=3 face="Times New Roman"> </font><font size=3 color=#004080 face="Calibri"><br>
 </font><font size=3 face="Times New Roman"> </font><font size=3 color=#004080 face="Calibri"><br>
Regards</font><font size=3 face="Times New Roman"> </font><font size=3 color=#004080 face="Calibri"><br>
Phil</font><font size=3 face="Times New Roman"> </font><font size=3 color=#004080 face="Calibri"><br>
 </font><font size=3 face="Times New Roman"> </font><font size=3 face="Calibri"><b><br>
From:</b> </font><a href="mailto:spacewalk-list-bounces@redhat.com"><font size=3 color=blue face="Calibri"><u>spacewalk-list-bounces@redhat.com</u></font></a><font size=3 face="Calibri">
<</font><a href="mailto:spacewalk-list-bounces@redhat.com"><font size=3 color=blue face="Calibri"><u>spacewalk-list-bounces@redhat.com</u></font></a><font size=3 face="Calibri">>
<b>On Behalf Of </b></font><a href=mailto:MGruber@metzler.com><font size=3 color=blue face="Calibri"><u>MGruber@metzler.com</u></font></a><font size=3 face="Calibri"><b><br>
Sent:</b> 23 January 2019 09:56<b><br>
To:</b> </font><a href="mailto:spacewalk-list@redhat.com"><font size=3 color=blue face="Calibri"><u>spacewalk-list@redhat.com</u></font></a><font size=3 face="Calibri"><b><br>
Subject:</b> [Spacewalk-list] Any chance to get "Schedule"-Jobs
running on SW-Server?</font><font size=3 face="Times New Roman"> <br>
  </font><font size=3 face="Arial"><br>
Hi!</font><font size=3 face="Times New Roman"> </font><font size=3 face="Arial"><br>
<br>
Is there any chance to Schedule-Jobs via "system_runscript" working
on a SpaceWalk-Server like it works on any Client?</font><font size=3 face="Times New Roman">
</font><font size=3 face="Arial"><br>
I know taskomatic is the "scheduler" within SpaceWalk, but that
is not configurable.</font><font size=3 face="Times New Roman"> </font><font size=3 face="Arial"><br>
<br>
At the moment I use at to schedule dynamic processes, but thats a bit "tricky"</font><font size=3 face="Times New Roman">
</font><font size=3 face="Arial"><br>
<br>
Perhaps someone has a better solution, and not using something like obsidian
or Automic?</font><font size=3 face="Times New Roman"> </font><font size=3 face="Arial"><br>
<br>
cheers</font><font size=3 face="Times New Roman"> </font><font size=3 face="Arial"><br>
Matthias</font><font size=3 face="Times New Roman"> </font><font size=3 face="Arial"><br>
<br>
------------------------------------------------------------------------------------<br>
METZLER <br>
Informationstechnologie<br>
<br>
Matthias Gruber <br>
IT-Infrastruktur & -Betrieb<br>
<br>
B. Metzler seel. Sohn & Co.<br>
Kommanditgesellschaft auf Aktien<br>
Untermainanlage 1<br>
60329 Frankfurt am Main<br>
Telefon (0 69) 21 04 - 43 30<br>
Telefax (0 69) 21 04 - 40 40</font><font size=3 color=blue face="Times New Roman"><u><br>
</u></font><a href=mailto:MGruber@metzler.com><font size=3 color=blue face="Arial"><u>MGruber@metzler.com</u></font></a><font size=3 color=blue face="Times New Roman"><u><br>
</u></font><a href=www.metzler.com><font size=3 color=blue face="Arial"><u>www.metzler.com</u></font></a><font size=3 face="Times New Roman"><br>
</font><font size=3 face="Arial"><br>
<br>
Persönlich haftende Gesellschafter: Harald Illy, Michael Klaus, Friedrich
von Metzler, Emmerich Müller, Gerhard Wiesheu<br>
Vorsitzender des Aufsichtsrats: Dr. Christoph Schücking<br>
Sitz der Gesellschaft: Frankfurt am Main, Handelsregister-Nr. HRB 27 515<br>
<br>
Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfänger
sein, so bitten wir Sie höflich, dies unverzüglich dem Absender mitzuteilen
und die Nachricht zu löschen. Es ist unzulässig, die Nachricht unbefugt
weiterzuleiten oder zu kopieren. Da wir nicht die Echtheit oder Vollständigkeit
der in dieser Nachricht enthaltenen Informationen garantieren oder zusichern
können, sind die vorstehenden Ausführungen rechtlich nicht bindend. Eine
Haftung hierfür wird ausgeschlossen.<br>
This message is confidential. If you are not the intended recipient, we
kindly ask you to inform the sender and delete the information. Any unauthorised
dissemination or copying hereof is prohibited. As we cannot guarantee or
assure the genuineness or completeness of the information contained in
this message, the statements set forth above are not legally binding. Accordingly
we cannot accept any liability for their contents.</font><font size=3 face="Times New Roman">
</font><font size=3 face="Courier New">_______________________________________________<br>
Spacewalk-list mailing list</font><font size=3 color=blue face="Courier New"><u><br>
</u></font><a href="mailto:Spacewalk-list@redhat.com"><font size=3 color=blue face="Courier New"><u>Spacewalk-list@redhat.com</u></font></a><font size=3 color=blue face="Times New Roman"><u><br>
</u></font><a href="https://www.redhat.com/mailman/listinfo/spacewalk-list"><font size=3 color=blue face="Courier New"><u>https://www.redhat.com/mailman/listinfo/spacewalk-list</u></font></a><font size=3 face="Times New Roman">
<br>
<br>
<br>
<br>
</font><font size=3 face="Arial"><br>
Persönlich haftende Gesellschafter: Harald Illy, Michael Klaus, Friedrich
von Metzler, Emmerich Müller, Gerhard Wiesheu<br>
Vorsitzender des Aufsichtsrats: Dr. Christoph Schücking<br>
Sitz der Gesellschaft: Frankfurt am Main, Handelsregister-Nr. HRB 27 515</font><font size=3 face="Times New Roman"><br>
</font><font size=3 face="Arial"><br>
Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfänger
sein, so bitten wir Sie höflich, dies unverzüglich dem Absender mitzuteilen
und die Nachricht zu löschen. Es ist unzulässig, die Nachricht unbefugt
weiterzuleiten oder zu kopieren. Da wir nicht die Echtheit oder Vollständigkeit
der in dieser Nachricht enthaltenen Informationen garantieren oder zusichern
können, sind die vorstehenden Ausführungen rechtlich nicht bindend. Eine
Haftung hierfür wird ausgeschlossen.<br>
This message is confidential. If you are not the intended recipient, we
kindly ask you to inform the sender and delete the information. Any unauthorised
dissemination or copying hereof is prohibited. As we cannot guarantee or
assure the genuineness or completeness of the information contained in
this message, the statements set forth above are not legally binding. Accordingly
we cannot accept any liability for their contents.</font><font size=3 face="Times New Roman">
</font><tt><font size=2>_______________________________________________<br>
Spacewalk-list mailing list<br>
Spacewalk-list@redhat.com<br>
</font></tt><a href="https://www.redhat.com/mailman/listinfo/spacewalk-list"><tt><font size=2>https://www.redhat.com/mailman/listinfo/spacewalk-list</font></tt></a>
<br>
<br>
<br><font size="2" face="Arial"> </font><br>
<br>
<font size="2" face="Arial">Persönlich haftende Gesellschafter: Harald Illy, Michael Klaus, Friedrich von Metzler, Emmerich Müller, Gerhard Wiesheu<br>
Vorsitzender des Aufsichtsrats: Dr. Christoph Schücking<br>
Sitz der Gesellschaft: Frankfurt am Main, </font><font size="2" face="Arial">Handelsregister-Nr.</font><font size="2" face="Arial"> HRB 27 515</font><br>
<br>
<font size="2" face="Arial"><font size="2" face="Arial">Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfänger sein, so bitten wir Sie höflich, dies unverzüglich dem Absender mitzuteilen und die Nachricht zu löschen. Es ist unzulässig, die Nachricht unbefugt weiterzuleiten oder zu kopieren. Da wir nicht die Echtheit oder Vollständigkeit der in dieser Nachricht enthaltenen Informationen garantieren oder zusichern können, sind die vorstehenden Ausführungen rechtlich nicht bindend. Eine Haftung hierfür wird ausgeschlossen.</font></font><br>
<font size="2" face="Arial"><font size="2" face="Arial">This message is confidential. If you are not the intended recipient, we kindly ask you to inform the sender and delete the information. Any unauthorised dissemination or copying hereof is prohibited. As we cannot guarantee or assure the genuineness or completeness of the information contained in this message, the statements set forth above are not legally binding. Accordingly we cannot accept any liability for their contents.</font></font>