Documentos de Académico
Documentos de Profesional
Documentos de Cultura
Printed in USA
Revised 1/25/01
Warranty
A copy of the specific warranty terms applicable to your Hewlett-Packard product and replacement parts
can be obtained from your local Sales and Service Office. Restricted Rights Legend. Use, duplication or
disclosure by the U.S. Government is subject to restrictions as set forth in subparagraph (c) (1) (ii) of the
Rights in Technical Data and Computer Software clause at DFARS 252.227-7013 for DOD agencies,
and subparagraphs (c) (1) and (c) (2) of the Commercial Computer Software Restricted Rights clause at
FAR 52.227-19 for other agencies.
HEWLETT-PACKARD COMPANY
3000 Hanover Street
Palo Alto, California 94304
U.S.A.
Use of this manual and media supplied for this pack is restricted to this product only. Additional copies
of the programs may be made for security and back-up purposes only. Resale of the programs in their
present form or with alterations, is expressly prohibited.
4
Copyright Notices
Copyright © 1983-2001 Hewlett-Packard Company, all rights reserved.
Reproduction, adaptation, or translation of this document without prior written permission is prohibited,
except as allowed under the copyright laws.
© Copyright 1979, 1980, 1983, 1985-99 Regents of the University of California
This software is based in part on the Fourth Berkeley Software Distribution under license from the
Regents of the University of California.
Copyright © 1980, 1984, 1986 Novell, Inc.
Copyright © 1986-1992 Sun Microsystems, Inc.
Copyright © 1985, 1986, 1988 Massachusetts Institute of Technology.
Copyright © 1989-1993 The Open Software Foundation, Inc.
Copyright © 1986 Digital Equipment Corporation.
Copyright © 1990 Motorola, Inc.
Copyright © 1990-1995 Cornell University
Copyright © 1989-1991 The University of Maryland
Copyright © 1988 Carnegie Mellon University
Copyright © 1991-1999 Mentat, Inc.
Copyright © 1996 Morning Star Technologies, Inc.
Copyright © 1996 Progressive Systems, Inc.
Copyright © 1997-2000 Isogon Corporation, All Rights Reserved
Trademark Notices
UNIX is a registered trademark in the United States and other countries, licensed exclusively through
The Open Group.
X Window System is a trademark of the Massachusetts Institute of Technology.
OSF/Motif is a trademark of the Open Software Foundation, Inc. in the U.S. and other countries.
5
Open Source Software
Some open source software is also provided with easy setup hp-ux 11.0. HP is providing this Open
Source (“Open Source Materials”) solely as a customer convenience, at no charge. The Open Source
Materials pre-installed on this system is provided to HP by third parties. HP has not tested and does not
endorse, certify, or support any of the Open Source Materials. The Open Source Materials are provided
“as is.”
HEWLETT-PACKARD COMPANY MAKES NO WARRANTY OF ANY KIND WITH REGARD
TO THE OPEN SOURCE MATERIALS, INCLUDING, BUT NOT LIMITED TO, ANY IMPLIED
WARRANTY OF NON-INFRINGEMENT MERCHANTABILITY AND FITNESS FOR A
PARTICULAR PURPOSE. HEWLETT-PACKARD COMPANY SHALL NOT BE LIABLE FOR
ANY DIRECT, INDIRECT, GENERAL, INCIDENTAL, SPECIAL OR CONSEQUENTIAL
DAMAGES IN CONNECTION WITH THE FURNISHING, PERFORMANCE OR USE OF THE
OPEN SOURCE MATERIALS WHETHER BASED ON WARRANTY, CONTRACT OR OTHER
LEGAL THEORY.
HP is providing no support, error corrections, updates or new versions of the Open Source Materials. In
no event, shall the Open Source Materials be provided to customer as an HP product or services pursuant
to the terms of the customer purchase agreement, if any.
Revision History
January 2001, Edition 1.
6
Preface
Quick Start Guide for Easy Setup hp-ux 11.0 describes how to set up your system with the pre-loaded
operating system.
This manual assumes that you have unpacked your system and connected the hardware as described in
the instructions shipped with your product.
Documentation Conventions
Unless otherwise noted in the text, this guide uses the following symbolic conventions.
user-supplied values Italic words or characters in syntax and command descriptions represent values you
must supply.
screen display Information that the system displays, commands that you must use literally, and
path names appear in this typeface.
Enter Keycaps and user interface elements appear in this typeface.
7
8
Contents
9
10
Using the Easy Setup Instant Ignition System
11
Using the Easy Setup Instant Ignition System
Introduction
Introduction
Your Easy Setup hp-ux workstation comes with hp-ux preinstalled and configured. You can use
this default setup, called Easy Setup Instant Ignition, or cold install the software yourself from the CD.
The benefit of installing the system yourself is that you have more control over the file system layout.
On the default system:
• The two disks are placed in one volume group (meaning they appear to the system as one disk).
• The disks are striped (meaning they are accessed simultaneously to improve performance).
• There is equal swap on both disks (which gives the same performance benefits as striping).
This setup is explained in detail in “The Default File System” on page 18.
Keep persistent data on one disk and You can organize your file system CD Install for Easy
system files on the other disk. in a way that will make maintaining Setup hp-ux 11.0.
the system easier.
You do not need to
Delete or substantially change the You must do this prior to installing use this guide.
preconfigured file system layout. the system.
Specify which software will be You can tailor the software load to
loaded on the system. your environment.
Want to get the system up as quickly The system’s defaults let you get This guide.
as possible. the system up fast.
You may need to
Had additional software preinstalled Installing from CD overwrites your refer to CD Install
(such as compilers), but did not preinstalled software. To reinstall for Easy Setup
order a media kit. the compilers and other add-on hp-ux 11.0.
software, you need your media kit.
12
Using the Easy Setup Instant Ignition System
Instant Ignition Overview
C Choose how to
mount your NFS
You can mount NFS file systems two ways: See “Task C: Configure for Your
NFS File System” on page 23.
file system. • With automounting. You can use either AutoFS
(default) or automounter. AutoFS offers several
advantages over automounter; however, some
applications may have problems with AutoFS.
The older automounter is slower than AutoFS and
limits data files to a maximum of 2 GB.
• With static mounts (using /etc/fstab). In
some situations, static mounts are the best
solution.
D Perform optional,
but recommended,
You may want to: See CD Install for Easy Setup
hp-ux 11.0.
modifications to • Set up NIS+ client services.
the setup. • Add local users.
• Modify kernel parameters.
You may need to refer to CD Install for Easy Setup hp-ux 11.0 in certain situations.
• easy-setup_hpux@hp.com
We respond to all email.
13
Using the Easy Setup Instant Ignition System
Task A: Connect the System to the Network
• Hostname. The hostname must be 8 characters or fewer (for example, snoopy). The fully
qualified domain name must be 64 characters or fewer (for example: snoopy.hp.com).
• IP address
• Subnetwork mask
• Gateway IP address
• DNS domain name (for example, hp.com)
• DNS server IP address
• NIS domain name if using NIS (for example, hp.com)
• Time
• Time zone
• New root password
• Network settings. Check with your network administrator to verify the duplex setting (full,
half, or auto) and speed (10 or 100 Mbits/sec) of your network connection.
2. Check connections and settings.
• If you are using a graphics monitor, make sure the keyboard, mouse, and monitor are attached
properly.
• If you are using a serial (RS-232/terminal) console, you must disconnect the keyboard, mouse,
and monitor from the system. Use common settings (baud rate = 9600, data bits = 8, parity =
none, stop bits = 1, flow control = none). To connect from a Windows system or Sun system,
see “Working with Consoles and Serial Terminal Emulators” on page 44 in CD Install for Easy
Setup hp-ux 11.0 for more information.
3. Turn on the system and check for activity.
The LCD display on the system indicates various system checks, then displays either:
Console is SER_1 for terminal (for example, DEC VT100 on serial port 1)
Console is GRAPHx for graphics, where x is the slot number of the graphics card
Shortly after this message appears, you should see activity on your monitor or terminal. Note the
following:
• If there is no activity on your graphics monitor, press Tab. The system cycles through various
monitor settings at 20-second intervals. When you see activity, press Enter to save the setting.
• If your graphics monitor still shows no activity, try connecting with a serial line. See “Working
with Consoles and Serial Terminal Emulators” on page 44 in CD Install for Easy Setup hp-ux
11.0.
• If you still do not see console activity, power off the workstation, verify your connections and
settings, and try again.
14
Using the Easy Setup Instant Ignition System
Task A: Connect the System to the Network
NOTE This is a very important step that will affect your system performance. If you did not stop the boot
process in time, perform these steps by rebooting after you complete the system setup.
What’s Next?
You can use the system as soon as it is connected to the network. However, you will likely want to:
• Modify the file system. The first two pages of the next section (“Task B: Modify the File System
Layout” on page 16) explain how to set up and manage the file system.
• Configure NFS. See “Task C: Configure for Your NFS File System” on page 23 for a description
of the two configuration methods.
For example, if you are mounting /home using NFS, you may want to perform both of these tasks. In
this case, you would comment out the mounting of /home in /etc/fstab. Then you could delete the
corresponding logical volume used for /home locally, which would turn the disk space used by
/home into unallocated space.
15
Using the Easy Setup Instant Ignition System
Task B: Modify the File System Layout
16
Using the Easy Setup Instant Ignition System
Task B: Modify the File System Layout
Swap Priority
When you add swap areas, you can assign a priority to each. Priorities range from 0 to 10:
0 (highest priority)
1 (default)
10 (lowest priority)
The system uses the swap areas with higher priority first. The system gives device swap priority over
file system swap when each has the same priority.
Follow these guidelines:
• If you have multiple swap devices on different physical hard disks and the swap devices have
similar performance, assign each an identical priority. This allows the system to use each of them
on an interleaved basis, which enhances performance.
• Assign higher priorities to the swap areas that have faster performance and lower priorities to areas
that are slower.
• File system swap should only be used as an overflow to device swap.
17
Using the Easy Setup Instant Ignition System
Task B: Modify the File System Layout
NOTE The CD Install for Easy Setup hp-ux 11.0 manual explains file system configuration in detail.
Looking at the default file system layout will help you decide how to lay out your own file system.
The pre-loaded system is configured as follows:
18
Using the Easy Setup Instant Ignition System
Task B: Modify the File System Layout
• LV Size in MB: the approximate free MB remaining on the disk(s) is noted below the LV Size
field.
• Usage: select File System, Swap Device, or None (Raw) from the drop-down list, then
specify the necessary information.
If you select File System, specify the:
— Swap Priority
— Enable status
19
Using the Easy Setup Instant Ignition System
Task B: Modify the File System Layout
• General: When you set up a swap device, select Use Contiguous Allocation for best
performance (recommended, but not required). You can turn it off, however, if the LVM
system cannot allocate that much contiguous space.
• Mirroring: Available only when you install the optional Mirror Disk System software package,
which lets you create a mirror of the working disk. For more information, see the Mirror-UX
documentation.
• Striping: Available if you have two or more disks in your volume group. If you use striping,
we recommend you set the stripe size to 64 KB.
7. Select Add and OK to exit the screens.
The logical volume is now created.
NOTE You cannot decrease the size of a logical volume. To make a logical volume smaller, you must back
up the data in the logical volume, remove the logical volume, recreate the volume with the reduced
size, and restore the data. (Make sure the reduced size is large enough to hold the data you need
to restore.)
20
Using the Easy Setup Instant Ignition System
Task B: Modify the File System Layout
a. Boot the system. When prompted, press any key to stop the boot process.
b. Restart the boot process. Execute:
bo
c. When asked if you want to interact with IPL (initial program loader), press Y.
d. At the ISL prompt, execute:
hpux -is
2. After the system boots, execute the “logical volume extend” command:
lvextend -L size_in_MB /dev/volume_group/logical_volume
Example:
lvextend -L 600 /dev/vg00/lvol5
NOTE If you do not know the logical volume name, use cat to list /etc/fstab. This shows the logical
volume names.
21
Using the Easy Setup Instant Ignition System
Task B: Modify the File System Layout
4. If desired, create logical volumes. Go to Define New Logical Volume(s) and specify the
information required (see “Creating a Logical Volume” on page 19).
5. Select OK and Add to exit the screens.
22
Using the Easy Setup Instant Ignition System
Task C: Configure for Your NFS File System
NOTE The local directory that you configure as the NFS mount point should be empty. If it is not empty, any
local files or directories it contains are hidden and inaccessible when the remote directory is mounted
over it.
• AutoFS can mount any type of file system, including NFS Protocol Version (PV) 3, while
automounter can mount only NFS PV 2. (NFS PV 3 generally offers higher performance than
NFS PV 2, and it lets you set the read/write size. NFS PV 3 also can handle files larger than 2 GB,
while NFS PV 2 cannot.)
• With AutoFS, the configured mount points are the actual mount points. The automounter method
mounts directories under /tmp_mnt and creates symbolic links from the configured mount points
to the actual ones under /tmp_mnt.
• You do not need to stop AutoFS to change your automount maps. The AutoFS daemon runs
continuously. When you make a change to an automount map, you execute automount, which
rereads the maps and then terminates. In contrast, automounter must be killed and restarted
whenever you make a change to an automount map.
23
Using the Easy Setup Instant Ignition System
Task C: Configure for Your NFS File System
NOTE Make sure none of your maps are executable. If the “x” permission bit is set on any automounting
map file, the system hangs when a mount is attempted. Set permissions to 644 (rw for owner, r for
group and others).
NOTE Do not use tabs — use only spaces. If you use a tab, AutoFS will not work.
NOTE AutoFS creates any nonexistent directories between the root directory and the configured mount point.
For example, if you attempt to mount a remote file system on /dir1/dir2, AutoFS creates /dir1
and /dir1/dir2, then mounts the remote file system on it.
24
Using the Easy Setup Instant Ignition System
Task C: Configure for Your NFS File System
a. Create /etc/auto_home.
b. Add the following line to /etc/auto_home:
* servername:/path/&
If you have multiple servers, you must add this line for each server. For example:
* dragon:/export/home/&
* laser:/export/home/&
5. Reboot the system.
25
Using the Easy Setup Instant Ignition System
Task D: Perform Optional Modifications
26
Printed in USA