Академический Документы
Профессиональный Документы
Культура Документы
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!!!!!!!!
$% 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)
setupsc
9o e.uivalent in ILOM
sho,platfor! =3v>
sho, ;/O&T
sho,host &ersion
sho,date
usersho, =username-
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, ;&(;users
sho, ;&(;console;histor#
console
start ;&(;console
"rea6 3c
"rea6 3D
"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 $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 ;& &
po,eroff
stop 3force ;& & start ;& & set ;& &;LO1AT5 value)value sho, ;&(;fault!g!t set ;& &;co!ponent clear<fault<action)true sho, ;& &;LO1AT5
usercli!ode
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