• No results found

AU14 Student Exercises

N/A
N/A
Protected

Academic year: 2021

Share "AU14 Student Exercises"

Copied!
240
0
0

Loading.... (view fulltext now)

Full text

(1)

AIX 5L

System Administration I:

Implementation

(Course Code AU14)

Student Exercises

ERC 10.0

IBM Certified Course Material

cover

(2)

December 2004 Edition

The information contained in this document has not been submitted to any formal IBM test and is distributed on an “as is” basis without any warranty either express or implied. The use of this information or the implementation of any of these techniques is a customer responsibility and depends on the customer’s ability to evaluate and integrate them into the customer’s operational environment. While each item may have been reviewed by IBM for accuracy in a specific situation, there is no guarantee that the same or similar results will result elsewhere. Customers attempting to adapt these techniques to their own environments do so at their own risk.

© Copyright International Business Machines Corporation 1997, 2004. All rights reserved.

This document may not be reproduced in whole or in part without the prior written permission of IBM.

Trademarks

The reader should recognize that the following terms, which appear in the content of this training document, are official trademarks of IBM or other companies:

IBM® is a registered trademark of International Business Machines Corporation.

The following are trademarks of International Business Machines Corporation in the United States, or other countries, or both:

Java and all Java-based trademarks are trademarks of Sun Microsystems, Inc. in the United States, other countries, or both.

Microsoft, Windows, Windows NT, and the Windows logo are trademarks of Microsoft Corporation in the United States, other countries, or both.

UNIX is a registered trademark of The Open Group in the United States and other countries.

Linux is a trademark of Linus Torvalds in the United States, other countries, or both.

Other company, product and service names may be trademarks or service marks of others.

AIX AIX 5L AS/400

CICS/6000 DB2 Domino

HACMP Hummingbird Infoprint

iSeries Language Environment Lotus

Magstar Micro Channel MVS

Network Station OS/2 POWER

POWER2 POWER GTO PowerPC

PS/2 pSeries Redbooks

Requisite RISC System/6000 RS/6000

SecureWay SP System/370

(3)

TOC

Contents

Trademarks . . . v Exercises Description . . . vii Exercise 1. Using SMIT . . . 1-1 Exercise 2. AIX Software Installation . . . 2-1 Exercise 3. Information Center . . . 3-1 Exercise 4. Web-based System Manager . . . 4-1 Exercise 5. System Startup and Shutdown . . . 5-1 Exercise 6. Devices . . . 6-1 Exercise 7. Logical Volume Manager . . . 7-1 Exercise 8. Working with File Systems . . . 8-1 Exercise 9. Managing File Systems . . . 9-1 Exercise 10. Paging Space . . . 10-1 Exercise 11. Using backup and restore . . . 11-1 Exercise 12. Using tar and cpio (Optional) . . . 12-1 Exercise 13. Security Files . . . 13-1 Exercise 14. User Administration . . . 14-1 Exercise 15. Scheduling . . . 15-1 Exercise 16. Printers and Queues . . . 16-1 Exercise 17. Networking . . . 17-1 Appendix A. Optional Exercise: Installation and Configuration Basics . . . A-1 Appendix B. Optional Exercise: Serial Devices . . . B-1 Appendix C. Optional Exercise: The System V Print Subsystem. . . C-1

(4)
(5)

TMK

Trademarks

The reader should recognize that the following terms, which appear in the content of this training document, are official trademarks of IBM or other companies:

IBM® is a registered trademark of International Business Machines Corporation.

The following are trademarks of International Business Machines Corporation in the United States, or other countries, or both:

Java and all Java-based trademarks are trademarks of Sun Microsystems, Inc. in the United States, other countries, or both.

Microsoft, Windows, Windows NT, and the Windows logo are trademarks of Microsoft Corporation in the United States, other countries, or both.

UNIX is a registered trademark of The Open Group in the United States and other countries.

Linux is a trademark of Linus Torvalds in the United States, other countries, or both.

Other company, product and service names may be trademarks or service marks of others.

AIX® AIX 5L™ AS/400®

CICS/6000® DB2® Domino®

HACMP™ Hummingbird® Infoprint® iSeries™ Language Environment® Lotus® Magstar® Micro Channel® MVS™

Network Station® OS/2® POWER™

POWER2™ POWER GTO™ PowerPC®

PS/2® pSeries® Redbooks™

Requisite® RISC System/6000® RS/6000®

SecureWay® SP™ System/370™

(6)
(7)

pref

Exercises Description

Exercise Instructions — This section contains what it is you are to

accomplish. There are no definitive details on how to perform the tasks. You are given the opportunity to work through the exercise given what you learned in the unit presentation, utilizing the unit Student Notebook, your past experience and maybe a little intuition.

Exercise Instructions With Hints — This section is an exact

duplicate of the Exercise Instructions section except that in addition, specific details and/or hints are provided to help step you through the exercise. A combination of using the Instructions section along with Instructions With Hints section can make for a rewarding combination providing you with no hints when you don't want them and hints when you need them.

Optional Exercises — This section gives you additional exercises to

perform relating to the unit of discussion. It is strictly optional and should be performed when you have completed the required exercises. The required exercises pertain to the most pertinent information provided in the unit. This section may help round out the hands-on experience for a related unit.

(8)
(9)

EXempty

Exercise 1. Using SMIT

What This Exercise Is About

AIX provides several different interfaces - ASCII (command-line), Common Desktop Environment (CDE) and X-Window (Motif). This exercise provides an opportunity to become familiar with the different interfaces. You will also begin using the System Management

Interface Tool, SMIT.

What You Should Be Able to Do

After completing this exercise, students should be able to: • Log in from CDE

• Log in from the ASCII interface • Start CDE from the ASCII interface

• Start X-Window (Motif) from the ASCII interface • Start SMIT (both ASCII and graphical version) • Add users with default settings

• Navigate through the SMIT menus • Use SMIT function keys

• Display the SMIT history files, smit.log and smit.script • Set the initial interface

Introduction

This exercise is designed to give you experience working with the different interfaces and system management tools supplied with AIX Version 5.2. In most classrooms, there are two students per machine. Each machine will have one graphics terminal, Low Function Terminal (LFT), and another device to access the RS/6000. This device may be an ASCII terminal or it may be a PC with a network connection. If you are not sure, ask your instructor. In many cases, only one person will be able to perform the task at a time. You will need to work together with your teammate. Be sure to take turns at the keyboard.

The first screen you will see will be the log in box presented by the Common Desktop Environment (CDE). This is one of the graphical interfaces available to you.

The first part of this exercise, you will have a chance to see all three interfaces. For all other exercises, you will find instruction for the graphical interface (CDE or Motif) and the ASCII interface. Both sets of

(10)

instructions work equally well. It will be your choice as to which interface you prefer.

