17 2496 ch14 10/30/00 9:25 am page 320 chapter...

34
The following test objectives are covered in this chapter: Understanding the server environment Installing software using the interactive installation program Understanding Solstice AdminSuite Installing Solstice AdminSuite Understanding the client/server relationship C H A P T E R 14 Installing a Server

Upload: others

Post on 28-Feb-2021

2 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: 17 2496 Ch14 10/30/00 9:25 AM Page 320 CHAPTER 14ptgmedia.pearsoncmg.com/.../downloads/1578702496-ch14.pdf · 2009. 6. 9. · 17 2496 Ch14 10/30/00 9:25 AM Page 320. hapter 3, “Installing

The following test objectives are coveredin this chapter:

� Understanding the server environment

� Installing software using the interactive installation program

� Understanding Solstice AdminSuite

� Installing Solstice AdminSuite

� Understanding the client/serverrelationship

C H A P T E R

14Installing aServer

17 2496 Ch14 10/30/00 9:25 AM Page 320

Page 2: 17 2496 Ch14 10/30/00 9:25 AM Page 320 CHAPTER 14ptgmedia.pearsoncmg.com/.../downloads/1578702496-ch14.pdf · 2009. 6. 9. · 17 2496 Ch14 10/30/00 9:25 AM Page 320. hapter 3, “Installing

hapter 3, “Installing the Solaris 7 Software,” discussed setting up a single stand-alone system. In this chapter, the emphasis is on installingand configuring a server. I begin by describing a server, its role, and itsrelationship to other systems on the network. Then, I describe how to

install the operating system and some of the additional software packages that differentiatea server from a stand-alone system.

The ServerA server is a system that provides services and/or file systems, such as home directories ormail files, to other systems on the network. An operating system (OS) server is a server thatprovides the Solaris software to other systems on the network. For diskless clients, OSservers provide /usr, root (/), and swap file systems. For AutoClient systems, an OS serverprovides all system software required to set up the individual root (/) and /usr file systemsrequired for local swapping and caching. There are file servers, startup servers, databaseservers, license servers, print servers, installation servers, and even servers for particularapplications.

Systems that rely on servers are called clients. In other words, a client is a system that usesremote services from a server. Some clients have limited disk storage capacity, or perhapsnone at all; these clients must rely on remote file systems from a server to function.Diskless and AutoClient clients are examples of this type of client. Other clients might useremote services, such as installation software, from a server. These clients don’t rely on aserver to function and are referred to as stand-alone systems.

System types are defined by how they access the root (/) and /usr file systems, including theswap area. Stand-alone and server systems mount these file systems from a local disk,whereas diskless and AutoClient clients mount the file systems remotely, relying on serversto provide these services. A stand-alone system has all its Solaris software on its local diskand does not require services from an OS server. Both networked and non-networked systems can be stand-alone systems in the Solaris operating environment.

The following is a brief description of the various clients you’ll find in the Solaris 7 environment:

� Diskless client—A client that has no local disk or file systems. The diskless clientboots from the server; remotely mounts its root (/), /usr, and /export/home file sys-tems from a server; allocates swap space on the server; and gets all its data from theserver. Any files created are stored on the server.

C

17 2496 Ch14 10/30/00 9:25 AM Page 321

Page 3: 17 2496 Ch14 10/30/00 9:25 AM Page 320 CHAPTER 14ptgmedia.pearsoncmg.com/.../downloads/1578702496-ch14.pdf · 2009. 6. 9. · 17 2496 Ch14 10/30/00 9:25 AM Page 320. hapter 3, “Installing

322 CHAPTER 14 INSTALLING A SERVER

� JavaStation—A client that has no local file system and whose /home is accessedfrom a server across the network. The JavaStation runs only applications that are 100percent pure Java. All data, applications, and configuration information reside on acentralized server that is running Netra J software, a Solaris operating environment.Java applications are downloaded on demand and are executed locally.

� AutoClient—A client system type that caches (locally stores copies of data as it isreferenced) all its needed system software from a server. The AutoClient system has alocal disk, but the root (/) and /usr file systems are accessed across the network from aserver and are loaded in a local disk cache. Files in the / and /usr file systems arecopied to the cache disk as they are referenced. If a Solstice AutoClient clientaccesses an application that is not already in its disk cache, that application is down-loaded. If the application already resides in the client’s disk cache, the application isaccessed locally. AutoClient replaced the dataless client in Solaris 2.6.

Prerequisites for the ServerThe server must meet a few minimum requirements before Solaris 7 can be installed:

� The Solaris 7 release supports all sun4c, sun4d, sun4u, and sun4m platforms. Somesun4c systems might not be supported in future releases of Solaris 7 beyond the 11/99release. Check with your hardware vendor if you have a sun4c system to make sure itis supported before proceeding.

� To run a graphical user interface (GUI) installation, the system must have a minimum of 32MB of RAM. As a server, however, it is typical to have 256MB ofRAM or more.

� The disk needs to be large enough to hold the Solaris OS, swap space, and the addi-tional software, such as Solstice AdminSuite and AutoClient. You’ll also need to allo-cate additional disk space on an OS server in the /export file system for disklessclients or Solstice AutoClient systems. Plan on a minimum of 1GB of disk space, butrealistically you should have 2GB or more.

Installing Solaris 7 on the ServerBefore beginning the installation, let’s go over a preinstallation checklist.

First, gather the system identification information about your server. If the system is run-ning, you can gather all this information by using the commands listed in Table 14-1.

17 2496 Ch14 10/30/00 9:25 AM Page 322

Page 4: 17 2496 Ch14 10/30/00 9:25 AM Page 320 CHAPTER 14ptgmedia.pearsoncmg.com/.../downloads/1578702496-ch14.pdf · 2009. 6. 9. · 17 2496 Ch14 10/30/00 9:25 AM Page 320. hapter 3, “Installing

Table 14-1 System Identification Information

Information Required Command(s) Used to Gather the Information

System name /usr/bin/uname -u

Primary network interface ifconfig -a

IP address ypmatch <system_name> <host>nismatch <system_name>more /etc/inet/hosts

Domain name /usr/bin/domainname

Whether part of a subnet more /etc/netmasks

What name service is used more /etc/nsswitch.conf

Next, verify that you have enough disk space for Solaris 7 and all the copackaged and third-party software you plan to add. (Refer to Chapter 3 to find the total size of each softwareconfiguration cluster.) Normally, a server would have several gigabytes of disk space avail-able for the operating system, so you’ll be installing the full distribution cluster. Also, youneed to check with your software vendor regarding space requirements for any third-partysoftware packages as well as swap space requirements.

In addition, make sure you have enough disk space if you plan to run the following software:

� AnswerBook2

� Desktop Power Pack

� Internet Mail Service

� ODBC Driver Manager

� OpenGL

� Solstice AdminSuite

� Solstice AutoClient

� Solstice Backup

� Solstice DiskSuite

� Solaris 7 documentation

� Sun Hardware AnswerBook

� Sun MediaCenter One

� Sun WebServer

323INSTALLING SOLARIS 7 ON THE SERVER

17 2496 Ch14 10/30/00 9:25 AM Page 323

Page 5: 17 2496 Ch14 10/30/00 9:25 AM Page 320 CHAPTER 14ptgmedia.pearsoncmg.com/.../downloads/1578702496-ch14.pdf · 2009. 6. 9. · 17 2496 Ch14 10/30/00 9:25 AM Page 320. hapter 3, “Installing

These packages occasionally change in size as they are updated, so contact Sun to obtaincurrent disk space requirements for each of these packages.

