Upgrading NSH and the RSCD agent using the Solaris SVR4 package installer
You can upgrade the Network Shell (NSH) and the RSCD agent using the Oracle Solaris SVR4 package installer. It can also be used to upgrade existing shell-based installations of the Network Shell (NSH) and the RSCD agent.
An upgrade of NSH upgrades both the RSCD agent and the Network Shell. An upgrade of the RSCD agent upgrades only the agent. To upgrade, use the same Solaris SVR4 package installer type (NSH or RSCD agent) that you used for installation.
By default, TrueSight Server Automation installation provides supported package installers in these directories:
- Network Shell installers: /opt/bmc/bladelogic/NSH
- RSCD agent installers: /opt/bmc/bladelogic/RSCD
You can upgrade using the Solaris SVR4 package installer interactively or by performing an unattended (silent) upgrade.
To get a list of packages to use for the upgrade
From the command line, enter either of the following commands:
pkginfo | grep BLOG
pkginfo | grep BladeLogic
To perform an upgrade interactively
Run the following command with root privileges:
pkgadd -d <packageInstallerName>
To perform a silent upgrade:
- Copy the installation program file to the server on which you plan to upgrade NSH or the RSCD agent. Put the file in the /tmp directory.
Using a text editor, create a file to use for the silent (unattended) upgrade, for example: SVR4silent.txt. In the file, enter the following values:
mail=
instance=overwrite
partial=nocheck
runlevel=nocheck
idepend=nocheck
rdepend=nocheck
space=nocheck
setuid=nocheck
conflict=nocheck
action=nocheck
basedir=default- Save the file to a directory of your choice. For example: /tmp
- To upgrade NSH or the RSCD agent, run the following command:
echo y | pkgadd -a <pathToSilentFile> -d /tmp/<packageInstallerName> <packageName>
where:- <pathToSilentFile> is the path to the admin file that you created.
- <packageInstallerName> is the location of the SVR4 installer
- <packageName> is the name of the package from the results of the pkginfo | grep BLOG or the pkginfo | grep BladeLogic command.