COSmanager/User Guide/Installing COSmanager
From Documentation
Revision as of 06:37, 20 April 2006 Daniels (Talk | contribs) ← Previous diff |
Revision as of 12:48, 24 April 2006 Moff (Talk | contribs) Next diff → |
||
Line 5: | Line 5: | ||
*license the software | *license the software | ||
- | Once COSmanager is installed, the next task is to set up the initial COSmanager configuration — see [[Configuring COSMOS]]. | ||
- | Note You must have a valid license key for each host that you intend to install COSmanager on. | + | Once COSmanager is installed, the next task is to set up the initial COSmanager configuration — see [[Configuring COSmanager]]. |
- | See your COSmanager distributor to obtain license keys if you don’t already have them. | + | |
+ | ---- | ||
+ | ;Note: You must have a valid license key for each host that you intend to install COSmanager on. See your COSmanager distributor to obtain license keys if you don’t already have them. | ||
+ | ---- | ||
+ | |||
+ | <br> | ||
== Installing the COSmanager Framework == | == Installing the COSmanager Framework == | ||
+ | |||
This chapter explains how to install the COSmanager application framework on a host for the first time. You will only need to install the framework once. Once COSmanager is fully installed, upgrading or installing a new version of the COSmanager framework is handled in the same way as for any other COSmanager product or application. See [[Installing COSMOS Applications and Modules]]. | This chapter explains how to install the COSmanager application framework on a host for the first time. You will only need to install the framework once. Once COSmanager is fully installed, upgrading or installing a new version of the COSmanager framework is handled in the same way as for any other COSmanager product or application. See [[Installing COSMOS Applications and Modules]]. | ||
+ | <br> | ||
=== What will happen === | === What will happen === | ||
+ | |||
You will: | You will: | ||
- | *open a root shell, and extract FSinstall from the distribution tape | + | *open a root shell, and extract FSinstall from the distribution file |
*run FSinstall | *run FSinstall | ||
- | *specify a home directory and password for COSmanager | + | *specify a home directory for COSmanager |
*enter the license key | *enter the license key | ||
+ | |||
FSinstall will: | FSinstall will: | ||
*check whether you are installing COSmanager for the first time or reinstalling over a previous or partial installation | *check whether you are installing COSmanager for the first time or reinstalling over a previous or partial installation | ||
*create an account and group for COSmanager | *create an account and group for COSmanager | ||
- | *copy the COSmanager files from the distribution tape, and set their ownership and permissions | + | *copy the COSmanager files from the distribution file, and set their ownership and permissions |
*verify your license key | *verify your license key | ||
- | |||
- | === Remote installation === | ||
- | You may wish to install COSmanager applications on a host that does not have an attached tape drive. [[Installing From a Remote Host]] describes how to allow COSmanager access to the target host. | ||
- | Alternatively, you can use dd to extract selected files from the tape and ftp or rcp to copy them to the remote host. | + | <br> |
+ | == To install the COSmanager distribution === | ||
- | The first file on the distribution tape (file 0) contains the install script FSinstall and a ‘table of contents’ listing the COSmanager applications stored on this tape. The second file contains the COSmanager framework. Each subsequent file contains | ||
- | a COSmanager application. | ||
- | |||
- | == To install the COSmanager distribution === | ||
*Open a root shell, either by logging in as root or running su from a shell prompt. | *Open a root shell, either by logging in as root or running su from a shell prompt. | ||
- | Caution Don’t shell out from an existing COSmanager application. | + | ---- |
- | If you attempt to install or upgrade COSmanager from a COSmanager shell, the environment will not be set up correctly and you may damage the existing software. | + | ;Caution: Don’t shell out from an existing COSmanager application. If you attempt to install or upgrade COSmanager from a COSmanager shell, the environment will not be set up correctly and you may damage the existing software. |
+ | ---- | ||
*Change directory to /tmp. | *Change directory to /tmp. | ||
- | *Retrieve the installation script FSinstall from the distribution tape: cpio -icvB FSinstall < no-rewind device | + | *Retrieve the installation script FSinstall from the distribution file: <tt>cpio -icvB FSinstall < <file></tt> |
- | *Run FSinstall: ./FSinstall [ -h Drivehost ] no-rewind device where no-rewind device is the name of the drive containing the distribution tape, and -h Drivehost is the name of the host to which the drive is attached (the default is the current host). | + | *Run FSinstall: <tt>./FSinstall <file></tt> |
+ | |||
FSinstall checks the password file to see if there is an existing copy of the COSmanager framework on this host. | FSinstall checks the password file to see if there is an existing copy of the COSmanager framework on this host. | ||
- | If an older version of COSmanager is found, FSinstall terminates. You should run the existing COSmanager and install this new version using the Application > Install option. See [[Installing COSMOS Applications and Modules]]. | + | If an older version of COSmanager is found, FSinstall terminates. You should run the existing COSmanager and install this new version using the Application > Install option. See [[Installing COSmanager Applications and Modules]]. |
If you are reinstalling over a previous installation, FSinstall will save a copy of the old database. | If you are reinstalling over a previous installation, FSinstall will save a copy of the old database. | ||
Line 54: | Line 57: | ||
*FSinstall creates an account for COSmanager, using the highest free UID lower than 100. Then it creates a group, also called COSmanager, using the highest free GID lower than 100. | *FSinstall creates an account for COSmanager, using the highest free UID lower than 100. Then it creates a group, also called COSmanager, using the highest free GID lower than 100. | ||
- | Note Some UNIX systems may warn you that the UID used for COSmanager is in the range usually reserved for system accounts. | + | ---- |
- | The warning can be ignored. | + | ;Note: Some UNIX systems may warn you that the UID used for COSmanager is in the range usually reserved for system accounts. The warning can be ignored. |
+ | ---- | ||
*Now enter a password for the COSmanager account. Once you have finished running FSinstall, you will need this password to log in to the COSmanager account to configure COSmanager. | *Now enter a password for the COSmanager account. Once you have finished running FSinstall, you will need this password to log in to the COSmanager account to configure COSmanager. | ||
Line 72: | Line 76: | ||
The next step is to set up the initial COSmanager configuration. See [[Configuring COSMOS]]. | The next step is to set up the initial COSmanager configuration. See [[Configuring COSMOS]]. | ||
+ | |||
+ | <br> |
Revision as of 12:48, 24 April 2006
COSmanager provides a framework for installing and managing COSmanager applications. You first install and configure the COSmanager framework, then install and configure each COSmanager application.
This section explains the steps you need to follow to install the COSmanager framework:
- run the install script to copy the files from the distribution tape
- license the software
Once COSmanager is installed, the next task is to set up the initial COSmanager configuration — see Configuring COSmanager.
- Note
- You must have a valid license key for each host that you intend to install COSmanager on. See your COSmanager distributor to obtain license keys if you don’t already have them.
Installing the COSmanager Framework
This chapter explains how to install the COSmanager application framework on a host for the first time. You will only need to install the framework once. Once COSmanager is fully installed, upgrading or installing a new version of the COSmanager framework is handled in the same way as for any other COSmanager product or application. See Installing COSMOS Applications and Modules.
What will happen
You will:
- open a root shell, and extract FSinstall from the distribution file
- run FSinstall
- specify a home directory for COSmanager
- enter the license key
FSinstall will:
- check whether you are installing COSmanager for the first time or reinstalling over a previous or partial installation
- create an account and group for COSmanager
- copy the COSmanager files from the distribution file, and set their ownership and permissions
- verify your license key
To install the COSmanager distribution =
- Open a root shell, either by logging in as root or running su from a shell prompt.
- Caution
- Don’t shell out from an existing COSmanager application. If you attempt to install or upgrade COSmanager from a COSmanager shell, the environment will not be set up correctly and you may damage the existing software.
- Change directory to /tmp.
- Retrieve the installation script FSinstall from the distribution file: cpio -icvB FSinstall < <file>
- Run FSinstall: ./FSinstall <file>
FSinstall checks the password file to see if there is an existing copy of the COSmanager framework on this host.
If an older version of COSmanager is found, FSinstall terminates. You should run the existing COSmanager and install this new version using the Application > Install option. See Installing COSmanager Applications and Modules.
If you are reinstalling over a previous installation, FSinstall will save a copy of the old database.
- If you are installing for the first time, FSinstall prompts you for the home directory for COSmanager. Enter a directory name or press Return to accept the default.
- FSinstall creates an account for COSmanager, using the highest free UID lower than 100. Then it creates a group, also called COSmanager, using the highest free GID lower than 100.
- Note
- Some UNIX systems may warn you that the UID used for COSmanager is in the range usually reserved for system accounts. The warning can be ignored.
- Now enter a password for the COSmanager account. Once you have finished running FSinstall, you will need this password to log in to the COSmanager account to configure COSmanager.
- FSinstall now:
- unloads the files from the distribution into the COSmanager home directory
- sets their ownership and permissions
- synchronizes COSmanager’s own hostinfo and netinfo tables with information from your system hosts and networks files
- creates audit trails and log files
- The next step is to license the software. You can find this information on the Licence Key Details form, which you should have received with the COSmanager package. If you don’t have this form, or if there is any problem with licensing, contact your COSmanager distributor.
COSmanager must be licensed separately on each host on which it is installed.
- Once all the licensing information has been successfully entered, the installation is complete.
The next step is to set up the initial COSmanager configuration. See Configuring COSMOS.