1 Reply Latest reply on May 8, 2006 12:37 PM by Greg Kullberg

    BLCLI nsh script Adding Servers.

      **UPDATE*** Solved the problem, it was the format of the input file.



      Having problems with the following nsh script:




      SERVER_LIST=`cat d2_hosts.txt`

      foreach serverName in $SERVER_LIST


      SERVER_ID=`blcli Server addServer $serverName`

      echo $SERVER_ID




      getting a "Command execution failed. No such device or address: d2es1"

      However if I run the command line for the individual server it works. The d2_hosts.txt file is one host per line.


      Any ideas? Thanks!


      Erik Nielsen


      Message was edited by:

      Erik Nielsen