(11)

EXempty

Exercise Instructions

Part 1

AIX Interfaces

__ 1. The screen that is showing is the Common Desktop Environment (CDE) interface. It is a standard interface available on many UNIX platforms. If you do not have the graphical log in box on your screen, see your instructor for more information. Log in using root. The password is ibmaix.

• In the box, enter: root

• In the box, enter root's password: ibmaix (You will not see the password appear on the screen)

__ 2. Open a terminal if one is not already open. In the terminal, you should see dtterm in the title bar and see a # prompt in the window.

• On the tool bar at the bottom, click the small triangle above the pencil and paper icon (fourth icon from the left). This will open a drawer of icons.

• Click ONCE on the Terminal icon. This should bring up a terminal window. All of the commands for this exercise should be typed at the command line in this window.

Note: The CDE interface is a desktop management package. The other windows allow you to graphically navigate the directory tree and allow you to drag and drop files and directories easily. The tool bar at the bottom provides additional resources to you. If you have time at the end of the exercise, feel free to experiment with some of the other resources available to you under CDE. __ 3. Type smit at the command line (#) prompt. What version of SMIT starts?

• # smit

This will give you the graphical version of SMIT. To navigate, you need to use your mouse.

__ 4. We will come back to SMIT shortly. Right now, exit from SMIT. • Click the Cancel button at the bottom of the screen.

__ 5. Log out of CDE.

• On the blank area of the screen (not in a window), press and hold down the right mouse button. A drop down menu should appear. Continue holding the right mouse button and drag the cursor to the bottom of the menu to the Log out... selection. Then, release the mouse button.

• Click Continue logout.

(12)

__ 6. Now, let's explore the ASCII interface. Log onto the system using the command line interface.

• On the bottom of the graphical log in box, left-click the Options button. • Left-click Command Line Login.

• Press the Enter key. • Enter your log in name. • Console login: root

• root's Password: ibmaix (the password will not appear) • You should receive a # command prompt.

__ 7. Type smit at the command line. What version SMIT is started? • # smit

The ASCII version is started. __ 8. Exit from SMIT.

• Press F10.

__ 9. Now let's take a look at the last interface, the X-Window interface. Start X-Window from the ASCII interface command prompt.

• # xinit -or- # startx

__ 10. X-Window is another graphical interface like CDE. This one doesn't provide the tool bar and other desktop management utilities. Open a second window.

• Move the cursor to an empty area on the screen and press and HOLD the right mouse button.

• While holding the mouse button down, drag the cursor to the first item on the menu - New Window and release the button. A new window should appear. __ 11. Start SMIT. What version of SMIT starts?

• # smit

This will give you the graphical version of SMIT. __ 12. Exit from SMIT.

• Left-click the Cancel button.

__ 13. This time, start SMIT in the ASCII mode from the graphical interface. • # smitty

This command can be used in CDE as well to start an ASCII version of SMIT. The graphical and ASCII versions the of SMIT can run from the Motif (both CDE and X-Window) interfaces, but the graphical version of SMIT cannot run from the AIX ASCII interface.

__ 14. Exit from SMIT. • Press F10.

(13)

EXempty __ 15. Exit from X-Window.

• On a blank area of the screen, press and HOLD the right mouse button. While holding the right mouse button, drag the cursor to End Session and continue to HOLD the mouse button. A new menu will appear. While continuing to HOLD the right mouse button, drag the cursor to Quit... and release the mouse button. • Click the OK button to Quit Mwm (Motif Window Manager).

You should now be back at the ASCII interface.

__ 16. Before leaving the ASCII interface, start up CDE interface from the command line. • # xinit /usr/dt/bin/Xsession (be sure to use a capital X with Xsession)

You can get to both graphical interfaces from the ASCII command interface if you know the appropriate command. Once you are in one of the graphical interfaces, you cannot access the other graphical interface without closing the interface first. __ 17. Log out of CDE.

• On the blank area of the screen (not in a window), press and hold down the right mouse button. A drop-down menu should appear. Continue holding the right mouse button and drag the cursor to the bottom of the menu to the Log out... selection. Then, release the mouse button.

• Click Continue logout.

You should now return to the ASCII interface. __ 18. Log out of the system.

• # logout

The CDE log in box will return automatically. Note:

This gave you a chance to experience all three interfaces. If you want to run graphical applications like Web browsers or word processor, you will need to run one of the graphical interfaces.

The remaining labs in this course will let you decide which interface you would like to use. You will find instructions for ASCII and Motif. Motif covers both CDE and X-Window. Remember too, that you can run the ASCII commands from a graphical window.

The remaining labs also provide a further break down. You are given the choice of seeing only the Instructions or you can work from the Instructions with Hints section.

Depending on your knowledge and the challenge you prefer, select your section. If you decide to use the Instructions with Hints section, do not blindly follow the commands. Make sure you understand what the command is doing. If you have any questions, ask your instructor for guidance.

(14)

Exercise Instructions

Exercise 1 has two parts. Please check with your instructor to see if you have a Motif Interface or ASCII Interface. This will dictate which Part of the exercise is needed to be complete both parts of the exercise.

The instructions in Part 2 are intended to suit the Motif Interface.

Part 2 (Motif Interface)

Using SMIT

__ 1. Log into CDE desktop using root and the password ibmaix.

__ 2. If necessary, open a terminal window. If one already exists, skip to the next step. __ 3. Add five users to the system. They should be named team100 through team104.

Take all the defaults. These user names are needed for some of the exercises that follow. Customizing user attributes will be covered later in the course. Assign a password for each user that is the same as the user name. When the five users and their passwords have been entered, exit from SMIT.

__ 4. Start SMIT using the option to redirect the smit.script and smit.log files to the /home/team100 directory. From the main SMIT menu, select Processes &

Subsystems. Display all the current processes running on your system. Examine the output. Which command do you think was executed? __________ How can you find out? __________ Return to the main menu.

__ 5. In a similar manner, select each of the main SMIT menu entries, examine the submenu, then use the Cancel button to go back to the previous menu. Do not execute any commands that may cause changes to the system. Because you are logged in as root, you must be very careful.

__ 6. Exit from SMIT and return to your “dtterm”. Look at the SMIT history files with pg or more. What information is in each of these files? __________ Why should these files be monitored? __________

__ 7. Look at the ownership of the SMIT history files of user team100 with ls -al. Was it a good idea to create these files as root? _____ What will happen if user team100 will use smit? ___________

__ 8. As the system administrator, you can select the default interface that the users will use. In SMIT, find and set the interface to your choice. For the new interface to take effect, you will need to reboot your system.

(15)

EXempty

Exercise Instructions with Hints

Exercise 1 has two parts. Please check with your instructor to see if you have a Motif Interface or ASCII Interface. This will dictate which Part of the exercise is needed to be complete both parts of the exercise.

The instructions in Part 2 are intended to suit the Motif Interface.

Part 2 (Motif Interface)

Motif Interface

__ 1. Log into CDE desktop using root and the password ibmaix. • In the box, enter: root

• In the box, enter root's password: ibmaix (You will not see the password appear on the screen)

__ 2. If necessary, open a terminal window. If one already exists, skip to the next step. • On the tool bar at the bottom, click the small triangle above the pencil and paper

icon (fourth icon from the left). This will open a drawer of icons.

• Click ONCE on the Terminal icon. This should bring up a terminal window. All of the commands for this exercise should be typed at the command line in this window.

__ 3. Add five users to the system. They should be named team100 through team104. Take all the defaults. These user names are needed for some of the exercises that follow. Customizing user attributes will be covered later in the course. Assign a password for each user that is the same as the user name. When the five users and their passwords have been entered, exit from SMIT.

• # smit

• Click Security & Users. • Click Users.

• Click Add a User.

• At the User NAME field type in the user name team100 and click OK.

• When you see the OK highlighted, click Done to return to the Add a User menu. • Add users team101 through team104 in the same way.

• When the five users are added, click Cancel to return to the Users window. • Now click Change a User's Password.

(16)

• You will be prompted to provide team100's new password. Make the password the same as the user name and press Enter. You will be prompted to reenter team100's new password. Do so.

• When the system accepts the new password it will return you to the Change a User's Password screen. Follow the same procedure to set the new password for each of the other users.

• Once all passwords are set, click Cancel and then Exit to exit SMIT and return to the command line.

__ 4. Start SMIT using the options to redirect the smit.script and smit.log files to the /home/team100's directory. From the main SMIT menu, select Processes & Subsystems. Display all the current processes running on your system. Examine the output. Which command do you think was executed? __________ How can you find out? __________ Return to the main menu.

• # smit -s /home/team100/smit.script -l /home/team100/smit.log • Processes and Subsystems

• Processes

• Show All Current Processes

• A Show THREADS information? pop-up box is displayed. Click NO.

• When the command has successfully completed, the output will be displayed. Review the output and when you are finished, click Done.

• Click Cancel until you are back at the SMIT System Management screen. __ 5. In a similar manner, select each of the main SMIT menu entries, examine the

submenu, then use the Cancel button to go back to the previous menu. Do not execute any commands that may cause changes to the system. Because you are logged in as root, you must be very careful.

• Select each entry • Cancel

• Repeat as appropriate

__ 6. Exit from SMIT and return to your dtterm. Look at the SMIT history files with pg or more. What information is in each of these files? __________ Why should these files be monitored? __________

• Point and click Exit • Select Exit SMIT

• # more /home/team100/smit.log • # more /home/team100/smit.script

(17)

EXempty __ 7. Look at the ownership of the SMIT history files of user team100 with ls -al. Was it a good idea to create these files as root? _____ What will happen if user team100 will use smit? ___________

• # ls -al /home/team100/smit.log • # ls -al /home/team100/smit.script

__ 8. As the system administrator, you can select the default interface that the users will use. In SMIT, find and set the interface to your choice. For the new interface to take effect, you will need to reboot your system.

• # smit

• Select System Environments.

• Select Change System User Interface.

• At Select System Login User Interface, generate list to see your choices. • It is currently set to AIX CDE 1.0. If you prefer the Command Line interface,

select it and click OK and continue to the next bullet. If you do not want to change the interface, click Cancel until you are out of SMIT and you are finished with the exercise.

• If you changed the interface, you will need to reboot the machine before it takes effect. From this SMIT screen, select Stop the System.

• Click OK

• Upon reboot, your new interface should appear. -OR-

This step could be achieved from the command line with: # /usr/dt/bin/dtconfig -d (to disable CDE)

# shutdown -Fr

END OF LAB

* MESSAGE to all users on the system No Message INTERACTIVE shutdown no

RESTART the system after shutdown yes * TIME the system goes down 0

(18)

Exercise Instructions

Exercise 1 has two parts. Please check with your instructor to see if you have a Motif Interface or ASCII Interface. This will dictate which Part of the exercise is needed to be complete both parts of the exercise.

The instructions in Part 3 are intended to suit the ASCII Interface.

Part 3 (ASCII Interface)

Using SMIT (ASCII Interface)

__ 1. Log in using a ASCII Command Line log in using root and the password ibmaix. __ 2. Start SMIT.

__ 3. Add five users to the system. They should be named team100 through team104. Take all of the defaults. Customizing the attributes will be covered later in the course. Assign a password for each user that is the same as the user name. When the five users and their passwords have been entered, exit from SMIT.

__ 4. Start SMIT using the options to redirect the smit.script and smit.log files to /home/team100's directory. From the main SMIT menu, select Processes &

Subsystems. Display all the current process running on your system. Examine the output. Which command do you think was executed? ___________ How can you find out? ______________ Return to the main menu.

__ 5. In a similar manner, select each of the main SMIT menu entries, examine the submenu, then use the F3 key to back up to the previous menu. Do not execute any commands that may cause changes to the system. Because you are logged in as root, you must be very careful.

__ 6. Shell out (F9) and execute the date command. Return to SMIT and do the following: 1) Stop syslogd subsystem.

