Previous page

Next page

Locate page in Contents

Print this page

calc_env_config

Summary:

Calculates Virtuozzo Container configuration parameters for P2V migration.

Request specification:

Name

Min/Max

Type

Description

calc_env_config

1..1

none

 

Returns:

Name

Min/Max

Type

Description

config

1..1

env_configType

Calculated configuration data.

hw_notes

1..1

hw_notesType

Miscellaneous information.

Description:

The calc_env_config call is used prior to migrating a physical server to a Virtuozzo Container. The call calculates the target Container configuration based on the source physical server parameters. The resulting configuration is then passed to the migrate_p2v call.

The call must be processed on the source physical server that you want to migrate to a Virtuozzo Container. In order to do that, you first have to distribute the necessary Agent components to the physical server using the system/distribute call. After that, connect to the Agent that you just distributed and execute the calc_env_config call to calculate the Container configuration. Please note that the call works only on non-Virtuozzo servers on which Agent core was installed using the system/distribute call. It will not work on servers hosting Virtuozzo Containers and running a full version of Parallels Agent software.Linux Example:

Input

<packet version="4.0.0">

<target>vzarelocator</target>

<data>

<vzarelocator>

<calc_env_config/>

</vzarelocator>

</data>

</packet>

Output

<?xml version="1.0" encoding="UTF-8"?><ns1:packet xmlns:ns4="http://www.swsoft.com/webservices/vzl/4.0.0/types" xmlns:ns1="http://www.swsoft.com/webservices/vzl/4.0.0/protocol" xmlns:ns3="http://www.swsoft.com/webservices/vza/4.0.0/vzatypes" xmlns:ns2="http://www.swsoft.com/webservices/vza/4.0.0/vzarelocator" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="bc4677c76at3d6crc2c" time="2007-06-19T15:38:15+0000" priority="0" version="4.0.0">

<ns1:origin>vzarelocator</ns1:origin>

<ns1:target>vzclient3-c613d7dc-d122-f04f-98f5-815aea54456f</ns1:target>

<ns1:dst>

<ns1:director>gend</ns1:director>

</ns1:dst>

<ns1:data>

<ns2:vzarelocator>

<ns2:config xsi:type="ns3:venv_configType">

<ns4:qos>

<ns4:id>avnumproc</ns4:id>

<ns4:hard>93</ns4:hard>

<ns4:soft>93</ns4:soft>

</ns4:qos>

<ns4:qos>

<ns4:id>cpuunits</ns4:id>

<ns4:hard>1000</ns4:hard>

</ns4:qos>

<ns4:qos>

<ns4:id>dcachesize</ns4:id>

<ns4:hard>1257062</ns4:hard>

<ns4:soft>1257062</ns4:soft>

</ns4:qos>

<ns4:qos>

<ns4:id>dgramrcvbuf</ns4:id>

<ns4:hard>132096</ns4:hard>

<ns4:soft>132096</ns4:soft>

</ns4:qos>

<ns4:qos>

<ns4:id>diskinodes</ns4:id>

<ns4:hard>69402</ns4:hard>

<ns4:soft>63093</ns4:soft>

</ns4:qos>

<ns4:qos>

<ns4:id>diskspace</ns4:id>

<ns4:hard>2250937</ns4:hard>

<ns4:soft>2046307</ns4:soft>

</ns4:qos>

<ns4:qos>

<ns4:id>kmemsize</ns4:id>

<ns4:hard>7668080</ns4:hard>

<ns4:soft>7668080</ns4:soft>

</ns4:qos>

<ns4:qos>

<ns4:id>lockedpages</ns4:id>

<ns4:hard>1260</ns4:hard>

<ns4:soft>1260</ns4:soft>

</ns4:qos>

<ns4:qos>

<ns4:id>numfile</ns4:id>

<ns4:hard>2976</ns4:hard>

<ns4:soft>2976</ns4:soft>

</ns4:qos>

<ns4:qos>

<ns4:id>numflock</ns4:id>

<ns4:hard>110</ns4:hard>

<ns4:soft>100</ns4:soft>

</ns4:qos>

<ns4:qos>

<ns4:id>numiptent</ns4:id>

<ns4:hard>128</ns4:hard>

<ns4:soft>128</ns4:soft>

</ns4:qos>

<ns4:qos>

<ns4:id>numothersock</ns4:id>