T I P. Software can be installed from a local CD or from a CD-ROM located on a systemconnected to the network. However, for speed, I recommend loading the software from alocal CD-ROM drive.

Installing Software Using the InteractiveInstallation ProgramYou are now ready to install your software. I recommend one of two methods to install theoperating system: interactive or Web Start. The interactive installation process is describedin this chapter. This option offers you the most flexibility when installing the OS. WebStart, described in Appendix E, “Web Start,” does not let you set up additional disks, onlythe system disk. Use the Web Start option if you don’t have a bitmapped system consoleattached to your system but you do have access to a Web browser attached to the same network.

The following steps provide an overview of the interactive software installation procedure:

1. Insert the Solaris 7 software CD in the CD-ROM drive.

2. At the OpenBoot ok prompt, type

boot cdrom

The system starts from the CD-ROM. After a few minutes, you’ll enter the systemidentification section of the installation. Follow the system prompts, entering theinformation as it is presented. You are asked to select a language and locale. You’llalso need to enter your system’s hostname, IP address, and network information, sohave this information available.

3. After the system identification section, you’ll see the following dialog:

Solaris Interactive Installation:

This system is upgradeable, so you have two options for installing Solarissoftware.

The upgrade option updates the Solaris software on the system to the newrelease, saving as many modifications as possible that you’ve made to theprevious version of Solaris software. You should back up the system beforeusing the upgrade option.

324 CHAPTER 14 INSTALLING A SERVER

17 2496 Ch14 10/30/00 9:25 AM Page 324

Page 6: 17 2496 Ch14 10/30/00 9:25 AM Page 320 CHAPTER 14ptgmedia.pearsoncmg.com/.../downloads/1578702496-ch14.pdf · 2009. 6. 9. · 17 2496 Ch14 10/30/00 9:25 AM Page 320. hapter 3, “Installing

The initial option overwrites the system’s disks with the new version ofSolaris software. Backing up any modifications that you’ve made to the previousversion of Solaris software is recommended before starting the initial option.This option also lets you preserve any existing file systems.

After selecting an option and completing the tasks that follow, a summary ofyour selections will be displayed.

F2_Upgrade F4_Initial F5_Exit F6_Help

C A U T I O N ! All data on the OS partitions will be lost. These partitions include / (root),/usr, /opt, and /var.

4. Press F4 to select a complete reinstallation of the software. You’ll see the followingdialog:

You’ll be using the initial option for installing Solaris software on thesystem. The initial option overwrites the system’s disks when the new Solarissoftware is installed.

On the following screens, you can accept the defaults or you can customize howSolaris software will be installed by:

- Allocating space for diskless clients or AutoClient systems- Selecting the type of Solaris software to install- Selecting disks to hold software you’ve selected- Specifying how file systems are laid out on the disks

After completing these tasks, a summary of your selections (called a profile)will be displayed.

N O T E . Because you want a complete reinstallation of the software, you’ll select F4. Theupgrade option is available if you are currently running Solaris 2.6 and you want toupgrade to Solaris 7. With the upgrade option, all customizations you made in Solaris 2.6will be saved.

5. Press F2 to continue. You’ll see the following dialog:

Allocate Client Services?

Do you want to allocate space for diskless clients and/or AutoClient systems?

F2_Continue F3_Go Back F4_Allocate F5_Exit F6_Help

Press F2. Setting up client services is discussed in the later section “AddingAutoClient Support.”

325INSTALLING SOFTWARE USING THE INTERACTIVE INSTALLATION

PROGRAM

17 2496 Ch14 10/30/00 9:25 AM Page 325

Page 7: 17 2496 Ch14 10/30/00 9:25 AM Page 320 CHAPTER 14ptgmedia.pearsoncmg.com/.../downloads/1578702496-ch14.pdf · 2009. 6. 9. · 17 2496 Ch14 10/30/00 9:25 AM Page 320. hapter 3, “Installing

6. Select the additional languages from the following list that you want to use to displaythe user interface after Solaris software is installed. English is automatically installedby default.

[ ] French[ ] German[ ] Italian[ ] Spanish[ ] Swedish

F2_Continue F3_Go Back F4_Allocate F5_Exit F6_Help

If you want to select a language other than English, select it here and then press F2 tocontinue.

7. If your system is an UltraSparc (sun4u) system and it supports the 64-bit architecture,select this option to install the Solaris 64-bit packages on this system:

[ ] Select To Include Solaris 64-bit Support

F2_Continue F3_Go Back F5_Exit

If your system supports 64-bit, select this option and then press F2 to continue.

8. You’ll see the following dialog:

Select Software:

Select the Solaris software to install on the system.

NOTE: After selecting a software group, you can add or remove software bycustomizing it. However, this requires understanding of software dependenciesand how Solaris software is packaged.

[ ] Entire Distribution plus OEM support .. 656MB[X] Entire Distribution ................... 637MB (F4 to Customize)[ ] Developer System Support .............. 572MB[ ] End User System Support ............... 313MB[ ] Core System Support ................... 117MB

F2_Continue F3_Go Back F4_Customize F5_Exit F6_Help

N O T E . The End User System Support cluster is selected by default. In the precedingexample, I selected the Entire Distribution cluster, which is common for servers. After youselect the software cluster you want to install, if you press F4, you see an interactive menuthat allows you to select and deselect software packages within a particular cluster.

326 CHAPTER 14 INSTALLING A SERVER

17 2496 Ch14 10/30/00 9:25 AM Page 326

Page 8: 17 2496 Ch14 10/30/00 9:25 AM Page 320 CHAPTER 14ptgmedia.pearsoncmg.com/.../downloads/1578702496-ch14.pdf · 2009. 6. 9. · 17 2496 Ch14 10/30/00 9:25 AM Page 320. hapter 3, “Installing

9. Select the software cluster you want to install, and press F2. For a server, I recom-mend selecting the Entire Distribution cluster so that everything gets loaded.

N O T E . I always select the entire distribution on a server because it’s frustrating to haveto go back and install another package later, especially on a server supporting many users.Sometimes the Entire Distribution cluster is not installed because of the lack of disk space.With disk space as inexpensive as it is today, add a larger disk and install the entire distribution.

After pressing F2, you’ll see the following dialog:

Select Disks:On this screen you must select the disks for installing Solaris software.Start by looking at the Suggested Minimum field; this value is the approximatespace needed to install the software you’ve selected. Keep selecting disks untilthe Total Selected value exceeds the Suggested Minimum value.

Disk Device (Size) Available Space=============================================

[ ] c0t2d0 (1002 MB) 1002 MB[X] c0t3d0 (1009 MB) boot disk 1009 MB

Total Selected: 1009 MBSuggested Minimum: 591 MB

F2_Continue F3_Go Back F4_Edit F5_Exit F6_Help

10. Select your disks, and press F2. You’ll see the following dialog:

Preserve Data?Do you want to preserve existing data? At least one of the disks you’ve selectedfor installing Solaris software has file systems or unnamed slices that you maywant to save.

F2_Continue F3_Go Back F4_Preserve F5_Exit F6_Help

11. Press F2, and the data on all file systems is erased. You’ll see the following dialog:

Automatically Layout File Systems?

Do you want to use auto-layout to automatically layout file systems? Manuallylaying out file systems requires advanced system administration skills.

F2_Auto Layout F3_Go Back F4_Manual Layout F5_Exit F6_Help

327INSTALLING SOFTWARE USING THE INTERACTIVE INSTALLATION

PROGRAM

17 2496 Ch14 10/30/00 9:25 AM Page 327

Page 9: 17 2496 Ch14 10/30/00 9:25 AM Page 320 CHAPTER 14ptgmedia.pearsoncmg.com/.../downloads/1578702496-ch14.pdf · 2009. 6. 9. · 17 2496 Ch14 10/30/00 9:25 AM Page 320. hapter 3, “Installing

