[Spacewalk-list] Antwort: Re: Any chance to get "Schedule"-Jobs running on SW-Server?

2019-01-24 Thread Matthias Gruber
Apologizes for the german... didnt glimpse on the "To:" :-)

Again in some broken english :-)

I had the SW registred, but never ever installed an OSAD onto it, was 
illogical at that time I installed the Server, but now, he schedules as 
expected/whished.

Cheers
Matthias Gruber



METZLER 
Informationstechnologie

Matthias Gruber 
IT-Infrastruktur & -Betrieb

B. Metzler seel. Sohn & Co.
Kommanditgesellschaft auf Aktien
Untermainanlage 1
60329 Frankfurt am Main
Telefon (0 69) 21 04 - 43 30
Telefax (0 69) 21 04 - 40 40
mgru...@metzler.com
www.metzler.com



Von:"Kevin Olbrich" 
An: spacewalk-list@redhat.com
Kopie:  mgru...@metzler.com
Datum:  23.01.2019 13:50
Betreff:Re: [Spacewalk-list] Any chance to get "Schedule"-Jobs 
running on SW-Server?



Hi Matthias,

I did not try it but you could add / register the SW server itself to
the inventory.
This would give you the same features on the server that the clients can 
use.

Kind regards
Kevin

Am Mi., 23. Jan. 2019 um 10:57 Uhr schrieb Matthias Gruber
:
>
> Hi!
>
> Is there any chance to Schedule-Jobs via "system_runscript" working on a 
SpaceWalk-Server like it works on any Client?
> I know taskomatic is the "scheduler" within SpaceWalk, but that is not 
configurable.
>
> At the moment I use at to schedule dynamic processes, but thats a bit 
"tricky"
>
> Perhaps someone has a better solution, and not using something like 
obsidian or Automic?
>
> cheers
> Matthias
>
> 

> METZLER
> Informationstechnologie
>
> Matthias Gruber
> IT-Infrastruktur & -Betrieb
>
> B. Metzler seel. Sohn & Co.
> Kommanditgesellschaft auf Aktien
> Untermainanlage 1
> 60329 Frankfurt am Main
> Telefon (0 69) 21 04 - 43 30
> Telefax (0 69) 21 04 - 40 40
> mgru...@metzler.com
> www.metzler.com
>
>
> Persönlich haftende Gesellschafter: Harald Illy, Michael Klaus, 
Friedrich von Metzler, Emmerich Müller, Gerhard Wiesheu
> Vorsitzender des Aufsichtsrats: Dr. Christoph Schücking
> Sitz der Gesellschaft: Frankfurt am Main, Handelsregister-Nr. HRB 27 515
>
> 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.
> 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. 
___
> Spacewalk-list mailing list
> Spacewalk-list@redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list



 

Persönlich haftende Gesellschafter: Harald Illy, Michael Klaus, Friedrich von 
Metzler, Emmerich Müller, Gerhard Wiesheu
Vorsitzender des Aufsichtsrats: Dr. Christoph Schücking
Sitz der Gesellschaft: Frankfurt am Main, Handelsregister-Nr. HRB 27 515

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.
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.


PGP.sig
Description: PGP signature
___
Spacewalk-list mailing list
Spacewalk-list@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list

[Spacewalk-list] Antwort: Re: Any chance to get "Schedule"-Jobs running on SW-Server?

2019-01-24 Thread Matthias Gruber
Hi!

Danke für den Hinweis, heheh ich hatte den SW zwar registirert, aber nie 
einen OSAD drauf gepackt... o.O erschien mir damals einfach nicht logisch, 
wenn er doch selbst der Server ist ;-)
Aber jetzt scheduled er auch sauber.

cheers
Matthias Gruber


METZLER 
Informationstechnologie

Matthias Gruber 
IT-Infrastruktur & -Betrieb

B. Metzler seel. Sohn & Co.
Kommanditgesellschaft auf Aktien
Untermainanlage 1
60329 Frankfurt am Main
Telefon (0 69) 21 04 - 43 30
Telefax (0 69) 21 04 - 40 40
mgru...@metzler.com
www.metzler.com



Von:"Kevin Olbrich" 
An: spacewalk-list@redhat.com
Kopie:  mgru...@metzler.com
Datum:  23.01.2019 13:50
Betreff:Re: [Spacewalk-list] Any chance to get "Schedule"-Jobs 
running on SW-Server?



Hi Matthias,

I did not try it but you could add / register the SW server itself to
the inventory.
This would give you the same features on the server that the clients can 
use.

Kind regards
Kevin

Am Mi., 23. Jan. 2019 um 10:57 Uhr schrieb Matthias Gruber
:
>
> Hi!
>
> Is there any chance to Schedule-Jobs via "system_runscript" working on a 
SpaceWalk-Server like it works on any Client?
> I know taskomatic is the "scheduler" within SpaceWalk, but that is not 
configurable.
>
> At the moment I use at to schedule dynamic processes, but thats a bit 
"tricky"
>
> Perhaps someone has a better solution, and not using something like 
obsidian or Automic?
>
> cheers
> Matthias
>
> 

