AIXTechnology

SAN LoginLogout da HMC cli

Pubblicato il

Per far effettuare il login sulla SAN a tutti i virtual adapter assegnati ad una LPAR si può intervenire da HMC, ad esempio:

hscroot@hmc7:~> lsnportlogin -m “System1” –filter “lpar_names=Lpar1”

lpar_name=Lpar1,lpar_id=3,profile_name=Lpar1,slot_num=4,wwpn=cxxxxxxxxxx6b001c,wwpn_status=1,logged_in=vios,wwpn_status_reason=null

lpar_name=Lpar1,lpar_id=3,profile_name=Lpar1,slot_num=4,wwpn=cxxxxxxxxxx6b001d,wwpn_status=1,logged_in=vios,wwpn_status_reason=null

lpar_name=Lpar1,lpar_id=3,profile_name=Lpar1,slot_num=7,wwpn=cxxxxxxxxxx6b0018,wwpn_status=1,logged_in=client,wwpn_status_reason=null

lpar_name=Lpar1,lpar_id=3,profile_name=Lpar1,slot_num=7,wwpn=cxxxxxxxxxx6b0019,wwpn_status=1,logged_in=vios,wwpn_status_reason=null

hscroot@hmc7:~> chnportlogin -m “System2” -p Lpar2 -o login

hscroot@hmc7:~> lsnportlogin -m “System2” –filter “lpar_names=Lpar2”

lpar_name=Lpar2,lpar_id=3,profile_name=Lpar2,slot_num=6,wwpn=cxxxxxxxxxx690010,wwpn_status=1,logged_in=vios,wwpn_status_reason=null

lpar_name=Lpar2,lpar_id=3,profile_name=Lpar2,slot_num=6,wwpn=cxxxxxxxxxx690011,wwpn_status=1,logged_in=vios,wwpn_status_reason=null

lpar_name=Lpar2,lpar_id=3,profile_name=Lpar2,slot_num=7,wwpn=cxxxxxxxxxx690014,wwpn_status=1,logged_in=vios,wwpn_status_reason=null

lpar_name=Lpar2,lpar_id=3,profile_name=Lpar2,slot_num=7,wwpn=cxxxxxxxxxx690015,wwpn_status=1,logged_in=vios,wwpn_status_reason=null

hscroot@hmc7:~> chnportlogin -m “System2” -p Lpar2 -o logout

hscroot@hmc7:~> lsnportlogin -m “System2” –filter “lpar_names=Lpar2”

lpar_name=Lpar2,lpar_id=3,profile_name=Lpar2,slot_num=6,wwpn=cxxxxxxxxxx690010,wwpn_status=0,logged_in=none,wwpn_status_reason=null

lpar_name=Lpar2,lpar_id=3,profile_name=Lpar2,slot_num=6,wwpn=cxxxxxxxxxx690011,wwpn_status=0,logged_in=none,wwpn_status_reason=null

lpar_name=Lpar2,lpar_id=3,profile_name=Lpar2,slot_num=7,wwpn=cxxxxxxxxxx690014,wwpn_status=0,logged_in=none,wwpn_status_reason=null

lpar_name=Lpar2,lpar_id=3,profile_name=Lpar2,slot_num=7,wwpn=cxxxxxxxxxx690015,wwpn_status=0,logged_in=none,wwpn_status_reason=null

Lascia un commento

Il tuo indirizzo email non sarà pubblicato. I campi obbligatori sono contrassegnati *

Questo sito usa Akismet per ridurre lo spam. Scopri come i tuoi dati vengono elaborati.