4.3 AIX base operating system samples

The AIX bos.adt.samples fileset contains sample scripts and information if we need to automate DLPAR Resource allocation by using the drmgr command, as shown in Example 4-9. After the fileset is installed on the system you can access the files, including file /usr/samples/dr/scripts/README, which contains details about the samples. For more information about this topic, refer to the following Tech Note:

http://www.redbooks.ibm.com/abstracts/tips0121.html

Example 4-9 lslpp sample for bos.adt.samples fileset

[0:root@pl:]/usr/samples/dr/scripts # lslpp -L bos.adt.samples
  Fileset Level  State  Type  Description 
  ------------------------------------------------------------------ bos.adt.samples           5.3.0.40    C     F    Base Operating System Samples
#lslpp -f bos.adt.samples |grep dr
/usr/samples/dr/scripts/sysadmin_mv_rsets.c
                        /usr/samples/dr/scripts/IBM_XYZ_fail_dr_example.sh
                        /usr/samples/cdrom/cdromt.c
                        /usr/samples/dr/scripts/IBM_XYZ_fail_dr_2.sh
                        /usr/samples/cdrom
                        /usr/samples/dr
                        /usr/samples/dr/scripts/IBM_template.c
                        /usr/samples/dr/scripts/sysadmin_fail_cpu_add.sh
                        /usr/samples/dr/scripts/IBM_template.pl
                        /usr/samples/dr/scripts/IBM_template.sh
                        /usr/samples/cdrom/cdromb.c
                        /usr/samples/cdrom/cdromdd.h
                        /usr/samples/dr/scripts/README
                        /usr/samples/dr/scripts/IBM_XYZ_move_app_example.sh
                        /usr/samples/dr/scripts