Вы находитесь на странице: 1из 15

Creación WPAR

lslpp -L | grep -i wpar

startwpar nombre_wpar

clogin nombre_wpar
Creación versioned WPAR desde un mksysb

1. Añado la ip y alias de la máquina en /etc/hosts


2. Requisitos
http://www.ibm.com/developerworks/aix/library/au-aix-workload-partitions/
3. Necesito estos filesets
AIX5.3 WPAR licenced file sets to be installed into the target system (global AIX):

bos.wpars 7.1.1.0
vwpar.53.rte 1.1.1.0
wio.common 7.1.0.0

http://www-01.ibm.com/support/docview.wss?uid=isg1fileset-247747967

vwpar.53.rte.1.1.2.0

4. Proceso de creación
mkwpar -n WPARname -C -B /mksysb_images/backupname

5. Inicio wpar
6. Ingreso Wpar

7. Configuración de red
Lo hago desde la partición AIX7.1 o por smit

Conexión ssh desde afuera hacia la wpar


8. Instalo vwpar manager desde IBM_WKLD_PARTITIONS_MGR_V2AIXEN
WPAR\agent\AIX\7100-01

9.
http://www.perlfect.com/articles/chmod.shtml

End of support

http://www-01.ibm.com/software/support/aix/lifecycle/

http://www.ibm.com/developerworks/ssa/aix/library/au-solaristoaix/

https://www.youtube.com/watch?v=0boDGqHy2YU

https://www-304.ibm.com/webapp/set2/sas/f/diags/download/home.html

https://www.youtube.com/watch?v=osoG3CsfDjk

https://www.ibm.com/developerworks/community/blogs/cgaix/entry/running_aix_5_3_on_power8?lang=es

http://www-
01.ibm.com/support/knowledgecenter/ssw_aix_71/com.ibm.aix.wpar/wpar_version_prerqu
e.htm
Creación WPAR

http://www-01.ibm.com/support/knowledgecenter/ssw_aix_71/com.ibm.aix.wpar/creconfig-create-wpar.htm

http://www.ibm.com/developerworks/aix/library/au-wparaix7/

Paquetes necesarios para wpar


https://www.ibm.com/developerworks/community/blogs/powermeup/entry/aix_5_3_wpar_on_aix7_15?lang=es

Discos y NFS wpar

https://www.ibm.com/developerworks/aix/library/au-wpar_san/

Seguridad

http://www-01.ibm.com/support/docview.wss?uid=isg1SSRVPOAIX71SECURITY140306-1207
Creating filesystems
Let's turn our attention back to the global environment. Let's create a filesystem through SMIT. You cannot create a f/s or volume group
from the WPAR, only from the global environment (LPAR).
We need to make sure that the full path of the filesystem (including the WPAR path) is specified (see Figure 1).

Figure 1. The full path of the filesystem is specific in SMIT

Figure 2 shows the the file system has been created successfully.

Figure 2. The file system has been created successfully

After it's successfully created, you'll need to make one minor change to the filesystem: the mount group needs to be explicitly defined
(see Figure 3). Note that this step is not necessary when using the command line to create the filesystem: # smit chjfs2.

Figure 3. Explicitly defining the mount group


Now let's turn back to the WPAR, where you'll create the mountpoint and mount the newly created filesystem (see Listing 7).

Listing 7. Creating the mountpoint and mounting the filesystem


# mkdir ora
# pwd
/
# mount ora /ora01
# df -k
Filesystem 1024-blocks Free %Used Iused %Iused Mounted on
/dev/fslv12 131072 103444 22% 2246 9% /
/dev/fslv13 131072 128660 2% 5 1% /home
/opt 262144 119804 55% 3048 11% /opt
/proc - - - - - /proc
/dev/fslv14 131072 128424 3% 9 1% /tmp
/usr 3538944 150480 96% 91842 70% /usr
/dev/fslv15 131072 116448 12% 370 2% /var
/ora 131072 103444 22% 2246 9% /ora01
#

Note that you also cannot increase the size of a filesystem from the WPAR, only from the global environment. You also cannot serve
NFS filesystems from within the WPAR; only NFS clients are supported.
Backups
Remember, there are no physical devices in a WPAR. When backing up the WPAR environment, you need to use the savewpar
command, again from the global environment.

Listing 8. Using the savewpar command


lpar5ml162f_pub[/wpars/devpayrollWPAR01/wpars] > savewpar
-f /admin/payroll.backup devpayrollWPAR01

Creating information file for workload partition devpayrollWPAR01.

Creating list of files to back up.


Backing up 2829 files
2829 of 2829 files (100%)
0512-038 savewpar: Backup Completed Successfully.
lpar5ml162f_pub[/wpars/devpayrollWPAR01/wpars] >

You can restore using the restwpar command.


Users and groups
You can maintain users and groups within the WPAR, either from the command line or through SMIT. You should understand that the
root user for this environment does not have access to the global environment, only to the WPAR (see LIsting 9).

Listing 9. Maintaining users and groups within the WPAR


# mkuser test
# mkgroup testing
# hostname
devpayrollWPAR01
# lsuser
Usage: lsuser [-R load_module] [ -c | -f ] [ -a attr attr ... ]
{ "ALL" | user1,user2 ... }
# lsuser test
test id=204 pgrp=staff groups=staff home=/home/test shell=/usr/bin/ksh
login=true su=true rlogin=true daemon=true admin=false sugroups=ALL admgroups=
tpath=nosak ttys=ALL expires=0 auth1=SYSTEM auth2=NONE umask=22 registry=files
SYSTEM=compat logintimes= loginretries=0 pwdwarntime=0 account_locked=false
minage=0 maxage=0 maxexpired=-1 minalpha=0 minother=0 mindiff=0 maxrepeats=8 minlen=0
histexpire=0 histsize=0 pwdchecks= dictionlist= default_roles= fsize=2097151 cpu=-1
data=262144 stack=65536 core=2097151 rss=65536 nofiles=2000 roles=
# lsgroup testing
testing id=203 admin=false users= registry=files
#

Now let's turn our attention back to the global environment. You can clearly see in Listing 10 that the user was not created in the global
environment, only within that specific WPAR.

Listing 10. The user was not created in the global environment
lpar5ml162f_pub[/wpars/devpayrollWPAR01/wpars] > lsuser test
3004-687 User "test" does not exist.
lpar5ml162f_pub[/wpars/devpayrollWPAR01/wpars] >

WPAR manager
It's worth noting that there is a graphical tool called WPAR manager, which is Java™ based and allows for the centralized management
of WPARs (see Figure 4).

http://www.torontoaix.com/wpar/wpar-in-aix-6

Comandos

http://www-01.ibm.com/support/knowledgecenter/ssw_aix_71/com.ibm.aix.wpar/wpar-commands.htm
savewpar -f'/variosnew' '-i' '-e' '-X' AbanksBDGT_wpar

Agosto 6

1. Error tamaño fslv00 pertenece al /mksysb. Lo eliminé del image.data


2.

Вам также может понравиться