12. Press F2. The system automatically lays out the file systems. Sizes are determined bythe software packages you selected. If you plan to add additional software, you canmodify the file system sizes later. You’ll see the following dialog:

Automatically Layout File Systems

On this screen you must select all the file systems you want auto-layout tocreate, or accept the default file systems shown.

NOTE: For small disks, it may be necessary for auto-layout to break up some ofthe file systems you request into smaller file systems to fit the available diskspace. So, after auto-layout completes, you may find file systems in the layoutthat you did not select from the list below.

File Systems for Auto-layout========================================[X] /[X] /opt[X] /usr[ ] /usr/openwin[X] /var[X] swap

F2_Continue F5_Cancel F6_Help

13. Make your selection(s) and press F2.

N O T E . I recommend adding /var and /opt as separate file systems if you expect to havelarge spool files and to add additional software products.

For this example, I selected these additional file systems. You’ll see the followingdialog:

File System and Disk Layout

The summary below is your current file system and disk layout, based on theinformation you’ve supplied.

NOTE: If you choose to customize, you should understand file systems, theirintended purpose on the disk, and how changing them may affect the operationof the system.

File system/Mount point Disk/Slice Size================================================================

/ c0t3d0s0 55 MB/var c0t3d0s1 42 MBoverlap c0t3d0s2 1009 MB

328 CHAPTER 14 INSTALLING A SERVER

17 2496 Ch14 10/30/00 9:25 AM Page 328

Page 10: 17 2496 Ch14 10/30/00 9:25 AM Page 320 CHAPTER 14ptgmedia.pearsoncmg.com/.../downloads/1578702496-ch14.pdf · 2009. 6. 9. · 17 2496 Ch14 10/30/00 9:25 AM Page 320. hapter 3, “Installing

swap c0t3d0s3 94 MB/opt c0t3d0s5 45 MB/usr c0t3d0s6 772 MB

F2_Continue F3_Go Back F4_Customize F5_Exit F6_Help

14. Press F2 to continue. You’ll see the following dialog:

Mount Remote File Systems?

Do you want to mount software from a remote file server? This may be necessaryif you had to remove software because of disk space problems.

F2_Continue F3_Go Back F4_Remote Mounts F5_Exit F6_Help

15. Press F2 to continue, unless you want to set up remote mounts.

N O T E . I usually wait until after the initial software installation to set up these mounts.Many times the system is not connected to a production network at this point, so the mountpoints are unavailable. It’s also a personal preference to save this task for the post-installationphase, when I set up users, printers, and so on. I have a checklist of all the things I need todo after software installation, and setting up mount points is one of them.

You’ll see the following dialog:

ProfileThe information shown below is your profile for installing Solaris software.It reflects the choices you’ve made on previous screens.

=================================================================

Installation Option: InitialBoot Device: c0t3d0s0

Client Services: NoneSoftware: Solaris 2.7, Entire Distribution

File System and Disk Layout: / c0t3d0s0 55 MB/var c0t3d0s1 42 MBswap c0t3d0s3 94 MB/opt c0t3d0s5 45 MB/usr c0t3d0s6 772 MB

F2_Continue F4_Change F5_Exit F6_Help

16. Verify the information, and press F2 if you agree.

329INSTALLING SOFTWARE USING THE INTERACTIVE INSTALLATION

PROGRAM

17 2496 Ch14 10/30/00 9:25 AM Page 329

Page 11: 17 2496 Ch14 10/30/00 9:25 AM Page 320 CHAPTER 14ptgmedia.pearsoncmg.com/.../downloads/1578702496-ch14.pdf · 2009. 6. 9. · 17 2496 Ch14 10/30/00 9:25 AM Page 320. hapter 3, “Installing

N O T E . Partition sizes and disk space requirements were discussed in Chapter 3. Reviewthat chapter if you are unsure of the partitions and sizes that have been set up by the instal-lation program.

You’ll see the following dialog:

Reboot After Installation?

After Solaris software is installed, the system must be rebooted. You can chooseto have the system automatically reboot, or you can choose to manually rebootthe system if you want to run scripts or do other customizations before thereboot. You can manually reboot a system by using the reboot(1M) command.

[X] Auto Reboot[ ] Manual Reboot

F2_Begin Installation F5_Cancel

17. Make your selection, and press F2 to begin the installation. This completes the inter-active installation. You’ll see the following dialog as the software is being installed:

Preparing system for Solaris installConfiguring disk (c0t3d0)- Creating Solaris disk label (VTOC)Creating and checking UFS file systems- Creating / (c0t3d0s0)- Creating /var (c0t3d0s1)- Creating /opt (c0t3d0s5)- Creating /usr (c0t3d0s6)Beginning Solaris software installation

Solaris Initial InstallMBytes Installed: 0.00MBytes Remaining: 493.77

89 07

A meter will appear at the bottom of the screen, showing the progress of the installa-tion. When it reaches 100 percent, the system will reboot. When the interactive instal-lation completes, you can install the Solstice AdminSuite package.

Solstice AdminSuiteBy now, you should be familiar with AdminTool. I have described it several times as aneasy-to-use graphical interface for user, printer, and serial device administration. SolsticeAdminSuite is copackaged with the Solaris Operating Environment Application andEnterprise servers. It is similar to AdminTool in that it provides an easy-to-use GUI to

330 CHAPTER 14 INSTALLING A SERVER

17 2496 Ch14 10/30/00 9:25 AM Page 330

Page 12: 17 2496 Ch14 10/30/00 9:25 AM Page 320 CHAPTER 14ptgmedia.pearsoncmg.com/.../downloads/1578702496-ch14.pdf · 2009. 6. 9. · 17 2496 Ch14 10/30/00 9:25 AM Page 320. hapter 3, “Installing

facilitate routine server administration tasks. AdminSuite provides a unified suite of toolsfor administering your Solaris systems and for managing such functions as user accounts,hosts, groups, administrative data, printers, file systems, disks, and serial ports.

To start AdminSuite, type solstice at the command prompt and press Enter. The SolsticeLauncher window appears, as shown in Figure 14-1.

Figure 14-1The Solstice Launcherwindow.

331SOLSTICE ADMINSUITE

AdminTool is used to manage a stand-alone system, whereas AdminSuite addresses yourneeds for reducing the cost and complexity of managing distributed systems. AdminSuitecan assist you in administering your network in the following ways:

� It offers local administration of Solaris workgroups by using network services, such asNetwork Information Service (NIS). This centralizes desktop administration andmakes remote management painless.

� It automates routine administrative tasks, such as host setup, printer setup, and usersetup.

� It provides easy-to-use system administration tools consisting of an extensive GUI tofacilitate centralized setup and maintenance of the network environment. Administrationis done without requiring root privileges, making centralized administration a reality.

The next few sections cover the facilities provided by Solstice AdminSuite.

Host ManagementHost Manager lets you manage information about clients on the network without manuallycreating or editing files. It is used to connect client systems to the network as well as tomodify and delete them. Host Manager also allows you to add and delete OS services and toset up remote installation services. You can also use Host Manager on a local server to man-age support for clients that need remote file resources and disk storage space. Supportedclient types include stand-alone, diskless, and AutoClient. Host Manager is discussed againin the “Adding AutoClient Support” section of this chapter.

17 2496 Ch14 10/30/00 9:25 AM Page 331

Page 13: 17 2496 Ch14 10/30/00 9:25 AM Page 320 CHAPTER 14ptgmedia.pearsoncmg.com/.../downloads/1578702496-ch14.pdf · 2009. 6. 9. · 17 2496 Ch14 10/30/00 9:25 AM Page 320. hapter 3, “Installing

