AIX LIVE UPDATE 1 PROFI AG Ι Präsentationstitel
STECKBRIEF Lothar Bingemann Senior Consultant PROFI GS Mitte Schwerpunkte: PowerVM PowerVC PowerSC PowerHA AIX IBM Power Systems 2 Simplified Remote Restart
AIX LIVE UPDATE - AGENDA Live Update AIX 7.2.0 - Approach Live Update AIX 7.2.0 - Prerequisites Live Update AIX 7.2.0 - Demo Live Update AIX 7.2.1 Announcement In AIX 7.2.0, the updates were still limited to interim fixes and it isn t not recommended to run on production environments. 3 Simplified Remote Restart
AIX LIVE UPDATE AIX 7.2.0 - APPROACH 4
AIX LIVE UPDATE AIX 7.2.0 - APPROACH 5
AIX LIVE UPDATE AIX 7.2.0 - APPROACH 6
AIX LIVE UPDATE AIX 7.2.0 - APPROACH 7
AIX LIVE UPDATE AIX 7.2.0 APPROACH 8
AIX LIVE UPDATE AIX 7.2.0 - APPROACH 9
AIX LIVE UPDATE AIX 7.2.0 - APPROACH 10
AIX LIVE UPDATE AIX 7.2.0 - PREREQUISITES The following minimum levels of these system components are required for the AIX Live Update function: System firmware: Ax730_066 (Limitation: It does not allow PowerVC to seamlessly manage the updated LPAR) Ax740_043 (Limitation: It does not allow PowerVC to seamlessly manage the updated LPAR) Ax770_063 Ax773_056 Ax780_056 Prereq Test Environment Hardware Management Console (HMC) 840 850 SP1 Virtual I/O Server 2.2.3.50 2.2.4.22 RSCT (if required) 3.2.1.0 3.2.1.10 PowerHA (if required) 7.2.0 PowerSC (if required) 1.1.4.0 11
AIX LIVE UPDATE AIX 7.2.0 - PREREQUISITES # oslevel -s 7200-00-02-1614 # smity install Name Level Part Event Result ----------------------------------------------------------------------------- bos.sysmgt.hmc 7.2.0.0 USR APPLY SUCCESS bos.sysmgt.hmc 7.2.0.0 ROOT APPLY SUCCESS bos.liveupdate.rte 7.2.0.0 USR APPLY SUCCESS bos.liveupdate.rte 7.2.0.0 ROOT APPLY SUCCESS # emgr -l There is no efix data on this system. # emgr -p -e /export/download/aix/efix/72tl00sp01/iv79639s0a.151210.72tl00sp01.epkg.z grep LU ABSTRACT: LU set fix to STABLE LU CAPABLE: yes # lsdev -Cc disk hdisk0 Available C2-T1-01 MPIO FC 2145 hdisk1 Available C2-T1-01 MPIO FC 2145 hdisk2 Available C2-T1-01 MPIO FC 2145 # lspv hdisk0 00c98e64b69540ff rootvg active hdisk1 00c98e641c57a6a3 None hdisk2 00f629e945c9ab76 None # getconf DISK_SIZE /dev/hdisk0 30720 # getconf DISK_SIZE /dev/hdisk1 30720 # getconf DISK_SIZE /dev/hdisk2 30720 12
AIX LIVE UPDATE AIX 7.2.0 - CONFIGURATION The root user must be able to authenticate to the HMC that manages the partition # hmcauth -a demohmc -u hscroot -p???? # hmcauth -l Address : 172.18.20.90 User name: hscroot port : 12443 TTL : 23:59:44 left # cd /var/adm/ras/liveupdate # cp lvupdate.template lvupdate.data # vi lvupdate.data general: kext_check = disks: nhdisk = hdisk1 disk names to be used to make a copy of the original rootvg which will be used to boot the Surrogate mhdisk = hdisk2 disk names to be used for the mirrored rootvg (surr-mir-rootvg) on the Surrogate tohdisk = tshdisk = hmc: lpar_id = management_console = 172.18.20.90 user = hscroot 13
AIX LIVE UPDATE AIX 7.2.0 14
AIX LIVE UPDATE AIX 7.2.0 geninstall -k -p -d /tmp/testliveupdate IV79639s0a.151210.72TL00SP01.epkg.Z Validating live update input data. Computing the estimated time for the live update operation: ------------------------------------------------------- LPAR: aix78 Blackout_time(s): 20 Global_time(s): 950 Checking mirror vg device size: ------------------------------------------ Required device size: 13888 MB Given device size: 51199 MB PASSED: device size is sufficient. Checking new root vg device size: ------------------------------------------ Required device size: 13888 MB Given device size: 51199 MB PASSED: device size is sufficient. Checking temporary storage size for original LPAR: ------------------------------------------ Required device size: MB Checking temporary storage size for surrogate LPAR: ------------------------------------------ Required device size: MB Validating the adapters and their paths: ------------------------------------------ PASSED: adapters can be divided into two sets so that each has paths to all disks. Checking lpar minimal memory size: ------------------------------------------ Required memory size: 2048 MB Current memory size: 2048 MB PASSED: memory size is sufficient. 15
AIX LIVE UPDATE AIX 7.2.0 Checking other requirements: ------------------------------------------ PASSED: sufficient space available in /var. PASSED: sufficient space available in /. PASSED: sufficient space available in /home. PASSED: no existing altinst_rootvg. PASSED: rootvg is not part of a snapshot. PASSED: pkcs11 is not installed. PASSED: DoD/DoDv2 profile is not applied. PASSED: Advanced Accounting is not on. PASSED: Virtual Trusted Platform Module is not on. PASSED: multiple semid lists is not on. PASSED: The trustchk Trusted Execution Policy is not on. PASSED: The trustchk Trusted Library Policy is not on. PASSED: The trustchk TSD_FILES_LOCK policy is not on. PASSED: the boot disk is set to the current rootvg. PASSED: the mirrorvg name is available. PASSED: the rootvg is uniformly mirrored. PASSED: the rootvg does not have the maximum number of mirror copies. PASSED: no local tape devices found. PASSED: live update not executed from console. PASSED: the execution environment is valid. PASSED: enough available space for /var to dump Component Trace buffers. PASSED: enough available space for /var to dump Light weight memory Trace buffers. PASSED: all devices are virtual devices. PASSED: No active workload partition found. PASSED: nfs configuration supported. PASSED: HMC token is present. PASSED: HMC token is valid. PASSED: HMC requests successful. PASSED: A virtual slot is available. PASSED: RSCT daemons are active. PASSED: no Kerberos configuration. PASSED: lpar is not remote restart capable. PASSED: no virtual log device configured. PASSED: lpar is using dedicated memory. PASSED: the disk configuration is supported. PASSED: no Generic Routing Encapsulation (GRE) tunnel configured. PASSED: Firmware level is supported. PASSED: vnic resources available. PASSED: Consolidated system trace buffers size is within the limit of 64 MB. PASSED: SMT number is valid. INFO: Any system dumps present in the current dump logical volumes will not be available after live update is complete. 16
AIX LIVE UPDATE AIX 7.2.0 geninstall -k -d /tmp/testliveupdate IV79639s0a.151210.72TL00SP01.epkg.Z Live AIX update in progress.... Initializing live update on original LPAR. Validating original LPAR environment. Beginning live update operation on original LPAR. Requesting resources required for live update.... Notifying applications of impending live update.... 17
AIX LIVE UPDATE AIX 7.2.0 Creating rootvg for boot of surrogate.... 18
AIX LIVE UPDATE AIX 7.2.0 Starting the surrogate LPAR.... Creating mirror of original LPAR's rootvg.... 19
AIX LIVE UPDATE AIX 7.2.0 Moving workload to surrogate LPAR.... Blackout Time started.... Workload must be able to accommodate the blackout period. The blackout time is the duration when the running processes are paused during the AIX Live Update operation. The blackout time can be estimated by running the operation in preview mode Blackout Time end. 20
AIX LIVE UPDATE AIX 7.2.0 Workload is running on surrogate LPAR.... Moving 21
AIX LIVE UPDATE AIX 7.2.0 Shutting down the Original LPAR.... The live update operation succeeded. Broadcast message from root@aix78 (pts/1) at 15:10:43... Live AIX update completed. File /etc/inittab has been modified. One or more of the files listed in /etc/check_config.files have changed. See /var/adm/ras/config.diff for details. [root@aix88:/usr/local/bin] 22
LIVE UPDATE AIX 7.2.1 - ANNOUNCEMENT 23
VIELEN DANK! Lothar Bingemann Senior Consultant Telefon +49 621 40007-15 Mobil +49 163 8075104 mailto:l.bingemann@profi-ag.de PROFI Engineering Systems AG Zentrale Otto-Röhm-Straße 18 64293 Darmstadt Telefon +49 6151 8290-0 Telefax +49 6151 8290-7610 mailto:profi@profi-ag.de http://www.profi-ag.de