在 SP 上执行网络配置(Configure Network Management on the SP)后,可以通过 ssh 访问 SP。可以通过登录到 SP 的串行控制台或通过 ssh 执行主机配置。
# ssh root@10.134.178.170 Password: changeme Oracle(R) Integrated Lights Out Manager Version 3.2.5.60 r98416 Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved. Warning: password is set to factory default. Warning: HTTPS certificate is set to factory default. Hostname: ES2-72-swi-sp ->
-> start /SYS Are you sure you want to start /SYS (y/n)? y Starting /SYS -> start /HOST/console Are you sure you want to start /HOST/console (y/n)? y
此时将显示交换机主机的 Oracle ILOM 登录提示符。
默认用户为 root。默认密码为 changeme。
此时将显示交换机 Oracle ILOM 登录提示符。
Detecting screen size; please wait...done Oracle(R) Integrated Lights Out Manager Version xxxxxxx Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved. ... Hostname: ES2-72-primary ES2->
ES2-> cd /SP/network/ /SP/network ES2-> show /SP/network Targets: ipv6 test Properties: commitpending = (Cannot show property) dhcp_clientid = none dhcp_server_ip = 10.134.178.5 ipaddress = 10.134.178.167 ipdiscovery = dhcp ipgateway = 10.134.178.1 ipnetmask = 255.255.255.0 macaddress = 00:19:0F:16:D4:19 pendingipaddress = 10.134.178.167 pendingipdiscovery = dhcp pendingipgateway = 10.134.178.1 pendingipnetmask = 255.255.255.0 state = enabled vlan_id = (none) Commands: cd set show
因为默认情况下会启用 dhcp,所以,如果网络上有 dhcp 服务器,则主机可以自动获取网络配置。
以下示例中的名称和地址仅用于演示。
ES2-> set pendingipaddress=10.134.178.167 Set 'pendingipaddress' to '10.134.178.167' ES2-> set pendingipnetmask=255.255.255.0 Set 'pendingipnetmask' to '255.255.255.0' ES2-> set pendingipgateway=10.134.178.1 Set 'pendingipgateway' to '10.134.178.1' ES2-> set pendingipdiscovery=static Set 'pendingipdiscovery' to 'static' ES2-> set commitpending=true Set 'commitpending' to 'true' ES2-> show /SP/network Targets: ipv6 test Properties: commitpending = (Cannot show property) dhcp_clientid = none dhcp_server_ip = none ipaddress = 10.134.178.170 ipdiscovery = static ipgateway = 10.134.178.1 ipnetmask = 255.255.255.0 macaddress = 00:21:28:79:8B:58 pendingipaddress = 10.134.178.170 pendingipdiscovery = static pendingipgateway = 10.134.178.1 pendingipnetmask = 255.255.255.0 pendingvlan_id = (none) state = enabled vlan_id = (none