2) View the command that was executed.

3) List ALL subsystems to see that syslogd is inoperative. 4) Restart syslogd.

5) Continue to the next instruction. Do NOT press F3 or exit SMIT. __ 7. You should have the COMMAND STATUS screen displayed. Capture an image of

this screen. Exit SMIT.

__ 8. Look at the SMIT history files using pg or more. Look for the image you captured in the previous instruction. What information is in each of these files? __________ Why should these files be monitored? __________

__ 9. As the system administrator, you can select the default interface that the users will use. In SMIT, find and set the interface to your choice. For the new interface to take effect, you will need to reboot your system.

(19)

EXempty shutdown -Fr __ 10. Log off the system.

(20)

Exercise Instructions with Hints

Exercise 1 has two parts. Please check with your instructor to see if you have a Motif Interface or ASCII Interface. This will dictate which Part of the exercise is needed to be complete both parts of the exercise.

The instructions in Part 3 are intended to suit the ASCII Interface.

Part 3 (ASCII Interface)

Using SMIT (ASCII Interface)

__ 1. Log in using a ASCII Command Line log in using root and the password ibmaix. • On the bottom of the graphical log in box, left-click the Options button.

• Left-click Command Line Login. • Press the Enter key.

• Enter your log in name. • Console login: root

• root's Password: ibmaix (the password will not appear) • You should receive a # command prompt.

__ 2. Start SMIT. • # smit

__ 3. Add five users to the system. They should be named team100 through team104. Take all of the defaults. Customizing the attributes will be covered later in the course. Assign a password for each user that is the same as the user name. When the five users and their passwords have been entered, exit from SMIT.

