The XML definition for an L-Server template is shown below.
If a template is imported without editing the L-Server template name, the content of the existing L-Server template is overwritten. If an L-Server template is imported after the name is edited from when it was exported, the L-Server template is added.
When defining multiple L-Server templates, define multiple L-Servers for each file, assign them different L-Server template names, and enclose them with LserverTemplates tags.
<?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>
<VMType>VM Type</VMType>
<CPU>
<CPUArch>CPU Architecture</CPUArch>
<CPUPerf>CPU Performance</CPUPerf>
<NumOfCPU>Number of CPUs</NumOfCPU>
</CPU>
<Memory>
<MemorySize>Memory Size</MemorySize>
</Memory>
<Disks>
<Disk>
<DiskIndex>Disk Index</DiskIndex>
<DiskSize>Disk Size</DiskSize>
</Disk>
</Disks>
<NICs>
<NumOfNIC>Number of NICs</NumOfNIC>
</NICs>
<Policy>
<Redundancy>Redundancy</Redundancy>
<Positioning>Positioning</Positioning>
</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 | 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 | ID for L-Server template | Optional. For internal management purposes. |
Label | Label for L-Server template (optional) | Character string of up to 32 alphanumeric characters or symbols |
Comment | Comment for L-Server template (optional) | Character string of up to 256 alphanumeric characters or symbols |
Server type | Type of server to assign as an L-Server | When the server type is "Virtual", specify Virtual. |
Model name (Physical servers only) | Model name of the server to assign to L-Server | Specify the model name of the server to assign to the L-Server. |
VM type (Virtual servers only) | Type of VM to assign as an L-Server | Specify when the server type is "Virtual". |
CPU architecture (Virtual servers only) | CPU architecture to assign to L-Server (optional) | IA |
CPU performance (Virtual servers only) | CPU performance to assign to L-Server | A number with up to one decimal place, in units of gigahertz |
Number of CPUs (Virtual servers only) | Number of CPUs to assign to L-Server | An integer equal to or greater than 1 |
Memory size (Virtual servers only) | Size of memory to assign to L-Server | A number with up to one decimal place, in units of gigabytes |
Disk index | Number of disk to assign to L-Server (optional; required when disk size is specified) | Integer starting from 0 |
Disk size | Size of disk to remove (optional; required when disk index is specified) | A number with up to one decimal place, in units of gigabytes |
Number of NICs (Virtual servers only) | Number of NICs for L-Server (optional) | An integer equal to or greater than 1 |
Redundancy | Redundancy to assign to L-Server (optional) |
If omitted and not specified when creating the L-Server, None is set. |
Positioning | Physical position to assign to L-Server |
|
If there is only one L-Server template, the LServerTemplates tag is optional.
Example
L-Server template (When the server type is "Virtual")
<?xml version="1.0" encoding="utf-8"?>
<LServerTemplate name="template1" label="for virtual server">
<Comment>2010/XX/XX created for work A</Comment>
<ServerType>Virtual</ServerType>
<VMType>VMware</VMType>
<CPU>
<CPUArch>IA</CPUArch>
<CPUPerf>1.0</CPUPerf>
<NumOfCPU>2</NumOfCPU>
</CPU>
<Memory>
<MemorySize>2.0</MemorySize>
</Memory>
<Disks>
<Disk>
<DiskIndex>0</DiskIndex>
<DiskSize>100.0</DiskSize>
</Disk>
<Disk>
<DiskIndex>1</DiskIndex>
<DiskSize>200.0</DiskSize>
</Disk>
</Disks>
<NICs>
<NumOfNIC>2</NumOfNIC>
</NICs>
<Policy>
<Redundancy>None</Redundancy>
<Positioning>Fixed</Positioning>
</Policy>
</LServerTemplate> |
L-Server template (When the server type is "Physical")
<?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> |