The L-Server template for physical L-Servers is as follows:
<?xml version="1.0" encoding="utf-8"?> <LServerTemplates> <LServerTemplate name="L-Server#1 Template Name" id="L-Server Template ID" label="Label"> <Comment>Comment</Comment> <ServerType>Server Type</ServerType> <Model>Model Name</Model> <Disks> <Disk type="Connection Type"> <DiskIndex>Disk Index</DiskIndex> <DiskSize>Disk Size</DiskSize> </Disk> </Disks> <NICs> <NumOfNIC>Number of NICs used for an L-Server<NumOfNIC> <NIC> <NICIndex>NIC Index</NICIndex> <NetworkLinks> <NumOfNetworkLinks>Number of networks available for 1 NIC/NICGroup</NumOfNetworkLinks> </NetworkLinks> </NIC> </NICs> <NICGroups> <NICGroup> <NICGroupIndex>NIC redundancy group index</NICGroupIndex> <NetworkLinks> <NumOfNetworkLinks>Number of networks available for 1 NIC/NICGroup</NumOfNetworkLinks> </NetworkLinks> <NICLinks> <NICLink>Numbers of NICs contained in NIC group</NICLink> </NICLinks> </NICGroup> </NICGroups> <Policy> <Redundancy>Redundancy</Redundancy> <Repurpose>Server Automatic Release(true|false)</Repurpose> <SpareSelection method="Spare server selection method" /> </Policy> </LServerTemplate> <LServerTemplate name="L-Server#2 Template Name" id="L-Server Template ID" label="Label"> ... </LServerTemplate> </LServerTemplates> |
Element Name | Description | Remarks (Possible Values, Examples) |
---|---|---|
L-Server template name (L-ServerTemplate name) | Name of L-Server template | Character string beginning with an alphanumeric character and containing up to 32 alphanumeric characters, underscores ("_"), and hyphens ("-") |
L-Server template ID (L-ServerTemplate id) | ID for L-Server template | Optional. For internal management purposes. |
Label (L-ServerTemplate label) | Label for L-Server template (optional) | Character string of up to 32 alphanumeric characters or symbols |
Comment (Comment) | Comment for L-Server template (optional) | Character string of up to 256 alphanumeric characters or symbols |
Server Type (ServerType) | Type of server to allocate as an L-Server | Specify "Physical". |
Model (Model) | Model name of the server to allocate to L-Server | Specify the model name of the server to allocate to the L-Server. |
Disks (Disks) | The parent element of Disk elements | Specify as the parent element for Disk elements. <Disks> <DiskIndex>0</DiskIndex> <DiskSize>10.0</DiskSize> </Disks> |
Disk connection type (Disk type) | The connection method of the disk to allocate to the L-Server |
If omitted, "FC" is set. |
Disk index (DiskIndex) | Number of the disk to allocate to the L-Server | Integer starting from 0 |
Disk size (DiskSize) | Size of disk to create | A number with up to one decimal place, in units of gigabytes |
NICs (NICs) | A collection of NIC definitions | Specify one or more NIC tags. |
NetworkLinks (NetworkLinks) | A collection of a number of network definitions (optional) | Specify the NumOfNetworkLinks tag only once. If the NetworkLinks tag is omitted, a single network is set for a NIC and a NIC redundancy group. |
Number of networks available for one NIC/NICGroup (NumOfNetworkLinks) | Number of networks available for one NIC/NICGroup | An integer equal to or greater than 1 |
NICGroups (NICGroups) | A collection of NIC redundancy group definitions (optional) | Specify when NIC redundancy is necessary. Specify one or more NICGroup tags. |
NIC redundancy group (NICGroup) | NIC redundancy group | Specify a NIC redundancy group. Specify a NIC contained in the NIC group using the NICLink tag. |
NIC redundancy group index (NICGroupIndex) | NIC redundancy group index | Specify a NIC redundancy group index. Specify for each NICGroup. Specify sequential numbers starting from 0. |
NICLinks (NICLinks) | A collection of NIC definitions of a NIC redundancy group | Specify the NICLink tags twice. |
NIC numbers contained in the NIC redundancy group (NICLink) | NIC number contained in the NIC redundancy group | Specify a NIC number contained in the NIC redundancy group. When there are multiple NICs, specify NICLink for each NIC number. Specify a set of redundancies. A NIC number cannot be shared among groups. |
NIC Index (NICIndex) | Number to identify the NIC definition to allocate to the L-Server | Integer starting from 0 Specify a number between 0 and 9. NIC number (NICIndex) + 1 corresponds to a network (NIC) number of the [General] tab in the [Create an L-Server] dialog. |
Number of NICs (NumOfNIC) | Number of NICs for L-Server (optional) | An integer equal to or greater than 0 If 0 is specified, a NIC definition will not be created. |
Number of Networks (NumOfNetworkLinks) | Number of Networks available for NIC/NICGroups | An integer equal to or greater than 1 If left blank, "1" is set. The NumOfNetworkLinks tag must be included within the NetworkLinks tags. Only one NumOfNetworkLinks tag can be included within the NetworkLinks tags. |
Redundancy (Redundancy) | Server redundancy to allocate to L-Servers |
If omitted and not specified when creating the L-Server, None is set. |
Repurpose (Repurpose) | Automatic release of servers during power off | Specify whether or not to automatically release the servers allocated to the L-Server, when they are powered off. |
Spare server selection method (SpareSelection method) | Selection method for spare servers |
If omitted, a user specified server is set. |
Example
L-Server Template
<?xml version="1.0" encoding="utf-8"?> <LServerTemplate name="template2" label="for physical server"> <Comment>2010/XX/XX created for work B</Comment> <ServerType>Physical</ServerType> <Model>PRIMERGY BX922 S2</Model> <Disks> <Disk> <DiskIndex>0</DiskIndex> <DiskSize>40.0</DiskSize> </Disk> </Disks> <Policy> <Redundancy>None</Redundancy> </Policy> </LServerTemplate> |
Creating an L-Server template using detailed L-Server information
Modify the following information.
Modify the name of the LServer tag.
Change the LServer tag to LServerTemplate tag.
Delete the CPU, CPUArch, CPUPerf, NumOfCPU, Memory, and MemorySize tags.
Delete the name of the DiskLink tag and Disk tag.
Delete the NetworkLinks, NetworkLink, MacAddress, and IpAddress tags.
Add NICGroup, NICGroupIndex, NetworkLinks, NumOfNetworkLInks, NICLinks, NumOfNIC, and NICIndex tags when necessary.
<?xml version="1.0" encoding="utf-8"?> <LServerTemplate name="P-Server-template" id="WIN-66N8JTJM2BD_2853" label=""> <Comment></Comment> <ServerType>Physical</ServerType> <Model>PRIMERGY BX920 S1</Model> <BootType>Disk</BootType> <Disks> <Disk> <DiskIndex>0</DiskIndex> <DiskSize>20.0</DiskSize> </Disk> </Disks> <NICGroups> </NICGroups> <NICs> <NIC> <NICIndex>0</NICIndex> <MacAddress auto="false">00:17:42:4F:05:40</MacAddress> <NetworkLinks> <NetworkLink name="admin_lan" index="0" vlan_mode="tagged"> <IpAddress auto="false" address="192.168.24.122"/> </NetworkLink> </NetworkLinks> </NIC> </NICs> <HBAs> <HBA> <HBAIndex>0</HBAIndex> <WWN auto="false">20:00:00:17:42:50:00:54</WWN> </HBA> </HBAs> <ExternalIdentifier></ExternalIdentifier> <Current> <PhysicalServer name="chassis4-2" id="WIN-66N8JTJM2BD_83" /> </Current> <ExternalProfile/> <Policy> <Redundancy>None</Redundancy> <Positioning>Fixed</Positioning> <Exclusion></Exclusion> <Priority>128</Priority> <Repurpose>false</Repurpose> </Policy> <Status> <ResourceStatus>stop</ResourceStatus> <PowerStatus>off</PowerStatus> <AllocationStatus>attached</AllocationStatus> <MaintenanceMode>active</MaintenanceMode> <Resources>allocated</Resources> <ServerAllocationStatus>true</ServerAllocationStatus> <DiskAllocationStatus>false</DiskAllocationStatus> <AddressAllocationStatus>true</AddressAllocationStatus> </Status> <From> <PhysicalServer name="chassis4-2" id="WIN-66N8JTJM2BD_83" /> </From> <Spare> </Spare> </LServerTemplate> |