• # smit

Security & Users Users

Add a User

• * User NAME [teamxx] accept all other defaults Press Enter to run.

• Press F3 and repeat the process until all five users are added.

• When all users are added, press F3 until you reach the Users menu. • Select Change a User's Password

User Name [teamxx] Changing password for teamxx

teamxx's New password: teamxx (the password will not appear on the screen) Enter the new password again: teamxx

(21)

EXempty • Repeat that process until all new accounts have passwords. Then press F10 and exit from SMIT.

__ 4. Start SMIT using the options to redirect the smit.script and smit.log files to the /home/team100 directory. From the main SMIT menu, select Processes &

Subsystems. Display all the current process running on your system. Examine the output. Which command do you think was executed?___________ How can you find out? ______________ Return to the main menu.

• # smit -s /home/team100/smit.script -l /home/team100/smit.log • Select Processes & Subsystems

• Processes

• Show All Current Processes

• A Show THREADS information? pop-up box is displayed. Select no. • F6 (to view the command)

• F3 - Cancel until you are back at the System Management screen. __ 5. In a similar manner, select each of the main SMIT menu entries, examine the

submenu, then use the F3 key to back up to the previous menu. Do not execute any commands that may cause changes to the system. Because you are logged in as root, you must be very careful.

• Select each entry • F3

• Repeat as appropriate

__ 6. Shell out (F9) and execute the date command. Return to SMIT and do the following: 1) Stop syslogd subsystem.

2) View the command that was executed.

3) List ALL subsystems to see that syslogd is inoperative. 4) Restart syslogd.

5) Continue to the next instruction. Do not press F3 or exit SMIT. - F9; Enter

- # date

- <ctrl-d> to return to SMIT.

- From the main menu select Processes and Subsystems. - Subsystems

- Stop Subsystem

- Stop a Single Subsystem

- F4 (to see the list of Subsystem Process ID). - Select syslogd.

(22)

- Enter (to stop the subsystem). - F6 (to view the command). - F3 back to Subsystems menu.

- List All Subsystems (syslogd should be inoperative). - F3 back to Subsystems menu.

- Select Start a Subsystem.

- F4 (to see the list of Subsystem Name ID). - Select syslogd.

- Enter (to start the subsystem).

__ 7. You should have the COMMAND STATUS screen displayed. Capture an image of this screen. Exit SMIT.

• Press F8=(Image) and Enter • F10

__ 8. Look at the SMIT history files using pg or more. Look for the image you captured in the previous instruction. What information is in each of these files? __________ Why should these files be monitored? __________

• # more /home/team100/smit.log • # more /home/team100/smit.script

__ 9. As the system administrator, you can select the default interface that the users will use. In SMIT, find and set the interface to your choice. For the new interface to take effect, you will need to reboot your system.

• # smit

• Select System Environments.

• Select Change System User Interface.

• At Select System Login User Interface, generate a list (F4) to see your choices.

• It is currently set to AIX CDE 1.0. If you prefer the Command Line interface, select it and press Enter. (Make sure you select it and then execute it. It will need press Enter twice.) Continue to the next bullet. If you don't want to change the interface, press F3 until you are out of SMIT and you are finished with the exercise.

• Press F3 twice to get back to the System Environment screen.

• If you did not make a change to the interface, select F3 - Cancel until you have exited SMIT. You are finished with the exercise. If you changed the interface, you will need to reboot the machine before it takes effect. From this SMIT screen, select Stop the System.

(23)

EXempty

• Press Enter.

• Upon reboot, your new interface should appear. -OR-

This step could be achieved from the command line with: # /usr/dt/bin/dtconfig -d (to disable CDE)

# shutdown -Fr __ 10. Log off the system.

END OF LAB

INTERACTIVE shutdown no RESTART the system after shutdown yes * TIME the system goes down 0

(24)

Solutions

Following are the solutions for those instructions that include questions:

4 From the main menu, select Processes & Subsystems. Display all the current processes running on your system. Examine the output. Which command do you think was executed? __________ How can you find out? __________ Try it. Return to the main menu.

Answer: ps -ef. Pressing the F6=Command key from the output screen, displays a pop-up box that shows the command that was executed.

6 (Motif Interface version) Exit from SMIT and return to your “dtterm”. Look at the SMIT history files with pg or more. What information is in each of these files? __________ Why should these files be monitored? __________

Answer: The smit.log file contains a reference to each menu screen selected, the commands executed, output from the commands, and all screen images. The smit.script file contains the high-level commands executed, preceded by a comment showing the date and time when the command was executed. Both files should be monitored regularly and purged periodically so disk space is not wasted. Unlike the SMIT ASCII interface, the Motif interface automatically records all screen images. The F8 key in the Motif interface will show you the SMIT fastpath command instead.

7 (Motif Interface version) Look at the ownership of the SMIT history files of user team100 with ls -al. Was it a good idea to create these files as root? _____ What will happen if user team100 will use smit? ___________

Answer: User team100 is not the owner of the SMIT history files and has no write access these files. If he starts using smit, user team100 will get an error message saying “Could not open SMIT log file: ./smit.log”.

8 (ASCII Interface version) Look at the SMIT history files with pg or more. Look for the image you captured in the previous instruction. What information is in each of these files? __________ Why should these files be monitored? __________

Answer: The smit.log file contains a reference to each menu screen selected, the commands executed, output from the commands, and all screen images. The smit.script file contains the high-level commands executed, preceded by a comment showing the date and time when the command was executed both files should be monitored regularly and purged periodically so disk space is not wasted.

(25)

EXempty

Exercise 2. AIX Software Installation

What This Exercise Is About

In this exercise, you will list the software currently installed on the AIX system. You will then install two software packages.

What You Should Be Able to Do

• List the software installed on an AIX system • Install software

• Install software fixes (optional)

• View the history of installed software (optional)

This exercise is designed to give you experience in working with the installation facilities supplied with AIX Version 5.3. If you have more than one student sharing a system (all systems have a minimum of two terminals attached to them), then only one person can actually perform these steps. All other students on that system should observe while the steps are being done.

In this exercise, you will install two software packages: bos.dosutil

bos.games

In this exercise, you may also install a fix to the already installed software package:

sysmgt.websm.rte

The instructions are written assuming you are using SMIT in ASCII mode. However, it is easy to interpret the instructions so that they can be used with SMIT in the AIXWindows environment. Feel free to use SMIT in either mode.

When you select an item while using the ASCII user interface, use the cursor keys on the keyboard to highlight a menu item, then press enter. On a graphics display, choose (that is, click) the selected item with the left mouse button.

The fix installation and display of the fix history is optional. It requires that the lab setup for the exercises used a base level AIX 5.3

