The software described in this documentation is either no longer supported or is in extended support.
Oracle recommends that you upgrade to a current supported release.
Chapter 7 Configuring Client Systems for Remote Management
You can install the remote configuration client packages on the remote system, which enable you to perform remote configuration of client system from Spacewalk,
7.1 Enabling Remote Configuration in a Kickstart Profile by Using the Spacewalk Web Interface
The following procedure applies if you use Spacewalk to generate the kickstart file.
To configure a kickstart profile to install and enable the remote configuration client software on a client system:
-
Go to Systems, select Kickstart and then Profiles.
-
Select the profile, and then select Software to display the Package Groups page.
-
On the Package Groups page, include
rhncfg
,rhncfg-actions
, andrhncfg-client
in the list of packages to install. -
Select System Details to display the Details page.
-
On the Details page, select the Enable Spacewalk Configuration Management and Enable Spacewalk Remote Commands check boxes.
-
Click Update Kickstart Distribution to save your changes.
7.2 Enabling Remote Configuration in a Kickstart File
The following applies if you upload a kickstart file into a profile.
If you want to be able to deploy configuration files and run commands remotely from the Spacewalk web interface:
-
Include the
rhncfg
,rhncfg-actions
, andrhncfg-client
packages for installation. -
Configure rhn-actions-control to run on the client system in the post-installation shell:
%post rhn-actions-control --enable-all %end
For more information, see the
rhn-actions-control(8)
manual page.
7.3 Enabling Remote Configuration Manually
Install and configure remote configuration manually as follows:
-
Log in as
root
on the client system. -
Use the yum command to install the
rhncfg
,rhncfg-actions
, andrhncfg-client
packages:#
yum install rhncfg rhncfg-actions rhncfg-client
-
Use the rhn-actions-control command to configure the remote actions that the client permits:
#
rhn-actions-control --enable-all
The --report option lists the permitted remote actions, for example:
#
rhn-actions-control --report
deploy is enabled diff is enabled upload is enabled mtime_upload is enabled run is enabledFor more information, see the
rhn-actions-control(8)
manual page.
7.4 Enabling Remote Configuration for Client Systems by Using the Spacewalk Web Interface
If you want Spacewalk to install the rhncfg
,
rhncfg-actions
, and
rhncfg-client
packages automatically from a
software channel, the channel label must contain the string
rhn-tools
, for example
ol7-spacewalk26-client-rhn-tools
.
To install and configure remote configuration for existing non-managed client systems, follow these steps:
-
In the Spacewalk web interface, do the following:
-
Enable the software channel that contains the
rhncfg
,rhncfg-actions
, andrhncfg-client
packages for the client. See Chapter 9, Updating Client Systems. -
Go to Configuration, Systems, and then Target Systems.
-
On the Target Systems page, select the client systems from the systems that are listed and click Enable Spacewalk Configuration Management.
-
-
Configure configuration management by running the following commands on each client system:
-
Check for any queued pending actions.
#
rhn_check
-
Configure the remote actions that the client permits.
#
rhn-actions-control --enable-all
The --report option lists the permitted remote actions.
#
rhn-actions-control --report
deploy is enabled diff is enabled upload is enabled mtime_upload is enabled run is enabledFor more information, see the
rhn-actions-control(8)
manual page.
-