> METZLER
> Informationstechnologie
>
> Matthias Gruber
> IT-Infrastruktur & -Betrieb
>
> B. Metzler seel. Sohn & Co.
> Kommanditgesellschaft auf Aktien
> Untermainanlage 1
> 60329 Frankfurt am Main
> Telefon (0 69) 21 04 - 43 30
> Telefax (0 69) 21 04 - 40 40
> mgru...@metzler.com
> www.metzler.com
>
>
> Persönlich haftende Gesellschafter: Harald Illy, Michael Klaus, 
Friedrich von Metzler, Emmerich Müller, Gerhard Wiesheu
> Vorsitzender des Aufsichtsrats: Dr. Christoph Schücking
> Sitz der Gesellschaft: Frankfurt am Main, Handelsregister-Nr. HRB 27 515
>
> 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.
> 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. 
___
> Spacewalk-list mailing list
> Spacewalk-list@redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list



 

Persönlich haftende Gesellschafter: Harald Illy, Michael Klaus, Friedrich von 
Metzler, Emmerich Müller, Gerhard Wiesheu
Vorsitzender des Aufsichtsrats: Dr. Christoph Schücking
Sitz der Gesellschaft: Frankfurt am Main, Handelsregister-Nr. HRB 27 515

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.
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.


PGP.sig
Description: PGP signature
___
Spacewalk-list mailing list
Spacewalk-list@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list

Re: [Spacewalk-list] Antwort: Re: Any chance to get "Schedule"-Jobs running on SW-Server?

2019-01-23 Thread p.cook...@bham.ac.uk
Hi Matthias

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☺

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.

If you want to install OSAD my notes, below, may help?

osa-dispatcher
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.

Open Source Architecture Daemon (OSAD)
Client-side service written in Python that responds to pings and runs rhn_check 
when told to by osa-dispatcher.

Install OSAD and related RHN/Spacewalk packages
# yum -y install osad rhncfg rhncfg-actions rhncfg-client

Spacewalk Actions Control - Enable Scheduled Actions
# rhn-actions-control --enable-all

Spacewalk Actions Control - Show Status
# rhn-actions-control --report

Start OSAD
# systemctl start osad.service OR service osad start

Enable OSAD
# systemctl enable osad.service OR chkconfig osad on

OSAD Log File
/var/log/osad

Regards
Phil

From: spacewalk-list-boun...@redhat.com  On 
Behalf Of mgru...@metzler.com
Sent: 23 January 2019 11:21
To: spacewalk-list@redhat.com
Subject: [Spacewalk-list] Antwort: Re: Any chance to get "Schedule"-Jobs 
running on SW-Server?

Hi Phil,

thanks for your explanation, sorry, as non native english person, I had some 
trouble to formulate it correct

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.
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

This was my question... (still have trouble to put it in propper english 
sentences ;->)

cheers
Matthias



METZLER
Informationstechnologie

Matthias Gruber
IT-Infrastruktur & -Betrieb

B. Metzler seel. Sohn & Co.
Kommanditgesellschaft auf Aktien
Untermainanlage 1
60329 Frankfurt am Main
Telefon (0 69) 21 04 - 43 30
Telefax (0 69) 21 04 - 40 40
mgru...@metzler.com<mailto:mgru...@metzler.com>
www.metzler.com



Von:"p.cook...@bham.ac.uk<mailto:p.cook...@bham.ac.uk>" 
mailto:p.cook...@bham.ac.uk>>
An:"spacewalk-list@redhat.com<mailto:spacewalk-list@redhat.com>" 
mailto:spacewalk-list@redhat.com>>
Datum:23.01.2019 11:43
Betreff:Re: [Spacewalk-list] Any chance to get "Schedule"-Jobs running  
  onSW-Server?
Gesendet von:
spacewalk-list-boun...@redhat.com<mailto:spacewalk-list-boun...@redhat.com>




Hi Matthias

I’m not entirely sure what you’re asking but you can schedule scripts from the 
Spacewalk Web UI in the following way:

Systems > Click on system name > Remote Command - Add script details then click 
on Schedule

Click on Schedule top menu item to see progress of Action

Note, by default, the rhnsd daemon on a client system connects to the Spacewalk 
server every 4 hours (see /etc/sysconfig/rhn/rhnsd) and performs any updates or 
actions that you have scheduled. However, if you install the Open Source 
Architecture Daemon (OSAD), on the client system, updates and actions should be 
picked up almost immediately from the Spacewalk server.

Regards
Phil

