Examples ' Copyright IBM Corp. 2 020. All rights reserved. xi 1-1 Checking the AIX environment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 1-2 Authentication between the AIX server and HMC. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 1-3 Authentication between the AIX server and IBM PowerVC . . . . . . . . . . . . . . . . . . . . . . 6 1-4 Editing /var/adm/ras/liveupdate/lvupdate.data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 1-5 Running geninstall -k to perform Live Update. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 1-6 CPU_Reduc stanza in the liveupdate.cf file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 1-7 CPU_Usage stanza in the liveupdate.cf file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 1-8 Creating a cache pool and cache partition in a dedicated flash logical unit number. . . 20 1-9 Assigning a cache partition to a target device that must be cached . . . . . . . . . . . . . . . 20 1-10 Starting caching on the hdisk2 target and monitoring the status . . . . . . . . . . . . . . . . 20 1-11 Creating a cache pool and cache partition in a VIOS . . . . . . . . . . . . . . . . . . . . . . . . . 21 1-12 Assigning the cache partition to a vhost in a VIOS . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 1-13 Assigning a cache partition to a target hdisk2 device in the AIX LPAR . . . . . . . . . . . 21 1-14 Starting caching on the hdisk2 target and monitoring the status . . . . . . . . . . . . . . . . 21 1-15 Creating a cache pool and cache partition in an NPIV flash logical unit number . . . . 22 1-16 Assigning a cache partition to a target device that must be cached . . . . . . . . . . . . . . 22 1-17 Starting caching on a hdisk2 target and monitoring the status . . . . . . . . . . . . . . . . . . 22 1-18 Using lsmpio to check the path status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 1-19 Displaying parent adapters and remote ports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 1-20 Sample output of MPIO detailed statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 1-21 Dynamic queue_depth update for device . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 1-22 Changing the default reserve_policy to no_reserve for AIXPCM FC disk. . . . . . . . . . 27 1-23 Changing the default algorithm to shortest_queue for the AIXPCM iSCSI disk . . . . . 28 1-24 Disabling paths by using chpath . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 1-25 File-based iSCSI discovery. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 1-26 ODM-based iSCSI discovery . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 1-27 Add an iSCSI Target Protocol Device smitty menu. . . . . . . . . . . . . . . . . . . . . . . . . . . 32 1-28 Enabling the nimhttp subsystem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 1-29 Using nimhttp without using cryptographic authentication . . . . . . . . . . . . . . . . . . . . . 35 1-30 Creating an HMC resource . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 1-31 Using nimquery to define the CEC object . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 1-32 Manually defining a CEC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38 1-33 Registering the NIM client by using niminit on the client partition . . . . . . . . . . . . . . . . 38 1-34 Adding a management source and LPAR ID to an AIX machine . . . . . . . . . . . . . . . . 38 1-35 Creating a Live Update data resource . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 1-36 Live Update initiated from the NIM master . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 1-37 The defragfs command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44 1-38 Checking the file system space reclamation support . . . . . . . . . . . . . . . . . . . . . . . . . 46 1-39 Checking the system physical volumes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47 1-40 Initiating the cloning process to hdisk1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47 1-41 Checking the new volume group that is created after the clone . . . . . . . . . . . . . . . . . 48 1-42 Waking up the clone and putting it to sleep . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 1-43 Changing the root directory to access altinst_rootvg clone . . . . . . . . . . . . . . . . . . . . 49 1-44 Putting altinst_rootvg to sleep . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 1-45 Attempting to create another clone from the mksysb image and receiving an error . . 50 1-46 Renaming the first altinst_rootvg clone . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 1-47 Creating a second clone and renaming it . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 1-48 The nmon command to collect processor frequency metrics . . . . . . . . . . . . . . . . . . . 55