DX Unified Infrastructure Management

Expand all | Collapse all

How to install Nimsoft Robot as silent and set some options?

  • 1.  How to install Nimsoft Robot as silent and set some options?

    Posted Jan 31, 2017 03:46 AM
    I have a little question(s) about installing CA UIM robot to our servers/workstations via group policy. 
    The first thing is:
    The  Robot 7.62 (Nimsoft 8.0) had command line options, like /verysilent
    After upgrading to 8.47 I tried to find ANY command line options but unfortunately i did not succeed.

    So, i need to install Robot 7.80 as verysilent AND 
    The second thing:
    When robot 7.62 was installed the default IP address of the client was 127.0.0.1;
    after ANY network issue the robot was disconnected from CA UIM server and we got an error
    from hub AND client's IP was changed to 127.0.0.1;
    The remedy for this situation was to put the string robotip=10.0.0.x to the robot's config file
    (or to edit controller probe config) 
    So, i want to install the robot by something like this:
    NumBus Robot.exe /verysilent /normalinstallation /hubip=10.0.0.100 /robotip=getlocalip /norestart 

    Do I have any way to achieve the  goal?  Thanks!




  • 2.  Re: How to install Nimsoft Robot as silent and set some options?

    Broadcom Employee
    Posted Jan 31, 2017 11:19 AM

    Hi,

     

    So you can use the ADE / Discovery_server process to deploy robots from UIM.

    Deploy Robots in USM - CA Unified Infrastructure Management - 8.4.7 - CA Technologies Documentation 

     

    or please see using third party installers to use an answer file

    Deploy Robots in Bulk with a Third-Party Tool and Native Installers - CA Unified Infrastructure Management - 8.4.7 - CA … 

     

    hope this helps



  • 3.  Re: How to install Nimsoft Robot as silent and set some options?

    Posted Jan 31, 2017 11:25 AM

    127.0.0.1 is loop back IP .Hope it is showing for Linux servers ..Pls add robotip = <ip address of server> in robot.cfg file and restart the robot.



  • 4.  Re: How to install Nimsoft Robot as silent and set some options?

    Broadcom Employee
    Posted Jan 31, 2017 11:30 AM

    if these are linux machines make sure the 127.0.01 is not listed first in the hosts file.

    you can also try adding in the answer file the following:

       local_ip_validation = yes



  • 5.  Re: How to install Nimsoft Robot as silent and set some options?

    Posted Jan 31, 2017 11:42 AM

    Gene ,

     

     local_ip_validation = yes mst be in robot.cfg ?if means there is no need to add robot ip entry ?



  • 6.  Re: How to install Nimsoft Robot as silent and set some options?

    Broadcom Employee
    Posted Jan 31, 2017 11:45 AM

    you can add that to the answer file using third party installers.

    or using ADE with and XML file.

     

    if you KNOW the robot IP you can add that currently we do not have the ability to do a lookup function during install to get the robot IP and populate that value



  • 7.  Re: How to install Nimsoft Robot as silent and set some options?

    Posted Jan 31, 2017 11:51 AM

    Since we are cloning VM's it will not help in my case.



  • 8.  Re: How to install Nimsoft Robot as silent and set some options?

    Broadcom Employee
    Posted Jan 31, 2017 12:16 PM

    Hi Praveen, since you're cloning robots, check out this article:

    https://www.ca.com/us/services-support/ca-support/ca-support-online/knowledge-base-articles.tec000004866.html 

     

    Hope that helps!



  • 9.  Re: How to install Nimsoft Robot as silent and set some options?

    Posted Jan 31, 2017 12:22 PM

    Thanks Philip ,We are following the the above KB.



  • 10.  Re: How to install Nimsoft Robot as silent and set some options?

    Posted Jan 31, 2017 12:51 PM

    Hi,

     

    check the /etc/hosts 

     

    Verify /etc/hosts file, if it's just the loopback address you do need to add an entry with the actual IP address

     

    EG

     

    # /etc/hosts
    171.12.32.105 nimsoftserver.domain.com nimsoftserver
    127.0.0.1 localhost



  • 11.  Re: How to install Nimsoft Robot as silent and set some options?

    Posted Jan 31, 2017 03:58 PM

    Hello to all and thanks for your answers.

     

    The time you discussed we found a perfect solution and it will work for 99.9% of our Windows systems.

    As I described, we wanted to install The Robot 100% automatically. Without setting something in hosts file, without adding something etc.

     

    So, the computers will have only one network card so ... we build a script that installs an old version of Robot (7.70, it has /verysilent key), runs ipconfig, gets ip address of computer and then edits robot.cfg file; and starts the Nimsoft service. Everything is automatically and via group policy script.

     

    The next thing I need to add some probes automatically to the new client but it seems that it us another story

     

    Thanks for all for your help!



  • 12.  Re: How to install Nimsoft Robot as silent and set some options?
    Best Answer

    Posted Mar 19, 2017 01:38 PM

    Finally I found the way to bring here our way... This .cmd we use for installing NIMSOFT ROBOT 7.70 via Group Policy as Startup Script:

     

    @echo off

    setlocal enabledelayedexpansion

    IF EXIST "C:\Program Files\Nimsoft\bin\nimalarm.exe" (
    GOTO :QUIT
    ) ELSE (
    GOTO :INSTALL
    )

    :INSTALL
    \\Here_is_your_Share\NETLOGON\Nimsoft_Robot\nimsoft-robot-x64.exe /verysilent /suppressmsgbox /norestart
    xcopy /Y \\***\NETLOGON\Nimsoft_Robot\robot.cfg %temp%\
    for /f "tokens=2 delims=:" %%i in ('ipconfig ^| findstr /I ipv4') do set localip=%%i
    ren %temp%\robot.cfg robot.tmp
    set change=robotip
    for /f "tokens=*" %%a in (%temp%\robot.tmp) do (
    if %%a EQU %change% echo robotip = %localip% >> %temp%\robot.cfg
    if %%a NEQ %change% echo %%a >> %temp%\robot.cfg
    )
    xcopy /Y %temp%\robot.cfg "C:\Program Files\Nimsoft\robot\"
    del %temp%\robot.tmp
    net start NimbusWatcherService

    :QUIT
    exit