| Task |
Command |
Global Root |
WPAR Root |
Systems Director |
WPAR Manager |
Notes |
|
|
|
|
Plug-ins: VMControl, WPAR Mgr |
|
|
| Devices in WPARs |
|
|
|
|
|
|
| Deploying a device |
mkwpar -D or chwpar -D |
* |
|
* |
|
A device can be allocated to a WPAR when the WPAR is created or later |
| Allocating a device |
mkwpar -D or chwpar -D |
* |
|
* |
|
Process provides a storage device that can be used by the WPAR. |
| Configuring a device in a WPAR |
mkdev chdev rmdev lsdev cfgmgr lsattr lspath |
* |
* |
* |
|
Devices configured in the WPAR has an ODM entry in the WPAR. WPAR root can configure allocated devices only. |
| Managing file systems for a device |
various see website <<== |
* |
* |
* |
|
Devices in a rootvg WPAR, commands used to create and manage volume groups, logical volumes, and file systems operate like in the global environment |
| |
|
|
|
|
|
|
| Configuring system WPARs |
|
|
|
|
|
|
| Naming the system WPAR |
mkwpar -n |
* |
|
* |
* |
You must provide a name for the system WPAR. |
| Creating a system WPAR |
mkwpar |
* |
|
* |
* |
You can create a new system WPAR |
| Starting system WPARs |
startwpar |
* |
|
* |
* |
You can start a system WPAR from the global environment |
| Configuring directories and file systems for system WPARs |
|
|
|
|
|
|
| File system customization for system WPARs |
mkwpar + -M option |
* |
|
* |
* |
A WPAR may use namefs mounts from any type of file system which supports POSIX file system semantics when mounted with a namefs mount. |
| Creating a writable directory under a shared directory |
mkwpar |
* |
|
* |
|
You can create a writable directory beneath a shared directory using a symbolic link from the global environment. |
| Override the default of filesystems for system WPARS |
mkwpar + -d option |
* |
|
* |
* |
Override the default location of the file systems for a system WPAR |
| Configuring networks for system WPARs |
|
|
|
|
|
|
| Changing the host name for a system WPAR |
mkwpar -h or chwpar |
* |
|
* |
* |
By default, the name for a system WPAR is used as its host name. |
| Removing a network from a system WPAR |
chwpar -K |
* |
|
* |
* |
Remove a network from a system WPAR |
| Configuring domain resolution for system WPARs |
mkwpar -r |
* |
|
* |
* |
You can configure the domain resolution for system WPARs |
| Configuring WPAR-specific routing |
mkwpar -i or wparexec or chwpar |
* |
|
* |
* |
You can configure a WPAR to use its own routing table |
| Configuring resource controls for system WPARs |
mkwpar -R or chwpar |
* |
|
* |
* |
You can configure the resource controls to limit the physical resources a system WPAR has access to |
| Using specification files for system WPARs |
mkwpar -f |
* |
|
* |
* |
You can create a WPAR with all of the options from a specification file |
| Using an image.data file for system WPARs |
mkwpar -L image_data= flag |
* |
|
* |
|
Use an image.data file to specify additional logical volume options and file system options when you create a system WPAR |
| start and stop processes |
SRC |
* |
* |
* |
* |
|
|
|
|
|
|
|
|
| Configuring application WPARs |
|
|
|
|
|
|
| Creating an application WPAR |
wparexec |
* |
|
* |
* |
You can create and configure an application WPAR |
| Configuring directories and file systems for application WPARs |
wparexec -M |
* |
|
* |
* |
Application WPARs share file systems with the global environment. configure directories and file systems. |
| Configuring networks for application WPARs |
wparexec -h -N or chwpar |
* |
|
* |
* |
You can configure the network for an application WPAR |
| Configuring resource controls for application WPARs |
wparexec -R or chwpar |
* |
|
* |
* |
You can configure the resource controls to limit the physical resources an application WPAR has access to |
| Working with specification files for application WPARs |
wparexec -f |
* |
|
* |
* |
You can create a specification file with all of the options |
| © Copyright IBM Corporation, 2012 |
|
|
|
|
|
|
| Managing WPARs |
|
|
|
|
|
|
| Listing WPARs |
lswpar |
* |
|
* |
* |
You can list summary data for system WPARs and application WPARs |
| Listing WPAR identifiers |
lparstat or uname |
* |
|
* |
|
You can list the identifiers for a WPAR using the lparstat command or the uname command. |
| Logging in to a WPAR |
clogin |
* |
|
* |
|
After you configure and activate a system WPAR that does not have a network connection, you can log in to it locally |
| Backing up WPARs |
savewpar, mkcd , or mkdvd |
* |
|
* |
* |
You can back up a WPAR |
| Restoring WPARs |
restwpar |
* |
|
* |
* |
You can restore a WPAR |
| Removing WPARs |
rmwpar |
* |
|
* |
* |
You can remove a WPAR |
| Stopping WPARs |
stopwpar |
* |
|
* |
* |
You can stop a WPAR from the global environment |
| Recovering incompatible detached WPARs |
syncwpar, inuwpar |
* |
|
* |
* |
It is possible that the system software in a detached workload partition (WPAR) might become incompatible with the levels of system software in the global environment. This occurs if software installation and maintenance tasks are performed independently in the global environment and the WPAR, or if a WPAR backup image from an incompatible system level was installed. |
| Managing software with detached WPARs |
syncwpar, inuwpar |
* |
|
* |
* |
System WPARs exist in two basic forms as either shared or detached (non-shared /usr) workload partitions, though the file system characteristics can vary. |
| Installing Apache in a WPAR |
rpm |
* |
|
|
|
Installing Apache allows you to take advantage of the portability and scalability of WPARs |
|
|
|
|
* |
|
|
You can use the Advanced Accounting subsystem to produce WPAR accounting reports |
|
|
mkwpar or chwpar -S privs+=PV_KER_RAS flag. |
|
* |
|
|
You can use the trace facility to isolate system problems by monitoring selected system events in a WPAR. Enabled from Global Environment |
|
|
syncwpar or syncroot |
syncwpar only |
syncroot only |
|
|
Software installed in the global environment, not always automatically available for use within your system WPAR |
|
|
various see website <<== |
* |
* |
|
|
Some commands have different or enhanced behavior in a WPAR environment. |
| Live Application Mobility |
|
|
|
* |
* |
You can configure either WPAR type for mobility, which allows you to move running WPAR instances between physical systems using the AIX Workload Manager. |