installation. If the image used in your lab environment has

maintenance already installed and committed, you will not be able to successfully complete the optional steps.

(26)

Exercise Instructions

List and Install AIX software

__ 1. Log in to AIX as teamxx and su to root.

__ 2. Use SMIT to list the software on your system. What command is SMIT executing to provide this information?___________________

Examine the output and verify that bos.games and bos.dosutil are not installed on your system.

__ 3. Now it is time to install the two software packages: • bos.dosutil

• bos.games

These packages have been preloaded (but not installed) in a directory called /usr/sys/inst.images. The procedure to install these packages from this directory are the same as those to install software from CD or tape.

Use SMIT to install the bos.games and bos.dosutil packages. When this task has successfully completed, return to the AIX command line.

__ 4. Verify that the bos.games fileset installed correctly and list the games which are available.

Working with AIX Fixes (optional)

__ 5. We have already obtained a list of latest fixes from the IBM Fix Release Information web page. The file name is: /home/workshop/LatestFixData53. Use SMIT to run a Comparison Report between this list and what is currently installed on your system. Only report on installed software that is at a lower level than what is on the latest fix report.

__ 6. Briefly examine the output report.

__ 7. There is a problem with the WebSM facility in the base level of AIX 5.3. Start WebSM (if not already started) and list the subsystems on your machine. You will note that the screen comes up blank.

We have already used the IBM Fix Release Information web page to obtain the fixes which are not already installed (using the previously generated lowerthanlatest.rpt file) and have stored them in the /usr/sys/inst.images/fixes directory. Use SMIT to list the APARs that are addressed by these fixes and look for one which addresses the problem of WebSM not showing any subsystems. Note the APAR# _________ __ 8. Use smit to update your software with the fix for this APAR.

__ 9. Close down and restart WebSM. List all subsystems as you did before. They should be displayed now.

Show software installation history (optional)

(27)
(28)

Exercise Instructions With Hints

List and Install AIX software

__ 1. Log in to AIX as teamxx and su to root.

• From the login window click Options and then click Command Line Login. • When the unformatted message appears, press Enter to get the login prompt. • Log in as teamxx

• $ su root

__ 2. Use SMIT to list the software on your system. What command is SMIT executing to provide this information?___________________

Examine the output and verify that bos.games and bos.dosutil are not installed on your system.

• # smit

• Software Installation and Maintenance • List Software and Related Information

• List Installed Software and Related Information • List Installed Software

SOFTWARE name all SHOW superseded levels? no • OK or Enter

• While viewing the output, use Find ( / ) to verify that the bos.games and bos.dosutil packages are not installed on your system.

• Use F3 to return to the Software Installation and Maintenance menu. __ 3. Now it is time to install the two software packages:

• bos.dosutil • bos.games

These packages have been preloaded (but not installed) in a directory called /usr/sys/inst.images. The procedure to install these packages from this directory are the same as those to install software from CD or tape.

Use SMIT to install the bos.games and bos.dosutil packages. When this task has successfully completed, return to the AIX command line.

• From the Software Installation and Maintenance menu choose Install and Update Software.

• Install Software

(29)

EXempty SOFTWARE to install Use F4 to choose the packages listed above

When selecting the packages, be sure to install the entire package. Use F7 to indicate which packages to install.

Press Enter to perform the installation.

• Verify that the output is correct and then press F10 to return to the command line.

__ 4. Verify that the bos.games fileset installed correctly and list the games which are available.

• # cd /usr/games # ls

Working with AIX Fixes (optional)

__ 5. We have already obtained a list of latest fixes from the IBM Fix Release Information web page. The file name is: /home/workshop/LatestFixData53. Use SMIT to run a Comparison Report between this list and what is currently installed on your system. Only report on installed software that is at a lower level than what is on the latest fix report.

# smit install

Software Service Maintenance Comparison Reports

Compare Installed Software to List of Available Updates

List of Available Updates [/home/workshop/LatestFixData53] Select which reports to run:

Installed Software that is at a lower level than yes latest (lowerthanlatest.rpt)

Installed Software that is at a HIGHER level than no the latest maintenance level

(higherthan maint.rpt)

Installed Software that is at a LOWER level than no the latest maintenance level

(lowerthanmaint.rpt)

DIRECTORY location for reports [/tmp]

__ 6. Briefly examine the output report. # more /tmp/lowerthanlatest.rpt

__ 7. There is a problem with the WebSM facility in the base level of AIX 5.3. Start WebSM (if not already started) and list the subsystems on your machine. You will note that the screen comes up blank.

(30)

- Double-click the “subsystems” icon - Double-click the “All subsystems” icon

__ 8. We have already used the IBM Fix Release Information web page to obtain the fixes which are not already installed (using the previously generated lowerthanlatest.rpt file) and have stored them in the /usr/sys/inst.images/fixes directory. Use SMIT to list the APARs that are addressed by these fixes and look for one which addresses the problem of WebSM not showing any subsystems. Note the APAR# _________ # smit install

List Software and Related Information

List Software on Media and Related Information List Software Fixes (APARs) on Installation Media

INPUT device/directory for software [/usr/sys/inst.images/fixes] Press ENTER

__ 9. Use smit to update your software with the fix for this APAR. # smit install

Install and Update Software Update Software by Fix (APAR)

INPUT device/directory for software [/usr/sys/inst.images/fixes] FIXES to install [ ]

