Tuesday, August 2, 2011

To restart the Lpar from HMC

Hi Friends,

Here is command to restart the LPAR from HMC.

chsysstate -m -o shutdown -r lpar --immed --restart -n

Before go for shutdown Mandatory logs need take.

1. #df -k
2. #ps -ef|grep -v root (If any process running please stop the process)
3. #ifconfig -a
4. #netstat -nr
5. #lsvg rootvg
6. #bootlist -m normal -ov
7. #lspv
8. #errpt|pg
9. #hastatus -sum (If it is cluster check the server is in online or offline)
10.#vxdisk list
11.#vxprint -hrt
12.#sysdumpdev -l (check for Primary & Secondary is dump device)
13.#oslevel -s
14.#cat /etc/inetd.conf|grep telnet (Enable telnet for safer side)
15.#lssrc -g cluster (stop the local server and do)

Then check the uptime and the users accessing the server. Send a WALL message n do the reboot.

1 comment:

  1. Add these commands too..

    1. clRGinfo
    2. clRGinfo -m
    3. boolist -m normal -o
    4. bootlist -m normal -ov
    5. uptime
    6. lsrsrc -a IBM.ManagementServer

    ReplyDelete