Avamar: Gen4T — Como reconfigurar o usuário root do RMM4 para um nome de usuário alternativo
Summary: Como reconfigurar o usuário root do RMM4 para um nome de usuário alternativo (evite a mensagem de erro: Login failed. O usuário não tem o privilégio "Login to Embedded Management Software".) ...
Instructions
Todos os comandos devem ser executados como root no nó em que o usuário RMM4 está sendo configurado.
-
Verifique se o RMM4 está configurado para acesso dedicado (caso não haja um endereço IP válido configurado, substitua "lan print 4" por "lan print 1" para verificar o acesso compartilhado):
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
-
Para listar usuários configurados (caso o acesso RMM esteja configurado como compartilhado, substitua "summary 4" por "summary 1" e "list 4" por "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
-
Para renomear o ID de usuário #2 [root](onde "NewName" deve ser substituído pelo nome de usuário desejado e "Password" substituída pela senha desejada):
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
-
Listar usuários novamente:
root@avamar:~/#: ipmitool user list 4 ID Name Callin Link Auth IPMI Msg Channel Priv Limit 2 NewName true true true ADMINISTRATOR
Additional Information
Outros comandos úteis:
-
Para listar a configuração de rede do RMM4 (para configurá-la corretamente, consulte 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
-
Para executar a reinicialização a frio do BMC/RMM4 (TENHA CUIDADO, EVITE USAR SE O NÓ ESTIVER ON-LINE):
root@avamar:~/#: ipmitool mc reset cold root@avamar:~/#: sleep 120 root@avamar:~/#:
-
Para executar a reinicialização a quente do BMC/RMM4 (TENHA CUIDADO, EVITE USAR SE O NÓ ESTIVER ON-LINE):
root@avamar:~/#: ipmitool mc reset warm root@avamar:~/#: sleep 120 root@avamar:~/#:
-
Para listar informações do canal 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
-
Para listar informações técnicas do 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