[Spacewalk-list] Send commands to clients

Ivan Pavlenko i.pavlenko at unsw.edu.au
Thu Jul 21 04:23:22 UTC 2011


Hi ALL,

Do I have opportunity to push commands to remote Spacewalk client hosts? 
Can I restart boxes after patching by pushing command from Spacewalk 
server? Can I pushing backup o restore on them by command(s) from 
Spacewalk server? Where can I find doco for it?

Thank you,
Ivan

On 07/21/2011 02:00 AM, spacewalk-list-request at redhat.com wrote:
> Send Spacewalk-list mailing list submissions to
> 	spacewalk-list at redhat.com
>
> To subscribe or unsubscribe via the World Wide Web, visit
> 	https://www.redhat.com/mailman/listinfo/spacewalk-list
> or, via email, send a message with subject or body 'help' to
> 	spacewalk-list-request at redhat.com
>
> You can reach the person managing the list at
> 	spacewalk-list-owner at redhat.com
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Spacewalk-list digest..."
>
>
> Today's Topics:
>
>     1. [SOLVED] Re:  Configuration channel (trm asn)
>     2. Spacewalk 1.4 Monitoring issue (trm asn)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Wed, 20 Jul 2011 20:26:57 +0530
> From: trm asn<trm.nagios at gmail.com>
> To: spacewalk-list at redhat.com
> Subject: [Spacewalk-list] [SOLVED] Re:  Configuration channel
> Message-ID:
> 	<CACZSWMq9Gq58ywvHgiepaOs4J2k7OFnM9+Bp6TSv78oy9U714A at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> 2011/7/20 Miroslav Such?<msuchy at redhat.com>:
>> On 07/20/2011 03:27 PM, trm asn wrote:
>>> 2011/7/20 Miroslav Such?<msuchy at redhat.com>:
>>>> On 07/20/2011 01:24 PM, trm asn wrote:
>>>>> Can someone guide me , where I have to look into to dugout the issue.
>>>> Schedule it, and then manually run
>>>> rhn_check -vv
>>>> on target system.
>>> Yes it's downloading on target system. Is there any way I can push
>>> from spacewalk server without going to the individual servers to get
>>> it download .
>>>
>> If rhn_check download it without problem, then you can have one of this
>> problem:
>> 1) rhnsd is not running. rhnsd service runs approximately every 4 hours
>> rhn_check. This interval can be tuned up. Or you can use osad to execute
>> it immediately.
>> 2) you are impatient and you did not wait till rhnsd run rhn_check,
>> which pick up the task.
>>
>> --
>> Miroslav Suchy
>> Red Hat Satellite Engineering
>>
>> _______________________________________________
>> Spacewalk-list mailing list
>> Spacewalk-list at redhat.com
>> https://www.redhat.com/mailman/listinfo/spacewalk-list
>>
> Thanks Miroslav !!
>
>
> It was the SSL key was creating issues.. I have regenerate and deployed . "
> https://fedorahosted.org/spacewalk/wiki/How_to_rename_or_change_a_satellite_hostname"
> I have followed to do so.
>
> I have tweaked the INTERVAL to 15 , it's working absolutely fine .
>
>
> /\
> dE
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:<https://www.redhat.com/archives/spacewalk-list/attachments/20110720/2e41e4ed/attachment.html>
>
> ------------------------------
>
> Message: 2
> Date: Wed, 20 Jul 2011 21:02:40 +0530
> From: trm asn<trm.nagios at gmail.com>
> To: spacewalk-list at redhat.com
> Subject: [Spacewalk-list] Spacewalk 1.4 Monitoring issue
> Message-ID:
> 	<CACZSWMphAvmWqqQ3gf98pGG3qdaKEuBdyBn8zmUJZho-=YJj1Q at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi List,
>
>
> Using nocpulse user I am creating the probe fron UI. Client end rhnmd is
> running and port 4545 is accessible from spacewalk server. I am able to
> login using that ssh-dss key.  Whatever the prove I am creating it's on
> "PENDING, Awaiting Update" state.
>
> SatConfig-generator is already installed. Selinux is in disabled mode. 775
> permission is there for "/var/lib/nocpulse" .
>
> Below is my "/var/log/nocpulse/execute_commands.log" files output.
>
>
>
> 2011-07-20 20:46:03 154:        Finished with command 164
> 2011-07-20 20:46:03 157: Finished processing commands
> 2011-07-20 20:46:03 95: Freshening heartbeat file
> /var/lib/nocpulse/commands/heartbeat
> 2011-07-20 20:46:03 176: No commands executed, sleeping 60 seconds
> 2011-07-20 20:47:03 96: Starting queue run
> 2011-07-20 20:47:03 95: Freshening heartbeat file
> /var/lib/nocpulse/commands/heartbeat
> 2011-07-20 20:47:03 104:        Attempting to fetch commands (attempt 0)
> 2011-07-20 20:47:03 95:         Queue server URL:
> https://spacewalk.example.com/satconfig/cgi-mod-perl/fetch_commands.cgi?cluster_id=203a64827eb3&node_id=2&role=lead&version=1.0
> 2011-07-20 20:47:03 95:         Successfully got command list
> 2011-07-20 20:47:03 95:         CommandQueueParser parsing 411 bytes
> 2011-07-20 20:47:03 95:         Parser::parse returning
> NOCpulse::CommandQueue=HASH(0xa17c70c)
> 2011-07-20 20:47:03 95:         CQ::fetch_commands returning
> NOCpulse::CommandQueue=HASH(0xa17c70c)
> 2011-07-20 20:47:03 121:        Fetched 1 commands
> 2011-07-20 20:47:03 130:        Running command 164
> 2011-07-20 20:47:03 131:                Command line is:
> /usr/bin/scheduleEvents
> 2011-07-20 20:47:03 95:         Attempting to run command 164
> 2011-07-20 20:47:03 95:                 Last started: 164; Last completed:
> 164
> 2011-07-20 20:47:03 95:         164 is not executable (old, last started
> 164, last completed 164)
> 2011-07-20 20:47:03 150:        Not executing command 164: 164 is not
> executable (old, last started 164, last completed 164)
>
>
>
>
>
> /\
> dE
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:<https://www.redhat.com/archives/spacewalk-list/attachments/20110720/e797905c/attachment.html>
>
> ------------------------------
>
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list
>
> End of Spacewalk-list Digest, Vol 38, Issue 30
> **********************************************
>




More information about the Spacewalk-list mailing list