HP Matrix Operating Environment 7.3 and 7.3 Update 1 Infrastructure Orchestration User Guide

Example 4 Received XML (PropertyXML)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<PropertyList xmlns="http://hp.com/2007/ess/sw/model/InfrastructureUtilitySchema">
<Property>
<Name>LogicalServer:0577a0cc-8122-4802-8173-6161b2f8dcc4</Name>
<Value>new-hostname-01</Value>
</Property>
<Property>
<Name>LogicalServer:15d20b1d-abee-45bb-88d8-d951dc1495d9</Name>
<Value>new-hostname-02</Value>
</Property>
</PropertyList>
The Value elements are updated with host names.
If the UPDATE operation fails, no visible feedback is provided to the user since that is an
asynchronous event. An error message is logged in the hpio-controller.log file with detailed
information.
Sample custom host names workflows
To help transition to a new host name generation strategy, two sample custom host name
implementations are available:
A powershell based implementation which generates host names with an incremental digit
number (similar to the existing host name strategy)
Find this sample workflow in the following directory:
/Library/Hewlett-Packard/Infrastructure orchestration/Custom
Hostnames/samples/hostname powershell
A sample that implements a pool of host names by storing predefined values in a database.
Whenever a server is created, a host name from the pool is consumed. The host name is
released for reuse when the associated server is removed, and it is updated in the case where
Matrix infrastructure orchestration detects an out-of-band host name change.
Find this sample workflow in the following directory:
/Library/Hewlett-Packard/Infrastructure orchestration/Custom
Hostnames/samples/hostname pool
Sample custom host names workflows 257