Вы находитесь на странице: 1из 8

T5220 ILOM(ALOM) 2.

0 InfoDoc
Useful commands to administer the T5120/T5220 from the ILOM including setting up user accounts ( factory default root:changeme) By default the server is configured to operate under an ILOM shell. ou can create an ALOM co!pati"ilit# shell if #ou prefer to use co!!ands that rese!"le ALOM co!!ands to ad!inister the server Logon using default credentials of (root:changeme)
-> create /SP/users/admin then $% set /SP/users/admin role=Administrator then $%set /SP/users/admin cli_mode=alom Or alternatively on one line.... $% create /SP/users/admin role=Administrator cli_mode=alom $% e it (!allo" you have the sc>) #og into the A#O$ shell as indicated no! %y the sc> In the !LOM compati"ility shell (with a few exceptions) you can use commands that resem"le the commands of !LOM# $emem"er that the !LOM compati"ility shell is an ILOM interface% ENJOY!!!!!!!!

&&&&&See %ottom o' document 'or A#O$/(#O$ )om"arison ta%le&&&&&


!O" #ommands

&etting O'( varia"les fro! the ILOM

$% set /*OS+/%ootmode scri"t)&alue i#e $% set /*OS+/%ootmode state=reset_nvram scri"t=,setenv diag-s!itchtrue, After the server resets and Open'oot (*OM reads the values stored in the script+ it sets the O'(*OM varia"le diag$s,itch- to the user$re.uested value of true. Displa# the /ost0s MA1 Address $% sho! /*OS+ macaddress Displa# the /ost0s Open'oot 2ersion $% sho! /*OS+ o%"_version Displa# the /ost0s (O&T 2ersion $% sho! /*OS+ "ost_version &pecif# the Level of Diagnostics $% set /*OS+/diag level)&alue 'min or ma( Level of 2er"osit# in Diagnostic Output $% set /*OS+/diag ver%osity)&alue

none 3 Diagnostics do not print an# output on the s#ste! console ,hen running+ unless a fault is detected. min 3 Diagnostics print a li!ited a!ount of output on the s#ste! console. normal 3 Diagnostics print a !oderate a!ount of output on the s#ste! console (the default value). max 3 Diagnostics print full output on the s#ste! console+ including the na!e and results of each test "eing run. de$ug 3 Diagnostics print e4tensive de"ugging output on the s#ste! console+ including devices "eing tested and de"ug output of each test. 5na"le &#ste! to &end a 'rea6 or 7orce 1ore Du!p $% set /*OS+ send_%rea._action)&alue $rea% 3 &ends a "rea6 to the host. dumpcore 3 7orces a panic core du!p of the !anaged s#ste! O& (not supported "# all O& versions). Displa# /ost &tatus -> sho! /*OS+ status *eset the &( &ettings to 7actor# Defaults $% set /SP reset_to_de'aults=all

2ie, (o,er Manage!ent (roperties $% sho! /SP/"o!ermgmt 2ie, the Total (o,er 1onsu!ed -> sho! /S/S/0PS (the same as /SP/"o!ermgmt actual_"o!er) Displa# the D/1( &erver0s I( Address -> sho! /SP/net!or. 8enerate 9e, &et of &&/ :e#s $% set /SP/services/ssh generate_ne!_.ey_action=true *estart &&/ &erver $% set /SP/services/ssh restart_sshd_action=true 5na"le; Disa"le &&/ &ervice $% set /SP/services/ssh state=&alue )ena"le or disa"le* ' ena"le is the default 1ontrol the 2irtual :e#s,itch $% set /S/S .eys!itch_state=&alue normal 3 The s#ste! can po,er itself on and start the "oot process (the default). stand$y 3 (o,ers off the /O&T+ cannot po,er itself on. diag & The s#ste! can po,er itself on using preset values of diagnostic properties (;/O&T;diag level)!a4+ ;/O&T;diag !ode)!a4+ ;/O&T;diag ver"osit#)!a4) to provide thorough fault coverage. This option overrides the values of diagnostic properties that #ou !ight have set. loc%ed 3 The s#ste! can po,er itself on+ ho,ever #ou are prohi"ited fro! updating an# of the flash devices or setting ;/O&T send<"rea6<action Displa# 1o!ponent &tatus $% sho! -o ta%le -level all /S/S com"onent_state or -> sho! com"onents (an alias setup to !a6e life easier)

ALOM;ILOM &hell 1onfig 1o!!ands 1o!parison


A#O$ )$+ )ommand pass,ord setdate ==mmdd>++MM ?mmdd++MM=cc>yy>=.,,> setdefaults Summary 1hanges the login pass,ord of the current user. &ets ALOM 1MT date and ti!e. *esets all ALOM 1MT configuration para!eters to their default values. The 3a option resets the user infor!ation to the factor# default (one ad!in account onl#). &ets the status of the virtual 6e#s,itch. &etting the virtual 6e#s,itch to stand"# (st"#) po,ers off the server. 'efore po,ering off the host server+ ALOM 1MT as6s for a confir!ation. &ets the specified ALOM 1MT para!eter to the assigned value. *uns the interactive configuration script. This script configures the ALOM 1MT configuration varia"les. Displa#s infor!ation a"out the host s#ste!0s hard,are configuration+ and ,hether the hard,are is providing service. The 3v option displa#s ver"ose infor!ation a"out the displa#ed co!ponents. Displa#s version infor!ation for host$side co!ponents. Displa#s infor!ation a"out the field$replacea"le units (7*@s) in a host server. Displa#s a list of users currentl# logged in to )om"ara%le (#O$ )ommand set ;&(;users;userna!e pass,ord set ;&(;cloc6 dateti!e)&alue set ;&( reset<to<defaults) configuration

set6e#s,itch =nor!al?st"#?diag? loc6ed>

set ;& & 6e#s,itch<state) &alue

setsc =param> =&alue>

set target property)&alue

setupsc

9o e.uivalent in ILOM

sho,platfor! =3v>

sho, ;/O&T

sho,host sho,fru sho,users

sho, ;/O&T 9o e.uivalent in ILOM sho, ;&(;sessions

sho,host &ersion

sho,6e#s,itch sho,sc =param>

sho,date

usersho, =username-

useradd username userdel username

userpass,ord =username> userper! =username> =c> =u> =a>=r>

ALOM 1MT. The displa# for this co!!and has a si!ilar for!at to that of the @9IA co!!and ,ho.The 3 g option pauses the displa# after the nu!"er of lines #ou specif# for The &ersion option displa#s the sa!e infor!ation as the sho,host co!!and ,ith no option. Displa#s status of virtual 6e#s,itch Displa#s the current non$ volatile rando! access !e!or# (92*AM) configuration para!eters. Displa#s the ALOM 1MT date. ALOM 1MT ti!e is e4pressed in (@T1) rather than local ti!e. The &olaris O& and ALOM 1MT ti!e are not s#nchroniBed. Displa#s a list of all user accounts+ per!ission levels+ and ,hether pass,ords are assigned Adds a user account to ALOM 1MT Deletes a user account fro! ALOM 1MT. The 3# option ena"les #ou to s6ip the confir!ation .uestion. &ets or changes a user pass,ord. &ets the per!ission level for a user account.

sho, ;/O&T

sho, ;& & 6e#s,itch<state sho, target property

sho, ;&(;cloc6 dateti!e

sho, ;&(;users

create ;&(;users;username delete ;&(;users;username

set ;&(;users;username pass,ord set ;&(;users;username role)permissions

ALOM &hell Log+ &hell &tatus and 1ontrol 1o!!ands


sho,logs =3" lines?3e lines?3v> =3g lines> =$p logtype=r?p>> Displa#s the histor# of all events logged in the ALOM 1MT *AM event log+ or !aCor and critical events in the persistent log. The 3p option selects ,hether to displa# entries onl# fro! the *AM event log (logtype r) or the persistent event log (logtype p). Displa#s the host server console output "uffers. Displa#s the environ!ental status of the host server. This infor!ation includes s#ste! te!peratures+ po,er suppl# status+ front panel L5D status+ hard dis6 drive status+ fan status+ voltage+ and current sensor status. Displa#s po,er !etrics for the host server. Displa#s the current net,or6 configuration infor!ation. The 3v option sho,s additional infor!ation a"out #our net,or6+ including infor!ation a"out #our D/1( server. 1onnects to the host s#ste! console. The 3f option forces the console ,rite loc6 fro! one user to another. Drops the host server fro! running the &olaris O& soft,are into Open'oot (*OM or 6!d" depending upon the !ode in ,hich the &olaris soft,are ,as "ooted. As a"ove sho, ;&(;logs;event;list

consolehistor# =3" lines?3e lines?3v> =3g lines> ="oot?run> sho,environ!ent

sho, ;&(;console;histor#

sho, 3o ta"le 3level all ;& &

sho,po,er =3v> sho,net,or6 =3v>

sho, ;&(;po,er!g!t sho, ;&(;net,or6

console

start ;&(;console

"rea6 3c

set ;/O&T send<"rea6<action) "rea6

"rea6 3D

set ;/O&T send<"rea6<action)

"oot!ode =nor!al> =reset<nvra!> =config) configname>="ootscript ) string> flashupdate 3s I.addr 3f pathname =3v>

1ontrols the host server Open'oot (*OM fir!,are !ethod of "ooting. Do,nloads and updates s#ste! fir!,are ("oth host fir!,are and ALOM 1MT fir!,are). 7or ILOM+ ipaddr !ust "e a T7T( server. If D/1( is used+ ipaddr can "e replaced "# the na!e of the T7T( host. Atte!pts to gracefull# reset the s#ste!. If that fails+ this option forcefull# reset the s#ste!. As a"ove 7orcefull# resets the s#ste! Atte!pts to gracefull# reset the control do!ain. If that fails+ this option forcefull# reset the control do!ain. 7orcefull# resets the control do!ain po,eroff follo,ed "# po,eron. The 3f option forces an i!!ediate po,eroff+ other,ise the co!!and atte!pts a graceful shutdo,n. *e!oves the !ain po,er fro! the host server. The 3 # option ena"les #ou to s6ip the confir!ation .uestion. The 3f option forces an i!!ediate shutdo,n. Applies the !ain po,er to the host server or 7*@. Turns the Locator L5D on the server on or off. Displa#s current valid s#ste! faults. Manuall# repairs s#ste! faults Displa#s the current state of the Locator L5D as either on or off

du!pcore set ;/O&T;"oot!ode property)&alue =,here property is state+ config+ or script> load 3source tftpD;;ipaddr;pathname

reset =3c>

reset ;& &

reset =3#>=3c> reset 3f reset 3d

reset $script ;& & reset $f ;& & reset ;/O&T;do!ain;control reset $ f ;/O&T;do!ain;control stop ;& & start ;& & stop 3script ;& & start 3script ;& & stop 3force ;& & start 3force ;& & stop ;& &

reset =3d>=3f> po,erc#cle =3#> =3f>

po,eroff

po,eroff 3f po,eron setlocator =on;off> sho,faults =3v> clearfault @@ID sho,locator

stop 3force ;& & start ;& & set ;& &;LO1AT5 value)value sho, ;&(;fault!g!t set ;& &;co!ponent clear<fault<action)true sho, ;& &;LO1AT5

ALOM &hell 7*@ E A&* 1o!!ands


setfru 3c data The 3c option ena"les #ou to store infor!ation (such as inventor# codes) on all 7*@s in a s#ste!. Displa#s infor!ation a"out the 7*@s in a host server. (repares a 7*@ (for e4a!ple+ a po,er suppl#) for re!oval. The 3# option ena"les #ou to s6ip the confir!ation .uestion. *e!oves a co!ponent fro! the asr$d" "lac6list. Adds a co!ponent to the asr$d" "lac6list. Displa#s s#ste! co!ponents and their test status (A&* state). *e!oves all entries fro! the asr$d" "lac6list. *e"oots ALOM 1MT. The 3# option ena"les #ou to s6ip the confir!ation .uestion. &ets the t#pe of shell to shelltype+ ,here shelltype is default or alo!. set ;& & custo!er<frudata) data 9o e.uivalent in ILOM set ;& &;(&0 prepare<to<re!ove<action ) true set ;& &;component co!ponent<state)ena"led set ;& &;component co!ponent<state)disa"led sho, ;& &;component co!ponent<state reset ;&( 3 ,ill clear 7'DIMM fault fro! the log reset ;&(

sho,fru 3g lines =3s?3d> =/$U> re!ovefru =3#> =/$U>

ena"leco!ponent asr01ey disa"leco!ponent asr01ey sho,co!ponent asr01ey clearasrd" resetsc

usercli!ode

set ;&(;users;userna!e cli<!ode)shelltype

9.'. If all else fails+ give up collecting #our (F5 on the ,a# out+ e4plaining to ever#one #ou are a pitiful and ,ea6 598I955*GGGGGGGGGG

Вам также может понравиться