How did your migration go? Were you using the cachevg to offload the workload to the nim server during the package migration?
Original Message:
Sent: Thu December 01, 2022 03:06 AM
From: Joerg Kauke
Subject: how to migrate multiple LPARS at once with nimadm
Hello Steve,
we although track our systems with lpar2rrd and nmon. But our picture is a different one. In lpar2rrd the CPU workload is at 90 to 100% while migrating and I tested how many phys. CPU are needed to get the workload under 90%...
So, we would need one allocated processor unit per lpar to migrate. In my case, I had a system with four physical cores to migrate 4 lpars simultaneously.
But nmon shows, that only two threads per CPU were used.
best regards,
Joerg
------------------------------
Joerg Kauke
Unix Administrator
COOP Switzerland
Original Message:
Sent: Wed November 30, 2022 08:49 AM
From: Steve Munday
Subject: how to migrate multiple LPARS at once with nimadm
Hi Joerg,
So far we've successfully run a total of 5 parallel nimadm processes from a single NIM (E1080, CPU: VP=3, EC=1.5 Memory: 16GB). We use nimadm caching and have created a number of nimadmvgXX VGs each with a single 128GB LUN (same size as our rootvg(s)) so that the NIM client is cached to its own NIM hosted (cache) VG.
We split the nimadm process into two sections, Phases 1-6 and Phases 7-12, as we need to re-expand the cached NIM client filesystems on the NIM itself so that during Phase 7 we have enough space to perform lpp and rpm install/upgrade work.
1) nimadm -j nimadmvg1 -l 7302lpp_res -c <LPAR-name> -s 7302spot_res -a AIX73premigration -z AIX73postmigration -d hdiskX -P1,2,3,4,5,6 -Y
2) Re-expand selected filesystems
3) nimadm -j nimadmvg1 -l 7302lpp_res -c <LPAR-name> -s 7302spot_res -a AIX73premigration -z AIX73postmigration -d hdiskX -P7,8,9,10,11,12 -Y
Performance wise, we use LPAR2RRD (https://lpar2rrd.com) to check throughput etc. and with the 5 running in parallel we hardly saw any spikes and certainly no contention. The overall runtime per nimadm process does vary, we've found, with some taking just over the hour to complete whilst others are closer to 1hr 40min and then we re-boot out of hours.
Hope that helps.
Regards, Steve
------------------------------
Steve Munday
AIX, IBM i, HMC, PowerVM
Original Message:
Sent: Tue November 29, 2022 05:32 AM
From: Joerg Kauke
Subject: how to migrate multiple LPARS at once with nimadm
Dear community,
AIX 7.3 is going to be the next OS in our environment. For that I started to prepare the migration process.
And here comes my question.
As nimadm can only migrate one by one lpar, how do you / how would you parallelize this to migrate multiple LPAR's at once.
I tried with "nohup" and GNU parallel, but the resource management is not very satisfying... Only one or two threads are used per process.
Thanks for your support in advance.
Best regards.
------------------------------
Joerg Kauke
Unix Administrator
COOP Switzerland
------------------------------