Vous êtes sur la page 1sur 18

Unit 5

AIX System Management Tools

© Copyright IBM Corporation 2009


Course materials may not be reproduced in whole or in part without the prior written permission of IBM. 5.2
Unit objectives
IBM Power Systems

After completing this unit, you should be able to:


• Describe the benefits of the system management tools
available with AIX version 6.1
• Discuss the functionality of SMIT, WebSM, and the new IBM
Systems Director Console for AIX
• Explain how system management activity is logged
• Look at how we can use IBM Systems Director Console to
monitor system health and to run commands concurrently on
multiple hosts

© Copyright IBM Corporation 2009


UNIX system administration challenges
IBM Power Systems

• Lots of commands to remember


• Complex syntax
– Prone to error!
• Flat file configuration
– Most UNIX flat files have different layouts, syntax and options
– Again prone to error, sometimes causing bad things to happen.

# crfs -v jfs -g rootvg -m /test -a size=42M efs=yes


How do I create
Usage: crfs -v Vfs {-g Volumegroup | -d Device} -m an encrypted
Mountpoint [-u Mountgroup] [-A {yes|no}] [-t {yes|no}] [-p filesystem?
{ro|rw}] [-l Logpartitions] [-n nodename] [-a
Attribute=Value]

© Copyright IBM Corporation 2009


System management objectives
IBM Power Systems

• Minimize time and resources spent managing systems


• Maximize reliability, performance, and productivity
• Provide remote system management solutions

© Copyright IBM Corporation 2009


AIX administration
IBM Power Systems

Designed to make Administration on AIX simple


New
in AIX6
System Web-based IBM
Management System Systems Director
Interface Tool Manager Console for AIX
(smit) (WebSM) (pconsole)

Text based Java GUI Web Interface

High-level commands

Low-level Intermediate-level
commands commands

System
System Kernel Resource Object Data ASCII
calls services Controller Manager files

© Copyright IBM Corporation 2009


SMIT
IBM Power Systems

• An interactive application that simplifies virtually every aspect of AIX


system administration
• Part of AIX, available by default
• SMIT doesn't use any special hooks. Everything is based on standard
AIX commands and Korn shell functions.
– You can see exactly what commands it performs either before or after
execution.
– This is especially useful when you need to automate a repetitive task. You
can then use these commands in your own scripts.
• Text / ASCII based by default.
– If on a graphical display, such as the Virtual Network Computing (VNC)
viewer, and the DISPLAY variable is set, a Motif GUI version is displayed.
– Most users prefer the text based version called smitty

© Copyright IBM Corporation 2009


SMIT main menu (text based)
IBM Power Systems

# smit
System Management
System Management
Move cursor to desired item and press Enter.
Move cursor to desired item and press Enter.
Software Installation and Maintenance
Software Installation and Maintenance
Software License Management
Software License Management
Devices
Devices
System Storage Management (Physical & Logical Storage)
System Storage Management (Physical & Logical Storage)
Security & Users
Security & Users
Communications Applications and Services
Communications Applications and Services
Workload Partition Administration
Workload Partition Administration
Print Spooling
Print Spooling
Advanced Accounting
Advanced Accounting
Problem Determination
Problem Determination
Performance & Resource Scheduling
Performance & Resource Scheduling
System Environments
System Environments
Processes & Subsystems
Processes & Subsystems
Applications
Applications
Installation Assistant
Installation Assistant
Cluster Systems Management
Cluster Systems Management
Using SMIT (information only)
Using SMIT (information only)
F1=Help F2=Refresh F3=Cancel F8=Image
F1=Help F2=Refresh F3=Cancel F8=Image
F9=Shell F10=Exit Enter=Do
F9=Shell F10=Exit Enter=Do

© Copyright IBM Corporation 2009


Dialog screen
IBM Power Systems

# smit date
Change / Show Day and Time
Change / Show Day and Time
Type or select values in entry fields.
Type or select values in entry fields.
Press Enter AFTER making all desired changes.
Press Enter AFTER making all desired changes.
[Entry Fields]
[Entry Fields]
YEAR (00-99) [08] #
YEAR (00-99) [08] #
MONTH (01-12) [10] #
MONTH (01-12) [10] #
DAY (1-31) [08] #
DAY (1-31) [08] #
HOUR (00-23) [11] #
HOUR (00-23) [11] #
MINUTES (00-59) [23] #
MINUTES (00-59) [23] #
SECONDS (00-59) [06] #
SECONDS (00-59) [06] #

