Create an enterprise pool (license file needed)

# mkcodpool -p EPOOL01 -f [XML file given by IBM]

List existing pools managed by the HMC

# lscodpool --level pool
name=EPOOL01,id=0052,state=In compliance,sequence_num=1,\
master_mc_name=hmc1,master_mc_mtms=7042-CR8*xxxxx,\
backup_master_mc_name=hmc2,backup_master_mc_mtms=7042-CR8*yyyyy,\
mobile_procs=28,avail_mobile_procs=14,unreturned_mobile_procs=0,\
mobile_mem=204800,avail_mobile_mem=40960,unreturned_mobile_mem=0

List details of Enterprise pool :

# lscodpool --level sys -p EPOOL-TSM01
name=[managed system1],mtms=9117-MMD*zzzzz,mobile_procs=0,\
non_mobile_procs=4,unreturned_mobile_procs=0,inactive_procs=28,installed_procs=32,\
mobile_mem=0,non_mobile_mem=163840,unreturned_mobile_mem=0,inactive_mem=163840,\
installed_mem=327680
name=[managed system2],mtms=9117-MMD*yyyyyy,mobile_procs=14,\
non_mobile_procs=4,unreturned_mobile_procs=0,inactive_procs=14,installed_procs=32,\
mobile_mem=163840,non_mobile_mem=163840,unreturned_mobile_mem=0,inactive_mem=0,\
installed_mem=327680

 List only available proc units and memory:

# lscodpool --level pool -p EPOOL01 -Favail_mobile_procs,avail_mobile_mem
28,40960

 

List HMC which are managing Enterprise pool

# lscodpool --level mc -p EPOOL01
name=hmc1,mtms=7042-CR8*xxxxx,is_master=1,is_backup_master=0
name=hmc2,mtms=7042-CR8*yyyyy,is_master=0,is_backup_master=1

 

 List history of commands

# lscodpool -m [managed system1] -t hist
time_stamp=10/16/2014 12:14:02,"entry=HSCL0347 Mobile CoD memory activated, GB of memory: 60, total GB of Mobile CoD memory on server: 160."
time_stamp=10/16/2014 12:10:00,"entry=HSCL0346 Mobile CoD processors activated, number of processors: 14, total number of Mobile CoD processors on server: 14."
time_stamp=10/16/2014 12:07:30,"entry=HSCL0348 Mobile CoD processors deactivated, number of processors: 8, total number of Mobile CoD processors on server: 0."
time_stamp=10/16/2014 11:50:28,"entry=HSCL0347 Mobile CoD memory activated, GB of memory: 100, total GB of Mobile CoD memory on server: 100."
time_stamp=10/16/2014 11:49:44,"entry=HSCL0346 Mobile CoD processors activated, number of processors: 8, total number of Mobile CoD processors on server: 8."
time_stamp=10/16/2014 11:46:22,"entry=HSCL0345 Mobile CoD memory activation code entered, GB of memory: 200, sequence number: 42."
time_stamp=10/16/2014 11:46:20,"entry=HSCL0344 Mobile CoD processor activation code entered, number of processors: 28, sequence number: 42."
time_stamp=10/16/2014 11:46:17,"entry=HSCL0341 Power enterprise pool membership activation code entered, pool ID: 0052, grace period days: 2."
time_stamp=08/20/2014 14:29:01,entry=HSCL0324 All unreturned On/Off CoD memory has been reclaimed.
time_stamp=08/20/2014 14:29:00,entry=HSCL0323 All unreturned On/Off CoD processors have been reclaimed.

Add 40 GB to a PowerSystem:

# chcodpool -o add -p EPOOL01 -m [managed system1] -r mem -q 40960

Remove 14 processing units from a PowerSystem :

# lscodpool --level sys -p EPOOL01
name=[managed system1],mtms=9117-MMD*zzzzz,mobile_procs=0,non_mobile_procs=4,\
unreturned_mobile_procs=0,inactive_procs=28,installed_procs=32,mobile_mem=0,\
non_mobile_mem=163840,unreturned_mobile_mem=0,inactive_mem=163840,\
installed_mem=327680

# chcodpool -o remove -p EPOOL01 -m [managed system] -r proc -q 14
# lscodpool --level sys -p EPOOL01
name=[managed system1],mtms=9117-MMD*zzzzz,mobile_procs=0,non_mobile_procs=4,\
unreturned_mobile_procs=0,inactive_procs=28,installed_procs=32,mobile_mem=0,\
non_mobile_mem=163840,unreturned_mobile_mem=0,inactive_mem=163840,\
installed_mem=327680
Share Button
IBM Enterprise pools cheatsheet
Taggé sur :        

Laisser un commentaire