Chapter 6 Configuring Client Systems for Immediate Updates

This chapter describes how you can configure client systems to ensure that updates as well as scheduled operations are applied to the clients immediately.

By default, the rhnsd daemon on a client system connects to Oracle Linux Manager server every four hours to perform updates and other actions that you have scheduled. By installing the OSA daemon, you can apply updates and actions to client systems immediately from Oracle Linux Manager server.

6.1 Enabling the OSA Daemon in Oracle Linux Manager

To set up client systems to receive updates immediately, use kickstart features such as a kickstart profile or a kickstart file. Configuring either a profile or a file as instructed in the following procedures automatically starts the osad service at the default run level when the client system reboots after a kickstart installation is completed.

6.1.1 Configuring a Kickstart Profile

Use this procedure if you want Oracle Linux Manager to automatically generate the kickstart file. The steps configure the kicksstart profile to install and enable the OSA daemon on a client system.

  1. Log in to Oracle Linux Manager server at https://olmsvr-FQDN.

  2. Go to Systems, select Kickstart and then Profiles.

  3. Select the appropriate profile, and then select Software.

  4. On the Package Groups page, include osad in the list of packages to install.

  5. Select System Details.

  6. On the Details page, select Advanced Options.

  7. Enable the services option and add the following entry:

    --enabled=osad

    This entry causes Oracle Linux Manager to add the following line to the kickstart file that it generates:

    services --enabled=osad
  8. Click Update Kickstart Distribution to save your changes.

6.1.2 Configuring a Kickstart File

Use this procedure if you prefer to upload an existing kickstart file instead of using an autogenerated file from Oracle Linux Manager. In this case you manually configure the kickstart file as follows:

  • Include the osad service among the packages to be installed.

  • Add the following entry that enables the osad service:

    services --enabled=osad

6.2 Enabling the OSA Daemon Manually

Use this procedure if you want to install and enable the OSA daemon independently of Oracle Linux Manager and the use of kickstart. Instead, you issue appropriate commands.

  1. Manually install the osad package:

    • On an Oracle Linux 7 host:

      $ sudo yum install -y osad
    • On an Oracle Linux 8 or Oracle Linux 9 host:

      $ sudo dnf install -y osad
  2. Enable and start the osad service:

    $ sudo systemctl enable osad
    $ sudo systemctl start osad
  3. Check that the osa daemon is online.

    $ sudo systemctl status osa

If the osad service does not start but instead displays the error SSLDisabledError, do the following:

  1. Check the client's /etc/sysconfig/rhn/up2date file and verify the following for the serverURL entry:

    • URL uses secure HTTP protocol (https:)

    • URL uses the fully qualified domain name of Oracle Linux Manager server or proxy, as shown in the following example:

      serverURL=https://olmsvr.mydom.com/XMLRPC
  2. If you made any corrections, re-register the client.

    See Section 5.3, “Registering a Client System Only” for instructions.

    Note

    If you encounter errors that are related to jabberd, check if you have not yet switched to using SQLite as the default database. See Preparing to Upgrade in Oracle® Linux Manager: Installation Guide.

6.3 Querying Status of Client Systems

Check the status of client systems by using either the Oracle Linux Manager web interface or the spacecmd command.

6.3.1 Using the Oracle Linux Manager Web Interface

Figure 6.1 System Status Page

To verify the status of an active client system:

  1. Go to Systems and select the client system from the list.

    The Overview page displays the following information for the client system:

    • The System Status pane shows how many critical errata updates, non-critical errata updates, and packages are available to install on the client system. Select Critical, Non-Critical, or Packages to view and optionally install the available errata and packages.

    • The System Info pane shows the host name, IP addresses, kernel version, Oracle Linux Manager system ID, activation key, and whether the system is locked.

    • The Subscribed Channels pane shows the base and child channels to which the client system is subscribed.

    • The System Events pane shows when the client system last checked in, when it was registered, when it last booted, and when the OSA daemon last started.

    • The System Properties pane shows the entitlements, notifications, automatic errata update status, system name, summary of the installed operating system, and location.

  2. If the OSA status is shown as online as of unknown, select Ping System.

  3. Wait a few seconds and then reload the page. The status should update and display when the OSA daemon was last started.

6.3.2 Using the system_details Command

Verify the status of a client system in a spacecmd session as follows:

spacecmd {SSM:0}> system_details olmsvr.mydom.com