Managing Systems and Workgroups: A Guide for HP-UX System Administrators

Contents
15
Making Configuration Changes with System Files. . . . . . . . . . . . . . . . . . . . . . . . 356
Uses for System Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 358
Managing Device Bindings. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 359
Primary Swap Device . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 360
Dump Devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 361
Device Driver Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 361
The Kernel Configuration Log File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 362
Parsing Command Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 363
Recovering from Errors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 364
The Automatic backup Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 365
Booting a Saved Configuration. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 366
Booting in Fail-Safe Mode. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 366
Guidelines for Recovering from Errors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 367
Kernel Configuration Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 368
Kernel Configuration Quick Reference Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 375
Transition from Previous HP-UX Releases . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 379
4. Configuring a Workgroup
Installing New Systems. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 384
Configure New Systems into the Network . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 384
Configuring /etc/hosts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 385
Setting Network Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 385
Allowing Access to Remote Systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 386
$HOME/.rhosts file. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 386
Enabling X Server Access. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 386
Configure New Systems into a Workgroup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 387
Adding Users to a Workgroup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 388
Accessing Multiple Systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 388
Sharing Remote Work Directories . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 388
Local versus Remote Home Directories. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 389
Adding a User to Several Systems: A Case Study . . . . . . . . . . . . . . . . . . . . . . . . . . 389
Exporting a Local Home Directory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 391
Implementing Disk-Management Strategy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 393
Sharing Files and Applications via NFS and ftp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 394
Exporting a File System (HP-UX to HP-UX) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 395
Importing a File System (HP-UX to HP-UX) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 396
Importing HP-UX Directories to NT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 400
CIFS/9000 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 401