This section explains XML files for changing the connected network of virtual L-Servers to the quarantine network.
Purpose
The XML files necessary for changing the connected network of virtual L-Servers to the quarantine network.
Creation and storing of XML files for changing the network to the quarantine network is possible even when Resource Orchestrator is operating.
Creating XML Files for Changing the Network to the Quarantine Network
Execute the following command to output the base XML file for changing the network.
> rcxadm lserver show -name L-Server_name -format xml <RETURN>
Delete any unnecessary information from the output XML file and edit the content as shown in "Format of XML Files for Changing the Network of Virtual L-Servers".
The Resources, LServer, and NICs elements must be included.
Depending on the details of the quarantine network, modify the values for "name" in the NetworkLink element and "address" in the IpAddress element.
Format of XML Files for Changing the Network of Virtual L-Servers
<?xml version="1.0" encoding="utf-8"?> <Resources> <LServer name="L-Server_name"> <NICs> <NIC> <NICIndex>NIC_index</NICIndex> <MacAddress>MAC_address</MacAddress> <NetworkLinks> <NetworkLink name="Network_name" index="0"> <IpAddress auto="Automatic_IP_configuration" address="IP_address"/> </NetworkLink> </NetworkLinks> </NIC> </NICs> </LServer> </Resources>
Element Name | Description | Remarks (Possible Values, Examples) |
---|---|---|
Network_name (NetworkLink name) | Name of the network that the L-Server connects to | Specify the name of an existing network resource.
|
MAC_address (MacAddress) | The MAC address to allocate to the L-Server NIC | When modifying an IP address and a Network name, ensure the MAC address is specified using the following format. <MacAddress>XX:XX:XX:XX:XX:XX</MacAddress> In addition, changing of MAC addresses cannot be performed. |
IP_address (IpAddress) | IP address to allocate to the L-Server (optional) | The IP address can be specified using the following methods:
When the IP address of the virtual PC is managed using DHCP, do not specify the IpAddress element. Even if the IpAddress element is omitted, an IP address is automatically assigned from the address range set for the network resource. Modification of an IP address is performed for the NIC corresponding to the specified MAC address. Therefore, ensure a MAC Address is specified. |
See
For details on the definition information for virtual L-Servers (XML), refer to the following manuals.
"15.3.2 Definition Information for Virtual L-Servers (XML)" in the "Reference Guide (Command/XML) CE"
[Windows Manager]
Installation_folder\SVROR\Manager\etc\files\avmgr
quarantine_L-Server_name.xml
Information
For environments where multiple NICs are connected
When an L-Server in which multiple NICs are defined is quarantined, enter as many lines enclosed by the NIC elements as the defined NICs to set each NIC so all the NICs will be connected to the quarantine network.
Specifying the same network for each NIC will cause no problems.
When modifying the default value of the storage directory of the XML files
To modify the default value of the storage directory of the XML files, create the definition file.
For details on the definition file, refer to "A.5 Definition File of the Storage Directory of the XML Files for Changing the Network".