nimldr silent/express install options
search cancel

nimldr silent/express install options

book

Article ID: 220359

calendar_today

Updated On:

Products

DX Unified Infrastructure Management (Nimsoft / UIM)

Issue/Introduction

What is the proper way to perform a silent/express install using nimldr?

Environment

Release : 20.3

Component : UIM - NIMLDR

Resolution

Although this is not documented, when doing express install, we require the robot IP to be specified using -R flag. The minimum command line to perform a silent install is as follows:

./nimldr -r -X -F /tmp -R ip.address.goes.here -D YourDomain -H HubName -I 192.0.2.1

The flags are:

-r:  robot only

-X: express install

-F /tmp:  look in /tmp for the install_LINUX_23_64.zip

-R: ip address of robot

-D: domain

-H: hub for this robot to connect to 

-I:  IP address of hub

 

If you are using this for bulk installation there is a workaround to automate this without needing to specify every individual robot IP.

(this example assumes the install_LINUX_23_64.zip is present in /tmp so you might need to alter this and you will need to specify the correct values for domain and hub in your own environment):

./nimldr -r -X -F /tmp -R `hostname -I | awk '{print $1}'` -D Domain -H HubName -I 192.0.2.1

 

This will extract the IP for the local interface that matches with the hostname and insert it into the nimldr command.

Additional Information

The following command sequence can be used to reinstall an existing robot; it will automatically validate the magic_keys which will change if you use nimldr to repair a robot in this manner.

service nimbus stop; /root/LINUX_23_64/nimldr -r -X -F /root -R `hostname -I | awk '{print $1}'` -D DOMAIN -H HUBNAME -I 192.0.2.1; sed -i '/magic_key/d' /opt/nimsoft/robot/controller.cfg; mv /opt/nimsoft/robot/controller.cfg /opt/nimsoft/robot/changes/;  service nimbus restart