Download as pdf or txt
Download as pdf or txt
You are on page 1of 33

Objectives

After completing this unit, students should be able to:


Outline the benefits of the system management tools
available with AIX Version 5.1
Define the functionality of SMIT
Define how SMIT activity is logged
Define the use of the Web-based System Manager
Set up and use AIX Web-based documentation
Early System Administration
System
Management
print mount
backup
restore
updatep
installp
kill
penable
trace
passwd
errpt
COMMANDS
/etc/profile
/etc/qconfig
/etc/filesystems
/etc/rc
/etc/passwd
Flat Files
Front End Menus
devices minidisks
adduser
AIX Administration
SMIT
High-Level Commands
Low-Level
Commands
Intermediate-Level
Commands
Web-based
System
Manager
System
Calls
Kernel
Services
System
Resource
Controller
Object Data
Manager
ASCII
Files
System Management Tools
How to Build
Commands
Text
Screens
ODM
System Management Tools
System Management Interface Tool (SMIT)
ASCII or AIXWindows (Motif) User Interface Components
menu
help
help
help
help
list
list
pop-ups
submenu
dialog panel
submenu
name selector
output panel
SMIT Main Menu (ASCII)
Move cursor to desired item and press Enter.
Software Installation and Maintenance
Software License Management
Devices
System Storage Management (Physical and Logical
Storage)
Security & Users
Communications Applications and Services
Print Spooling
Problem Determination
Performance & Resource Scheduling
System Environments
Processes & Subsystems
Applications
Using SMIT (information only)
F1=Help F2=Refresh F3=Cancel F8=Image
F9=Shell F10=Exit Enter=Do
# smit
System Management
SMIT Main Menu (Motif)
Dialog Screen
Schedule a Job
Type or select values in entry fields.
Press Enter AFTER making all desired changes.
[Entry Fields]
YEAR [00] #
MONTH [Jun] +
DAY (1-31) [1] #
* HOUR (0-23) [] #
* MINUTES (0-59) [] #
SHELL to use for job execution Korn (ksh) +
* COMMAND or SHELL SCRIPT [ ] /
(full pathname)
F1=Help F2=Refresh F3=Cancel F4=List
F5=Reset F6=Command F7=Edit F8=Image
F9=Shell F10=Exit Enter=Do
Output Screen
COMMAND
STATUS
Command stdout: yes stderr: no
Before command completion, additional instructions may appear below.
[TOP]
UID PID PPID C STIME TTY TIME CMD
root 1 0 4 20:15:04 - 1:49 /etc/init
root 1719 1 0 20:16:14 - 0:10 /etc/syncd 60
root 2003 1 0 20:16:19 - 0:00 /etc/srcmstr
root 2233 1 0 17:16:14 - 0:00 /usr/lib/errdemon
ray 3525 1 0 20:01:28 0 0:00 -ksh
root 3806 2003 0 19:16:23 - 0:00 /etc/syslogd
ray 4162 3525 6 20:53:22 0 0:04 smit
root 5355 1 0 20:16:27 - 0:12 /etc/cron
root 6649 2003 0 20:16:32 - 0:00 qdaemon
ray 7303 4162 8 20:09:45 0 0:00 ps -ef
[MORE...6]
F1=Help F2=Refresh F3=Cancel F6=Command
F8=Image F9=Shell F10=Exit /=Find
n=Find Next
OK
SMIT Log and Script Files
$HOME/smit.log
Keeps a log of all menu and dialog screens visited, all commands
executed and their output. Also records any errors during the SMIT
session.
$HOME/smit.script
Shell script containing all AIX commands executed by SMIT.
audit log
entries
list of
commands
smit.log
smit.script
SMIT
smit [-options] [ FastPath ]
Invoke ASCII Version
# smitty
Run no high-level commands
# smit -x
Redirect the log file and script file
# smit -s /home/team01/smit.script
smit Command
Exercise:
Using SMIT
Exercise: Using SMIT
Configuring AIX V5.1 Documentation
Documentation Server
AIX 5.1 softcopy documentation
Documentation Library Service
Web server software
Web browser software
Documentation Client
Web browser software
Documentation Client
Web browser software
View AIX documentation from anywhere with a
browser
Configuring AIX V5.1 Online Documentation
Configure TCP/IP
Install the Web server software
Configure and start the Web server software
Install the Web browser software
Install or mount the AIX documentation
Configure the Documentation Library Service
Internet and Documentation Services
Internet and Documentation Services
Move cursor to desired item and press Enter.