User ManagementUser Manager allows easy setup and maintenance of user accounts. This includes addingnew users, removing users, and updating user information. Some of the defaults that can beset include login shell, password policy, and identifying the user’s mail server.

Group ManagementGroup Manager adds, displays, modifies, and deletes groups in the NIS name service envi-ronment, on a local system, or on a remote system (/etc files) in the same way thatAdminTool manages local groups. Group Manager can also be used to add and changegroup passwords.

Administrative Data ManagementDatabase Manager is used to manage system files, such as /etc/passwd and /etc/hosts, on thelocal system, on a remote system, or in the NIS database if you have appropriate accessprivileges.

Printer ManagementPrinter Manager is a GUI that lets you install, modify, and delete printers on an LP printserver. Furthermore, if your site uses NIS, Printer Manager can provide centralized printadministration.

Centralized print administration means that you don’t have to individually configure remoteprinters for each print client on the network. If you use Printer Manager to install a printer,the printer is added to the name service and becomes available to all SunSoft print clients inthe name service. Printer Manager and printers are discussed in Chapter 20, “SolsticeAdminSuite.”

Serial Port ManagementSerial Port Manager is used to add and maintain port services for terminals and modems.Using Serial Port Manager to configure serial ports allows you to set up terminals andmodems without having to create and edit the necessary files manually. It can display serialport information and facilitate port setup, modification, or deletion. It also provides tem-plates for common terminal and modem configurations.

You can use Serial Port Manager to manage serial port information on the local system oron a remote system if you have the appropriate access privileges.

332 CHAPTER 14 INSTALLING A SERVER

17 2496 Ch14 10/30/00 9:25 AM Page 332

Page 14: 17 2496 Ch14 10/30/00 9:25 AM Page 320 CHAPTER 14ptgmedia.pearsoncmg.com/.../downloads/1578702496-ch14.pdf · 2009. 6. 9. · 17 2496 Ch14 10/30/00 9:25 AM Page 320. hapter 3, “Installing

Storage ManagementStorage Manager consists of two components: File System Manager and Disk Manager.These components help you manage the file systems and disk configurations for the systemson your network.

File System Manager enables the file system management of a server or a group of clientson a server. Disk Manager enables the management of disk slices and fdisk partitions on asingle disk or a group of equivalent disks. Storage Manager also supports the managementof High Sierra file system CD-ROMs.

With File System Manager, you can perform the following tasks:

� Create new file systems

� Modify file system options in the /etc/vfstab file

� Manage /etc/vfstab files on a single client, a group of diskless clients, or on anAutoClient system

� Mount or unmount file systems

� Share or unshare directories

� Include a file system in existing automounter maps

� Convert a directory into a mount point

With Disk Manager, you can perform the following tasks:

� Assign a name to a disk

� View and change fdisk partitions on x86 platforms

� Show and set the active fdisk partitions on x86 platforms

� View and change slice geometry on SPARC and x86 platforms

� Copy a disk’s characteristics to one or more disks of the same type

� Edit disks of the same type simultaneously (or in batches)

All of these features of AdminSuite are discussed in more detail in Chapter 20.

After installing the AdminSuite package, install any additional Solaris software packagesusing AdminTool or pkgadd. This procedure is discussed in Chapter 8, “Software PackageAdministration.”

333SOLSTICE ADMINSUITE

17 2496 Ch14 10/30/00 9:25 AM Page 333

Page 15: 17 2496 Ch14 10/30/00 9:25 AM Page 320 CHAPTER 14ptgmedia.pearsoncmg.com/.../downloads/1578702496-ch14.pdf · 2009. 6. 9. · 17 2496 Ch14 10/30/00 9:25 AM Page 320. hapter 3, “Installing

Installing AdminSuiteAdminSuite comes with only the Server edition of the Solaris software distribution, and itonly runs on Solaris version 2.4 or higher. The software is on the CD-ROM labeled “SolarisServer Intranet Extension” and is described in Chapter 20.

Preinstallation ChecklistTo perform a full installation of AdminSuite, you need 35MB of free disk space for thespooled software area and an additional 15MB of disk space for each client architecture youplan to support.

The following software packages already need to be installed on your system: SUNWadmc,SUNWadmfw, SUNWsadml, and SUNWmfrun. If these packages are not already installed,go back to the Solaris CD-ROM and install them.

Before installing the AdminSuite software, you must remove any old versions ofAdminSuite. Check to see if AdminSuite is already installed using the pkginfo command asfollows:

pkginfo | grep -i adminsuite

The system responds with the following output if AdminSuite already exists:

system SUNWadmsm Solstice AdminSuite Storage Manager Applicationsystem SUNWsadma Solstice AdminSuite Applicationssystem SUNWsadmb Solstice AdminSuite CLIsystem SUNWsadmc Solstice AdminSuite Core Methodssystem SUNWsadmm Solstice AdminSuite man pagessystem SUNWsadmo Solstice AdminSuite Object Librariessystem SUNWsadmp Solstice AdminSuite Data Filessystem SUNWspapp Solstice AdminSuite print application

If a previous version of AdminSuite exists, remove it as follows:

1. Log in as root.

2. Change directories to the /cdrom/cdrom0 directory.

3. Type

./rm_admin -v 2.2 -d /opt

Options to the rm_admin command are described in Table 14-2.

334 CHAPTER 14 INSTALLING A SERVER

17 2496 Ch14 10/30/00 9:25 AM Page 334

Page 16: 17 2496 Ch14 10/30/00 9:25 AM Page 320 CHAPTER 14ptgmedia.pearsoncmg.com/.../downloads/1578702496-ch14.pdf · 2009. 6. 9. · 17 2496 Ch14 10/30/00 9:25 AM Page 320. hapter 3, “Installing

Table 14-2 rm_admin Options

Option Description

-v Represents the version of AdminSuite you want to remove. (In the preceding example,Version 2.2 is being removed.)

-d Represents the directory in which the AdminSuite software is installed.

-f Forces the removal of software with no confirmation prompt (optional, but recommended).

To install the AdminSuite software, you must be a member of the sysadmin group for eachhost you specify during installation. The following procedure describes how to become amember of the sysadmin group:

1. Log in as root to the system.

2. Edit the /etc/group file, adding the users you want to be authorized to installAdminSuite. A sample entry is as follows:

sysadmin::14:bcalkins, bholzgen, sburge

In this example, bcalkins, bholzgen, and sburge represent the users you are adding tothe sysadmin group. You must be a member of the sysadmin group to installAdminSuite.

3. Verify that the user is a member of the sysadmin group by entering the followingcommands:

su - sburgegroups

staff sysadminexit

Perform this step for each user you add to the system.

You are now ready to proceed with the installation of Solstice AdminSuite 2.3.

Insert the CD-ROM labeled “Solaris Server Intranet Extension.” If your system is not runningVolume Manager, you must mount the CD with the following commands before accessing it:

mkdir /cdrommount -F hsfs -o ro /dev/dsk/<c?t?d0s0> /cdrom

where c?t?d0s0 represents the CD-ROM device on your system. Usually, it is set toc0t6d0s0.

335INSTALLING ADMINSUITE

17 2496 Ch14 10/30/00 9:25 AM Page 335

Page 17: 17 2496 Ch14 10/30/00 9:25 AM Page 320 CHAPTER 14ptgmedia.pearsoncmg.com/.../downloads/1578702496-ch14.pdf · 2009. 6. 9. · 17 2496 Ch14 10/30/00 9:25 AM Page 320. hapter 3, “Installing