Shell exit, very


useful to check
Command Current fast path:
something prior to
preview "date"
execution

F1=Help F2=Refresh F3=Cancel F4=List


F1=Help F2=Refresh F3=Cancel F4=List
F5=Reset F6=Command F7=Edit F8=Image
F5=Reset F6=Command F7=Edit F8=Image
F9=Shell F10=Exit Enter=Do
F9=Shell F10=Exit Enter=Do

© Copyright IBM Corporation 2009


Output screen
IBM Power Systems

Command
completed No
successfully COMMAND STATUS Standard
COMMAND STATUS
error
Command: OK stdout: yes stderr: no
Command: OK stdout: yes stderr: no
Before command completion, additional instructions may appear below.
Before command completion, additional instructions may appear below.
Wed 8 Oct 11:23:06 2008
Wed 8 Oct 11:23:06 2008
Standard Output
following command
execution
(Stdout)

F1=Help F2=Refresh F3=Cancel F6=Command


F1=Help F2=Refresh F3=Cancel F6=Command
F8=Image F9=Shell F10=Exit /=Find
F8=Image F9=Shell F10=Exit /=Find
n=Find Next
n=Find Next

© Copyright IBM Corporation 2009


Web-Based System Manager
IBM Power Systems

• A Java based GUI, similar to SMIT in functionality


• Part of AIX (available by default), based on a client/server model
• Resource intensive and more cumbersome to use than SMIT
• For AIX6, users should consider using IBM Systems Director Console
for AIX

© Copyright IBM Corporation 2009


IBM Systems Director Console for AIX
IBM Power Systems

• New web based management interface in AIX 6.1


• Enables converged consoles
– Integrated solutions console
– Lightweight infrastructure
• Includes links to SMIT and WebSM tasks
• Requires Java v5
• Installed by default
– sysmgt.pconsole.rte
– sysmgt.pconsole.apps.wdcem
How to check
– sysmgt.pconsole.apps.websm that it is
– sysmgt.pconsole.apps.wrbac running
– sysmgt.pconsole.apps.wsmit
– lwi.runtime
# lssrc -s pconsole
# lssrc -s pconsole
Subsystem Group PID Status
Subsystem Group PID Status
pconsole pconsole 737388 active
pconsole pconsole 737388 active
# netstat -a |grep 5336
# netstat -a |grep 5336
tcp 0 0 *.5336 *.* LISTEN
tcp 0 0 *.5336 *.* LISTEN

© Copyright IBM Corporation 2009


Console interface
IBM Power Systems

• Web browser-based access


– https://<hostname (or IP)>:5336/ibm/console (Defaults to SSL. Use 5335 for non-SSL)

© Copyright IBM Corporation 2009


Console management view
IBM Power Systems

• New look and feel Navigation


Toolbar
Define
start-up
area pages

Work area

© Copyright IBM Corporation 2009


System health (1 of 3)
IBM Power Systems

• Portlets: System summary and Metric Details


Time to
refresh

Section-
specific
help

Refresh
immediately

© Copyright IBM Corporation 2009


System health (2 of 3)
IBM Power Systems

• Configuration Information

© Copyright IBM Corporation 2009


System health (3 of 3)
IBM Power Systems

• Portlets: Top Processes and File Systems

© Copyright IBM Corporation 2009


Classical SMIT
IBM Power Systems

© Copyright IBM Corporation 2009


Unit summary
IBM Power Systems

Having completed this unit, you should be able to:


• Describe the benefits of the system management
tools available with AIX version 6.1
• Understand the functionality of SMIT, WebSM, and
the new IBM Systems Director Console for AIX
• Explain how system management activity is logged
• Look at how we can use IBM Systems Director
Console to monitor system health and to run
commands concurrently on multiple hosts

© Copyright IBM Corporation 2009

Vous aimerez peut-être aussi