From: 
spacewalk-list-boun...@redhat.com<mailto:spacewalk-list-boun...@redhat.com> 
mailto:spacewalk-list-boun...@redhat.com>> 
On Behalf Of mgru...@metzler.com<mailto:mgru...@metzler.com>
Sent: 23 January 2019 09:56
To: spacewalk-list@redhat.com<mailto:spacewalk-list@redhat.com>
Subject: [Spacewalk-list] Any chance to get "Schedule"-Jobs running on 
SW-Server?

Hi!

Is there any chance to Schedule-Jobs via "system_runscript" working on a 
SpaceWalk-Server like it works on any Client?
I know taskomatic is the "scheduler" within SpaceWalk, but that is not 
configurable.

At the moment I use at to schedule dynamic processes, but thats a bit "tricky"

Perhaps someone has a better solution, and not using something like obsidian or 
Automic?

cheers
Matthias


METZLER
Informationstechnologie

Matthias Gruber
IT-Infrastruktur & -Betrieb

B. Metzler seel. Sohn & Co.
Kommanditgesellschaft auf Aktien
Untermainanlage 1
60329 Frankfurt am Main
Telefon (0 69) 21 04 - 43 30
Telefax (0 69) 2

[Spacewalk-list] Antwort: Re: Any chance to get "Schedule"-Jobs running on SW-Server?

2019-01-23 Thread Matthias Gruber
Hi Phil,

thanks for your explanation, sorry, as non native english person, I had 
some trouble to formulate it correct

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.
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

This was my question... (still have trouble to put it in propper english 
sentences ;->)

cheers
Matthias



METZLER 
Informationstechnologie

Matthias Gruber 
IT-Infrastruktur & -Betrieb

B. Metzler seel. Sohn & Co.
Kommanditgesellschaft auf Aktien
Untermainanlage 1
60329 Frankfurt am Main
Telefon (0 69) 21 04 - 43 30
Telefax (0 69) 21 04 - 40 40
mgru...@metzler.com
www.metzler.com



Von:"p.cook...@bham.ac.uk" 
An: "spacewalk-list@redhat.com" 
Datum:  23.01.2019 11:43
Betreff:Re: [Spacewalk-list] Any chance to get "Schedule"-Jobs 
running on  SW-Server?
Gesendet von:   spacewalk-list-boun...@redhat.com



Hi Matthias
 
I’m not entirely sure what you’re asking but you can schedule scripts from 
the Spacewalk Web UI in the following way:
 
Systems > Click on system name > Remote Command - Add script details then 
click on Schedule
 
Click on Schedule top menu item to see progress of Action
 
Note, by default, the rhnsd daemon on a client system connects to the 
Spacewalk server every 4 hours (see /etc/sysconfig/rhn/rhnsd) and performs 
any updates or actions that you have scheduled. However, if you install 
the Open Source Architecture Daemon (OSAD), on the client system, updates 
and actions should be picked up almost immediately from the Spacewalk 
server.
 
Regards
Phil
 
From: spacewalk-list-boun...@redhat.com 
 On Behalf Of mgru...@metzler.com
Sent: 23 January 2019 09:56
To: spacewalk-list@redhat.com
Subject: [Spacewalk-list] Any chance to get "Schedule"-Jobs running on 
SW-Server?
 
Hi! 

Is there any chance to Schedule-Jobs via "system_runscript" working on a 
SpaceWalk-Server like it works on any Client? 
I know taskomatic is the "scheduler" within SpaceWalk, but that is not 
configurable. 

At the moment I use at to schedule dynamic processes, but thats a bit 
"tricky" 

Perhaps someone has a better solution, and not using something like 
obsidian or Automic? 

cheers 
Matthias 


METZLER 
Informationstechnologie

Matthias Gruber 
IT-Infrastruktur & -Betrieb

B. Metzler seel. Sohn & Co.
Kommanditgesellschaft auf Aktien
Untermainanlage 1
60329 Frankfurt am Main
Telefon (0 69) 21 04 - 43 30
Telefax (0 69) 21 04 - 40 40
mgru...@metzler.com
www.metzler.com


Persönlich haftende Gesellschafter: Harald Illy, Michael Klaus, Friedrich 
von Metzler, Emmerich Müller, Gerhard Wiesheu
Vorsitzender des Aufsichtsrats: Dr. Christoph Schücking
Sitz der Gesellschaft: Frankfurt am Main, Handelsregister-Nr. HRB 27 515

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.
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. 
___
Spacewalk-list mailing list
Spacewalk-list@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list



 

Persönlich haftende Gesellschafter: Harald Illy, Michael Klaus, Friedrich von 
Metzler, Emmerich Müller, Gerhard Wiesheu
Vorsitzender des Aufsichtsrats: Dr. Christoph Schücking
Sitz der Gesellschaft: Frankfurt am Main, Handelsregister-Nr. HRB 27 515

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.
This message is confidential. If you are not the intended recipient, we