robot installation fails for ubuntu-16
search cancel

robot installation fails for ubuntu-16

book

Article ID: 16814

calendar_today

Updated On:

Products

DX Unified Infrastructure Management (Nimsoft / UIM)

Issue/Introduction

Robot installation and un-installation on Ubuntu version 16 is supported from robot version 7.91.



How to install and uninstall the robot for Ubuntu 16 version ?

Environment

Release: CNMSPP99000-8.51-Unified Infrastructure Mgmt-Server Pack-- On Prem
Component:

Resolution

  1. Login with root user.
  2. Copy a native robot nimsoft-robot+debian_amd64.deb for 64bit to /opt directory.
  3. Go to /opt directory.
  4. Prepare an answer or temporary file (nms-robot-vars.cfg) with following information under /opt directory. 
  5. File name must and should be nms-robot-vars.cfg
    • domain=<domain_to_which_the_robot_will_belong>
      hub=<name_of_desired_parent_hub>
      hubip=<parent_hub_IP_address>
      hubrobotname=<parent_hub_local_robot>
      hubport=<parent_hub_port_number>
    • Note: Please do not give any space between the parameter and value.
  6. Execute the following command, where <OS> is debian or ubuntu and <arch> is amd64
    • Run “dpkg -i nimsoft-robot+ubuntu_amd64.deb”
  7. Configure the robot after the installer exits.
    • chmod –R 755 /opt/nimsoft
  8. Run the following script to create the robot.cfg
    • /opt/nimsoft/install/RobotConfigurer.sh​
  9. Run the following command to enable the robot services on Ubuntu 16
    • /opt/nimsoft/install/service-ctrl.sh enable​
  10. Start the robot
    • /opt/nimsoft/bin/niminit start

Uninstall:

========

  1. Stop the robot with command
    • /opt/nimsoft/bin/niminit stop
  2. uninstall the service by executing the command
    • systemctl disable nimbus.service
  3. delete the file
    • /lib/systemd/system/nimbus.service
  4. Make sure no process is running on server using command
    • ps -eaf | grep nim
  5. Delete the 'Nimsoft' folder under /opt directory.
     

Additional Information

By default Debian v6 uses the address 127.0.1.1 as the name resolution address. Add the following line to the robot.cfg file if it not there with actual ip address.
robotip = ip_address
Where ip_address is the desired IP address that the robot should bind to on the target machine.