Silently upgrading Linux and UNIX agents
To silently upgrade one or more RSCD agents on Linux or UNIX, you can use a BMC Server Automation File Deploy Job. The job copies the installation program to any target servers you specify and then silently executes the program, using the existing installation settings. No response file (nsh-install-defaults) is necessary.
- If you previously installed the agent using a shell-based (.sh) installer, you can upgrade using a native installer for the same platform (.bff for AIX, .rpm for Linux, or .gz for Solaris). However, the opposite is not possible: If you previously installed the agent using a native installer, you cannot upgrade using a shell-based (.sh) installer.
- Upgrading to a new release can potentially create mismatches between the version of a custom configuration object, an agent, and any model objects that reference custom configuration objects. See Upgrading custom configuration objects.
- If the Application Server and the RSCD agent are on the same machine, they must be at the same version. If you upgrade one component, you must upgrade the other to the same version. Perform the upgrade steps in this order:
- Shut down the Application Server.
- Upgrade the RSCD agent.
- Verify the agent is running and has been upgraded. To do so, run the following command:
- Upgrade the Application Server.
Before you begin
To perform this task, you must have root privileges or be mapped to root. You must also be capable of running the at command.
To deploy the silent installation
- Copy the RSCD installation program file (RSCD<version>-<platform>.sh) to the server on which you plan to create the File Deploy Job. Put the file in the /tmp directory.
- In the BMC Server Automation Console, create a File Deploy Job. (Open the Jobs folder and navigate to the job folder where you want to create a File Deploy job. Right-click the job folder and select New > File Deploy Job from the pop-up menu.)
The File Deploy Job wizard opens.
- In the File Deploy Job, provide the following information:
- General panel:
- Name: Specify a name for the File Deploy Job.
- Save in: Specify the folder in which to store this job.
- Source: Specify the path to the RSCD agent installation file you want to deploy. You do not need to specify a response file (nsh-install-defaults).
- Destination: Enter the path of the location on the target server to which you want to copy the RSCD agent installation file. For example:
- Targets panel: Select the target servers on which you want to upgrade the RSCD agent.
Advanced Options panel: For Post-command, enter the following command:
chmod 700 /tmp/RSCD<version-platform>.sh nohup /tmp/RSCD<version-platform>.sh -silent
For information about File Deploy Jobs, see Creating and modifying File Deploy Jobs.
- General panel:
- Click Finish.
The files are deployed to the target servers and the installation runs silently on each server. Because the installation runs silently on each server, the deploy job returns immediately even though the silent installation can take one to two minutes to finish.
Upgrading to a new release can potentially create mismatches between the version of a custom configuration object, an agent, and any model objects that reference custom configuration objects. For steps on upgrading custom configuration objects, see Upgrading custom configuration objects.