5.3 Registering a Client System Using rhnreg_ks Without First Installing the Spacewalk Client Software

Starting with Oracle Linux 7 Update 1 and Oracle Linux 6 Update 7, you do not need to install the Spacewalk Client 2.2 software before you register an Oracle Linux 7 or Oracle Linux 6 server with Spacewalk.

To register an Oracle Linux server as a Spacewalk client:

  1. Download the CA certificate file RHN-ORG-TRUSTED-SSL-CERT to the server.

    In a browser tab, navigate to http://swksvr_FQDN/pub, where swksvr_FQDN is the fully qualified domain name of the Spacewalk server, and download the CA certificate file RHN-ORG-TRUSTED-SSL-CERT to /usr/share/rhn/.

    Alternatively, you can use wget from the command line, for example:

    # wget -q -O /usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT \
      http://swksvr_FQDN/pub/RHN-ORG-TRUSTED-SSL-CERT
  2. Register the system with Spacewalk using the rhnreg_ks command, using the --sslCACert option to specify the certificate.

    # rhnreg_ks --sslCACert=/usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT \
      --serverUrl=https://swksvr_FQDN/XMLRPC --activationkey=activation_key

    Specify the Spacewalk server or proxy by its fully qualified domain name.

    If you need to re-register a Spacewalk client with a Spacewalk server, additionally specify the --force option.

  3. To install the Spacewalk Client software after registration, subscribe the server to a Spacewalk Client 2.2 software channel and use yum to install the packages:

    # yum install rhn-client-tools rhn-check rhn-setup rhnsd m2crypto yum-rhn-plugin
    Note

    Oracle recommends that you install the Spacewalk Client software after registration to support all of the features provided by Spacewalk, which include provisioning and auditing.