Previous Topic: unlock (Class Management)--Unlock a ClassNext Topic: User Management


migrate (Class Management)--Migrate a Class

Migrate a class from/to a remote grid

Syntax
class migrate <remote_grid> <class> [ .name=<new name>] [<option>]*
Arguments
<remote_grid>

Name of remote grid

<class>

Name of the class to migrate. The class may be in a global or local catalog or may be a singleton.

.name=<new name>

New name for the migrated class. The name may refer to a global or local catalog or may refer to a singleton.

--export

Migrate the class TO the remote grid.

--import

Migrate the class FROM the remote grid.

--nocompress

Do not compress class volumes during migration.

--nocleanup

skip cleanup upon failure or completion (troubleshooting)

--debug

show debug information during migration (troubleshooting)

Examples
class migrate myoldgrid.3tera.net /mycat:myclass

migrate catalog class to the current grid.

class migrate myoldgrid.3tera.net /mycat:myclass .name=myapp:myclass

migrate catalog class to the current grid as an application singleton.

class migrate mynewgrid.3tera.net /myapp/local:myclass .name=/mycat:myclass --export

migrate local catalog class to the remote grid as a global catalog class.

Notes: