Posts tagged ·

WPAR

·...

WPAR Tasks Roles & Responsibility

Comments Off

The following table lists the Admin access role required to perform Workload Management Tasks. It also provides the Management Tool that be used for monitoring and managing the tasks such as Systems Director, WPAR Manager.

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
Using the Advanced Accounting subsystem with WPARs
* You can use the Advanced Accounting subsystem to produce WPAR accounting reports
Using the trace facility with WPARs
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
Making software available to other WPARs
syncwpar or syncroot syncwpar only  syncroot only Software installed in the global environment, not always automatically available for use within your system WPAR
Modified and enhanced AIX commands for WPARs
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.
Comments Off

IBM PowerHA SystemMirror for AIX V6.1 and V7.1 adds Support for IBM AIX 5.2 Workload Partitions for AIX V7.1

Comments Off

January 21, 2011

IBM PowerHA SystemMirror for AIX* V6.1 and V7.1 for AIX V7.1 add support for IBM AIX 5.2 Workload Partitions for AIX V7 (Compatibility WPARs).

It is recommended to obtain the latest service updates for this support.

Please refer to the following information for support details. The specified levels, or later, are required for this support.

PowerHA SystemMirror
AIX
PowerHA V7.1, SP2PowerHA APAR IZ90890

PowerHA APAR IZ91056

AIX 7.1 TL0 SP2RSCT V3.1.0.0

AIX APAR IZ91004*

PowerHA V6.1, SP3
AIX V7.1 TL0 SP2RSCT V3.1.0.0

AIX APAR IZ91004*


The prerequisites for AIX 5.2 Workload partitions are as follows:

  • Versioned WPARs only support POWER7® hardware.
  • Versioned WPARs can be installed only on an AIX 7.1 operating system.
  • The latest available, and supported version of AIX 5.2 is technology level (TL) 10, and service pack (SP) 8. Therefore, any backup image that is used to create an AIX 5.2 WPAR must be from an AIX 5.2 system running the latest version.

Restrictions:

  • PowerHA 7.1 support for Versioned WPAR is restricted to 32 Service IP addresses (per WPAR-enabled Resource Group).
  • Mixed mode operation, where in some of the nodes of the WPAR-enabled resource group has Versioned WPAR software installed whereas some other nodes do not, shall not be supported by PowerHA.
  • Cloning (via the PowerHA corrective action) of WPAR profile, shall not be supported for Versioned WPARs (in PowerHA).


Notes:

  • APAR IZ91004 is included in RSCT V3.1.0.0 SP4
  • WPAR property changes do not take effect until the next time the resource group is brought on line
Comments Off

How to list WPAR state

Comments Off

 Technote (FAQ)
 
Question
How can I list the state of my wpar(s) and display it's filesystem and process information from the global environment?
 
Answer
To list the state of all existing WPARs...
# lswpar
Name State Type Hostname Directory
---------------------------------------------
mywpar A S mywpar /wpars/mywpar



WPAR State Definitions
----------------------------------

Defined (D)
The workload partition has been defined by the mkwpar command and
is ready for use, but is not active. Start workload partitions in
this state with the startwpar command.
Loaded (L)
The workload partition has been configured in the kernel, but
processes have not yet been started. Note: This state is visible
only to programmatic consumers that use the lswpar command to
start a workload partition.
Active (A)
The workload partition is running normally.
Frozen (F)
A checkpoint operation is initiated, and the processes of the
workload partition are quiesced, awaiting the storing phase. Note:
The Frozen state is only visible when you use the lswpar command
to checkpoint a workload partition. The checkpoint or restart
function requires additional software package other than base
WPAR.
Paused (P)
A checkpoint or restart operation has been performed, and the
workload partition's processes are ready to be resumed or killed.
The checkpoint or restart functionality requires additional
software.
Transitional (T)
An administrative operation is in progress. The workload partition
is in the process of being created, started, stopped, configured,
and so on.
Broken (B)
An administrative operation failed, leaving this workload
partition in an unusable state.
 
Related information
Introduction to Workload Partition Management in IBM AI
IBM AIX Version 6.1 Differences Guide
 
 
Cross Reference information
Segment Product Component Platform Version Edition
Operating SystemAIXMiscellaneousAIX6.1
 
 
Comments Off