List classes in a package
class list package [ --batch ] [ --verbose ]
Name of package for which to list classes. package may be one of the following:
application - list singleton classes of application
application/catalog - list classes in local catalog
/catalog - list classes in global catalog
Display output in UDL format
Display total volume size for each class and protocols.
class list sugarcrm
List classes of application
class list sugarcrm/local
List classes of application local catalog
class list /system
List classes of global catalog
Notes: A specification of the output of this command can be found here.
Classes in catalog 'system': Class Category Description -------------------------------------------------------------------------------- HALB Switches Reliable, high-performance TCP/HTTP load balancer with HTTP session support based on HAProxy 1.2.28 (v1.0.1-1) HLB Switches Session-aware HTTP Load Balancer (v2.4.0-1) IN Gateways Input Gateway Appliance - iptables based incoming connection gateway with firewall (v2.4.0-1) INSSL Gateways Input Gateway Appliance - iptables based incoming connection gateway with firewall and SSL support (v1.3.0-1) INSSLR Gateways Redundant Input Gateway Appliance - iptables based incoming connection gateway with firewall, SSL and failover support (v1.0.1-1) LINUX5 Generic Generic Linux Server - based on CentOS 5 (v1.2.0-1) LINUX64 Generic Generic Linux Server - based on CentOS 5 (64bit) (v1.2.0-1) LOAD Misc. Appliances Load Generator (v1.2.0-1) LUX5 Generic Generic CentOS 5 Linux-based appliance (v1.2.0-1) LUX64 Generic Generic 64-bit Centos 5-based appliance (v1.2.0-1) MON Monitoring Monitoring appliance (v1.3.2-1) MYSQLR Database Appliances MYSQL database appliance with replication capabilities based on mysql 5.0.45 (v1.4.1-1) MYSQL5 Database Appliances MYSQL Database appliance based on mysql 5.0.22 (v1.2.0-1) MYSQL64 Database Appliances 64-bit MYSQL appliance based on mysql 5.0.22 (v1.2.0-1) NAS Misc. Appliances NAS Appliance - provides file storage accessible over HTTP and CIFS file protocols (v2.4.0-1) NET Gateways Subnet Output Gateway Appliance - iptables based output gateway with firewall (v2.4.0-1) OSOL64 Generic Generic OpenSolaris Server - based on OpenSolaris build 2008.05 (v1.0.4-1) OUT Gateways Single Host Output Gateway Appliance - iptables based output gateway with firewall (v2.4.0-1) PGSQL Database Appliances PGSQL Database appliance based on PostgreSQL 8.2.9 (v1.1.0-1) PS8 Switches Cascadable Port switch for distributing TCP and UDP traffic to different outputs depending on the TCP/UDP port (v1.2.0-1) RPL Switches Replicator appliance - replicates HTTP requests received on its input terminal to all its output terminals (v1.2.0-1) SOL10 Generic Generic Solaris 10 Server - based on Solaris 10 build GA (v1.0.3-1) WEBx4 Web Servers Scalable web server (v1.1.2-1) WEBx8 Web Servers Scalable web server (v1.1.2-1) WEB4 Web Servers Simple Web Server - based on CentOS 5; Apache, PHP4, mod_perl, and MYSQL Client libs installed (v1.2.0-1) WEB5 Web Servers Simple Web Server - based on CentOS 5; Apache, PHP5, mod_perl,and MYSQL Client libs installed (v1.2.0-1) WEB64 Web Servers Simple Web Server - based on CentOS 5 64-bit; Apache, PHP5, mod_perl, and MYSQL Client libs installed (v1.2.0-1)
The output of this command when listing the contents of a catalog is a table with the following headings:
If --batch option is specified, the output is the following (volume size and protocols are listed if --verbose is specified):
catalog <name>
{
class <name> : category="<val>", vol_sz=<val>, [locked,] description="<val>"
...
protocol <name> : filter="<val>"
...
}
Lock a class.
class lock class [pwd=->/tt> ]
name of class to be locked May specify one of the following:
application:class - lock application singleton class
/catalog:class - lock global catalog class
pwd=- Prompt for the password used to unlock the class. If the standard input is not a terminal device, it will not print a prompt and expect only one copy of the password on 'stdin' (this can be used for batch operations, to set the password from a file).
class lock /system:MYCLASS
Lock global catalog class
class lock myapp:MYCLASS
Lock application singleton class
class lock my-app:MYSQL2 pwd=-
lock singleton class and prompt for password
Note: The 'pwd' argument is required when executed by a non-maintainer.
If the 'pwd' argument is specified, it is required to unlock the class.
When a class is locked, the following operations cannot be executed by non-maintainers:
See Application and Class Locking Reference for more information.
Migrate a class from/to a remote grid.
class migrate <remote_grid> <class> [ .name=<new name>] [.store=<store>] [<option>]*
Name of remote grid
Name of the class to migrate. The class may be in a global or local catalog or may be a singleton.
New name for the migrated class. The name may refer to a global or local catalog or may refer to a singleton.
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
Note: the .store option is not available on AppLogic® for System z.
Migrate the class TO the remote grid.
Migrate the class FROM the remote grid.
Do not compress class volumes during migration.
skip cleanup upon failure or completion (troubleshooting)
show debug information during migration (troubleshooting)
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:
Move an appliance class from one catalog to another.
The move command can move a class:
The move command can be used to rename a class within a catalog, or the application package, or both.
class move <src> <dest> [--force]
Name of class that is to be moved
New class name
Skip confirmation prompt if the class is referenced by another class or application.
class move my-app/local:DBASE /system:DBASE
move class from one catalog to another
class move /system:MYSQL5 my-app:MYSQL
move class from global catalog to singleton
class move my-app:MYSQL /system:MYSQL2
move class from singleton to global catalog
class move my-app:MYSQL my-app:MYSQL2
rename class
Notes:
Modify class descriptor.
class put_desc class
name of class for which to modify descriptor May specify one of the following:
application:class - modify application singleton class descriptor
application/catalog:class - modify application local catalog class descriptor
/catalog:class - modify global catalog class descriptor
class put_desc /system:MYCLASS
modify global catalog class descriptor
class put_desc myapp:MYCLASS
modify application singleton class descriptor
Note: The new descriptor is obtained from standard input. The user can type in or paste the new descriptor contents followed by typing CTRL-d to terminate the input.
The name of the class may not be changed within the new descriptor.
The locked attribute may not be changed within the new descriptor if executed by a non-maintainer.
If the operation is executed remotely, the command can be specified as follows, where newdesc is a file containing the modified descriptor:
ssh root@controllerhost class put_desc myapp:MYCLASS <newdesc>
Unlock a class.
class unlock class [ pwd=- ] [ --override ]
name of class to be unlocked May specify one of the following:
application:class - lock application singleton class
/catalog:class - lock global catalog class
Prompt the user for the password that was provided when the class was locked. If the standard input is not a terminal device, it will not print a prompt and expect only one copy of the password on 'stdin' (this can be used for batch operations, to set the password from a file).
(for maintainers only) Override the lock on the class.
class unlock /system:MYCLASS
Unlock global catalog class
class unlock myapp:MYCLASS
Unlock application singleton class
class unlock my-app:MYSQL2 pwd=-
Unlock singleton class and prompt for password
Notes:
|
Copyright © 2013 CA Technologies.
All rights reserved.
|
|