The AdminSuite software is installed using the admin_install script found in the/AdminSuite directory on the CD-ROM. You can use the installation script to install thesoftware on systems on the network as well as stand-alone systems. Help is available whenyou run the script, and the script dialog makes it easy for you to install the product.

The Installation ProcessThe following section describes the options presented by the script during the installationprocess. To install AdminSuite, follow these steps:

1. Change to the directory on the CD-ROM that contains the admin_install script. On a system running volume manager, the mount point is/cdrom/solaris_srvr_intranet_ext_1_0/AdminSuite_2.3+AutoClient_2.1.

2. Type

./admin_install

The system responds with this:

Welcome to the Solstice Installation Program ...To exit the installation process at any time, type 0and press the Return key.

1. Install AdminSuite 2.3 and AutoClient 2.12. Install SunSoft Print Client (Solaris 2.3 - 2.5.1 only)3. Install Software Usage Monitoring Toolkit4. Set up systems to use AdminSuite and AutoClient5. Installation Help

Enter the number for one or more choices, separated by a space andthen press the Return key.[default: 1]>>>

3. Enter option 1, Install AdminSuite 2.3 and AutoClient 2.1, and press Enter.

The AdminSuite Software Location information appears, as follows:

AdminSuite Software Location1. /optChoose this option if you intend to support only one architecture of thesoftware.

2. /export/optChoose this option if you need to support multiple architectures and if you willset up other systems that will NFS mount AdminSuite.

3. Specify locationChoose this option if you intend to set up other systems to NFS mount AdminSuitebut you do not want to install the software in /export/opt.

336 CHAPTER 14 INSTALLING A SERVER

17 2496 Ch14 10/30/00 9:25 AM Page 336

Page 18: 17 2496 Ch14 10/30/00 9:25 AM Page 320 CHAPTER 14ptgmedia.pearsoncmg.com/.../downloads/1578702496-ch14.pdf · 2009. 6. 9. · 17 2496 Ch14 10/30/00 9:25 AM Page 320. hapter 3, “Installing

4. Installation HelpType 1, 2, 3, or 4 and press the Return key.[default: 1]>>>

4. Choose option 1, /opt, which installs the software in the appropriate directory.

This installation directory is the recommended directory. With this option, only onearchitecture can be used with the software. After you choose this option, the followinginstallation summary appears:

After confirming that the directory and host are correct, enter 1 to continuewith the installation. You will see a scrolling list of the log activities. Ifthe installation is successful, the following message will display in yourinstallation window:Successfully installed product: AdminSuite/AutoClient

==== Installation Summary ====Product(s): AdminSuite/AutoClientInstall Directory: /optHost(s): your_host_nameStart Installation------------------

Do you want to start the installation?1. Start installation2. Cancel installation

>>>

5. Verify the information provided in the Installation Summary. Type 1 and press Enterto continue with the installation.

You will see a scrolling list of log activities. If the installation is successful, the fol-lowing message appears:

Successfully installed product: AdminSuite/AutoClient

You’ll be notified of any problems that might have occurred if the installation wasunsuccessful.

6. Update your shell search path to include the location of the AdminSuite commands.

If you use either the Bourne or the Korn shell, type

PATH = $PATH:/opt/SUNWadm/binMANPATH = $MANPATH:/opt/SUNWadm/man

Enter these changes into your .profile startup file to make them permanent.

337INSTALLING ADMINSUITE

17 2496 Ch14 10/30/00 9:25 AM Page 337

Page 19: 17 2496 Ch14 10/30/00 9:25 AM Page 320 CHAPTER 14ptgmedia.pearsoncmg.com/.../downloads/1578702496-ch14.pdf · 2009. 6. 9. · 17 2496 Ch14 10/30/00 9:25 AM Page 320. hapter 3, “Installing

7. Start the Solstice Launcher with the following command:

/usr/bin/solstice &

The launcher should now contain the Solstice AdminSuite applications.

The Client/Server RelationshipStand-alone systems and clients access the server for various reasons. A stand-alone systemaccesses the server for data, whereas a client accesses the server to obtain its operating system as well as data. The following sections describe each of these scenarios.

Adding AutoClient SupportAfter AdminSuite has been installed as described in the preceding section, SolsticeAutoClient support software is also installed on the server. AutoClient software reduces the cost of desktop management and is a key component of centralized administration byproviding the following benefits:

� Hands-off installation—System administrators no longer need to visit each desktopto install software. They can configure the Solstice AutoClient client on the server,and after an initial boot net, the operating system is automatically cached to the desk-top. AutoClient provides an alternative to the traditional push method of software,eliminating the need to explicitly install software on the desktop.

� Field-replaceable units—Solstice AutoClient clients hold only cached data; theserver holds all original data, where it can be securely managed. In the event of anAutoClient desktop hardware failure, the machine can be replaced and started up viathe network. The user’s downtime is significantly reduced.

� Enhanced server scalability—In contrast to the dataless client, Solstice AutoClientreduces NFS reads and network traffic, improving NFS server scalability. Theclient/server ratio of AutoClient workgroups is much higher than diskless or datalessworkgroups.

� Disconnectable option—This option allows an AutoClient to continue operating ifthe server is unavailable, providing a higher level of availability for the client.

� Command-Line Interface—Allows administrators to choose between the graphicaluser interface (GUI) and the Command-Line Interface (CLI) to perform operations.

� Efficient system-wide restart—Clients restart directly from cache, reducing networktraffic during a system-wide restart.

338 CHAPTER 14 INSTALLING A SERVER

17 2496 Ch14 10/30/00 9:25 AM Page 338

Page 20: 17 2496 Ch14 10/30/00 9:25 AM Page 320 CHAPTER 14ptgmedia.pearsoncmg.com/.../downloads/1578702496-ch14.pdf · 2009. 6. 9. · 17 2496 Ch14 10/30/00 9:25 AM Page 320. hapter 3, “Installing

� Centralized client patching—Patching of Solstice AutoClients is centralized. Allpatches are applied once on the server. For example, if you add a software patch to anAutoClient system, you don’t actually install the patch on the client, because its localdisk space is reserved for caching. Instead, you add the patch to the server or to theclient’s root file system (which resides on the server) or to both. (This process is dis-cussed later in this section.)

� Remote halting and remote starting of clients—Solstice AutoClient allows the systemadministrator to remotely halt clients and start them, providing administrative controlfrom a management console.

� Operation logging—Creates a log entry for each major operation completed with thehost manager, providing a record of past transactions for diagnostic purposes.

Solstice AutoClient turns the desktop’s disk into a cache for the operating system, applica-tions, and user data. If an AutoClient client accesses an application that is not already in itsdisk cache, the application is downloaded. If the application already resides in the client’sdisk cache, the application is accessed locally. Following the initial read of data into thedesktop’s disk cache, network traffic and CPU load are reduced, allowing a higherclient/server ratio than diskless or dataless client types.

Table 14-3 lists the disk space requirements for AutoClient servers and AutoClient systems.

Table 14-3 Disk Space Requirements for AutoClient Servers and AutoClient Systems

File System Minimum Disk Space Requirements

Servers of AutoClient Systems

root (/) 1MB

/usr 4MB

/var 7.5MB

/export 17MB per OS service20MB for each AutoClient system (typically in /export)

AutoClient Systems

Cache for root (/) and /usr 70MB minimum

N O T E . If you add an AutoClient system to a server, the /export/root directory is speci-fied on the server by default to store the 20MB for each AutoClient system. However, youcan specify any directory that has available disk space. Make sure the server has enoughspace for this directory.

339THE CLIENT/SERVER RELATIONSHIP

