如果打算通过 SP 的 NET MGT 端口连接到 SP,SP 必须具有有效的 IP 地址。
默认情况下,服务器配置为通过网络中的 DHCP 服务获取 IP 地址。如果服务器所连接的网络不支持使用 DHCP 进行 IP 寻址,请执行此过程。
-> set /SP/network pendingipdiscovery=static Set 'pendingipdiscovery' to 'static'
Oracle ILOM 随附 IPv4 DHCP 和 IPv6 无状态默认网络设置。
此设置将主机配置为停止在 ok 提示符处,而不是自动引导预先安装的 OS。
-> set /SP/network pendingipaddress=service-processor-IPaddr Set 'pendingipaddress' to ' service-processor-IPaddr'
有关管理任务(如修改默认网络连接设置)的更多信息,请参阅 Oracle ILOM 文档。
-> set /SP/network pendingipgateway=gateway-IPaddr Set 'pendingipgateway' to 'gateway-IPaddr'
-> set /SP/network pendingipnetmask=255.255.255.0 Set 'pendingipnetmask' to '255.255.255.0'
本示例中设置的网络掩码是 255.255.255.0。在您的网络环境中,子网可能需要一个不同的网络掩码。请使用最适合您环境的网络掩码。
-> show /SP/network /SP/network Targets: Properties: commitpending = (Cannot show property) dhcp_clientid = xxx.xxx.xxx.xxx dhcp_server_ip = xxx.xxx.xxx.xxx ipaddress = xxx.xxx.xxx.xxx ipdiscovery = dhcp ipgateway = xxx.xxx.xxx.xxx ipnetmask = 255.255.255.0 macaddress = xx:xx:xx:xx:xx:xx managementport = MGMT outofbandmacaddress = xx:xx:xx:xx:xx:xx pendingipaddress = service-processor-IPaddr pendingipdiscovery = static pendingipgateway = gateway-IPaddr pendingipnetmask = 255.255.255.0 pendingmanagementport = MGMT sidebandmacaddress = xx:xx:xx:xx:xx:xx state = enabled
-> set /SP/network commitpending=true Set 'commitpending' to 'true'
请参见配置预先安装的 OS。