RSC详细资料
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
RSC(Remote System Control)
一、RSC是什么
RSC是(Remote System Control)顾名思义就是做远程控制的,它可实现很多你意想不到的功能.
二、RSC的类型
根据不同机器的PN,有6种RSC的类型
PN 机器类型TYPE
501-4818 SUN250 DB-25、RS232、RJ-45
540-4406 Netra ct400/Netra ct800 RJ-45、DB-15
501-4901 280R RJ-11、RJ-45
501-5856 480、880 RJ-11、RJ-45
501-6123 Netra ct410、810 RJ-45、2XDB-15
501-6346 V250、V440 RJ-45
三、接口线序
RSC Serial Connector:
8-Pin RJ-45
RJ-45 SIGNAL RJ-45 SIGNAL:
1 RTS 5 GND
2 DTR 6 RXD
3 TXD 7 DSR
4 GND 8 CTS
RSC Modem Connector:
4-Pin RJ-11
RJ-11 SIGNAL
1 No connection
2 Ring
3 Tip
4 No connection
RSC Ethernet Connector
8-Pin RJ-45
RJ-45 SIGNAL RJ-45 SIGNAL
1 RXD+ 5 N/C
2 RXD- 6 TXD-
3 TXD+ 7 N/C
4 N/C 8 N/C
Alarm Port Connector
15-Pin male (DB-15)
PIN SIGNAL PIN SIGNAL
1 RESET0+ 9 ALARM1_NC
2 RESET0- 10 ALARM1_COM
3 RESET1+ 11 ALARM2_NO
4 RESET1- 12 ALARM2_NC
5 ALARM0_NO 13 ALARM2_COM
6 ALARM0_NC 14 ALARM3_NO
7 ALARM0_COM 15 ALARM3_COM
8 ALARM1_NO
RS-232 Serial Connector
25-Pin Female D-Sub
PIN SIGNAL PIN SIGNAL
2 TD 8 DCD
3 RD 15 TC
4 RTS 17 RC
5 CTS 20 DTR
6 DSR 24 TCO
7 GND
四、配置实际操作
# uname -a
SunOS V480 5.9 Generic_112233-08 sun4u sparc SUNW,Sun-Fire-480RRSC:2.2.1版本#/usr/platform/SUNW,Sun-Fire-480R/rsc/rscadm version
RSC Version v2.2.1
RSC Bootmon Version: v2.0.0
RSC Firmware Version: v2.2.1
#/usr/platform/SUNW,Sun-Fire-480R/rsc/rsc-config //执行配置命令
Continue with RSC setup (y|n): y
Set RSC date/time now (y|n|?) [y]: y
Server Hostname [V480]:
Edit customer info field (y|n|?) [n]: y
Customer Info (<= 40 char) []: arthur
Enable RSC Ethernet Interface (y|n|s|?) [n]: y
RSC IP Mode (config|dhcp|?) [dhcp]: config
RSC IP Address []: 192.168.0.50
RSC IP Netmask [255.255.255.0]:
RSC IP Gateway []: 192.168.0.1
Enable RSC Alerts (y|n|s|?) [n]: y
Enable Email Alerts (y|n) [n]: y
SMTP Server IP address []: 202.xx.xxx.xx
Setup Backup SMTP Server (y|n) [n]:
Email address []: Arthur@xxx.xxx
Enable Pager Alerts (y|n) [n]: n
Enable RSC Modem Interface (y|n|s|?) [n]: y
Modem data bits (7|8) [8]:
Modem parity (even|odd|none) [even]:
Modem stop bits (1|2) [1]:
Enable PPP over modem (y|n) [n]: y
PPP Local IP Address [0.0.0.0]: 192.168.0.48
PPP Remote IP Address [0.0.0.0]: 192.168.0.131
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 []: arthur
User Permissions (c,u,a,r|none|?) [cuar]: ? //有疑虑吗?输入?获得帮助
HELP
SETUP RSC USER ACCOUNT
USER PERMISSIONS
There are four different permissions which can be controlled
for each user.
c - allow user to connect to console
u - allow user to setup other users
a - allow user to setup configuration variables
r - allow user to reboot/poweron/poweroff server
Example responses are:
none
c
cuar
ca
cua
a
User Permissions (c,u,a,r|none|?) [cuar]:
--------------------
Verifying Selections
--------------------
General Setup
-------------
Set RSC date now = y
Server Hostname = V480
Customer Info = arthur
Is this correct (y|n): y
Ethernet Setup
--------------
IP Mode = config
IP Address = 192.168.0.50
IP Netmask = 255.255.255.0
IP Gateway = 192.168.0.1
Is this correct (y|n): y
Alert Setup
-----------
Email Enabled = y
Email Address =Arthur@xxx.xxxx
SMTP Server = 202.xxx.xx.xxx
Paging Enabled = n
Is this correct (y|n): y
Modem Setup
-----------
Modem Data Bits = 8
Modem Parity = even
Modem Stop Bits = 1
PPP Enabled = y
PPP Local IP Address = 192.168.0.48 PPP Remote IP Address = 192.168.0.131
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 = arthur
User Permissions = cuar
Is this correct (y|n): y
This script will now update RSC, continue? (y|n):
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
Setting up e-mail alerts: DONE
Disabling pager alerts: DONE
Setting up 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:
rscadm: malformed password //输入不匹配或者不合格的密码的提示
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.
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
*******************************
五、测试
现在我们可以用拨号登陆主机管理(图片二),也可以进行TELNET管理RSC version 2.2.1 (V480)
Please login: arthur
Please Enter password:
rsc> help //RSC命令大全
RSC Help
password Change password.
poweron Power on host system.
poweroff Power off host system.
reset Reset host system.
xir Send XIR reset to host system.
resetrsc Reboot RSC.
console Connect to system console.
break Send break to system console.
environment Print environment information.
showenvironment Print environment information.
(Synonymous with 'environment'.)
shownetwork Show current network configuration.
set <variable> <value>
Set configuration variable <variable> to value <value>.
show [<variable>] Show the value of all variables or a specific variable. date [[mmdd]HHMM | mmddHHMM[cc]yy][.SS]
Set/Show the current date and time.
showdate Show the current date and time.
(Synonymous with 'date'.)
setdate [mmdd]HHMM | mmddHHMM[cc]yy[.SS]
Set the current date and time.
(Synonymous with 'date <date-string>'.)
bootmode [-u] [normal|forth|reset_nvram|diag|skip_diag]
Set the host firmware boot mode.
setlocator [on|off]
Turn the system locator LED on or off.
showlocator Show the state of the system locator LED. consolehistory [boot|run|oboot|orun] [index [+|-]<n>] [pause <n>] Dump console history log.
consolerestart Set current console log to be original console log. loghistory [index [+|-]<n>] [pause <n>]
Dump Event log.
useradd <username> Add a new user.
userdel <username> Delete a user.
usershow [ <username> ]
Show all users (or a specific user).
userpassword <username>
Change password for a specific user.
userperm <username> [c][u][a][r]
Set permissions for a user.
version [-v] Print revision of RSC firmware.
showsc Print revision of RSC firmware. (Synonymous with 'version'.)
logout Log out of the RSC shell。