Solaris robot silent install is still interactive (not silent)
search cancel

Solaris robot silent install is still interactive (not silent)

book

Article ID: 385575

calendar_today

Updated On:

Products

DX Unified Infrastructure Management (Nimsoft / UIM)

Issue/Introduction

We are trying to install robots in bulk on Solaris using a third party tool as documented here.

However, when running the following command to install the robot, the installer is launching in interactive mode and asking questions:

 pkgadd -d /opt/nimsoft-robot-sparcv9

This causes the installation to fail as the tool we are using expects a silent installation.  How can we achieve this on Solaris?

 

Environment

DX UIM Robot - Solaris OS
nimsoft-robot-sparcv9 package

 

Resolution

To work around this issue, take the following steps:

1. create a text/ASCII file on the Solaris system with a unique filename - this will be referred to as your "admin file". 
2. Using a text editor, copy/paste the following into that file and save it:

mail=
instance=overwrite
partial=nocheck
runlevel=nocheck
idepend=nocheck
rdepend=nocheck
space=nocheck
setuid=nocheck
conflict=nocheck
action=nocheck
networktimeout=60
networkretries=3
authentication=quit
keystore=/var/sadm/security
proxy=
basedir=default

3. Your third-party tool should then distribute this admin file to the target system along with the nimsoft-robot-sparcv9 package

4. The tool should then execute the following command to install the robot:   pkgadd -d nimsoft-robot-sparcv9 -a (filename_of_admin_file) all

This will allow the installation to complete silently.

 

Additional Information

This admin file indicates to the pkgadd command that it should bypass checks and install the package without user confirmation.  It is recommended that you use administration files judiciously. You should know where a package's files are installed and how a package's installation scripts run before using an administration file to avoid the checks and prompts that the pkgadd command normally provides.