How to remove an LPAR through HMC via command line ? HMC is not accessible through GUI

How to remove an LPAR through HMC via command line ? HMC is not accessible through GUI
How to remove an LPAR through HMC via command line ? HMC is not accessible through GUI

Open in new window

LVL 2
rammaghentharAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
woolmilkporcConnect With a Mentor Commented:
Hello again rammaghentharji,

sorry for the delay - had a short spring break.

- First, I want to suggest that we should examine why the HMC would not be accessible via GUI - if I were you this wouldn't be a situation I'd like to tolerate for a long time!

- Anyway, removing an LPAR via CLI is simple -

Login to the HMC as 'hscroot' using ssh and issue:

rmsyscfg -r lpar -m [managed-system] -n [partition-name]

where managed-system is the name of your managed system and partition-name is the name of your partition.

If you are not sure about those names, list resources by issuing:

lssyscfg -r sys    to list all managed systems, or:
lssyscfg -r lpar -m [managed-system]      to list all lpars in a managed system.

Cheers

wmp



0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.