Creating a system WPAR
You can create a new system WPAR with the mkwpar command.
Each WPAR has
an isolated network environment with unique IP addresses and a unique
hostname. You can access WPARs through standard networking programs,
such as telnet, ftp, and rlogin (depending on the services running
in the WPAR). Before
you create a WPAR, you
should log in as the root user and complete one of the following prerequisites:
- Choose a name for the WPAR that maps to an IP address for your network.
- Add an entry for the new system WPAR to the /etc/hosts file
on the server. The entry should include the host name for the WPAR and the name of the WPAR as follows:
9.3.18.10 WPARname.austin.ibm.com WPARname
To create a new system WPAR, complete the following
steps.
The initial output of the mkwpar command
should look similar to the following:
mkwpar -n WPARname mkwpar:
Creating filesystems...
/
/home
/opt
/proc
/tmp
/usr
/var
populate: Mounting all workload partition file systems
x ./usr
x ./lib
x ./audit
x ./dev
x ./etc
x ./etc/check_config.files
x ./etc/consdef
x ./etc/cronlog.conf
x ./etc/csh.cshrc
x ./etc/csh.login
x ./etc/dlpi.conf
x ./etc/dumpdates
x ./etc/environment
x ./etc/ewlm
x ./etc/ewlm/limits
x ./etc/filesystems
x ./etc/group
x ./etc/inittab
x ./etc/magic
x ./etc/motd
...
Each system WPAR has an isolated section
of the system's file space configured for the root directory,
the /home directory, the /usr directory
and other file systems. Creation and configuration of this space is
reflected in the above output from the mkwpar command.
The return from the mkwpar command continues with
output similar to the following:
x ./home
x ./home/guest
x ./home/lost+found
+-----------------------------------------------------------------------------+
Pre-installation Verification...
+-----------------------------------------------------------------------------+
Verifying selections...done
Verifying requisites...done
Results...
SUCCESSES
---------
Filesets listed in this section passed pre-installation verification
and will be installed.
...
Each system workload partition has its own /dev directory.
Creation and configuration of this space is reflected in the populate:
Exporting workload partition devices output from the mkwpar command.
Not all of the devices on the system can be shared among the WPARs
so the WPARs /dev directory is a sparse version
of the /dev directory on the global environment.
The mkwpar command then continues with the installation
of several AIX® base system file
sets into the WPAR.
At the end of the installation phase, you should see output similar
to the following:
Finished processing all filesets. (Total time: 1 mins 4 secs).
Please wait...
/opt/rsct/install/bin/ctposti
0513-071 The ctcas Subsystem has been added.
0513-071 The ctrmc Subsystem has been added.
done
+-----------------------------------------------------------------------------+
Summaries:
+-----------------------------------------------------------------------------+
Installation Summary
--------------------
Name Level Part Event Result
-------------------------------------------------------------------------------
Tivoli_Management_Agent.cli 3.7.1.0 ROOT APPLY SUCCESS
bos.acct 5.3.0.9500 ROOT APPLY SUCCESS
bos.diag.util 5.3.0.40 ROOT APPLY SUCCESS
bos.mh 5.3.0.40 ROOT APPLY SUCCESS
bos.net.ncs 5.3.0.0 ROOT APPLY SUCCESS
bos.net.nfs.client 5.3.0.9500 ROOT APPLY SUCCESS
bos.net.nis.client 5.3.0.40 ROOT APPLY SUCCESS
bos.net.snapp 5.3.0.0 ROOT APPLY SUCCESS
bos.net.tcp.client 5.3.0.9500 ROOT APPLY SUCCESS
bos.net.tcp.server 5.3.0.9500 ROOT APPLY SUCCESS
bos.net.uucp 5.3.0.40 ROOT APPLY SUCCESS
…
bos.net.ipsec.rte 5.3.0.9500 ROOT APPLY SUCCESS
bos.perf.tune 5.3.0.9500 ROOT APPLY SUCCESS
devices.chrp.base.diag 5.3.0.40 ROOT APPLY SUCCESS
bos.net.ipsec.keymgt 5.3.0.9500 ROOT APPLY SUCCESS
ifor_ls.base.cli 5.3.0.30 ROOT APPLY SUCCESS
lum.base.cli 5.1.0.0 ROOT APPLY SUCCESS
bos.suma 5.3.0.40 ROOT APPLY SUCCESS
mkwpar: Workload partition WPARname created successfully.
To start the workload partition, execute the following as root: startwpar [-v] 'WPARname'
The configuration of the system WPAR is now complete.