This section describes commands that manage catalog and application classes.
Copy a class from one package to another. You can copy a class as follows:
class copy <src> <dst> [ store=<store> ]
Name of class that is to be copied
Name of new class
Specifies the volume store where volumes are created.May be set to one of the following values:
local - store volumes on local server storage
san - store volumes on a SAN
class copy my-app:DBASE my-app/local:DBASE
copy application singleton to local catalog
class copy my-app/local:DBASE /system:DBASE
copy local catalog to global catalog
class copy /system:MYSQL5 my-app:DBASE
copy global catalog to application singleton
Delete a class and all its class volumes from a catalog or application.
class destroy class [ --force ]
Name of the class to be deleted; the class may be in a global catalog, application-specific catalog, or it may be a singleton.
option to skip the confirmation prompt
class destroy lamp:NAS
Destroy application singleton class
class destroy lamp/local:NAS
Destroy application local catalog class
class destroy /system:NAS
Destroy global catalog class
Note: Instances of the deleted class are not automatically deleted from any application.
|
Copyright © 2013 CA Technologies.
All rights reserved.
|
|