Escolar Documentos
Profissional Documentos
Cultura Documentos
5.2
Unit objectives
IBM Power Systems
System startup
IBM Power Systems
Start AIX
partitions
Level 3: Operating
SMS mode
- OR Normal mode
#sshhscroot@<hmc>chsysstatem<ms_name>rsysoon
PowerPCFirmware
VersionEL320_083
SMS1.7(c)CopyrightIBMCorp.2000,2008Allrightsreserved.
MainMenu
1.SelectLanguage
2.SetupRemoteIPL(InitialProgramLoad)
3.ChangeSCSISettings
4.SelectConsole
5.SelectBootOptions
SMS Top
Level
Firmware
Menu
Normal mode
AIX boots into multi-user mode (run level 2).
Users can log in, the system can be configured, and applications can start.
The bootlist command can set/change the start-up boot device.
## bootlist
bootlist -m
-m normal
normal -o
-o
hdisk0
blv=hd5
hdisk0 blv=hd5
## bootlist
bootlist -m
-m normal
normal ent0
ent0 bserver=10.47.1.33
bserver=10.47.1.33 client=10.47.1.101
client=10.47.1.101
Open firmware
Open firmware prompt. Use by service/support personnel to obtain low level
debug information
Partition Activation
#sshhscroot@<hmc>chsysstatem<ms_name>rlpar\
oonn<lpar>f<profilename>bsms
To activate
into SMS
AIX
AIX Version
Version 66
Copyright
Copyright IBM
IBM Corporation,
Corporation, 1982,
1982, 2007
2007
Console
login:
Console login:
User
Applications
Boot
Process
NIM
Install
Process
alog program
Use the
alog
command
to view
logs
/var/adm/ras/bootlog
/var/adm/ras/BosMenus.log
/var/adm/ras/bosinst.log
/var/adm/ras/nimlog
/var/adm/ras/conslog
/var/adm/ras/errlog
/etc/inittab
IBM Power Systems
Run levels
IBM Power Systems
Start-up and stops scripts can be defined for each run level
which are automatically invoked at entry and exit.
/etc/rc.d
/etc/rc.d ## ls
ls R
R
init.d
init.d rc
rc
./init.d:
./init.d:
rc2.d
rc2.d
./rc2.d:
./rc2.d:
Ksshd
Ksshd Kwpars
Kwpars Ssshd
Ssshd
./rc3.d:
./rc3.d:
./rc4.d:
./rc4.d:
rc3.d
rc3.d
rc4.d
rc4.d
rc5.d
rc5.d
rc6.d
rc6.d
rc7.d
rc7.d
rc8.d
rc8.d
rc9.d
rc9.d
Scripts starting
with S are invoked
at boot time by
/etc/rc.d/rc
./rc5.d:
./rc5.d:
./rc6.d:
./rc6.d:
./rc7.d:
./rc7.d:
./rc8.d:
./rc8.d:
./rc9.d:
./rc9.d:
CC
00
STIME
STIME
18
18 Sep
Sep
SRC
Master
process
TTY
TTY TIME
TIME CMD
CMD
-- 0:00
0:00 /usr/sbin/srcmstr
/usr/sbin/srcmstr
TIME
TIME CMD
CMD
0:00
0:00 srcmstr
srcmstr
0:01
|\--syslogd
0:01
|\--syslogd
0:00
|\--inetd
0:00
|\--inetd
0:00
||
\--rlogind
0:00
\--rlogind
0:00
|
\--ksh
0:00
|
\--ksh
0:00
||
\--ps
0:00
\--ps
0:00
|\--portmap
0:00
|\--portmap
0:00
|\--IBM.ServiceRMd
0:00
|\--IBM.ServiceRMd
1:24
|\--rmcd
1:24
|\--rmcd
3:47
|\--clstrmgr
3:47
|\--clstrmgr
0:00
|\--tftpd
0:00
|\--tftpd
0:00
|
\--tftpd
0:00
|
\--tftpd
0:00
|\--sshd
0:00
|\--sshd
0:00
|\--snmpdv3ne
0:00
|\--snmpdv3ne
0:00
|\--IBM.DRMd
0:00
|\--IBM.DRMd
0:59
|\--IBM.CSMAgentRMd
0:59
|\--IBM.CSMAgentRMd
0:00
\--ctcasd
0:00
\--ctcasd
Parent
PID = init
Subsystem
Subserver
Listing subsystems
IBM Power Systems
Group
Group
ras
ras
portmap
portmap
tcpip
tcpip
tcpip
tcpip
ssh
ssh
rsct
rsct
tcpip
tcpip
clcomdES
clcomdES
cluster
cluster
rsct
rsct
spooler
spooler
spooler
spooler
spooler
spooler
PID
PID
151672
151672
168088
168088
163968
163968
204904
204904
213102
213102
188650
188650
221334
221334
225414
225414
200856
200856
417800
417800
Status
Status
active
active
active
active
active
active
active
active
active
active
active
active
active
active
active
active
active
active
active
active
inoperative
inoperative
inoperative
inoperative
inoperative
inoperative
PID
PID
163968
163968
204904
204904
221334
221334
Status
Status
active
active
active
active
active
active
.
. Removed
Removed for
for clarity
clarity ..
..
## lssrc
lssrc g
g tcpip
tcpip |grep
|grep active
active
Subsystem
Group
Subsystem
Group
inetd
tcpip
inetd
tcpip
tftpd
tcpip
tftpd
tcpip
snmpd
tcpip
snmpd
tcpip
SRC Control
IBM Power Systems
Controlling subsystems
## stopsrc
stopsrc -s
-s inetd
inetd
0513-044
The
0513-044 The /usr/sbin/inetd
/usr/sbin/inetd Subsystem
Subsystem was
was requested
requested to
to stop.
stop.
## startsrc
startsrc -s
-s inetd
inetd
0513-059
The
0513-059 The inetd
inetd Subsystem
Subsystem has
has been
been started.
started. Subsystem
Subsystem PID
PID is
is
311374.
311374.
## refresh
refresh -s
-s inetd
inetd
0513-095
The
0513-095 The request
request for
for subsystem
subsystem refresh
refresh was
was completed
completed
successfully.
successfully.
Not all
subsystems
support being
refreshed.
## refresh
refresh -s
-s sshd
sshd
0513-005
The
0513-005 The Subsystem,
Subsystem, sshd,
sshd, only
only supports
supports signal
signal communication.
communication.
Do a fast shutdown,
bypassing the
messages to users,
and reboot the
system.
SHUTDOWN
SHUTDOWN PROGRAM
PROGRAM
Thu
Thu 99 Oct
Oct 20:15:49
20:15:49 2008
2008
0513-044
The
0513-044 The sshd
sshd Subsystem
Subsystem was
was requested
requested to
to stop.
stop.
Wait
for
'Rebooting...'
before
stopping.
Wait for 'Rebooting...' before stopping.
Oct
Oct 99 2008
2008 20:15:50
20:15:50 /usr/es/sbin/cluster/utilities/clstop:
/usr/es/sbin/cluster/utilities/clstop: called
called with
with
flags
-f
-y
-s
-N
-S
flags -f -y -s -N -S
0513-004
0513-004 The
The Subsystem
Subsystem or
or Group,
Group, clinfoES,
clinfoES, is
is currently
currently inoperative.
inoperative.
Error
Error logging
logging stopped...
stopped...
Advanced
Advanced Accounting
Accounting has
has stopped...
stopped...
Process
accounting
stopped...
Process accounting stopped...
Stopping
Stopping NFS/NIS
NFS/NIS Daemons
Daemons
Connection
Connection closed.
closed.
Do a fast
shutdown,
shutdown -F
Checkpoint
IBM Power Systems
1.
2.
3.
Checkpoint solutions
IBM Power Systems
1.
2.
3.
Exercise 3
IBM Power Systems
Unit summary
IBM Power Systems