(use F4/List to select the APAR or type in the APAR #) Press ENTER

__ 10. Close down and restart WebSM. List all subsystems as you did before. They should be displayed now.

Show software installation history (optional)

__ 11. View the history of the sysmgt.websm.rte fileset update that you just installed. • # smit

• Software Installation and Maintenance • List Software and Related Information

• List Installed Software and Related Information • Show Software Installation History

• On the SMIT Show Software Installation History menu type:

sysmgt.websm.rte to view the installation history of the sysmgt.websm.rte package. Press Enter.

• Review the output and press F3 to return to the previous screen.

(31)

EXempty

Solutions

2.Use SMIT to list the software on your system. What command is SMIT executing to provide this information? _________________________

(32)
(33)

EXempty

Exercise 3. Information Center

What This Exercise Is About

This exercise provides an opportunity to install, configure and use the AIX Information Center facility. If your classroom is networked, there is an optional part to allow you to configure your machine to act as a documentation server to remote clients.

What You Should Be Able to Do

At the end of the lab, you should be able to: • Install infocenter and the documentation

• Configure information center for standalone use • Use infocenter to examine AIX documentation

Introduction

This exercise is designed to give you experience working with the Information Center in AIX Version 5.3. If you are sharing the machine, only one person should perform each step. You must work from a graphical interface for this exercise.

If your classroom is networked, you can test remote access to

Documentation Server. The client machine can be an AIX system or a PC with a browser that is Java-enabled.

(34)

Exercise Instructions

__ 1. Log in as root and start up a command prompt window.

__ 2. The Information Center, being web based, requires a web browser. The Mozilla web browser software has already been installed on your machine. Verify that the Mozilla bundle is indeed installed.

__ 3. Next we need to install the Infocenter Center and the desired documentation. The packages are delivered in the AIX 5L V5.3 Documentation CD.

They have been pre-loaded into the local software repository called /usr/sys/inst.images.

Use SMIT to install the filesets: AIX System Management Guides AIX System User Guides

AIX Information Center runtime

Note:

To avoid a very lengthy install and configuration time during this lab, do NOT install any other documentation packages at this time. Later (during a break, lunch, or overnight) you may wish to install the rest of the documentation.

When this task has successfully completed, return to the AIX command line. __ 4. Next check your IC_DOCUMENTATION environment to see the variable values in

/etc/environment. Note the values:

IC_DOCUMENTATION_SERVER_MACHINE_NAME_____________________ IC_DOCUMENTATION_SERVER_TYPE ______________________________ IC_DOCUMENTATION_SERVER_PORT ______________________________ IC_DOCUMENTATION_DIRECTORY _________________________________

__ 5. Configure your Documentation Services using SMIT. Take all the defaults except select a server type of DOCSERVER and the default browser as mozilla.

__ 6. Verify that the output is correct and then press F10 to return to the command line. __ 7. Check your IC_DOCUMENTATION environment to see the variable values, both in

/etc/environment and in your process environment. Note the values:

IC_DOCUMENTATION_SERVER_MACHINE_NAME_____________________ IC_DOCUMENTATION_SERVER_TYPE ______________________________ IC_DOCUMENTATION_SERVER_PORT ______________________________ IC_DOCUMENTATION_DIRECTORY _________________________________

(35)

EXempty Did the /etc/environment values change?_________________________ Did the values in your shell environment change? __________________ __ 8. Reboot your system and log back in as root.

__ 9. Again check your IC_DOCUMENTATION environment to see the variable values in your process environment.

Note the values:

IC_DOCUMENTATION_SERVER_MACHINE_NAME___________________ IC_DOCUMENTATION_SERVER_TYPE ____________________________ IC_DOCUMENTATION_SERVER_PORT __________________________ IC_DOCUMENTATION_DIRECTORY _____________________________] Did the values in your shell environment change? __________________ __ 10. Start the information center.

__ 11. When the Information Center for AIX home page appears, open the

AIX Information link in the Contents panel. The link should expand and the main panel on the right should change to the AIX Information panel.

__ 12. In the Contents panel, click the twisty next to System User’s Guides. This will expand the list to show the various manuals in this category.

Click the twisty next to System User Guide: Operating System and Devices. This will expand the list to show the chapters in that manual.

Click the twisty next to File Systems and directories. This will expand the list to show the sections in that chapter.

Click the link for File Systems. This will result in the AIX Information panel displaying that section of the manual.

__ 13. In the Search field just above the Contents panel, enter a search string such as “redirection AND korn” and click GO.

If this the first time a search has been executed you will see a graphic tracking the progress of the search index construction. This may take a while, be patient.

__ 14. Once the index is built, rerun the same search as before.

The Contents panel will be replaced with a Search Results panel. This will have the links to various documentation sections ranked by relevance.

(36)

now display the desired section.

Use the vertical scroll bar to the right of the document to move up and down through the document.

__ 15. The title bar for the AIX Information panel has some navigation and tool icons on the right side. As you move your mouse pointer over various icons you will note that the display field at the bottom of the browser will display a description of the icon’s function.

Click the Left Arrow (Go Back) icon until the window returns to the original list of manuals.

Click the Right Arrow (Go Forward) Icon until you return to the manual section you had discovered via the previous search.

Sometimes you want to know what manual and chapter the section is from. Click the “Show in Table for Contents” icon next to the Right Arrow icon. Note that the Search Results panel on the left has been replaced with Contents panel. The section you are in is highlighted.

Use the vertical scroll bar in the Contents panel to scroll up and see the chapter and the document the section is from.

__ 16. At the bottom of the Contents panel are three icons.

Click the Flashlight (Search Results) icon. This will change from the Contents panel to the Search Results panel.

Click the Book (Contents) icon to the left of the Flashlight icon to change back to the Contents panel.

Remote Access to Documentation Server (optional)

__ 17. If you have network connectivity in the lab, you may access the Information Center from a remote client. Select the machine of another lab team as the server and verify with them that their infocenter does work locally. Also ask them to run the hostname command so you know how to address their machine.

__ 18. Start your Web browser. We will assume you are using your AIX platform as the client, but if your have functional network connectivity with a PC you may choose to use that instead.

__ 19. Enter the URL of:

http://<server-hostname>:64111/help

__ 20. Briefly examine some documentation to verify that the remote access works.

(37)

EXempty

Exercise Instructions with Hints

__ 1. Log in as root and start up a command prompt window.

__ 2. The Information Center, being web based, requires a web browser. The Mozilla web browser software has already been installed on your machine. Verify that the Mozilla bundle is indeed installed.

# smit list_software

List Installed Software and Related Information List Installed Software by Bundle

BUNDLE name [Mozilla] press ENTER

or

# lslpp -L -b “Mozilla”

__ 3. Next we need to install the Infocenter Center and the desired documentation. The packages are delivered in the AIX 5L V5.3 Documentation CD.

They have been pre-loaded into the local software repository called /usr/sys/inst.images.

Use SMIT to install the filesets: AIX System Management Guides AIX System User Guides

AIX Information Center runtime

Note:

To avoid a very lengthy install and configuration time during this lab, do NOT install any other documentation packages at this time. Later (during a break, lunch, or overnight) you may wish to install the rest of the documentation.

When this task has successfully completed, return to the AIX command line. • From the Software Installation and Maintenance menu (smitty install)

choose Install and Update Software. • Install Software

INPUT device /usr/sys/inst.images (Use F4) SOFTWARE to install (Use F4 to obtain a list)

(select the packages listed above using F7 and hit ENTER) On the resulting installation screen, take all the defaults Press Enter to perform the installation.

Verify that the output is correct and then press F10 to return to the command line.

(38)

__ 4. Next check your IC_DOCUMENTATION environment to see the variable values, in /etc/environment.

Note the values:

IC_DOCUMENTATION_SERVER_MACHINE_NAME_____________________ IC_DOCUMENTATION_SERVER_TYPE ______________________________ IC_DOCUMENTATION_SERVER_PORT ______________________________ IC_DOCUMENTATION_DIRECTORY _________________________________ # grep IC_D /etc/environment

__ 5. Configure your Documentation Services using SMIT. Take all the defaults except select a server type of DOCSERVER and the default browser as mozilla

