Tuesday, March 27, 2012

FI commads

UCLI COmmands :
?
show
scope
top/up
where
connect
SSH to cluster IP :
#? shows all your commands
#where (shows your peresnt location )
#show ? (will show all your operation you can use)
#scope (Zoom down to particular item and dig into  it )
#scope chassis 1 (will get you in chasis one to look into details)
#up (goes back to pervious state )
#top (goes all the way back to start of ssh ip )
#connect (Connect to NX os or frabirc to do failover and others)


UCS-A# connect local-mgmt (for performing ping and local operations on that fabric)
UCS-A(local-mgmt) # enable cluster virtual-ip-addr(enable Cluster Mode)



Changing Mgmt subnet of a Cluster :

UCS-A # scope fabric-interconnect a
        set out-of-bandip ip-address netmask  ip-netmask gw gateway-Ip-Addr
UCS-A # scope fabric-interconnect b
        set out-of-bandip ip-address netmask  ip-netmask gw gateway-Ip-Addr
UCS-A /fabric-interconnect # scope system
UCS-A /sytem #set virtual-ip ip-add
UCS-A /system #commit-buffer


Set end Host mode :-
UCS-A#scope eth-uplink
UCS-A /eth-uplink #set mode end-host
UCS-A /eth-uplink #commit-buffer

FI will reboot after this


Set system Name :-
UCS-A#scope system
UCS-A /system #set name DOmainname
UCS-A /system #commit-buffer


Move Primary to secondary for Maintence :-

UCS-A#connect local-mgmt
UCS-A(local-mgmt)#cluster lead B(name of FI to want to make as primary)
UCS-A(local-mgmt)#show cluster extendedstate

UCS-A(Local-mgmt)#Cluster force B(When you want to chnage the FI and force it)




-------------------------------------------------


Split Brain in FI :Both FI think that they are the primary FI."Partition in  space " to FI can not speak with each other.

Partition in time :time mismatch in FI who ever wirtes seeprom.

No comments:

Post a Comment