Tuesday, January 26, 2010

HMC

hmc faq:
http://www-01.ibm.com/support/docview.wss?uid=isg3T1010615

lssrc -a|grep rsct

/usr/sbin/rsct/bin/rmcctrl -z
/usr/sbin/rsct/bin/rmcctrl -A
/usr/sbin/rsct/bin/rmcctrl -p

Sometimes when you attempt a DLPAR and you get the "no RMC Connection" error, the HMC may get out of sync with the LPARs. To sync the processor entitlements back up, use the following command by logging in to the HMC as padmin and running this command:

rsthwres -m managed_system_name -r proc
There are similar commands to re-sync the memory and IO adapters:
rsthwres -m managed_system_name -r mem
rsthwres -m managed_system_name -r io

Reset config:
/usr/sbin/rsct/install/bin/recfgct

lspartition -dlpar

lsrsrc IBM.ManagementServer

cpio

cpio -idmv < filename

Saturday, January 23, 2010

Nice FAQ for Solaris as beginner

http://www.big-up.org/menu/wiki/doku.php/command/solaris_quick_faq

Tuesday, January 12, 2010

iso file mount at AIX

/usr/sbin/crfs -v jfs -g rootvg -a size=800 -m/cd1iso -Ano -pro -tno -a frag=4096 -a nbpi=4096 -a ag=8
lsfs | grep cd1iso (assume it is /dev/lv00)
dd if=image.iso of=/dev/rlv00 bs=10M
chfs -a vfs=cdrfs /cd1iso
mount /cd1iso
rmfs /cd1iso

Saturday, January 2, 2010

AIX abc

www.loveunix.net
www.chinaunix.net
www.aixchina.net

IBM z series - Mainframe
IBM x series - Window, Linux (x86)
IBM p series - AIX (rs6000)