Avamar: Gen4T: come riconfigurare l'utente root RMM4 con un nome utente alternativo
Summary: Come riconfigurare l'utente root RMM4 con un nome utente alternativo (evitare il messaggio di errore: Login failed. L'utente non dispone del privilegio "Login to Embedded Management Software". ...
Instructions
Tutti i comandi devono essere eseguiti come root sul nodo in cui viene configurato l'utente RMM4.
-
Verificare che RMM4 sia configurato per l'accesso dedicato (nel caso in cui non sia configurato un indirizzo IP valido, sostituire "lan print 4" con "lan print 1" per verificare l'accesso condiviso):
root@avamar:~/#: ipmitool lan print 4 |egrep "IP Address|Subnet Mask|Default Gateway" |egrep -v "Source|Header|Backup|MAC" IP Address : 10.70.193.19 Subnet Mask : 255.255.255.128 Default Gateway IP : 10.70.193.126
-
Per elencare gli utenti configurati (nel caso in cui l'accesso RMM sia configurato come condiviso, sostituire "summary 4" con "summary 1" e "list 4" con "list 1"):
root@avamar:~/#: ipmitool user summary 4 Maximum IDs : 16 Enabled User Count : 1 Fixed Name Count : 1 root@avamar:~/#: ipmitool user list 4 ID Name Callin Link Auth IPMI Msg Channel Priv Limit 2 root true true true ADMINISTRATOR
-
Per rinominare l'ID utente#2 [root] (dove "NewName" deve essere sostituito con il nome utente desiderato e "Password" sostituito con la password desiderata):
root@avamar:~/#: ipmitool user set name 2 NewName root@avamar:~/#: ipmitool user set password 2 Password root@avamar:~/#: ipmitool user enable 2 root@avamar:~/#: ipmitool channel setaccess 4 2 link=on ipmi=on callin=on privilege=4 root@avamar:~/#: ipmitool channel getaccess 4 2 Maximum User IDs : 16 Enabled User IDs : 1 User ID : 2 User Name : NewName Fixed Name : No Access Available : call-in / callback Link Authentication : enabled IPMI Messaging : enabled Privilege Level : ADMINISTRATOR
-
Elencare nuovamente gli utenti:
root@avamar:~/#: ipmitool user list 4 ID Name Callin Link Auth IPMI Msg Channel Priv Limit 2 NewName true true true ADMINISTRATOR
Additional Information
Altri comandi utili:
-
Per elencare la configurazione di rete RMM4 (per configurarla correttamente, fare riferimento a KB490977):
root@avamar:~/#: ipmitool lan print 4 Set in Progress : Set Complete Auth Type Support : NONE MD2 MD5 PASSWORD OEM Auth Type Enable : Callback : : User : : Operator : : Admin : MD5 : OEM : IP Address Source : Static Address IP Address : 10.70.193.19 Subnet Mask : 255.255.255.128 MAC Address : 00:60:16:72:59:42 SNMP Community String : public IP Header : TTL=0x40 Flags=0x40 Precedence=0x00 TOS=0x10 BMC ARP Control : ARP Responses Enabled, Gratuitous ARP Disabled Gratituous ARP Intrvl : 2.0 seconds Default Gateway IP : 10.70.193.126 Default Gateway MAC : 00:00:00:00:00:00 Backup Gateway IP : 0.0.0.0 Backup Gateway MAC : 00:00:00:00:00:00 802.1q VLAN ID : Disabled 802.1q VLAN Priority : 0 RMCP+ Cipher Suites : 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15 Cipher Suite Priv Max : Not Available
-
Per eseguire il ripristino a freddo di BMC/RMM4 (PRESTARE ATTENZIONE, EVITARE L'UTILIZZO SE IL NODO È ONLINE):
root@avamar:~/#: ipmitool mc reset cold root@avamar:~/#: sleep 120 root@avamar:~/#:
-
Per eseguire il ripristino a caldo di BMC/RMM4 (PRESTARE ATTENZIONE, EVITARE L'UTILIZZO SE IL NODO È ONLINE):
root@avamar:~/#: ipmitool mc reset warm root@avamar:~/#: sleep 120 root@avamar:~/#:
-
Per elencare le informazioni sul canale 4:
root@avamar:~/#: ipmitool channel info 4 Channel 0x4 info: Channel Medium Type : 802.3 LAN Channel Protocol Type : IPMB-1.0 Session Support : multi-session Active Session Count : 0 Protocol Vendor ID : 7154 Volatile(active) Settings Alerting : disabled Per-message Auth : enabled User Level Auth : enabled Access Mode : always available Non-Volatile Settings Alerting : disabled Per-message Auth : enabled User Level Auth : enabled Access Mode : always available
-
Per elencare le informazioni tecniche su RMM4/BMC:
root@avamar:~/#: ipmitool -I open bmc info Device ID : 16 Device Revision : 0 Firmware Revision : 17.30 IPMI Version : 2.0 Manufacturer ID : 1139 Manufacturer Name : EMC Corporation Product ID : 34 (0x0022) Product Name : Unknown (0x22) Device Available : yes Provides Device SDRs : no Additional Device Support : Sensor Device SDR Repository Device SEL Device FRU Inventory Device IPMB Event Receiver Bridge Chassis Device Aux Firmware Rev Info : 0x01 0x00 0x00 0x00