Using the Solaris SVR4 package installer to install NSH and the RSCD agent

This topic describes how you can use the Oracle Solaris SVR4 package installer to install the Network Shell (NSH) and the RSCD agent on Solaris systems. The topic contains the following sections:

Overview

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 more information about the platforms that support installation using a native installer, see "Supported platforms for native installers" under Supported platforms for version 8.6.
You can also specify configuration settings for the installation. For information, see Configuring environment settings for using the Oracle Solaris SVR4 package installer 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 NSH86-SOL8-SPARC-LOCAL BLOGnsh

Example -- RSCD agent installation
pkgadd -d RSCD86-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:

mail=
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:

y

Run the following command with root privileges:

pkgadd -n -a <admin file> -r <response> -d <packageInstallerName> <pkgName>

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 in non-default installation paths using the local flag.
  • 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).

To relocate the package

You can change the installation directory of Network Shell or RSCD agent package from the default to a location you specify. 

The default installation paths are:

  • Network Shell installers: /opt/bmc/bladelogic/NSH
  • RSCD agent installers: /opt/bmc/bladelogic/RSCD

To relocate the package:

  1. Copy the default package manager admin file from the /var/sadm/install directory to the /tmp directory.
  2. Open the file in a text editor and change the basedir setting from default to the location in which you want the package to reside. For example:
    basedir=/usr/bladelogic.
  3. When you install the package, include the new admin file. For example:
    pkgadd -a adminFile -d NSH86-SOL8-SPARC-LOCAL
Was this page helpful? Yes No Submitting... Thank you

Comments