Change / Show Default Browser
Show Documentation and Search Server
Change Documentation and Search Server
Change/Show Default Documentation Language
Web-based System Manager
F1=Help F2=Refresh F3=Cancel F8=Image
F9=Shell F10=Exit Enter=Do
# smit web_configure
Change/Show Default Browser
Change/Show Default Browser
Type or select values in entry fields.
Press Enter AFTER making all desired changes.
[Entry Fields]
* Default browser LAUNCH COMMAND [netscape]
F1=Help F2=Refresh F3=Cancel F4=List
F5=Reset F6=Command F7=Edit F8=Image
F9=Shell F10=Exit Enter=Do
Change Documentation and Search Server
Change Documentation and Search Server
Type or select a value for the entry field.
Press Enter AFTER making all desired changes.
[Entry Fields]
Documentation search server LOCATION None - disabled
+
Documentation Search Server LOCATION
Move cursor to desired item and press Enter.
None - disabled
Remote computer
Local - this computer
F1=Help F2=Refresh F3=Cancel
F8=Image F10=Exit Enter=Do
/=Find n=Find Next
Change Local
Documentation and Search Server
Change Local Documentation and Search Server
Type or select a value for the entry field.
Press Enter AFTER making all desired changes.
[Entry Fields]
Web server SOFTWARE IBM HTTP Server Web se> +
Web server SOFTWARE
Move cursor to desired item and press Enter.

Lite NetQuestion web server
IBM HTTP Server Web server in default location
Lotus Domino Go Webserver in default location
IBM Internet Connection Server (IICS) in default location
Other local server or one of the above in non-default location
F1=Help F2=Refresh F3=Cancel
F8=Image F10=Exit Enter=Do
/=Find n=Find Next
Change Local
Documentation and Search Server
Change Local Documentation and Search Server
Type or select a value for the entry field.
Press Enter AFTER making all desired changes.
[Entry Fields]
Web server SOFTWARE IBM HTTP Server Web se>
* Local web server PORT number [ 80 ] #
* Local web server cgi-bin DIRECTORY [ /usr/HTTPServer/cgi-bi>
* Local web server HTML document directory [ /usr/HTTPServer/htdocs>
* For versions prior to 1.3.6.0, Auto-start Yes
server if not already running
F1=Help F2=Refresh F3=Cancel F4=List
F5=Reset F6=Command F7=Edit F8=Image
F9=Shell F10=Exit Enter=Do
AIX Version 5.1 Documentation
Print AIX Version 5.1 Documentation
Search AIX Version 5.1 Documentation
Activity:
Configuring
Web-based
Documentation
Activity: Configuring Web-based
Documentation
Web-based System Manager
PC with Java 1.3
Support
Client-Server
Web-based
System Manager
AIX System
with Java 1.3
Stand-alone
Web-based
System Manager
AIX V5.1 System AIX V5.1 System
Accessing the Web-based System Manager
Stand-Alone
# wsm
Client-Server
With browser, URL:
http://<hostname>/wsm.html
From AIX client:
# wsm -host <hostname>
Using the Web-based System Manager(1 of 3)
Using the Web-based System Manager(2 of 3)
Using the Web-based System Manager(3 of 3)
Configuring Client/Server WebSM
Install the Web server
Test the Web server
Install WebSM (usually done by default with the base)
Define the Web server document directory.
# /usr/websm/bin/wsmappletcfg -docdir directory
Enable WebSM server
# /usr/websm/bin/wsmserver -enable
Exercise:
Configuring
WebSM server
Exercise: Configuring WebSM server
Checkpoint (1 of 2)
1. Define the SMIT function keys that can be used for the
following:
List the command that will be run ____
List the screen name which can be used for the
fastpath____
Take a screen image: ___
Break out into a shell: ___
Return to the previous menu: ___
2. T/F AIX Web-based documentation can be used to reference
information in different ways, such as searching for a
command, searching for a task or viewing information in a
book like manner.
3. T/F The AIX V5.1 documentation is viewed using a Web
browser.
4. WebSM is available for client access automatically after the
BOS is installed. True or False?
5. Which of the statements are true regarding the Web-based
System Manager?
a. An AIX V5.1 system can be managed from a remote PC with
appropriate JAVA and web-browser code installed.
b. In stand-alone mode use the wsm command to access the
Web-based system manager.
c. It is possible to manage an AIX V5.1 system from a remote AIX
V5.1 system using an ascii terminal.
d. The Web-based System Manager includes TaskGuides that
direct the user through complex tasks.
Checkpoint (2 of 2)
There are a number of system management tools that
can be used by the system administrator, such as SMIT,
and the Web-based System Manager
SMIT provides graphics or ASCII support for most
system administration tasks
The Web-based System Manager supports system
administration tasks in a stand-alone or client-server
environment
Use a Web browser to access soft copy documentation
with AIX
Unit Summary

You might also like