3 Replies Latest reply on Apr 21, 2011 8:03 AM by Bill Robinson

    How do I obtain the DBKey for an Update Server properties Job?

      I am writing a script that requires me to assign Target Servers to an Update Server Properties Job.

       

      According to the BLCLI help page, the command syntax I should use to find the DBKey is:

       

      blcli  <JOBTYPE> getDBKeyByGroupAndName >/grouppath> <jobname>

       

      The BLCLI help pages use a Deploy Job as the example, as in:   

           blcli DeployJob getDBKeyByGroupAndName ...

       

      So, I assumed that an Update Server Properties Job would be:

          

           blcli UpdateServerPropertiesJob  getDBKeyByGroupAndName ...

       

      But I keep getting an error message stating:

      Unknown command : name space = 'UpdateServerPropertyJob', command = 'getDBKeyByG

      roupAndName'.com.bladelogic.cli.factory.CommandNotFoundException: R: Cannot find

      command : UpdateServerPropertyJob, getDBKeyByGroupAndName Unknown command : name space = 'UpdateServerPropertyJob', command = 'getDBKeyByG
      roupAndName'.com.bladelogic.cli.factory.CommandNotFoundException: R: Cannot find
      command : UpdateServerPropertyJob, getDBKeyByGroupAndName

       

      So, can anyone tell me how I can get the Key to the Job I wish to assign the targets to?