SUN服务器如何设置 RSC 控制台

默认情况下,无法通过网络访问 Sun Fire 280R、V480、V490、V880、V890 服务器的控制台。
我们需要亲临数据中心才能访问服务器控制台。
如何在 Sun Fire 280R、V480、V490、V880、V890 服务器上设置 RSC 控制台
如果没有 RSC(远程系统控制),则无法记录某些与硬件相关的日志。
服务器也可以通过RSC进行远程管理(可以远程开机/关机)。
我们可以使用下图所示的串口来物理访问数据中心的服务器控制台。
示例是 V490 服务器。

为了能够通过网络访问服务器控制台,我们需要在服务器提供的 SC/RSC 插槽中添加 SC/RSC 卡,如下所示。

现在我们需要将控制台从串口重定向到 RSC 控制台。
我们需要做的第一件事是安装下载并安装 RSC 包。
我们需要在 https://support.oracle.com/ 上拥有一个支持帐户。
RSC 软件下载(下载最新 RSC 软件的步骤):

  1. 登录 MOS 并选择“补丁和更新选项卡”
  2. 在右上角面板的“补丁搜索”中,点击“产品或者系列(高级搜索)”
  3. 在“Product Is”下拉菜单中选择“Sun remote System Control”??
  4. 在下一个下拉“版本是”中选择 RSC 版本(2.2.2 或者 2.2.3)。
  5. 选择操作系统并单击“搜索”(将获得包含 RSC 版本和补丁的列表)
  6. 选择所需的 RSC 版本(包)或者补丁
  7. 点击右侧的下载

安装完 RSC 的包后,我们需要对其进行配置。
在这里我们可以设置IP,添加用户通过RSC 登录并设置密码。

# /usr/platform/`uname -i`/rsc/rsc-config

配置脚本将从这里开始:

Continue with RSC setup (y|n): y
Set RSC date/time now (y|n| ) [y]:
Server Hostname [HostName]: geeklab
Edit customer info field (y|n| ) [n]:
Enable RSC Ethernet Interface (y|n|s| ) [n]: y
   RSC IP Mode (config|dhcp| ) [dhcp]: config
   RSC IP Address []: 192.168.1.10
   RSC IP Netmask [255.255.255.0]:
   RSC IP Gateway []: 192.168.1.1
Enable RSC Alerts (y|n|s| ) [n]:
Enable RSC Modem Interface (y|n|s| ) [n]:
Enable RSC Serial Port Interface (y|n|s| ) [n]: y
  Serial port baud rate (9600|19200|38400|57600|115200) [9600]:
   Serial port data bits (7|8) [8]:
   Serial port parity (even|odd|none) [none]:
   Serial port stop bits (1|2) [1]:
Setup RSC User Account (y|n| ) [y]:
   Username []: admin
   User Permissions (c,u,a,r|none| ) [cuar]:
-------------------
Verifying Selections
-------------------
General Setup
------------
  Set RSC date now  = y
  Server Hostname   = geeklab
  Set Customer Info = n
 Is this correct (y|n): y
Ethernet Setup
-------------
IP Mode      = config
IP Address   = 192.168.1.10
IP Netmask   = 255.255.255.0
IP Gateway   = 192.168.1.1
Is this correct (y|n): y
Alert Setup
----------
- Alerts disabled
Is this correct (y|n): y
Modem Setup
----------
- Modem disabled, ppp disabled
Is this correct (y|n): y
Serial Port Setup
----------------
Serial Port Baud      = 9600
Serial Port Data Bits = 8
Serial Port Parity    = none
Serial Port Stop Bits = 1
Is this correct (y|n): y
User Setup
---------
User Name        = admin
  User Permissions = cuar
Is this correct (y|n): y
This script will now update RSC, continue  (y|n): y

配置 RSC 后,请确保我们可以使用我们配置的用户名和密码通过网络登录到 RSC。
完成后,我们现在可以将控制台重定向到 RSC。

ok> setenv diag-out-console true
ok> setenv input-device rsc-console
ok> setenv output-device rsc-console
ok> reset-all

执行全部重置后,我们可以看到控制台日志通过网络显示在 RSC 控制台上。
要从 Solaris OS 命令进行相同的更改:

# eeprom diag-out-console=true
# eeprom input-device=rsc-console
# eeprom output-device=rsc-console

现在我们可以通过 RSC 控制台远程登录并更有效、更轻松地管理系统。
如果我们不知道 RSC 是否已经安装和配置,我们可以检查是否安装了 RSC 软件。

# /usr/bin/pkginfo | grep SUNWrsc

Solaris 中安装的软件包版本应与卡上安装的固件版本相匹配。
Solaris 中的rscadm version将显示固件版本。
检查 RSC 卡上配置的 RSC 设置:

# usr/platform/`uname -i`/rsc/rscadm show
日期:2020-09-17 00:15:00 来源:oir作者:oir