搜档网
当前位置:搜档网 › 42-RSC 安装配置

42-RSC 安装配置



To unpack for Solaris 9 & Solaris 10:
mkdir /tmp/RSC
unzip -d /tmp/RSC rsc2.2.3_packages_s9.zip
cd /tmp/RSC
然后安装软件 # pkgadd -d ./

=====================================
How to Configure RSC on Sun Solaris
At first,You must install the packages:SUNWrsc

#cd /usr/platform/'uname -i'/rsc

#./rsc-config
Continue with RSC setup (y|n): y
Set RSC date/time now (y|n|?) [y]: y
Server Hostname [wgs40-127]: wgs40-127 <-hostname of system containing the RSC card, NOT the hostname for the RSC card.

Edit customer info field (y|n|?) [n]: y
Customer Info (<= 40 char) []: <-可选项

Enable RSC Ethernet Interface (y|n|s|?) [n]: y
RSC IP Mode (config|dhcp|?) [dhcp]: config
RSC IP Address []: 129.148.40.139
RSC IP Netmask [255.255.255.0]: 255.255.255.0
RSC IP Gateway []: 129.148.40.254 <- On host system containing the RSC card, execute netstat -rn to obtain default gateway.

Enable RSC Alerts (y|n|s|?) [n]: n
Enable RSC Modem Interface (y|n|s|?) [n]: n
Serial port baud rate (9600|19200|38400|57600|115200) [9600]: <cr>
Serial port data bits (7|8) [8]: <cr>
Serial port parity (even|odd|none) [none]: <cr>
Serial port stop bits (1|2) [1]: <cr>
Setup RSC User Account (y|n|?) [y]: y
Username []: ed <- 必须指定
User Permissions (c,u,a,r|none|?) [cuar]: cuar

Is this correct (y|n): y
This script will now update RSC, continue? (y|n): y
Updating flash, this takes a few minutes
...............................................................................
...............................................................................
................................................................................
...................................................................
Download completed successfully
Resetting RSC (takes about 90 seconds): DONE
Setting up server to update RSC date on boot: DONE
Setting up server hostname: DONE
Setting up customer info field: DONE
Setting up ethernet interface: DONE
Disabling RSC alert engine: DONE
Disabling modem interface: DONE
Setting up serial port interface: DONE
Adding user to RSC:
A valid password is between 6 and 8 characters, has at least two alphabetic characters, and at least one numeric or special character.
The password must differ from the user's login name and any reverse or circular shift of that login name.
Setting User Password Now ...
Password:
Re-enter Password:
User has been added to RSC
Resetting RSC (takes about 90 seconds):
Are you sure you want to reboot RSC (y/n)? y
DONE
Setting up RSC date: DONE
*******************************
RSC has been successfully setup
*******************************

Before you redirect console output to the RSC card, ensure that the RSC card is accessible.......

# vi /etc/hosts

# Internet host table
#
127.0.0.1 localhost
129.148.40.127 wgs40-127 loghost
129.148.40.139 wgs40-127

-rsc <--Entry for RSC

# ping 129.148.40.139 or #ping wgs40-127-rsc
wgs40-127-rsc is alive

# te
lnet wgs40-127-rsc
Trying 129.148.40.139...
Connected to wgs40-127-rsc.
Escape character is '^]'.

RSC version 2.2.0 (wgs40-127)
Please login: ed
Please Enter password:
rsc>
==============================================
After the RSC has been properly configured & is accessible ( via telnet, modem, or serial )
Modify the OBP NVRAM parameters on host server
ok setenv output-device rsc-console
ok setenv input-device rsc-console
Reset host server
ok reset-all

这一步可以在系统里做
# eeprom output-device=rsc-console
# eeprom input-device=rsc-console

# init 6










=================================================================



SUN Enterprise 250 Server RSC
今天配置好了250服务器的RSC,通过telnet登陆的RSC控制台。运行控制台命令一切正常。这时我想完成控制台之间的切换。
SUN handbook 提供的说明如下:
从 到 命令/转义字符
RSC console shell console
console shell RSC ~.
RSC debug mode break
debug mode RSC ~.

问题:

我第一次运行console时,RSC控制台处于暂停状态。输入命令也没反应。
我第二次再次运行consoles时,RSC控制台报错如下:
rsc> console
Console session already in use.
rsc>

分析原因:

由于系统默认的
input-device=ttya
output-device=tyya
当此第一次运行console的时候,这是已经成功转换了,但是由于当前的默认输入、输出设备为ttya,所以造成了假死的想象。
第二次报错是由于由于第一次运行的了console命令,这时已经占用的控制台。所以才有第二个错误。

解决办法:
既然知道哪里错了,可以按下面步骤解决。
第一步、修改输入、输出设备。
有以下几种方式。
1、os状态下:eeprom input-device=rsc
eeprom output-device=rsc
2、ok状态状态下:setenv input-device=rsc
setenv output-device=rsc
3、通过SUN 的"SUN REMOTE SYSTEM CONTROL"软件做如下设置
"设置引导模式"-〉选择"强制将主机控制重定向到RSC"
第二步、重设置RSC
两种方式
1、os下/usr/platform/`uname -i`/rsc/rscadm resetrsc
2、RSC控制台resetrsc

到目前为止前面的问题完全解决。
注意
对于Sun Fire V890 Server, Sun Fire V880z Visualization Server, Sun Fire V880 Server, Sun Fire V490 Server, Sun Fire V480 Server, Sun Fire 280R Server应该将输入、输出设备改成rsc-console

如果有不正确的、准确的。请留言
谢谢

相关主题