Au147v20 Smit
of 33
-
Author
shanu-surendran -
Category
Documents
-
view
225 -
download
0
Embed Size (px)
Transcript of Au147v20 Smit
-
8/8/2019 Au147v20 Smit
1/33
Objectives
After completing this unit, students should be able to:Outline the benefits of the system management toolsavailable with AIX Version 5.1
Define the functionality of SMIT
Define how SMIT activity is logged
Define the use of the Web-based System ManagerSet up and use AIX Web-based documentation
-
8/8/2019 Au147v20 Smit
2/33
Early System Administration
SystemManagement
print mount
backuprestore
updatep
installp
kill
penable
tracepasswd
errptCOMMANDS
/etc/profile
/etc/qconfig
/etc/filesystems/etc/rc
/etc/passwd
Flat Files
Front End Menus
devices minidisks
adduser
-
8/8/2019 Au147v20 Smit
3/33
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
-
8/8/2019 Au147v20 Smit
4/33
System Management Tools
How to Build
Commands
Text
ScreensODM
System Management Tools
-
8/8/2019 Au147v20 Smit
5/33
System Management Interface Tool (SMIT)
ASCII or AIXWindows (Motif) User Interface Components
menu
help
help
help
help
list
listpop-ups
submenu
dialog panel
submenu
name selector
output panel
-
8/8/2019 Au147v20 Smit
6/33
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 LogicalStorage)
Security & Users
Communications Applications and ServicesPrint Spooling
Problem Determination
Performance & Resource Scheduling
System EnvironmentsProcesses & Subsystems
Applications
Using SMIT (information only)
F1=Help F2=Refresh F3=Cancel F8=Image
F9=Shell F10=Exit Enter=Do
# smit
System Management
-
8/8/2019 Au147v20 Smit
7/33
SMIT Main Menu (Motif)
-
8/8/2019 Au147v20 Smit
8/33
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
-
8/8/2019 Au147v20 Smit
9/33
Output Screen
COMMAND
STATUSCommand stdout: yes stderr: no
Before command completion, additional instructions may appear below.
[TOP]UID PID PPID C STIME TTY TIME CMDroot 1 0 4 20:15:04 - 1:49 /etc/initroot 1719 1 0 20:16:14 - 0:10 /etc/syncd 60root 2003 1 0 20:16:19 - 0:00 /etc/srcmstr root 2233 1 0 17:16:14 - 0:00 /usr/lib/errdemonray 3525 1 0 20:01:28 0 0:00 -kshroot 3806 2003 0 19:16:23 - 0:00 /etc/syslogdray 4162 3525 6 20:53:22 0 0:04 smitroot 5355 1 0 20:16:27 - 0:12 /etc/cron
root 6649 2003 0 20:16:32 - 0:00 qdaemonray 7303 4162 8 20:09:45 0 0:00 ps -ef
[MORE...6]
F1=Help F2=Refresh F3=Cancel F6=CommandF8=Image F9=Shell F10=Exit /=Findn=Find Next
OK
-
8/8/2019 Au147v20 Smit
10/33
SMIT Log and Script Files
$HOME/smit.log
Keeps a log of all menu and dialog screens visited, all commandsexecuted and their output. Also records any errors during the SMITsession.
$HOME/smit.scriptShell script containing all AIX commands executed by SMIT.
audit log
entries
list of
commands
smit.log
smit.scriptSMIT
it C d
-
8/8/2019 Au147v20 Smit
11/33
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
E i U i SMIT
-
8/8/2019 Au147v20 Smit
12/33
Exercise:
Using SMIT
Exercise: Using SMIT
C fi i AIX V5 1 D t ti
-
8/8/2019 Au147v20 Smit
13/33
Configuring AIX V5.1 Documentation
Documentation ServerAIX 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 abrowser
C fi i AIX V5 1 O li D t ti
-
8/8/2019 Au147v20 Smit
14/33
Configuring AIX V5.1 Online Documentation
Configure TCP/IPInstall 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
-
8/8/2019 Au147v20 Smit
15/33
Internet and Documentation Services
Internet and Documentation Services
Move cursor to desired item and press Enter.
Change / Show Default BrowserShow Documentation and Search ServerChange Documentation and Search ServerChange/Show Default Documentation LanguageWeb-based System Manager
F1=Help F2=Refresh F3=Cancel F8=ImageF9=Shell F10=Exit Enter=Do
# smit web_configure
Change/Show Default Browser
-
8/8/2019 Au147v20 Smit
16/33
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=ListF5=Reset F6=Command F7=Edit F8=Image
F9=Shell F10=Exit Enter=Do
Change Documentation and Search Server
-
8/8/2019 Au147v20 Smit
17/33
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 computerLocal - this computer
F1=Help F2=Refresh F3=Cancel
F8=Image F10=Exit Enter=Do/=Find n=Find Next
Change Local
-
8/8/2019 Au147v20 Smit
18/33
Change LocalDocumentation 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 locationLotus Domino Go Webserver in default locationIBM Internet Connection Server (IICS) in default locationOther local server or one of the above in non-default location
F1=Help F2=Refresh F3=CancelF8=Image F10=Exit Enter=Do/=Find n=Find Next
Change Local
-
8/8/2019 Au147v20 Smit
19/33
Change LocalDocumentation 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=ListF5=Reset F6=Command F7=Edit F8=ImageF9=Shell F10=Exit Enter=Do
AIX Version 5 1 Documentation
-
8/8/2019 Au147v20 Smit
20/33
AIX Version 5.1 Documentation
Print AIX Version 5 1 Documentation
-
8/8/2019 Au147v20 Smit
21/33
Print AIX Version 5.1 Documentation
Search AIX Version 5 1 Documentation
-
8/8/2019 Au147v20 Smit
22/33
Search AIX Version 5.1 Documentation
Activity: Configuring Web-based
-
8/8/2019 Au147v20 Smit
23/33
Activity:Configuring
Web-basedDocumentation
Activity: Configuring Web basedDocumentation
Web-based System Manager
-
8/8/2019 Au147v20 Smit
24/33
Web based System Manager
PC with Java 1.3Support
Client-ServerWeb-based
System Manager
AIX Systemwith Java 1.3 Stand-aloneWeb-based
System Manager
AIX V5.1 SystemAIX V5.1 System
Accessing the Web-based System Manager
-
8/8/2019 Au147v20 Smit
25/33
Accessing the Web based System Manager
Stand-Alone# wsm
Client-Server
With browser, URL:http:///wsm.html
From AIX client:# wsm -host
Using the Web-based System Manager(1 of 3)
-
8/8/2019 Au147v20 Smit
26/33
Us g t e eb based Syste a age ( o 3)
Using the Web-based System Manager(2 of 3)
-
8/8/2019 Au147v20 Smit
27/33
g y g ( )
Using the Web-based System Manager(3 of 3)
-
8/8/2019 Au147v20 Smit
28/33
g y g ( )
Configuring Client/Server WebSM
-
8/8/2019 Au147v20 Smit
29/33
g g
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 -docdirdirectory
Enable WebSM server
# /usr/websm/bin/wsmserver -enable
Exercise: Configuring WebSM server
-
8/8/2019 Au147v20 Smit
30/33
Exercise:
ConfiguringWebSM server
g g
Checkpoint (1 of 2)
-
8/8/2019 Au147v20 Smit
31/33
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 thefastpath____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 referenceinformation in different ways, such as searching for acommand, searching for a task or viewing information in abook like manner.
3. T/F The AIX V5.1 documentation is viewed using a Webbrowser.
4. WebSM is available for client access automatically after theBOS is installed. True or False?
Checkpoint (2 of 2)
-
8/8/2019 Au147v20 Smit
32/33
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 withappropriate JAVA and web-browser code installed.
b. In stand-alone mode use the wsm command to access theWeb-based system manager.
c. It is possible to manage an AIX V5.1 system from a remote AIXV5.1 system using an ascii terminal.
d. The Web-based System Manager includes TaskGuides thatdirect the user through complex tasks.
Unit Summary
-
8/8/2019 Au147v20 Smit
33/33
There are a number of system management tools thatcan be used by the system administrator, such as SMIT,and the Web-based System Manager
SMIT provides graphics orASCII support for mostsystem administration tasks
The Web-based System Manager supports system
administration tasks in a stand-alone or client-serverenvironment
Use a Web browser to access soft copy documentation
with AIX