17 2496 Ch14 10/30/00 9:25 AM Page 339

Page 21: 17 2496 Ch14 10/30/00 9:25 AM Page 320 CHAPTER 14ptgmedia.pearsoncmg.com/.../downloads/1578702496-ch14.pdf · 2009. 6. 9. · 17 2496 Ch14 10/30/00 9:25 AM Page 320. hapter 3, “Installing

Unlike diskless clients, AutoClient systems do not require their swap space to be allocatedon the server.

After the Solstice AutoClient software is installed on the server, AutoClient systems areinstalled, configured, and maintained with the command-line interface or with HostManager. Host Manager, described earlier, is part of the AdminSuite package. It is a graphicaluser interface that allows for greater efficiency and ease of use in administering yourAutoClient systems in a network environment. Using AdminSuite’s Host Manager toadminister your AutoClients is the method described in this chapter. Host Manager lets system administrators perform the following tasks:

� Add, modify, display, or remove AutoClient system support on a server

� Convert existing generic, stand-alone, and dataless systems to the AutoClient system type

� Change information about multiple AutoClient systems in one operation

The system files that may be modified by Host Manager when adding and maintainingAutoClient systems are listed in Table 14-4.

Table 14-4 Files Managed by Host Manager

System File Where Modified Description

bootparams /etc files, NIS, or NIS+ A database listing the servers that provide thepaths to a client’s boot and installation soft-ware and a client’s root and swap areas.

/etc/dfs/dfstab Server providing the A file containing a series of share commandsfile services that make file resources available to the client

system.

ethers /etc files, NIS, or NIS+ A database containing the client’s Ethernetaddress.

hosts /etc files, NIS, or NIS+ A database containing the client’s host nameand associated IP address.

timezone /etc files, NIS, or NIS+ A database containing the client’s time zone.

/export/root Server providing the A default directory that contains root files forfile services a diskless client or AutoClient system.

/export/swap Server providing the A default directory that contains the swap filefile services for a diskless client.

/tftpboot Server providing the A directory containing SPARC client bootingboot services information.

340 CHAPTER 14 INSTALLING A SERVER

17 2496 Ch14 10/30/00 9:25 AM Page 340

Page 22: 17 2496 Ch14 10/30/00 9:25 AM Page 320 CHAPTER 14ptgmedia.pearsoncmg.com/.../downloads/1578702496-ch14.pdf · 2009. 6. 9. · 17 2496 Ch14 10/30/00 9:25 AM Page 320. hapter 3, “Installing

Table 14-4 Files Managed by Host Manager (continued)

System File Where Modified Description

/rplboot Server providing the A directory containing i386 client booting boot services information.

/etc/inetd.conf Server providing the A system file that starts the tftp and rplboot services boot daemons.

cred.org_dir NIS+ An NIS+ table used to store the host’s DES andLOCAL credentials.

/var/sadm/softinfo Solaris 2.3 and Directories containing a list of OS servicesand /var/sadm/ 2.4 servers available on Solaris 2.3 and 2.4 servers.➥system/admin/➥services

If an X Window System is not available to run Host Manager, Table 14-5 describes command-line equivalents of Host Manager that can be used to manage AutoClient systems.

Table 14-5 Command-Line Equivalents of Host Manager

Command Description

admhostadd Adds support for a new system or OS server.

admhostmod Modifies an existing system or OS server. You can also add OS services to an existing OS server.

admhostdel Deletes an existing system or OS server.

admhostls Lists one or more system entries in the selected name service.

admhostls -h Lists hardware information of one or more system entries in the selected name service.

How an AutoClient System WorksThe CacheFS technology is an important component of AutoClient systems. A cache is alocal storage area for data. A cached file system is a local file system that stores files in thecache as they are referenced. Subsequent references to the same files are satisfied from thecache rather than retrieving them across the network from the server again. This functionalityreduces the load on the network and the server, and it results in faster access for the AutoClientsystem. If the cache becomes full, space is reclaimed on a least recently used (LRU) basis.Files that have not been referenced for the longest time are discarded from the cache to createfree space for the files that are currently being referenced.

341THE CLIENT/SERVER RELATIONSHIP

17 2496 Ch14 10/30/00 9:25 AM Page 341

Page 23: 17 2496 Ch14 10/30/00 9:25 AM Page 320 CHAPTER 14ptgmedia.pearsoncmg.com/.../downloads/1578702496-ch14.pdf · 2009. 6. 9. · 17 2496 Ch14 10/30/00 9:25 AM Page 320. hapter 3, “Installing

An AutoClient system uses its local disk for swap space and to cache its individual root (/) and/usr file systems from the server’s back file system. The back file system is the AutoClient’sfile system located back on the server and is usually located in /export/root/<hostname>. AnAutoClient system uses consistency checking to keep a cached file system synchronizedwith its back file system.

By default, files that are updated in the server’s back file systems are updated on theAutoClient system’s cached file systems within 24 hours. However, if the update needs tooccur sooner, you can use the autosync command. This command initiates consistencychecking that synchronizes an AutoClient system’s cached file systems with its server’sback file systems. In addition, each time an AutoClient system is started, its cached file systems are checked for consistency and updated with its server’s back file systems.

Using autosync, you can update individual AutoClient systems or all local AutoClient systemsin your network to match their corresponding back file systems. You should do this updateif you add a new package in the shared /usr directory or in one or more system / (root)directories, or if you add a patch. The procedures listed in Table 14-6, issued from theserver, illustrate the use of the autosync command.

Table 14-6 autosync Examples

Example Description

autosync Updates all AutoClient systems.

autosync -h <hostname> Use the -h option to specify a specific AutoClient system to update.

autosync -h <hostname> /usr Updates only the cached file system /usr on a specific AutoClient system.

The system responds with the names of any systems that failed to be updated. No systemresponse means that the updates were all successful. If the update fails, you will receive amessage similar to this:

sparc4:: failed:

Consistency checking for an AutoClient system is different from a system running CacheFS.AutoClient files (/ and /usr) are not likely to change often, so consistency checking does notneed to occur as frequently on an AutoClient system as it does on a system running CacheFS.This reduces traffic on your AutoClient network. Also, if you add new files to an AutoClientsystem, its server’s back file systems are updated immediately, because an AutoClient systemuses a write-through cache. A write-through cache is one that immediately updates its backfile system as data is changed or added to the cache.

342 CHAPTER 14 INSTALLING A SERVER

17 2496 Ch14 10/30/00 9:25 AM Page 342

Page 24: 17 2496 Ch14 10/30/00 9:25 AM Page 320 CHAPTER 14ptgmedia.pearsoncmg.com/.../downloads/1578702496-ch14.pdf · 2009. 6. 9. · 17 2496 Ch14 10/30/00 9:25 AM Page 320. hapter 3, “Installing

Setting Up the AutoClient ServerIn the section “Installing AdminSuite,” you installed Solstice AutoClient. After installingAutoClient, you must follow the next setup procedure to set up the server as an OS serverfor the AutoClient systems:

1. On the AutoClient server, type the following command to start the Solstice Launcher:

/usr/bin/solstice &

The Solstice Launcher window opens.

2. Click the Host Manager icon in the Solstice Launcher window.

The Host Manager: Select Naming Service window is displayed, as shown in Figure 14-2. If you are using a naming service, it shows the server’s domain name. If you are using local files, the system name is displayed.

Figure 14-2The Host Manager: SelectNaming Service window.

343THE CLIENT/SERVER RELATIONSHIP

3. Choose a Naming Service and click OK. (In the example, I’m not running a namingservice, so I chose None.)

The Host Manager window is displayed, as shown in Figure 14-3.

Figure 14-3The Host Manager window.

