COSmanager/User Guide/Installing COSmanager
This page was last modified 05:58, 6 August 2007.From Documentation
Revision as of 06:27, 18 April 2006 Daniels (Talk | contribs) ← Previous diff |
Current revision Daniels (Talk | contribs) (→To install the COSmanager distribution) |
||
Line 1: | Line 1: | ||
- | COSmanager provides a framework for installing and managing COSmanager applications. | + | 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. |
- | 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: |
- | This chapter explains the steps you need to follow to install the COSmanager framework: | + | *run the install script to copy the files from the distribution tape |
- | • run the install script to copy the files from the distribution tape | + | *license the software |
- | • license the software | + | |
- | Once COSmanager is installed, the next task is to set up the initial COSmanager | + | |
- | configuration—see Configuring COSMOS on page 35. | + | Once COSmanager is installed, the next task is to set up the initial COSmanager configuration — see [[COSmanager/User Guide/Configuring COSmanager|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. | + | {{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.}} |
- | 28 Installing COSmanager | + | |
- | Installing the COSmanager Framework | + | <br> |
- | This chapter explains how to install the COSmanager application framework on a | + | == Installing the COSmanager Framework == |
- | host for the first time. | + | |
- | You will only need to install the framework once. Once COSmanager is fully | + | This section 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 [[COSmanager/User Guide/Installing Applications and Modules|Installing COSmanager Applications and Modules]]. |
- | 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 | + | <br> |
- | Installing COSMOS Applications and Modules on page 67. | + | === 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 | + | *check whether you are installing COSmanager for the first time or reinstalling over a previous or partial installation |
- | 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 file, and set their ownership and permissions |
- | • copy the COSmanager files from the distribution tape, and set their ownership | + | *verify your license key |
- | and permissions | + | |
- | • verify your license key | + | <br> |
- | Remote installation | + | |
- | You may wish to install COSmanager applications on a host that does not have an | + | == To install the COSmanager distribution == |
- | attached tape drive. Installing From a Remote Host on page 72 describes how to allow | + | |
- | COSmanager access to the target host. | + | *Open a root shell, either by logging in as root or running su from a shell prompt. |
- | Alternatively, you can use dd to extract selected files from the tape and ftp or rcp | + | |
- | to copy them to the remote host. | + | {{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.}} |
- | Installing COSmanager 29 | + | |
- | 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. | + | *Change directory to {{icode|cd /tmp}} |
- | The second file contains the COSmanager framework. Each subsequent file contains | + | *Retrieve the installation script FSinstall from the distribution file: {{icode|cpio -icvB FSinstall < <file>}} |
- | a COSmanager application. | + | *Run {{icode|FSinstall: ./FSinstall ./<file>}} |
- | To install the COSmanager distribution | + | |
- | 1. Open a root shell, either by logging in as root or running su from a shell | + | |
- | prompt. | + | FSinstall checks the password file to see if there is an existing copy of the COSmanager framework on this host. |
- | 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 | + | 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 [[COSmanager/User Guide/Installing Applications and Modules|Installing COSmanager Applications and Modules]]. |
- | up correctly and you may damage the existing software. | + | |
- | 2. Change directory to /tmp. | + | If you are reinstalling over a previous installation, FSinstall will save a copy of the old database. |
- | Figure 4 — Preparing to unload FSinstall | + | |
- | 3. Retrieve the installation script FSinstall from the distribution tape: | + | *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. |
- | cpio -icvB FSinstall < no-rewind device | + | *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. |
- | 4. Run FSinstall: | + | |
- | ./FSinstall [ -h Drivehost ] no-rewind device | + | {{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.}} |
- | 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 | + | *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. |
- | drive is attached (the default is the current host). | + | |
- | 30 Installing COSmanager | + | :FSinstall now: |
- | Figure 5 — Extract and run FSinstall | + | :*unloads the files from the distribution into the COSmanager home directory |
- | FSinstall checks the password file to see if there is an existing copy of | + | :*sets their ownership and permissions |
- | the COSmanager framework on this host. | + | :*synchronizes COSmanager’s own hostinfo and netinfo tables with information from your system hosts and networks files |
- | If an older version of COSmanager is found, FSinstall terminates. You | + | :*creates audit trails and log files |
- | should run the existing COSmanager and install this new version using the | + | |
- | Application > Install option. See Installing COSMOS Applications | + | *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. |
- | and Modules on page 67. | + | |
- | If you are reinstalling over a previous installation, FSinstall will save a | + | COSmanager must be licensed separately on each host on which it is installed. |
- | copy of the old database. | + | |
- | 5. If you are installing for the first time, FSinstall prompts you for the | + | *Once all the licensing information has been successfully entered, the installation is complete. |
- | home directory for COSmanager. Enter a directory name or press Return | + | |
- | to accept the default. | + | The next step is to set up the initial COSmanager configuration. See [[COSmanager/User Guide/Configuring COSmanager|Configuring COSmanager]]. |
- | Figure 6 — Enter COSmanager home directory | + | |
- | Installing COSmanager 31 | + | <br> |
- | 6. 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. | + | |
- | 7. 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. | + | |
- | Figure 7 — Create COSmanager UID and group, and set password | + | |
- | 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 | + | |
- | 32 Installing COSmanager | + | |
- | Figure 8 — Create directory structure and audit trails | + | |
- | 8. 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. | + | |
- | Figure 9 — Enter product code(s) and licence key | + | |
- | Installing COSmanager 33 | + | |
- | COSmanager must be licensed separately on each host on which it is | + | |
- | installed. | + | |
- | 9. Once all the licensing information has been successfully entered, the installation | + | |
- | is complete. | + | |
- | Figure 10 — Successful COSmanager installation | + | |
- | The next step is to set up the initial COSmanager configuration. See Configuring | + | |
- | COSMOS on page 35. | + |
Current revision
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 section 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 COSmanager 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 cd /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 COSmanager.