Index of /solaris/tftpboot/old/adminpack-docs

[ICO]NameLast modifiedSizeDescription

[PARENTDIR]Parent Directory   -  
[DIR]components/ 2000-01-21 06:45 -  
[TXT]Copyright 2000-01-21 06:17 4.8K 
[TXT]installer 2000-01-21 06:35 5.1K 
[TXT]ab2cd 2000-01-21 06:42 67K 

SOLARIS 8 Admin Pack DOCUMENTATION CD IMPORTANT INFORMATION

Solaris 8 Admin Pack Documentation CD
Important Information

Copyright 2000 Sun Microsystems, Inc., 901 San Antonio Road, Palo Alto, California 94303 U.S.A. All rights reserved.

Copyright 2000 Sun Microsystems, Inc., 901 San Antonio Road, Palo Alto, Californie 94303 Etats-Unis. Tous droits réservés.


Contents

CD Overview and Contents
Installation Requirements
Installing the AnswerBook2 Software
Using pkgadd to Install AnswerBook2 Server Software
Using pkgadd to Install Book Collections
Adding Book Collections to the AnswerBook2 Server's Database
Reading Documentation Directly from the CD
Troubleshooting

CD Overview and Contents

The Solaris 8 Admin Pack Documentation CD includes the AnswerBook2TM documentation server software and the Admin Pack online documentation. The Admin Pack online documentation is viewable through an AnswerBook2 documentation server and any HTML 3.2-compliant web browser. Beginning with the Solaris 2.6 release, the AnswerBook2 product replaces the AnswerBook product from previous Solaris product releases. For more information about the AnswerBook2 product, install the AnswerBook2 server software and view its online Help.

The Solaris 8 Admin Pack Documentation CD includes the following:


Installation Requirements

Your system requirements depend on what you want to do:


Installing the AnswerBook2 Software

The Documentation CD includes a point-and-click interface called "installer" that you can use to install server software and documentation collections or you can use standard utilities, such as pkgadd (See Using pkgadd to Install the AnswerBook2 Software).

To install the AnswerBook2 server software and document collections using the installer (Web Start utility), perform the following steps:

  1. Insert the Solaris 8 Admin Pack Documentation CD into the CD-ROM drive.

    The Volume Manager should mount the CD automatically.

  2. Double-click the installer icon and follow the instructions on the screens.

  3. If you are running CDE (Common Desktop Environment) and you see an Action:Run window that has Options and Argument fields, click OK.

    This closes the window.

  4. If you are not already logged in as superuser on the system, type the system's root password when prompted.

  5. Select Default Install (documentation server software and all document collections on the CD) or Custom Install (selected items), then click Next to continue.

    Default Install installs the documentation server software and all document collections on the CD. Custom Install enables you to select to install the documentation server software and specific collections (see the table of document collections). For information on adding book collections from other locations, see Adding Book Collections to the AnswerBook2 Server's Database.

    You can follow the progress of the installation through the status bar.

  6. Upon completion of the installation, a script automatically starts the server software. To verify the server has started, use one of the following methods:

    If the server is not running, type the following command as superuser:

    # /usr/lib/ab2/bin/ab2admin -o start
    
  7. When the installer is done, your server starts up using default configuration information. For information about changing your server's configuration, see the following:


Using pkgadd to Install AnswerBook2 Server Software

To install the AnswerBook2 server software using the pkgadd utility, perform the following steps:

  1. Log in as superuser on the documentation server machine.

  2. Shut down existing AnswerBook2 server software and remove packages.

    If an AnswerBook2 server is running on this machine, use the following command to shut down the server:

    	# /usr/lib/ab2/bin/ab2admin -o stop
    

    To remove existing AnswerBook2 server software, use the following command:

    	# pkgrm SUNWab2r SUNWab2s SUNWab2u
    

    You do not need to remove existing document collections. The new server software will read them.

  3. Insert the Solaris 8 Admin Pack Documentation CD into your CD-ROM drive.

    The Volume Manager should mount the CD automatically.

  4. Go to the location of the documentation server packages.

    For example, you might type a command similar to the following to go to the location on a CD of the server software packages for a SPARCstation system:

    	# cd /cdrom-mount-point/sparc/Product/
    

    where cdrom-mount-point is the mount-point, including volume name, for the CD-ROM device.

  5. Launch the installation utility.

    For example, type:

    	# pkgadd -d .
    
  6. Select these server software packages to install.

  7. Respond to prompts about superuser permissions when needed.

  8. Install the document collections.

    For more information, see Using pkgadd to Install Book Collections.

  9. Upon completion of the installation, a script automatically starts the server software. To verify the server has started, use one of the following methods:

    If the server is not running, type the following command as superuser:

    # /usr/lib/ab2/bin/ab2admin -o start
    
  10. When the installation scripts are done, your server starts up using default configuration information. For information about changing your server's configuration, see the following:


Using pkgadd to Install Book Collections

