Intelligent Management: default work class administrative tasks
We can use the default work class administrative tasks to create work classes.
The administrative tasks for default work classes include the following commands:
- createDefaultASPWorkClass
- createDefaultARPWorkClass
- createDefaultGSPWorkClass
- createDefaultGRPWorkClass
- createDefaultSystemSPWorkClass
- createDefaultSystemRPWorkClass
createDefaultASPWorkClass
The createDefaultASPWorkClass command creates default application service policy work classes.
Required parameters
- -appname
- Name of the application deployment. (String, required)
Optional parameters
None.
Batch mode example
- Jacl:
$AdminTask createDefaultASPWorkClass {-appname A-edition1.0}
- Jython:
AdminTask.createDefaultASPWorkClass ('[-appname A-edition1.0]')
Interactive mode
- Jacl:
$AdminTask createDefaultASPWorkClass {-interactive}
- Jython:
AdminTask.createDefaultASPWorkClass ('[-interactive]')
createDefaultARPWorkClass
The createDefaultARPWorkClass command creates default application routing policy work classes.
Required parameters
- -appname
- Name of the application deployment. (String, required)
Optional parameters
None.
Batch mode example
- Jacl:
$AdminTask createDefaultARPWorkClass {-appname A-edition1.0}
- Jython:
AdminTask.createDefaultARPWorkClass ('[-appname A-edition1.0]')
Interactive mode
- Jacl:
$AdminTask createDefaultARPWorkClass {-interactive}
- Jython:
AdminTask.createDefaultARPWorkClass ('[-interactive]')
createDefaultGSPWorkClass
The createDefaultGSPWorkClass command creates default generic server service policy work classes.
Required parameters
- -odrname
- Name of the on demand router (ODR). (String, required)
- -odrnode
- Name of the node where the ODR runs. (String, required)
- -vhost
- Name of the virtual host. (String, required)
Optional parameters
None.
Batch mode example
- Jacl:
$AdminTask createDefaultGSPWorkClass {-odrname myodr -odrnode mynode -vhost default_host}
- Jython:
AdminTask.createDefaultGSPWorkClass ('[-odrname myodr -odrnode mynode -vhost default_host]')
Interactive mode
- Jacl:
$AdminTask createDefaultGSPWorkClass {-interactive}
- Jython:
AdminTask.createDefaultGSPWorkClass ('[-interactive]')
createDefaultGRPWorkClass
The createDefaultGRPWorkClass command creates default generic server routing policy work classes.
Required parameters
- -odrname
- Name of the on demand router (ODR). (String, required)
- -odrnode
- Name of the node where the ODR runs. (String, required)
- -vhost
- Name of the virtual host. (String, required)
Optional parameters
None.
Batch mode example
- Jacl:
$AdminTask createDefaultGRPWorkClass {-odrname myodr -odrnode mynode -vhost default_host}
- Jython:
AdminTask.createDefaultGRPWorkClass ('[-odrname myodr -odrnode mynode -vhost default_host]')
Interactive mode
- Jacl:
$AdminTask createDefaultGRPWorkClass {-interactive}
- Jython:
AdminTask.createDefaultGRPWorkClass ('[-interactive]')
createDefaultSystemSPWorkClass
The createDefaultSystemSPWorkClass command creates default system application service policy work classes.
Required parameters
- -appname
- Name of the application deployment. (String, required)
Optional parameters
None.
Batch mode example
- Jacl:
$AdminTask createDefaultSystemSPWorkClass {-appname A-edition1.0}
- Jython:
AdminTask.createDefaultSystemSPWorkClass ('[-appname A-edition1.0]')
Interactive mode
- Jacl:
$AdminTask createDefaultSystemSPWorkClass {-interactive}
- Jython:
AdminTask.createDefaultSystemSPWorkClass ('[-interactive]')
createDefaultSystemRPWorkClass
The createDefaultSystemRPWorkClass command creates default system application routing policy work classes.
Required parameters
- -appname
- Name of the application deployment. (String, required)
Optional parameters
None.
Batch mode example
- Jacl:
$AdminTask createDefaultSystemRPWorkClass {-appname A-edition1.0}
- Jython:
AdminTask.createDefaultSystemRPWorkClass ('[-appname A-edition1.0]')
Interactive mode
- Jacl:
$AdminTask createDefaultSystemRPWorkClass {-interactive}
- Jython:
AdminTask.createDefaultSystemRPWorkClass ('[-interactive]')
Related concepts
Overview of work classes Work class types