4. Select the system that you want to convert to an OS server from the Host Managermain window. Select Edit, Convert, and then select “to OS server” from the pop-upmenu, as shown in Figure 14-4.

17 2496 Ch14 10/30/00 9:25 AM Page 343

Page 25: 17 2496 Ch14 10/30/00 9:25 AM Page 320 CHAPTER 14ptgmedia.pearsoncmg.com/.../downloads/1578702496-ch14.pdf · 2009. 6. 9. · 17 2496 Ch14 10/30/00 9:25 AM Page 320. hapter 3, “Installing

Figure 14-4The Host Manager Editwindow.

344 CHAPTER 14 INSTALLING A SERVER

N O T E . As shown in Figure 14-4, when the pop-up menu appears, “to AutoClient” isautomatically selected, so you have to scroll down and select “to OS server.” In the example,I chose sparc4 as the OS server that supports the AutoClient systems.

The Host Manager: Convert window is displayed, as shown in Figure 14-5.

Figure 14-5The Host Manager:Convert window.

5. In the Host Manager: Convert window, below the OS Services box, click Add. TheSet Media Path window is displayed, as shown in Figure 14-6.

Figure 14-6The Set Media Path window.

17 2496 Ch14 10/30/00 9:25 AM Page 344

Page 26: 17 2496 Ch14 10/30/00 9:25 AM Page 320 CHAPTER 14ptgmedia.pearsoncmg.com/.../downloads/1578702496-ch14.pdf · 2009. 6. 9. · 17 2496 Ch14 10/30/00 9:25 AM Page 320. hapter 3, “Installing

Fill in the Set Media Path window, following these guidelines:

� If you are using the Solaris CD-ROM as the Solaris CD-ROM image, and theCD-ROM is managed by Volume Manager, enter the path /cdrom/cdrom0/s0.

� If you mounted the CD-ROM manually, enter the path <mount point to the CD>.

� If you are using a copy of the Solaris CD-ROM image on the installationserver’s hard disk, enter the path <directory where the image is loaded>.

Click OK after you’ve finished filling in the options.

The Add OS Services window appears, as shown in Figure 14-7.

Figure 14-7The Add OS Services window.

345THE CLIENT/SERVER RELATIONSHIP

6. In the Add OS Services window, choose the distribution type. The default distributiontype is Entire Distribution. Select the platform of the AutoClient system that you planto support, and click Add. The Add OS Services window closes. If you want to addmore services for other platforms, repeat this step.

N O T E . To support clients of a different platform group, you must add an OS service forthat platform. For example, if a server with Sun4m kernel architecture needs to support anAutoClient system with Sun4c kernel architecture, client support for the Sun4c kernel archi-tecture must be added to the server. In addition, for clients that require a different Solarisrelease from the OS server, you must have the appropriate Solaris CD-ROM image to addthis OS service. For example, if you have an OS server running Solaris 7 and you want it tosupport AutoClients running Solaris 2.5, you must add the Solaris 2.5 OS services to the OSserver.

7. The Host Manager: Convert window reopens. Figure 14-8 shows an example of acompleted Add OS Services window. Click OK.

17 2496 Ch14 10/30/00 9:25 AM Page 345

Page 27: 17 2496 Ch14 10/30/00 9:25 AM Page 320 CHAPTER 14ptgmedia.pearsoncmg.com/.../downloads/1578702496-ch14.pdf · 2009. 6. 9. · 17 2496 Ch14 10/30/00 9:25 AM Page 320. hapter 3, “Installing

Figure 14-8The Host Manager:Convert window.

346 CHAPTER 14 INSTALLING A SERVER

The Host Manager window opens, as shown in Figure 14-9. The bottom of the windowsays Total Changes Pending: 1.

Figure 14-9The Host Manager window.

8. Select File, Save Changes.

To verify that all the OS services have been added, make sure that the status line atthe bottom of the main window says All changes successful.

Adding AutoClients to the ServerAfter you add AutoClient OS services to the OS server, you need to add each AutoClientsystem. If an AutoClient is not listed in Host Manager, it cannot start from the OS server.You’ll use Solstice Host Manager to do this. The steps are as follows:

1. In the Host Manager main window, select Edit, Add, as shown in Figure 14-10.

17 2496 Ch14 10/30/00 9:25 AM Page 346

Page 28: 17 2496 Ch14 10/30/00 9:25 AM Page 320 CHAPTER 14ptgmedia.pearsoncmg.com/.../downloads/1578702496-ch14.pdf · 2009. 6. 9. · 17 2496 Ch14 10/30/00 9:25 AM Page 320. hapter 3, “Installing

Figure 14-10The Host Manager mainwindow.

347THE CLIENT/SERVER RELATIONSHIP

The Host Manager: Add window opens, as shown in Figure 14-11.

Figure 14-11The Host Manager: Addwindow.

2. Fill in the system information for the AutoClient system. The System Type is set to SolarisStandalone. Change the System Type to Solstice AutoClient, as shown in Figure 14-12.

Figure 14-12Select the System Type.

17 2496 Ch14 10/30/00 9:25 AM Page 347

Page 29: 17 2496 Ch14 10/30/00 9:25 AM Page 320 CHAPTER 14ptgmedia.pearsoncmg.com/.../downloads/1578702496-ch14.pdf · 2009. 6. 9. · 17 2496 Ch14 10/30/00 9:25 AM Page 320. hapter 3, “Installing

The Host Manager: Add window changes to look like Figure 14-13.

Figure 14-13The Host Manager: Addwindow.

348 CHAPTER 14 INSTALLING A SERVER

After entering the required information, click OK.

You’ll return to the Host Manager main window, as shown in Figure 14-14.

Figure 14-14The Host Manager mainwindow.

Repeat steps 1 and 2 to add subsequent AutoClient systems.

3. When you are ready to confirm the addition of all the AutoClient systems listed in theHost Manager window, choose File, Save Changes.

Starting an AutoClient SystemOn an AutoClient system, the operating system and application software are installed on theworkstation by performing a boot net at the ok OpenBoot prompt on the workstation. Thefollowing command is used to start the AutoClient system for the first time:

ok boot net <cr>

The first time the AutoClient system is started, you are prompted to provide system configuration information for the AutoClient system. You’re also prompted to create a rootpassword.

17 2496 Ch14 10/30/00 9:25 AM Page 348

Page 30: 17 2496 Ch14 10/30/00 9:25 AM Page 320 CHAPTER 14ptgmedia.pearsoncmg.com/.../downloads/1578702496-ch14.pdf · 2009. 6. 9. · 17 2496 Ch14 10/30/00 9:25 AM Page 320. hapter 3, “Installing

Similar to the Solaris JumpStart product that is described in Chapter 15, “JumpStart,” theclient’s disk and software are automatically set up and installed, but now, instead of requiringthe ongoing administration of each client as a stand-alone, all the files used by the desktopare preserved on a network server.

After it is up and running, any changes made on the client are also written back to theserver. Should the desktop system experience a component failure, a similarly configuredsystem can be put in its place and brought back up in a matter of minutes. The net effect isthat the desktop is a field-replaceable unit (FRU), and both backups and hardware mainte-nance have a reduced impact on the system administrator’s time.

Patching an AutoClient SystemAs stated earlier in this book, a software patch is a collection of files and directories thatreplaces or updates existing files and directories that are preventing proper execution of thesoftware. On diskless clients and AutoClient systems, all software resides on the server. Ifyou add a software patch to an AutoClient system, you don’t actually install the patch onthe client, because its local disk space is reserved for caching. Instead, you add the patch tothe server, to the client’s root file system (which resides on the server), or to both. AnAutoClient system’s root file system is typically in /export/root/<hostname> on the server.

