开机/关机/中断/复位命令

RSC> poweron          --- Power on the server
RSC> poweroff         --- Power off the server
RSC> break            --- Sends break signal to OS
RSC>resetrsc          --- Resets RSC immediately
RSC>reset             --- resets server immediately

网络相关命令

从 OS rscadm 命令设置 RSC IP 地址

# ./rscadm set ip_mode config
# ./rscadm set ip_addr 192.168.1.10
# ./rscadm set ip_netmask 255.255.255.0
# ./rscadm set ip_gateway 192.168.1.1
# ./rscadm resetrsc

我们还可以使用 rsc-config 脚本(#/usr/platform/uname -i/rsc/rsc-config)来配置 IP 地址。
从 RSC cli 设置 RSC IP 地址:

RSC> set ip_addr 192.168.1.10
RSC> set ip_netmask 255.255.255.0
RSC> set ip_gateway 192.168.1.1
RSC> resetrsc
SUN RSC 命令说明
on  It Road.com

错误/日志捕获命令

RSC> help
RSC> showenvironment
RSC> consolehistory
RSC> consolehistory boot  -- most recent POST and boot messages
RSC> consolehistory run  ---> most recent data received fro server OS
RSC> loghistory
RSC> show
RSC> showsc

连接控制台并注销

RSC> console
RSC> logout

使用“~”。
退出 OS 登录,回到 RSC。
万一转义字符~。
从操作系统检查转义字符不起作用:

# /usr/platform/`uname -i`/sbin/rscadm show escape_char
escape_char=”#.”

如果控制台正忙,请分别从 RSC 和 OS 发出以下任一命令:

RSC> resetrsc
# /usr/platform/`uname -i`/sbin/rscadm resetrsc

其他命令

RSC> showlocator        --- shows locator LED status (V480 only)
RSC> setlocator         --- Turn the system locator LED on or off (V480 only)
RSC> shownetwork        --- shows current RSC network configuration
RSC> date               --- Display/set current date and time 
RSC> showdate           --- shows current date and time
RSC> version            --- Reports the RSC version

用户管理

RSC> usershow  user_name                   --- shows characteristics of user
RSC> useradd user_name                     --- Add RSC user
RSC> userpassword user_name                --- Set/change user password
RSC> userdel user_name                     --- Delete a RSC user
RSC> userperm user_name                    --- Set authorization for a user
RSC> password                              --- changes your password

OBP 命令

ok> rsc-hard-reset      --- perform a hard RSC reset
ok> rsc-soft-reset      --- perform a soft RSC reset
ok> .rsc                --- displays RSC info

用于管理 RSC 的操作系统命令

Solaris rscadm 子命令:(路径 = # /usr/platform/uname -i/sbin/rscadm)

help               --- Displays a list of rscadm commands
date               --- Displays/sets the current time and date
set                --- Sets a configuration variable
show               --- Displays configuration variables
shownetwork        --- Shows current RSC network configuration
loghistory         --- shows log history
resetrsc           --- Resets RSC immediately
useradd            --- Adds an RSC user account
userdel            --- Deletes an RSC user account
usershow           --- Shows characteristics of an RSC user account
userpassword       --- Sets/changes a user's password
userperm           --- Sets the authorization for a user
version            --- Reports the RSC version on the host
status             --- Same as the version -v command
日期:2020-09-17 00:15:00 来源:oir作者:oir