Академический Документы
Профессиональный Документы
Культура Документы
Copyright IBM Corporation 2007 Course materials may not be reproduced in whole or in part without the prior written permission of IBM.
4.0.
! Install and configure hardware ! Configure the software ! Configure the networ+ ! (ystem bac+up ! Create'manage user accounts ! .efine and manage subsystems ! Manage system resources )for e/ample* dis+ space, ! "erformance monitoring ! Capacity planning ! Managing licenses for products ! .ocument system configuration and +eep it current
Copyright IBM Corporation 2007
! (ome tas+s can be performed by other users in special groups such as system* security* print&* and lp ! 2he su command allows you to obtain root3s permissions or permissions of any user whose password you +now
$ $
su root or su root
Copyright IBM Corporation 2007
4elcome to$
Copyright IBM Corporation 2007 Course materials may not be reproduced in whole or in part without the prior written permission of IBM.
3.3.
SMIT
smit-script
List o comman"s
! )*+M,/smit-log
1eeps a log of all menu and dialog screens -isited* all commands e/ecuted and their output. 6lso records any errors during the (MI2 session.
! )*+M,/smit-script
(hell script containing all 6I9 commands e/ecuted by (MI2.
.!ec$point
. (pecify the (MI2 function +eys that can be used for the following$ a, 7ist the command that will be run$ :::: b, 7ist the screen name which can be used for the fastpath$ :::: c, 2a+e a screen image$ ::: d, Brea+ out into a shell$ ::: e, 8eturn to the pre-ious menu$ ::: 2. (pecify two ways you can re;uest the 6(CII character -ersion of (MI2 from an 9#windows en-ironment command prompt$ % //////////////// % ////////////////
Copyright IBM Corporation 2007
.!ec$point solutions
. (pecify the (MI2 function +eys that can be used for the following$ % 7ist the command that will be run$ <= % 7ist the screen name which can be used for the fastpath$ <> % 2a+e a screen image$ <> % Brea+ out into a shell$ <? % 8eturn to the pre-ious menu$ <@ 2. (pecify two ways you can re;uest the 6(CII character -ersion of (MI2 from an 9#windows en-ironment command prompt$ % smitty % smit -C
Copyright IBM Corporation 2007
! &sing (MI2 with the 6(CII interface ! &sing (MI2 with the Motif interface )optional,
Copyright IBM Corporation 2007 Course materials may not be reproduced in whole or in part without the prior written permission of IBM.
4.0.
Startup mo"es
3ormal mo"e 7ogin prompt 6ll processes running Multi#user mode System Management Services Aot 6I9 8uns from <I8M468B (ets boot list Maintenance mo"e Maintenance menu 8eco-er root password <i/ machine that won3t boot 4iagnostics 6I9 diagnostics 6I9 .iagnostics
Copyright IBM Corporation 2007
alog program
/etc/initta6
<ormat of the line$ id!runlevel!action!command
init:2:initdefault: brc::sysinit:/sbin/rc.boot 3 >/dev/console 2>&1 # Phase 3 of system boot powerfail::powerfail:/etc/rc.powerfail 2>&1 alo! "tboot > /dev/console ... m#atmpvc:2:once:/usr/sbin/m#atmpvc >/dev/console 2>&1 atmsvcd:2:once:/usr/sbin/atmsvcd >/dev/console 2>&1 load$%bit:2:wait:/etc/methods/cf!$% >/dev/console 2>&1 # &nable $%"bit e'ecs tunables:23%($)*+:wait:/usr/sbin/tunrestore ", > /dev/console 2>&1 ... rc:23%($)*+:wait:/etc/rc 2>&1 alo! "tboot > /dev/console # -ulti".ser chec#s fbchec#:23%($)*+:wait:/usr/sbin/fbchec# 2>&1 alo! "tboot > /dev/console ... srcmstr:23%($)*+:respawn:/usr/sbin/srcmstr # /ystem ,esource 0ontroller rctcpip:23%($)*+:wait:/etc/rc.tcpip > /dev/console 2>&1 # /tart 10P/2P daemons rcnfs:23%($)*+:wait:/etc/rc.nfs > /dev/console 2>&1 # /tart 34/ 5aemons cron:23%($)*+:respawn:/usr/sbin/cron piobe:2:wait:/usr/lib/lpd/pio/etc/pioinit >/dev/null 2>&1 # pb cleanup 6daemon:23%($)*+:wait:/usr/bin/startsrc "s6daemon writesrv:23%($)*+:wait:/usr/bin/startsrc "swritesrv uprintfd:23%($)*+:respawn:/usr/sbin/uprintfd shdaemon:2:off:/usr/sbin/shdaemon >/dev/console 2>&1 # 7i!h availability daemon l2:2:wait:/etc/rc.d/rc 2 l3:3:wait:/etc/rc.d/rc 3 l%:%:wait:/etc/rc.d/rc % . . .
! (tart a subsystem$
startsrc -s lpd ),1--),+ ./e lpd &ubsystem /as been started. &ubsystem #$% is 12012.
! 8efresh a subsystem$
refres/ -s lpd ),1--)+, ./e re'uest for subsystem refres/ *as completed successfully.
! (top a subsystem$
stopsrc -s lpd ),1--)00 ./e lpd &ubsystem *as re'uested to stop.
Stopping processes
8
ps -ef
2$% root root root root root root root root #$% 1 2626 01-6 0+60 61-0 ()22 +)-6 +-0, ##$% ) 1 1 01-6 1 01-6 1 1 C ) ) ) ) ) ) ) ) &.$34 3ay )0 3ay )0 3ay )0 3ay )0 3ay )0 3ay )0 3ay )0 3ay )0 ..5 .$34 )!11 1!11 )!)) )!)) )!)2 )!)) )!)) )!)2 C3% /etc/init /usr/sbin/syncd 6) /usr/sbin/srcmstr /usr/sbin/inetd /usr/sbin/cron /usr/sbin/'daemon /usr/sbin/uprintfd /usr/bin/program
System s!ut"own
! 2he s/utdo*n command$
% 5racefully stops all acti-ity on the system and ad-ises all logged on users % 4arns users of an impending shutdown
# s/utdo*n 82 ./e system *ill be do*n until -93 :roadcast message from root;local/ost <tty= at 1!-)!2)... ./e system *ill be do*n until -93 s/utdo*n! #>49&4 >?" ?@@ A?BCCC 9ll processes *ill be 7illed in 2 minutes
@1IHelp @+I&/ell
@2IGefres/ @1)I4xit
@-ICancel 4nterI%o
@(I$mage
.!ec$point
. 4hat is the first process that is created on the system
and which file does it reference to initiate all the other processes that ha-e to be startedE :::::::::::::::::::::::::::::::::::::::::::: :::::::::::::::::::::::::::::::::::::::::::: of daemons or programsE :::::::::::::::::::::::::::::::::::::::::::: command from the console.