AIX LIVE UPDATE - PROFI AG · PDF fileThe following minimum levels of these system components...

24
PROFI AG Ι Präsentationstitel 1 AIX LIVE UPDATE

Transcript of AIX LIVE UPDATE - PROFI AG · PDF fileThe following minimum levels of these system components...

PROFI AG Ι Präsentationstitel 1

AIX LIVE UPDATE

Simplified Remote Restart2

STECKBRIEF

Lothar Bingemann

Senior Consultant

PROFI GS Mitte

Schwerpunkte:

PowerVM

PowerVC

PowerSC

PowerHA

AIX

IBM Power Systems

Simplified Remote Restart3

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.

AIX Live Update 4

AIX LIVE UPDATE AIX 7.2.0 - APPROACH

AIX Live Update 5

AIX LIVE UPDATE AIX 7.2.0 - APPROACH

AIX Live Update 6

AIX LIVE UPDATE AIX 7.2.0 - APPROACH

AIX Live Update 7

AIX LIVE UPDATE AIX 7.2.0 - APPROACH

AIX Live Update 8

AIX LIVE UPDATE AIX 7.2.0 – APPROACH

AIX Live Update 9

AIX LIVE UPDATE AIX 7.2.0 - APPROACH

AIX Live Update 10

AIX LIVE UPDATE AIX 7.2.0 - APPROACH

AIX Live Update 11

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 EnvironmentHardware 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

AIX Live Update 12

AIX LIVE UPDATE AIX 7.2.0 - PREREQUISITES

# oslevel -s7200-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 LUABSTRACT: LU set fix to STABLE

LU CAPABLE: yes

# lsdev -Cc diskhdisk0 Available C2-T1-01 MPIO FC 2145

hdisk1 Available C2-T1-01 MPIO FC 2145

hdisk2 Available C2-T1-01 MPIO FC 2145

# lspvhdisk0 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

AIX Live Update 13

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

AIX Live Update 14

AIX LIVE UPDATE AIX 7.2.0

AIX Live Update 15

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.

AIX Live Update 16

AIX LIVE UPDATE AIX 7.2.0Checking 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.

AIX Live Update 17

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.

........

AIX Live Update 18

AIX LIVE UPDATE AIX 7.2.0

Creating rootvg for boot of surrogate.

....................................................................

AIX Live Update 19

AIX LIVE UPDATE AIX 7.2.0

Starting the surrogate LPAR.

................................................................

Creating mirror of original LPAR's rootvg.

........................................................................

AIX Live Update 20

AIX LIVE UPDATE AIX 7.2.0Moving workload to surrogate LPAR.

................

Blackout Time started.

....................................................................

Blackout Time end.

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 AIX Live Update operation

in preview mode

AIX Live Update 21

AIX LIVE UPDATE AIX 7.2.0

Moving

Workload is running on surrogate LPAR.

....

AIX Live Update 22

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]

AIX Live Update 23

LIVE UPDATE AIX 7.2.1 - ANNOUNCEMENT

PROFI Engineering Systems AG Zentrale

Otto-Röhm-Straße 18

64293 Darmstadt

Telefon +49 6151 8290-0

Telefax +49 6151 8290-7610

mailto:[email protected]

http://www.profi-ag.de

VIELEN DANK!

Lothar Bingemann

Senior Consultant

Telefon +49 621 40007-15

Mobil +49 163 8075104

mailto:[email protected]