Server workflows for HP Matrix Operating Environment
29 
Once the information is collected, the following operations can be supported on the new server: 
  Get Inventory 
  Get Server Info 
  Server Power ON 
  Server Power OFF 
The following subsections explain implementation details of adding these operations for the new server. It is a 
summarization of information noted earlier in the Extensibility section of the discussion of each workflow. 
Get Inventory operation 
In order to support Get Inventory operation, the UUID of the new server must be added into inventoryList.xml file. After 
the inventoryList.xml file is updated with the new UUID, the subsequent calls to Get Inventory operation will retrieve 
the new server’s UUID. 
No additional changes are required in the current implementation to support Get Inventory operation for the new 
server. 
Get Server Info operation 
The new server data must be added to the serverInfo.xml file. 
If the new server remote management interface supports a command to get the power status, then a new logic needs 
to be implemented in a subflow. In order to invoke the power status command on the remote management interface, 
the IP address of the remote management interface should be added into uuidHostMapper.xml file. However, if the 
power status command is not supported on the remote management interface, no additional changes are required to 
the current Get Server Info implementation. 
The following steps explain how to add a new subflow and modify the existing implementation: 
  Implement the logic to retrieve the power status of the server 
o  Make sure that the new subflow will receive all necessary input parameters: 
  IP Address of the remote management interface 
  If necessary, add login (username/password) credentials into OO System Accounts 
  Command to execute 
  Any other parameters to fulfill the flow logic 
o  Ensure the implemented logic will give the result (true or false) in the form of string into the result field 
 parameter. 
  true indicates that server power is ON 
  false indicates that server power is OFF 
  Once the new subflow is implemented and tested, it can be called by modifying the subflow “Update Server 
PowerOn Status”.  
o  Add a string comparator to compare the new server model. If matches, call the new subflow logic to get the 
 power status from the new server. 
o  Add the newly implemented subflow as a step operation upon matching the server model. 
  Provide all necessary inputs to the new subflow operation added. 
  Define the result field parameter of the subflow operation by name CmdOutput. This will hold the result 
  of the logic implemented to get the power status of the new server. 
o  The successful transition should invoke “UpdateServerInventoryFile” operation. 
o  The failure transition should return back to the ListIterator. 










