Professional Documents
Culture Documents
SMS mode
Start AIX - OR -
partitions
Normal mode
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 change the start-up boot device list.
## bootlist
bootlist m
m normal
normal hdisk0
hdisk0 hdisk1
hdisk1
Partition activation
To activate
into SMS
AIX
AIX Version
Version 77
Copyright
Copyright IBM
IBM Corporation,
Corporation, 1982,
1982, 2013
2013
Console
Console login:
login:
alog program
/var/adm/ras/bootlog
/var/adm/ras/BosMenus.log
Use the
/var/adm/ras/bosinst.log
alog
command
/var/adm/ras/nimlog
to view /var/adm/ras/conslog
logs /var/adm/ras/errlog
Copyright IBM Corporation 2009, 2013. All Rights Reserved.
US Government Users Restricted Rights - Use duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp
Run levels
IBM Power Systems
Startup and stop 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 rc2.d
rc2.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
./init.d:
./init.d:
./rc2.d:
./rc2.d:
Ksshd
Ksshd Kwpars
Kwpars Ssshd
Ssshd Scripts starting
with S are invoked
./rc3.d:
./rc3.d: at boot time by
./rc4.d:
./rc4.d:
/etc/rc.d/rc.
./rc5.d:
./rc5.d:
./rc6.d:
./rc6.d:
Scripts starting with K are
./rc7.d:
./rc7.d:
invoked synchronously by
shutdown with one argument:
./rc8.d:
./rc8.d: 'stop'. They are also called on
startup prior to invoking the start
./rc9.d:
./rc9.d: scripts.
.
. Removed
Removed for clarity ..
for clarity ..
lssrc g
## lssrc g tcpip
tcpip |grep
|grep active
active
Subsystem
Subsystem Group
Group PID
PID Status
Status
inetd
inetd tcpip
tcpip 163968
163968 active
active
tftpd
tftpd tcpip
tcpip 204904
204904 active
active
snmpd
snmpd tcpip
tcpip 221334
221334 active
active
Controlling subsystems
## stopsrc
stopsrc -s
-s inetd
inetd
0513-044
0513-044 The
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
0513-059 The
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
0513-095 The request
The 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
0513-005 The
The Subsystem,
Subsystem, sshd,
sshd, only
only supports
supports signal
signal
communication.
communication.
Copyright IBM Corporation 2009, 2013. All Rights Reserved.
US Government Users Restricted Rights - Use duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp
AIX partition shutdown (1 of 2)
IBM Power Systems
Connection
Connection closed.
closed.
Do a fast
shutdown,
shutdown -F
1. What is the first process that is created on the system and which file
does it reference to initiate all the other processes that have to be
started?
The answer is the initial process is init. The file init references is
/etc/inittab for information regarding other processes that have to
be started.
2. Which AIX feature can be used to stop and start subsystems and
groups of daemons?
The answer is the System Resource Controller (SRC).
3. True or False: You can only execute the AIX shutdown command
from the console.
The answer is false.