<ns4:hard>93</ns4:hard>

<ns4:soft>93</ns4:soft>

</ns4:qos>

<ns4:qos>

<ns4:id>numproc</ns4:id>

<ns4:hard>93</ns4:hard>

<ns4:soft>93</ns4:soft>

</ns4:qos>

<ns4:qos>

<ns4:id>numpty</ns4:id>

<ns4:hard>255</ns4:hard>

<ns4:soft>255</ns4:soft>

</ns4:qos>

<ns4:qos>

<ns4:id>numsiginfo</ns4:id>

<ns4:hard>256</ns4:hard>

<ns4:soft>256</ns4:soft>

</ns4:qos>

<ns4:qos>

<ns4:id>numtcpsock</ns4:id>

<ns4:hard>80</ns4:hard>

<ns4:soft>80</ns4:soft>

</ns4:qos>

<ns4:qos>

<ns4:id>oomguarpages</ns4:id>

<ns4:hard>2147483647</ns4:hard>

<ns4:soft>0</ns4:soft>

</ns4:qos>

<ns4:qos>

<ns4:id>othersockbuf</ns4:id>

<ns4:hard>370176</ns4:hard>

<ns4:soft>132096</ns4:soft>

</ns4:qos>

<ns4:qos>

<ns4:id>physpages</ns4:id>

<ns4:hard>2147483647</ns4:hard>

<ns4:soft>0</ns4:soft>

</ns4:qos>

<ns4:qos>

<ns4:id>privvmpages</ns4:id>

<ns4:hard>27033</ns4:hard>

<ns4:soft>22528</ns4:soft>

</ns4:qos>

<ns4:qos>

<ns4:id>quotatime</ns4:id>

<ns4:hard>0</ns4:hard>

</ns4:qos>

<ns4:qos>

<ns4:id>quotaugidlimit</ns4:id>

<ns4:hard>1024</ns4:hard>

</ns4:qos>

<ns4:qos>

<ns4:id>shmpages</ns4:id>

<ns4:hard>8192</ns4:hard>

<ns4:soft>8192</ns4:soft>

</ns4:qos>

<ns4:qos>

<ns4:id>tcprcvbuf</ns4:id>

<ns4:hard>270336</ns4:hard>

<ns4:soft>65536</ns4:soft>

</ns4:qos>

<ns4:qos>

<ns4:id>tcpsndbuf</ns4:id>

<ns4:hard>270336</ns4:hard>

<ns4:soft>65536</ns4:soft>

</ns4:qos>

<ns4:qos>

<ns4:id>vmguarpages</ns4:id>

<ns4:hard>2147483647</ns4:hard>

<ns4:soft>0</ns4:soft>

</ns4:qos>

<ns3:distribution>

<ns3:version>5</ns3:version>

<ns3:name>rhel</ns3:name>

</ns3:distribution>

<ns4:address>

<ns4:ip>192.168.0.188</ns4:ip>

</ns4:address>

<ns4:hostname>dhcp0-188.sw.ru</ns4:hostname>

<ns4:search_domain>sw.ru</ns4:search_domain>

<ns4:nameserver>192.168.1.1</ns4:nameserver>

</ns2:config>

<ns2:hw_notes xsi:type="ns2:hw_notesType">

<ns2:exclude>

<ns2:path>L2Rldi9wdHMvKg==</ns2:path>

<ns2:discardable>0</ns2:discardable>

</ns2:exclude>

<ns2:exclude>

<ns2:path>L2Rldi9zaG0vKg==</ns2:path>

<ns2:discardable>0</ns2:discardable>

</ns2:exclude>

<ns2:exclude>

<ns2:path>L3Byb2MvKg==</ns2:path>

<ns2:discardable>0</ns2:discardable>

</ns2:exclude>

<ns2:exclude>

<ns2:path>L3N5cy8q</ns2:path>

<ns2:discardable>0</ns2:discardable>

</ns2:exclude>

<ns2:exclude>

<ns2:path>L3Zhci9saWIvbmZzL3JwY19waXBlZnMvKg==</ns2:path>

<ns2:discardable>0</ns2:discardable>

</ns2:exclude>

</ns2:hw_notes>

</ns2:vzarelocator>

</ns1:data>

<ns1:src>

<ns1:director>gend</ns1:director>

</ns1:src>

</ns1:packet>

Please send us your feedback on this help page