1 2 Previous Next 15 Replies Latest reply on Oct 28, 2011 3:32 AM by Raj NameToUpdate

    How to create script to automatically license clients

      Hi,

       

      I want to create one script in BBSA v8.0 SP6 to get the license automatically for the failed / unlicensed clients if they show the status. Below is my sample script, please correct me if i am wrong somewhere. Also i have a question which user name and password i should use with autolic command.

       

       

      # Written for scheduled licensing job for Client where License is not there.

      #!/bin/nsh

      #GROUP="/parent/group1"

      #SERVER_LIST=`blcli Server listServersInGroup $GROUP`

       

       

       

       

       

       

      SERVER_LIST=`blcli Server listServersInGroup $GROUP`

       

      for target in $SERVER_LIST

      do

      autolic -u <Which-user> <which-password> $target

      if [ $? =0 ]

      then

       

      agentinfo $target

       

      done

        

       

        

      GROUP="/Workspace/.Administration/Agent_is_not_licensed"

        1 2 Previous Next