Installing an eG Agent on Solaris in the Silent Mode
To install an eG agent on Solaris in the silent mode, do the following:
- First, manually install an eG agent on a target Solaris host using the installation instructions provided in the Installing an eG Agent on Solaris topic. Typically, this is achieved by executing the pkgadd -d command on the target host from a super-user account.
- After manual installation of the agent, you will find that a directory named egurkha is automatically created in the install location specified during installation. Now, tar the egurkha folder as eGagent_solaris.tar to a temporary folder (say, /tmp) on the agent host. For this purpose, issue the following command at the shell prompt: tar -cvf /tmp/eGagent_solaris.tar egurkha
- Manual installation will also automatically create a silent_install script and an iAgent_solaris in the /opt/egurkha/bin directory of the agent host. Copy these two script files as well to the temporary folder (ay, /tmp).
- Then, copy the eGagent_solaris.tar, silent_install, and iAgent_solaris files to any location (say, /tmp) on that Solaris host on which you want to install an eG agent in the silent mode.
- Next, login as root user to the target Solaris host and edit the silent_install script so that it contains the inputs required for the agent installation on that host. For this, follow the procedure explained in step 4 of the Installing an eG Agent on Linux in the Silent Mode topic.
Once all the aforesaid parameters are configured with the values relevant to your agent installation, save the file.
Make sure that the eGuser account exists on the target system before you run the silent_install script.
- Provide execute permissions for the silent_install script and run the script on the target host. To grant execute permissions, issue the following command from the directory that holds the silent_install script (say, \tmp): chmod +x silent_install
- Upon successful execution of the script, the eG agent will be automatically installed and started on the host.
If the silent install script on a target Solaris host fails with the exception ‘su:No directory!’, it indicates that the eG user on the target host does not have a valid home directory. While installing an eG agent on a Solaris host in the silent mode, make sure that the user specified as the eG user has a valid home directory on that host. If not, create a valid home directory for the eG user on that host, and then proceed with the silent agent installation.
If you are installing the eG agent on an imaging system (e.g. for Citrix Provisioning services), or on a snapshot (for Citrix Machine Creation Services), or on a VM template for virtual servers, you will need to make sure that the nick name is NOT set for the agent on the imaging system/snapshot/VM template. In such environments, when installing the eG agent, make sure that you do not provide a nick name for that agent. If you are downloading the agent from the eG manager in a SaaS environment, the installation will automatically start the agent and assign the hostname of the system as the nick name automatically. In such a case, you need to:
- On the snapshot / golden image / master VM, open the eg_nick.ini file in the <EG_AGENT_INSTALL_DIR>\agent\config directory.
- Check to see if the Nick parameter in that file is set to any value. If this parameter has no value, it implies that no nick name was set for the eG agent on that snapshot / golden image / master VM. On the other hand, if the Nick parameter has a value, it indicates that a nick name was set for the eG agent. In this case, make sure that you delete the eg_nick.ini file on the snapshot / golden image / master VM before you proceed further.