Using the Solaris SVR4 package installer to install NSH and the RSCD agent
You can use the Oracle Solaris SVR4 package installer to install the Network Shell (NSH) and the RSCD agent on Solaris systems, as described in the following tasks.
- To get a list of packages to be installed
- To install the Network Shell or the RSCD agent
- To uninstall the Network Shell or the RSCD agent
- To silently install the Network Shell or RSCD agent
- Installing Network Shell or RSCD agent on non-global zones
The NSH installer installs the RSCD agent in addition to the Network Shell. Use the RSCD installer only if you do not want to install the Network Shell. The installers for the RSCD agent and Network Shell are exclusive. You can install either the RSCD agent or you can install the Network Shell with the agent.
By default, BMC Server Automation installation provides supported package installers in these directories:
- Network Shell installers: /opt/bmc/bladelogic/NSH
- RSCD agent installers: /opt/bmc/bladelogic/RSCD
For information about installers that BMC Server Automation supports, see Supported-platforms-for-native-installers.
You can also specify configuration settings for the installation. For information, see Configuring-environment-settings-for-the-package-or-RPM-installer.
To get a list of packages to be installed
From the command line, enter either of the following commands:
pkginfo | grep BLOG
pkginfo | grep BladeLogic
To install the Network Shell or the RSCD agent
Run the following command with root privileges:
pkgadd -d <packageInstallerName> <pkgName>
Example -- NSH installation:
pkgadd -d NSH82-SOL8-SPARC-LOCAL BLOGnsh
Example -- RSCD agent installation
pkgadd -d RSCD82-SOL8-SPARC-LOCAL BLOGrscd
To uninstall the Network Shell or the RSCD agent
Run the following command with root privileges:
pkgrm <packageName>
where <packageName> is the name of the package from the results of the pkginfo | grep BLOG or the pkginfo | grep BladeLogic command.
For example:
pkgrm BLOGrscd
To silently install the Network Shell or RSCD agent
Create an admin file with the following contents:
instance=overwrite
partial=nocheck
runlevel=nocheck
idepend=nocheck
rdepend=nocheck
space=nocheck
setuid=nocheck
conflict=nocheck
action=nocheck
basedir=default
Create a response file with the following contents:
Run the following command with root privileges:
Installing Network Shell or RSCD agent on non-global zones
The standard installation procedure described above is intended for an installation on the Global Zone. Note the following points regarding installing on non-global zones:
- By default, when you install the Network Shell or RSCD Solaris package on the Global Zone, the Sparse Root Zones will also have the software installed. However, to complete the installation successfully, ensure that the /etc directory and the NSH or RSCD Agent installation directory are not configured to have read-only permissions during export to the Sparse Root Zones.
- To install the software only in the Global Zone, use the following command, which includes the -G option:
pkgadd -G -n -a <admin file> -r <response> -d <packageInstallerName> <pkgName> - To install the software only in the Sparse Root Zone, you must use the SH-based installer with the -local option. For more information, see Installing-components-using-the-local-option-on-UNIX-or-Linux.
- To install the software on other types of non-global zones — Whole Root Zone or Branded Zone — follow the standard procedure described above (that is, install as you would on the Global Zone).