• # smitty system

Change/Show Documentation Services DEFAULT_BROWSER[mozilla]

IC_DOCUMENTATION_SERVER_MACHINE_NAME[ ] IC_DOCUMENTATION_SERVER_TYPE[DOCSERVER] IC_DOCUMENTATION_SERVER_PORT[64111]

IC_DOCUMENTATION_DIRECTORY[/opt]

press ENTER to execute the configuration procedure.

__ 6. Verify that the output is correct and then press F10 to return to the command line. __ 7. Check your IC_DOCUMENTATION environment to see the variable values, both in

/etc/environment and in your process environment. Note the values:

IC_DOCUMENTATION_SERVER_MACHINE_NAME_____________________ IC_DOCUMENTATION_SERVER_TYPE ______________________________ IC_DOCUMENTATION_SERVER_PORT ______________________________ IC_DOCUMENTATION_DIRECTORY _________________________________ Did the /etc/environment values change?_________________________

Did the values in your shell environment change? __________________ # grep IC_D /etc/environment

# env | grep IC_D

__ 8. Reboot your system and log back in as root.

__ 9. Again check your IC_DOCUMENTATION environment to see the variable values in your process environment.

(39)

EXempty

IC_DOCUMENTATION_SERVER_MACHINE_NAME___________________ IC_DOCUMENTATION_SERVER_TYPE ____________________________ IC_DOCUMENTATION_SERVER_PORT __________________________ IC_DOCUMENTATION_DIRECTORY _____________________________] Did the values in your shell environment change? __________________

# env | grep IC_D

__ 10. Start the information center. # infocenter &

__ 11. When the Information Center for AIX home page appears, open the

AIX Information link in the Contents panel. The link should expand and the main panel on the right should change to the AIX Information panel.

__ 12. In the Contents panel, click on the twisty next to System User’s Guides. This will expand the list to show the various manuals in this category.

Click the twisty next to System User Guide: Operating System and Devices. This will expand the list to show the chapters in that manual.

Click the twisty next to File Systems and directories. This will expand the list to show the sections in that chapter.

Click the link for File Systems. This will result in the AIX Information panel displaying that section of the manual.

__ 13. In the Search field just above the Contents panel, enter a search string such as “redirection AND korn” and click GO.

If this the first time a search has been executed you will see a graphic tracking the progress of the search index construction. This may take a while, be patient.

__ 14. Once the index is built, rerun the same search as before.

The Contents panel will be replaced with a Search Results panel. This will have the links to various documentation sections ranked by relevance.

Click the link you feel would be most interesting. The AIX Information panel will now display the desired section.

Use the vertical scroll bar to the right of the document to move up and down through the document.

__ 15. The title bar for the AIX Information panel has some navigation and tool icons on the right side. As you move your mouse pointer over various icons you will note that

(40)

the display field at the bottom of the browser will display a description of the icon’s function.

Click the Left Arrow (Go Back) icon until the window returns to the original list of manuals.

Click the Right Arrow (Go Forward) Icon until you return to the manual section you had discovered via the previous search.

Sometimes you want to know what manual and chapter the section is from. Click the “Show in Table for Contents” icon next to the Right Arrow icon. Note that the Search Results panel on the left has been replaced with Contents panel. The section you are in is highlighted.

Use the vertical scroll bar in the Contents panel to scroll up and see the chapter and the document the section is from.

__ 16. At the bottom of the Contents panel are three icons.

Click the Flashlight (Search Results) icon. This will change from the Contents panel to the Search Results panel.

Click the Book (Contents) icon to the left of the Flashlight icon to change back to the Contents panel.

Remote Access to Documentation Server (optional)

__ 17. If you have network connectivity in the lab, you may access the Information Center from a remote client. Select the machine of another lab team as the server and verify with them that their infocenter does work locally. Also ask them to run the hostname command so you know how to address their machine.

__ 18. Start your Web browser. We will assume you are using your AIX platform as the client, but if your have functional network connectivity with a PC you may choose to use that instead.

__ 19. Enter the URL of:

http://<server-hostname>:64111/help

__ 20. Briefly examine some documentation to verify that the remote access works.

(41)

EXempty

Exercise 4. Web-based System Manager

What This Exercise Is About

This exercise provides an opportunity to install, configure, and use the Web-based System Manager (WebSM). If your classroom is

networked, there is an optional part to allow you to configure your server for WebSM client access.

What You Should Be Able to Do

At the end of the lab, you should be able to: • Install WebSM

• Use WebSM

• Configure WebSM for client machine access • Use WebSM from the client machine via a browser

Introduction

This exercise is designed to give you experience working with WebSM in AIX Version 5.3 If you are sharing the machine, only one person should perform each step. You must work from a graphical interface for this exercise.

If your classroom is networked, you can configure and test WebSM for client machine access. The client machine can be another AIX system or a PC. In both cases the client platform must have a browser that is Java-enabled.

(42)

Exercise Instructions

__ 1. Log in as teamxx.

__ 2. Make sure you are in the AIX windows or CDE environment. Access the Web-Based System Manager.

__ 3. View system processes by both details and tree details. Viewing processes by tree detail provides a pictorial view of the parent/child relationship of the processes. Close the Process window when you have completed this task.

__ 4. View the WebSM window that displays the current system date and time. __ 5. Close the WebSM Launch Pad window and logout of the system.

On the command line, type exit to log out of AIX. Note:

For the following optional sections, you will need to have a functioning network

environment in lab room. The lab teams will need to pair up and work together. Each team pair select which machine will be remotely managed (WSM server) and which machine(s) will be the remote system administrator platform (WSM client).

Configuring WebSM for AIX Client Access (optional)

__ 6. There is no need for additional configuration to use WebSM to manage an AIX platform from an AIX client with WebSM installed. Client-server mode does not require that the server run a web server; the connection is made directly between the two WebSM applications.

__ 7. Start WebSM on the client platform, but specify the hostname of the WSM server machine.

__ 8. Log on as root and using the correct root password

__ 9. Do a couple things to validate that the interface is working correctly and then close down the application.

__ 10. At the WSM server platform, disable client-server (and remote client) access. This way you may use WebSM locally on a platform but not allow remote client-server access.

__ 11. At the client platform, again start WebSM specifying the hostname of the WSM server machine. Did it work? _________________

__ 12. At the WSM server platform, re-enable client-server (and remote client) access.

Configuring WebSM for Remote Client Access (optional)

In order to do this optional exercise, you must have a qualified PC running a supported version of Windows or Linux, a supported desktop environment, and a Java capable Web browser. The PC must have network connectivity to the AIX server platform.

(43)

EXempty When using a PC platform as the WebSM Remote Client, you must first install the WebSM remote client application on that platform. This is done using the web server on the WebSM Server platform.