Applying patches to clients is typically complicated, because the patch might place softwarepartially on the client’s root file system and partially on the OS service used by that client.To reduce the complexity of installing patches on diskless clients and AutoClient systems,the Solstice AutoClient product includes the admclientpatch command. The options and usesof the admclientpatch command are listed and described in Table 14-7.

Table 14-7 admclientpatch Options

Option Description

-a <patch_dir/patch_id> Adds a patch to a spool directory on the server. <patch_dir> is the source directory where patches reside on a patch server. <patch_id> is a specific patchID number, as in 102209-01.

-c Lists all diskless clients, AutoClient systems, and OS services, along withpatches installed on each that are served by this server.

-p Lists all currently spooled patches.

-r <patch_id> Removes the specified <patch_id> from the spool directory.

-s Synchronizes all AutoClients so that the patches they are running match thepatches in the spool directory.

349THE CLIENT/SERVER RELATIONSHIP

17 2496 Ch14 10/30/00 9:25 AM Page 349

Page 31: 17 2496 Ch14 10/30/00 9:25 AM Page 320 CHAPTER 14ptgmedia.pearsoncmg.com/.../downloads/1578702496-ch14.pdf · 2009. 6. 9. · 17 2496 Ch14 10/30/00 9:25 AM Page 320. hapter 3, “Installing

admclientpatch provides a way to manage patches on all AutoClient systems. You can use itto initially establish a patch spool directory on the OS server. The spool directory is/opt/SUNWadmd/2.3/Patches. Then, by using admclientpatch with the -s option, you cansynchronize patches running on the clients (and their associated services in /usr) so thatthey match the revisions of the patches in the spool directory.

The general procedure for maintaining patches on AutoClient systems is as follows:

Use admclientpatch -a or -r to create or update a spool directory of all appropriate patcheson the local machine as follows:

admclientpatch -a /tmp/106828-01 <cr>

The system responds with this:

Copying the following patch into spool area: 106828-01 . done

If the patch being added to the spool directory makes any existing patches obsolete,admclientpatch archives the old patches in case they need to be restored.

On any client server, use admclientpatch -s to synchronize patches installed on clients withpatches in the spool directory as follows. The -v option reports whether admclientpatch isadding new patches or backing out unwanted patches.

admclientpatch -s -vSynchronizing service: Solaris_2.6

Removing patches installed but not spooled.To find currently spooled patches, run ‘admclientpatch -p’

105654-03 .Installing patches spooled but not installed

106828-01 ...................................Synchronizing client: sparc44

Installing patches spooled but not installed106828-01 .........

All done synchronizing patches to existing clients and OS services.Note: The following machines were affected by these patchesand should be rebooted: sparc44

The admclientpatch command is a front end to the standard patch utilities, installpatch andbackoutpatch. Using these utilities, installing and backing out a patch are distinct tasks.However, by using admclientpatch -s, you do not need to be concerned about whether youare installing or backing out a patch. The -s option ensures that admclientpatch takes theappropriate actions. It either installs the patch on the server and in the client’s own file systemson the server, or it backs out the patch from the client and server and reinstalls the previousversion of that patch. This is what is meant by synchronizing patches installed on the clientswith patches in the patch spool directory.

350 CHAPTER 14 INSTALLING A SERVER

17 2496 Ch14 10/30/00 9:25 AM Page 350

Page 32: 17 2496 Ch14 10/30/00 9:25 AM Page 320 CHAPTER 14ptgmedia.pearsoncmg.com/.../downloads/1578702496-ch14.pdf · 2009. 6. 9. · 17 2496 Ch14 10/30/00 9:25 AM Page 320. hapter 3, “Installing

If you use Host Manager to add new diskless clients and AutoClient systems to a network’sconfiguration files, it automatically sets up those new clients with the patches in the patchspool directory. Host Manager might detect that the installation of a patch in an OS servicearea might have made all other clients of that service out of sync with the patch spool direc-tory. If so, Host Manager issues a warning for you to run admclientpatch -s to synchronizethe patches that are installed on existing diskless clients or on AutoClients with the patchesin the patch spool directory.

Use the following command to verify that the patch has been added to the default patchspool directory:

admclientpatch -p

The system responds with a list of patches installed:

Solaris 2.4 sparc102755-01 SunOS 5.4_x86: rpld fixes101945-13 SunOS 5.4: jumbo patch for kernel102039-04 SunOS 5.4: jumbo patch for package installation utilities102066-02 SunOS 5.4: sendmail bug fixes

106828-01 SunOS:5.6: /usr/bin/date patch

Solaris 2.5 i386102939-06 AutoClient 1.1: allow disconnected CacheFS mountsSolaris 2.5 sparc102906-06 AutoClient 1.1: allow disconnected CacheFS mountsSolaris 2.5.1 i386103007-06 AutoClient 1.1: allow disconnected CacheFS mountsSolaris 2.5.1 ppc102940-06 AutoClient 1.1: allow disconnected CacheFS mountsSolaris 2.5.1 sparc103006-06 AutoClient 1.1: allow disconnected CacheFS mountsSolaris 2.5.1_ppc ppc102940-06 AutoClient 1.1: allow disconnected CacheFS mountsSolaris 2.6 sparc106828-01 SunOS 5.6: /usr/bin/date patch

To verify that the patches in the Solstice AutoClient patch spool directory are running ondiskless clients and AutoClient systems, use the admclientpatch command with the -coption:

admclientpatch -c

351THE CLIENT/SERVER RELATIONSHIP

17 2496 Ch14 10/30/00 9:25 AM Page 351

Page 33: 17 2496 Ch14 10/30/00 9:25 AM Page 320 CHAPTER 14ptgmedia.pearsoncmg.com/.../downloads/1578702496-ch14.pdf · 2009. 6. 9. · 17 2496 Ch14 10/30/00 9:25 AM Page 320. hapter 3, “Installing

The system responds with this:

Clients currently installed are:sparc44 Solaris, 2.6, sparc

Patches installed :OS Services available are:

Solaris_2.6Patches installed : 106828-01

This general procedure for maintaining patches assumes that the OS server (that is, theserver providing OS services to clients) is the same system with the patch spool directory.However, if your site has several OS servers for your AutoClient systems, you might wantto use a single file server for the patch spool directory and then mount that directory on theOS servers using NFS.

C A U T I O N ! Do not manually add or remove patches from the spool directory. Instead,use the admclientpatch command for all your patch administration tasks.

Whenever you use AdminSuite Host Manager to add new clients, Host Manager consultsthe patch spool directory and automatically installs any relevant patches on those newclients.

SummaryThis chapter discussed setting up the server. Many additional tasks take place after the OSis installed, such as setting up the NIS and the network environment. These topics are cov-ered in Chapter 17, “Networking,” and in Chapter 18, “The NFS Environment.” Also, don’tforget to back up your partitions (see Chapter 12, “Backup and Recovery”) after you’redone setting up the server.

Next we will take a look at setting up the server to support stand-alone installations usingthe JumpStart utility. Using JumpStart, clients on the network will look to the server for theinstallation of their OS.

352 CHAPTER 14 INSTALLING A SERVER

17 2496 Ch14 10/30/00 9:25 AM Page 352

Page 34: 17 2496 Ch14 10/30/00 9:25 AM Page 320 CHAPTER 14ptgmedia.pearsoncmg.com/.../downloads/1578702496-ch14.pdf · 2009. 6. 9. · 17 2496 Ch14 10/30/00 9:25 AM Page 320. hapter 3, “Installing

17 2496 Ch14 10/30/00 9:25 AM Page 353