1 Reply Latest reply on Jun 8, 2011 9:54 AM by Bill Robinson

    usage of "Server getBulkServerProperties input.xml"

    Andreas Koppenhoefer

      Hello,

      unluckily I'm failing to retrive server properties with

      blcli_execute Server getBulkServerProperties //myhost/absolute/path/to/input.xml

      I quickly found that this command requires absolute paths prefixed with network host location. But I never got a useful reply. This is my input file:

      % cat //myhost/absolute/path/to/input.xml
      <ServerDataRequest>
      <ServersList>
      <ServerName>servername.mydomain.com</ServerName>
      </ServersList>
      <PropertiesList>
      <PSI>
      <Name>Server</Name>
      <Property>OS</Property>
      </PSI>
      </PropertiesList>
      </ServerDataRequest>

      All I get is an empty list:

      % blcli_execute Server getBulkServerProperties //myhost/absolute/path/to/input.xml
      <ServerPropertiesData>
      </ServerPropertiesData>
      

      What's wrong about that? The named server exists in Console Manager, is alive and available. The property "OS" also exists. I can prove this with:

      % blcli_execute Server printPropertyByName servername.mydomain.com OS
      Solaris
      

      This is BladeLogic Server Automation 8.1.