__ 13. First, install the HTTPServer Web Server software.

The package is delivered in the AIX 5L V5.3 Expansion Pack CD. It has been pre-loaded into the local software repository called /usr/sys/inst.images.

Use SMIT to install the package: IHS2

When this task has successfully completed, return to the AIX command line. __ 14. Configure the web server support for Web-based System Manager using SMIT.

The root document directory is: /usr/HTTPServer/htdoc The root CGI directory is: /usr/HTTPServer/cgi-bin

The HTTPServer start command is: /usr/HTTPServer/bin/apachectl restart

You may use either use configassist or SMIT. (The advantage to configassist is that is that it fills in the correct path values for you.).

__ 15. On the client PC, start the web browser and enter a URL of: http://<wsmservername>/remote_client.html

__ 16. Identify the client as either a Linux or Windows platform on the resulting web page. __ 17. Click the install-shield hyperlink on the new web page. (The Java Web Start

method requires additional security software to be installed on both client and server platforms)

__ 18. On the File Download pop-up, click on the Save button. In the “Save In:” field, navigate to store it on the desktop and again click on the Save button. In the “Download complete” pop-up, click on the Open button. This will run the Install Shield wizard. (There will be a command prompt window launch to execute java.exe just before the Installer window appears; do not do anything with the command prompt window.)

On the Installer window, click the Next button.

Use the default install Directory name and click on the Next button. Note the location and size of the install and click on the Next button. After the install is complete, click on the Finish button.

__ 19. You should now see an icon on your desktop labeled: “Web Based System Manager Application”.

Open this new icon.

In the Log On window, enter the WSM server hostname or IP address and click the Log On button.

(44)

__ 20. Once the Web System Manger window appears and has all the icons filled in, try a few operations to prove it is operational and then exit the application.

Configuring WebSM for Client Access Applet mode (optional)

DO THIS STEP ON THE CLIENT MACHINE.

this section assume that you have already set up the web server as described in the previous section.

__ 21. Start a browser and connect to WebSM. Use a URL of http://<wsmserverhostname>/wsm.html

As time permits, get familiar with WebSM. • Start your browser.

• Use URL http://hostname/wsm.html

(45)

EXempty

Exercise Instructions with Hints

__ 1. Log in as teamxx.

__ 2. Make sure you are in the AIX windows or CDE environment. Access the Web-Based System Manager.

• $ xinit (if not in a windows environment) • $ wsm &

__ 3. View system processes by both details and tree details. Viewing processes by tree detail provides a pictorial view of the parent/child relationship of the processes. Close the Process window when you have completed this task.

• From the WebSM Contents area, double-click Processes, then double-click All Processes. Once the Processes window displays, scroll through the output. • There are two ways to display the processes as a 'tree':

• Click View on the menu bar and then click Tree Details. OR

- On the tool bar, click the Details icon, which is the rightmost one.

• Once you have reviewed the output, close the window by clicking the back arrow on the title bar.

__ 4. View the WebSM window that displays the current system date and time. • Double-click System Environment

• Double-click Settings

• Double-click Date and Time

• View the Date and Time and then click the Time Zone option. Since you are not the root user, you will not be able to make any changes.

• When done, close both the Date and Time window and the System Environment window.

__ 5. Close the WebSM Launch Pad window and logout of the system.

• Close the WebSM by clicking the upper left of the title bar and then clicking Exit on the pull-down menu.

• Press and hold the right mouse button in the root window area.

• While still holding the right mouse button, move the mouse to End Session or Logout.

• Use the left mouse button to point to Quit on the next menu. Click OK to close AIX Windows.

On the command line, type exit to log out of AIX. Note:

For the following optional sections, you will need to have a functioning network

environment in lab room. The lab teams will need to pair up and work together. Each team pair select which machine will be remotely managed (WSM server) and which machine(s) will be the remote system administrator platform (WSM client).

(46)

Configuring WebSM for AIX Client Access (optional)

__ 6. There is no need for additional configuration to use WebSM to manage an AIX platform from an AIX client with WebSM installed. Client-server mode does not require that the server run a web server; the connection is made directly between the two WebSM applications.

__ 7. Start WebSM on the client platform, but specify the hostname of the WSM server machine.

# wsm - host <server hostname>

__ 8. Log on as root and using the correct root password

__ 9. Do a couple things to validate that the interface is working correctly and then close down the application.

__ 10. At the WSM server platform, disable client-server (and remote client) access. This way you may use WebSM locally on a platform but not allow remote client-server access.

# /usr/websm/bin/wsmserver -disable

__ 11. At the client platform, again start WebSM specifying the hostname of the WSM server machine. Did it work? _________________

# wsm - host <server hostname>

__ 12. At the WSM server platform, re-enable client-server (and remote client) access. # /usr/websm/bin/wsmserver -enable

Configuring WebSM for Remote Client Access (optional)

In order to do this optional exercise, you must have a qualified PC running a supported version of Windows or Linux, a supported desktop environment, and a Java capable Web browser. The PC must have network connectivity to the AIX server platform.

When using a PC platform as the WebSM Remote Client, you must first install the WebSM remote client application on that platform. This is done using the web server on the WebSM Server platform.

__ 13. First, install the HTTPServer Web Server software.

The package is delivered in the AIX 5L V5.3 Expansion Pack CD. It has been pre-loaded into the local software repository called /usr/sys/inst.images.

Use SMIT to install the package: IHS2

When this task has successfully completed, return to the AIX command line. • From the Software Installation and Maintenance menu (smitty install)

choose Install and Update Software. • Install Software

References

Related documents

This document is the Accepted Manuscript version of a Published Work that appeared in final form in British Journal of Midwifery, copyright © MA Healthcare, after peer review

It provides for an abatement of a fair proportion of the rent and outgoings where there is an emergency and the Tenant is unable to gain access to the premises to fully conduct

Considering the context of the post-entry assessment, there could be several major implications following the use of cloze test variations C-test and cloze-elide tasks to

IABSE’s Working Group 8, Forensic Structural Engineering, aims to examine and mitigate failures, improve the international professional practice of forensic structural

PANNELLO AGGIUNTIVO ADDITIONAL PANEL PANNELLO BASE BASIC PANEL PANNELLO SCOMPONIBILE (viene fornito già montato) MODULAR PANEL (supplied already assembled). PANNELLO

Including the shadows of shallow cumulus clouds in a simulation leads to a decrease in the net radiation, the surface heat fluxes and results in a lower buoyancy flux in the

OnChip IDE Channel 1 Settings: [Disabled, Enabled] IDE HDD Block Mode Settings: [Disabled, Enabled] SATA Controller Settings: [Disabled, Enabled] SATA Controller Mode

This highly practical and interactive training course will hone your negotiation and deal structuring skills, providing an invaluable toolkit and skills that can.. immediately be