Previous page

Next page

Locate page in Contents

Print this page

upgrade

Summary:

Upgrades the OS template used by the specified Container.

Request specification:

Name

Min/Max

Type

Description

upgrade

 

 

 

{

 

 

 

eid

1..1

eid_type

Server ID.

options

0..1

 

Upgrade options.

{

 

 

 

force

0..1

none

Force the operation if possible.

}

 

 

 

}

 

 

 

Returns:

OK/Error

Description:

The upgrade call can perform two kinds of upgrades depending on the OS template that the specified Container is currently using:

  1. If the Container uses an old-style Virtuozzo OS template, the call will search for the equivalent EZ template on the Hardware Node. If the template is available, the Container will be upgraded to use that template. If the appropriate EZ template is not available, the call will return an error.
  2. If the Container uses an EZ template already, the call will check if a newer version is installed on the Hardware Node, and will upgrade the Container if there's.

Example:

<packet version="4.0.0" id="2">

<target>vzaenvm</target>

<data>

<vzaenvm>

<upgrade>

<eid>6dbd99dc-f212-45de-a5f4-ddb78a2b5280</eid>

<options>

<force/>

</options>

</upgrade>

</vzaenvm>

</data>

</packet>

Please send us your feedback on this help page