To install document collection packages onto your server from the Solaris 8 Admin Pack Documentation CD:

  1. Log in as superuser on the documentation server machine.

  2. Insert the Solaris 8 Admin Pack Documentation CD into your CD-ROM drive.

    The Volume Manager should mount the CD automatically.

  3. Go to the location of the document collection packages.

    For example, you might type a command similar to the following to go to the location on a CD of the document collection packages:

    	# cd /cdrom-mount-point/common/Product/
    

    where cdrom-mount-point is the mount-point, including volume name, for the CD-ROM device.

  4. Launch the installation utility.

    For example, type:

    	# pkgadd -d .
    
  5. Select from the following collections, listed by package name.

    Package Collection Title
    SUNWabau Sun Enterprise Authentication Mechanism Collection
    SUNWpppab Solstice PPP 3.0.1 Collection
    SUNWinsu Solaris 8 Admin Pack Collection

The document collection packages included on this CD include a post-install script that adds the collections to the server's database and restarts the server. For information about adding other document collections to the server's database, see Adding Book Collections to the AnswerBook2 Server's Database.


Adding Book Collections to the AnswerBook2 Server's Database

When you install the AnswerBook2 server software, it looks for document collections that are installed on your system. If you install document collections from other locations (such as other Sun product CDs or Sun web sites), the installation process might not automatically add them to the server's database. If you need to add document collections to your server's database (assuming the collections have been installed through some installation utility):


Reading Documentation Directly From the CD

To run an AnswerBook2 server directly from the CD, perform the following steps:

  1. Insert the Solaris 8 Admin Pack Documentation CD into the CD-ROM drive.

  2. Change the directory to the top level of the CD-ROM volume.

    Among other things, this directory contains the executable script ab2cd.

  3. Run the following command (or double-click the ab2cd icon):

      	# ./ab2cd
    

    This command causes an AnswerBook2 server process to start running on your system, using the AnswerBook2 software and document collections included on the CD.

  4. To view the documentation, launch any HTML 3.2-compliant web browser and go to the following URL:

    	http://server:port
    

    where server is the name of the machine to which the CD is attached and port is the port on which the server is running and defaults to 8888.

  5. If you have existing AnswerBook2 documentation collections installed on your server machine and you want the CD-driven server software to recognize those collections, use the following command:

    	# ./ab2cd -s
    

    This causes the CD-driver server software to scan for document collections installed on this system and add them to its database.

  6. To stop running the server from the CD, run the following command:

    	# /cdrom-mount-point/ab2cd stop
    

    where cdrom-mount-point is the mount-point, including volume name, for the CD-ROM device.

For more information about the ab2cd command, see the ab2cd man page that installs with the Solaris 8 operating environment.

Important Notes When Running the AnswerBook2 Server From the CD

  1. The AnswerBook2 Server running from the CD attempts to run on port 8888. If you already have an AnswerBook2 Server running on your system using the default port (8888), the ab2cd script will display the following message:

         A document server is already running on this system as server:8888.
         Please shut down the current server before running the ab2cd command.
    

    At this point, you can do one of two things:

  2. The ab2cd utility is a "read-only" AnswerBook2 documentation server. You cannot "administer" an AnswerBook2 server that is running from the CD.

  3. Always use ab2cd stop to stop the server running from the CD. Do not use /etc/init.d/ab2mgr stop to stop the CD-based server.

    The ab2cd stop command stops the AnswerBook2 server process and cleans up all files in the /tmp/.ab2/ and /tmp/ab2cd_config/ directories. The /etc/init.d/ab2mgr stop command stops all server processes, but does not clean up the files in the /tmp/.ab2/ and /tmp/ab2cd_config/ directories.

  4. To run two AnswerBook2 servers (one on your system, one from the CD), keep these rules in mind:


Troubleshooting

This section identifies known problems getting up and running with the AnswerBook2 server or the ab2cd utility. For complete AnswerBook2 troubleshooting information, see the "Solving AnswerBook2 Problems" in Installing and Administering an AnswerBook2 Server from the AnswerBook2 viewer.

If you see this... Respond this way...
Library Page shows only a subset of available collections. If you installed collections, and only some users see them, remind the users to redefine their Personal Library Preferences.
Library Page shows only the AnswerBook2 Help Collection. The AnswerBook2 Server comes with Help by default. You have to install other collections and add them to the server's database. For more information, see Using pkgadd to Install Book Collections and Adding Book Collections to the AnswerBook2 Server's Database.
Library Page displays only the navigation bar and no document collections. Verify that the collection template file (/usr/lib/ab2/dweb/data/config/ab2_collections.template) does not contain empty or duplicate entries. If the errors persist, you may have to reinstall the server software as described in Using pkgadd to Install AnswerBook2 Server Software.
A search for locally-installed document collections does not find document collections that are installed on a local mount point. Verify that the directory into which the collections are installed has read access set for others.
Error message: AnswerBook2 server software not found at path %s. You gave an incorrect path name to the ab2cd command or gave it no path, but were not in its current directory.
Error message: Missing required options. You used the ab2cd command with invalid options. See the ab2cd man page for details about the ab2cd command options.
Error message: Error opening /cdrom/sol_8_doc@Ab2PrintProcess: Read-only file system. You tried to print from an ab2cd-based server and accepted the default path for saving a file. Either change your browser settings or type in a different path. For information on changing browser settings to support printing from an AnswerBook2 server, see "Changing Printing Options" in the AnswerBook2 Help.

Return to top of page