要启动主机控制台,您必须指定要连接到的 PDomain 编号。在具有两个 PDomain 的 SPARC M7-8 服务器上,PDomain 编号为 0 或 1。在具有一个 PDomain 的 SPARC M7-8 服务器上,PDomain 编号始终为 0。在 SPARC M7-16 服务器上,四个可能的 PDomain 中每一个对应一个主机控制台。
此任务使用 PDomain_0、HOST0 和 DCU_0 作为示例。此任务还假定主机已在运行。您必须具有 console 角色 (c) 才能完成此任务。
查看系统 health 属性。如果表明系统需要维修,请查看运行状况详细信息。您可能需要解决部分或全部故障。为清楚起见,编辑了以下输出。以下输出显示了存在两个未解决的问题。如以下示例中所示,运行 show /System/Open_Problems 命令来查看有关故障的详细信息。
-> show /System
...
Properties:
health = Service Required
health_details = PS5 (Power Supply 5), PS4 (Power Supply 4) are faulty.
Type 'show /System/Open_Problems' for details.
open_problems_count = 2
...
->
-> show /System/Open_Problems
Open Problems (2)
Date/Time Subsystems Component
------------------------ ------------------ ------------
Tue Sep 27 15:28:13 2015 Power PS5 (Power Supply 5)
A power supply AC input voltage failure has occurred. (Probability:100,
UUID:7df1a763-018d-c45b-e645-a7717ec5f89e, Resource:/SYS/PS5/SUPPLY,
Part Number:7068817, Serial Number:465776G+1348B20C46, Reference
Document:http://support.oracle.com/msg/SPT-8000-5X)
Tue Sep 27 15:28:19 2015 Power PS4 (Power Supply 4)
A power supply AC input voltage failure has occurred. (Probability:100,
UUID:532e9def-fe5c-c481-920b-8bc42c680418, Resource:/SYS/PS4/SUPPLY,
Part Number:7068817, Serial Number:465776G+1348B20C7N, Reference
Document:http://support.oracle.com/msg/SPT-8000-5X)
->
为清楚起见,编辑了以下输出。如果 power_state 属性为 Off,您可以启动主机控制台,但是不会显示 PDomain 提示符。如果 power_state 属性为 Off,表明主机未在运行。如果 status 值为 OpenBoot Primary Boot Loader 或 OpenBoot Running,表明主机正在运行,但它是在 ok 提示符下。最后,如果值为 Solaris running,表明主机正在运行,并且它是在 Oracle Solaris 提示符下。
-> show /Servers/PDomains/PDomain_0/HOST
...
power_state = On
send_break_action = (Cannot show property)
sp_name = /SYS/SP0/SPM0
state_capture_mode = default
state_capture_on_error = enabled
state_capture_status = enabled
status = OpenBoot Running
...
->
-> show /Servers/PDomains/PDomain_0/HOST dcus_assigned
/Servers/PDomains/PDomain_0/HOST
Properties:
dcus_assigned = /SYS/DCU0
->
如果主机没有分配给它的 DCU,则您无法启动主机,也无法启动主机控制台。如果您尝试启动主机控制台,将会显示以下消息:
Set dcus_assigned for /HOST0 before starting console.
如果未分配 DCU,请参见将 DCU 分配给主机。
-> start /Servers/PDomains/PDomain_0/HOST/console [-f|force] [-script] Are you sure you want to start /Servers/PDomains/PDomain_0/HOST/console (y/n)? y Serial console started. To stop, type #. root@system-identifier-pd0:~#
-f|force-允许您从任何当前的用户取得对控制台的控制权限,并强制该用户进入查看模式。您必须具有 console 角色 (c) 才能使用该选项。
-script-跳过“是”或“否”的确认提示。