RSC (Remote System Control) kasutamine
Allikas: Kuutõrvaja
Eesmärk
RSC (Remote System Control) kasutamine võimaldab hallata Sun serverit eemalt kasutades teenusepakkumisega seotud andmesidekanalitest erinevat füüsilist kanalit (ethernet või serial ühendus). Lisaks konsoolile sh OBP (ehk nn '{0} ok') promptile ligipääsule saab arvutil toidet sisse ja välja lülitada.
RSC kasutamise eelduseks on füüsilise RSC kaardi olemasolu arvutis ning et see kaart on sobivalt seadistatud.
Kasutamine
Kasutamise tuleb pöörduda RSC poole kas üle sobivalt seadistatud etherneti pordi või serialpordi. Üle etherneti toimub see nt selliselt, lõpus on küsitud RSC kaardilt näha tema etherneti seadeid
bash$ telnet 192.168.10.213 Trying 192.168.10.213... Connected to 192.168.10.213. Escape character is '^]'. RSC version 1.14 () Please login: admin Please Enter password: rsc> shownetwork RSC network configuration is: IP Address: 192.168.10.213 Netmask: 255.255.255.0 Ethernet address: 08:00:20:b1:ba:a0
Käsk help näitab võimalikke käske
rsc> help 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. 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. bootmode [-u] [normal|forth|reset_nvram|diag|skip_diag] Set the host firmware boot mode. 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] Show/change permissions for a user. version [-v] Print revision of RSC firmware. logout Log out of the RSC shell.