Monthly Archives: October 2012

HMC: Cleanup unused memory/cpu assignment on offline LPARs

Short script: for varSys in $(lssyscfg -r sys -F names) do for varLpar in $(lssyscfg -r lpar -m $varSys -F ‘name,state’ |grep “Not Activated” |cut -d “,” -f1) do varMem=$(lshwres -r mem -m $varSys –level lpar –filter “lpar_names=$varLpar” -F curr_mem) … Continue reading

Posted in Uncategorized | Tagged , , , , | Leave a comment

TSM: extend logvolume via commandline

Something that was used this morning as TSM died with logvolume being 100% used and no DB backup possible as library is offline. Determining if the log is full Start TSM (dsmserv) from the command line so that the startup … Continue reading

Posted in Uncategorized | Tagged , , , , | Leave a comment