跳过导航链接 | |
退出打印视图 | |
从 Oracle Solaris 10 转换到 Oracle Solaris 11.1 Oracle Solaris 11.1 Information Library (简体中文) |
以下示例说明如何在使用或不使用 DHCP 的情况下引导 SPARC 客户机以及如何监视安装过程。此外,还将提供安装后客户机配置的简要说明。
示例 A-5 如何引导安装客户机
如果配置了 DHCP,按照以下方式引导 SPARC 客户机。
ok boot net:dhcp - install
如果未配置 DHCP,使用 network-boot-arguments 语法引导 SPARC 客户机。务必提供 installadm create-service 命令输出中的安装服务器信息。
在以下示例中,host-ip=1.2.3.88 标识了客户机的 IP 地址,router-ip=1.2.3.1 是路由器的 IP 地址,hostname=neo 标识了客户机的主机名,http: wanboot 字符串地址包括了 AI 服务器的系统名称和 IP 地址。
ok setenv network-boot-arguments host-ip=1.2.3.88,router-ip=1.2.3.1, subnet-mask=255.255.255.0,hostname=neo,file=http://1.2.3.10:5555/cgi-bin/ wanboot-cgi network-boot-arguments = host-ip=1.2.3.88,router-ip=1.2.3.1, subnet-mask=255.255.255.0,hostname=neo,file=http://1.2.3.10:5555/ cgi-bin/wanboot-cgi ok boot net - install
网络引导参数回显在屏幕上,并将自动显示任何错误。
客户机引导和安装过程成功开始后,您可以登录到客户机系统中监视安装过程。
Automated Installation started The progress of the Automated Installation will be output to the console Detailed logging is in the logfile at /system/volatile/install_log Press RETURN to get a login prompt at any time. solaris login: root password: solaris # tail -f /system/volatile/install_log
安装后,可从以下位置获取日志文件:
# more /var/log/install/install_log
如果客户机配置信息不是使用 DHCP 和 DNS 提供的,而是通过定制的配置文件或条件提供的,则在第一次引导客户机后会提示您提供系统的配置信息(如网络、主机名、时区和 root 用户口令)。
这些信息将由在已安装系统上找到的 /usr/share/auto_install/sc_profiles/enable_sci.xml 配置文件提示。
与以下内容类似的消息标识了系统信息在本地客户机系统中的存储位置:
SC profile successfully generated. Exiting System Configuration Tool. Log is available at: /system/volatile/sysconfig/sysconfig.log.553