Previous page

Next page

Locate page in Contents

Print this page

move

Summary:

Allows to change a Virtuozzo-level Container ID and the location of the Container data on the Hardware Node.

Request specification:

Name

Min/Max

Type

Description

move

1..1

 

 

{

 

 

 

eid

1..1

eid_type

Server ID of the source Virtuozzo Container.

config

1..1

env_configType

Use this element to set the new Virtuozzo-level Container ID and/or the new root and private area directories.

You cannot modify any other parameters provided in the config structure. The move call allows to modify just the Container ID (veid) and the data locations. All other configuration parameters will be ignored.

}

 

 

 

Returns:

OK/Error

Description:

This call provides a simple way of changing the Container ID, the locations of the Container private area directory, and the Container root directory. The pathnames of the private area and root directories by default include the Container ID, e.g. /vz/root/205 (205 here is the Virtuozzo-level Container ID). Although the actual names of these directories do not directly affect the Container operations, you should still change them (for consistency reasons) if you are changing the ID of a Virtuozzo Container. Please note that the Server ID (globally unique ID) of the Container will also change after any of the modifications performed by this call.

Example:

<packet xmlns:ns4="http://www.swsoft.com/webservices/vza/4.0.0/vzatypes" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="4.0.0">

<target>vzarelocator</target>

<data>

<vzarelocator>

<move>

<eid>a8a73d01-2969-6b48-9544-5cbf6ea7c554</eid>

<config xsi:type="ns4:venv_configType">

<veid>205</veid>

<ve_root>/vz/root/205</ve_root>

<ve_private>/vz/private/205</ve_private>

</config>

</move>

</vzarelocator>

</data>

</packet>

Please send us your feedback on this help page