Link to home
Start Free TrialLog in
Avatar of Dario Vercelli
Dario VercelliFlag for Italy

asked on

IBM problem with hmc and P780

Hi,

I have a problem  with a server P780 with HMC,  when i launch a save of anything LPAR profile the process go in hanging.

Do you have an idea about what the problem is? On other servers seen from the same console I have no problems
Avatar of dfke
dfke

Hi,

what happens if you save the configuration using the HMC native command line instead of the GUI?:

mksyscfg -r prof -m <managed_system_hostname> -o save -p <lpar_hostname> -n <lpar_hostname> --force

Open in new window


Cheers
Avatar of Dario Vercelli

ASKER

Hi,

The same :

hscroot@hmc780viv:~> mksyscfg -r prof -m 9179-MHB*0614E6R -o save -p sf3pbs01 -n sf3pbs01 --force

It remains hanging


The hmc are connected to the server :
resource_type=sys,type_model_serial_num=9179-MHB*0614E6R,sp=secondary,sp_phys_loc=U78C0.001.DBJR215-P1-C1,ipaddr=172.17.254.253,alt_ipaddr=unavailable,state=Connected
resource_type=sys,type_model_serial_num=9179-MHB*0614E6R,sp=primary,sp_phys_loc=U78C0.001.DBJR216-P1-C1,ipaddr=172.17.255.251,alt_ipaddr=unavailable,state=Connected

I have already restarted the hmc, without result

Is there a chance to understand where the command stops?

Thks
Dario
Hi,

This could well be an HMC issue so it's faster to work around the HMC and get the LPAR configurations directly from the VIOS server(s).

To save the VIOS config enter the IVM (Integrated Virtualization Manager) by typing the hostname of your VIOS server in your browser followed by a / to indicate it's a local server.

Username: padmin
Password: your_padmin_password

Then from the left frame menu choose: Service Management --> Backup/Restore --> Generate backup.

This will create a VIOS config backup /home/padmin/profile.bak on the particular VIOS server.

Then to save your LPAR configurations connect to your VIOS server using ssh or use a terminal emulator like Putty:

ssh padmin@vios_server_hostname

Open in new window

Once logged in you'll see the $ prompt.

Switch to the OEM software installation and set up environment so you can use regular AIX commands:

$ oem_setup_env

Open in new window


The prompt should now change to a #

Add the following line to the crontab:

0 0 * * * (/usr/ios/cli/ioscli viosbr -backup -file vios_config_bkup -frequency daily -numfiles  10 )

Open in new window


What this does is at midnight it will create a daily viosbr backup file containing all the LPAR configurations in /home/padmin/cfgbackups and keeps the 10 last backups.

If for what ever reason you need to restore the lpar configurations you can restore using viosbr -restore

Cheers
Hi Dario,

do you have any progress on this question? My answer should help you out getting all the LPAR configurations without having to bother with the HMC.

Cheers
ASKER CERTIFIED SOLUTION
Avatar of dfke
dfke

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Solution accepted

Open in new window