FS
Documentation

COSmanager/User Guide/Configuring COSmanager

From Documentation

(Difference between revisions)
Jump to: navigation, search
Revision as of 13:13, 24 April 2006
Moff (Talk | contribs)

← Previous diff
Revision as of 13:27, 24 April 2006
Moff (Talk | contribs)

Next diff →
Line 103: Line 103:
Configure COSmanager NIS support Configure COSmanager NIS support
-To be able to maintain NIS maps, COSmanager must be configured to know about+To be able to maintain NIS maps, COSmanager must be configured to know about the NIS environment on the current host. Only run this task if you use NIS and want COSmanager to operate with NIS. If you don’t use NIS or don’t want to set up COSmanager’s NIS support, skip this task.
-the NIS environment on the current host. Only run this task if you use NIS and+ 
-want COSmanager to operate with NIS. If you don’t use NIS or don’t want to set up+ 
-COSmanager’s NIS support, skip this task.+----
-Note To maintain the local (i.e., non-NIS) part of these files on the NIS+;Note: To maintain the local (i.e., non-NIS) part of these files on the NIS master you will have to manually edit the files in /etc.
-master you will have to manually edit the files in /etc.+----
-If NIS support is defined and the current host is the NIS master then the host+ 
-group facility in COS/Admin’s ‘Add user’ option is disabled (see the chapter on+ 
-managing user accounts in the COS/Admin User Guide).+If NIS support is defined and the current host is the NIS master then the host group facility in COS/Admin’s ‘Add user’ option is disabled (see the chapter on managing user accounts in the COSadmin User Guide).
This task can be rerun at any time to disable COSmanager NIS support. This task can be rerun at any time to disable COSmanager NIS support.
Before you begin Before you begin
-For COSmanager to work properly with NIS, all hosts both running NIS and COSmanager+For COSmanager to work properly with NIS, all hosts both running NIS and COSmanager need to be configured using this task. To set up NIS support you will need the following information at hand.
-need to be configured using this task. To set up NIS support you will need+
-the following information at hand.+
Hostname The name of the current host being configured. Display only. Hostname The name of the current host being configured. Display only.
-Admin Type The COSmanager administration type, as set up in Specify master+Admin Type The COSmanager administration type, as set up in Specify master COSmanager host on page 43. Display only.
-COSMOS host on page 43. Display only.+
NIS type When Admin type is set to ‘Master’ the valid types are: NIS type When Admin type is set to ‘Master’ the valid types are:
Master the NIS master host Master the NIS master host
Line 127: Line 124:
Client NIS client host Client NIS client host
None NIS is not used or is now disabled. None NIS is not used or is now disabled.
-46 Configuring COSmanager+ 
-YP directory the directory where NIS support files live. The default is+YP directory the directory where NIS support files live. The default is /var/yp. This field is only valid when the NIS type above is set to ‘Master’.
-/var/yp. This field is only valid when the NIS type above is set+
-to ‘Master’.+
Location of NIS data files Location of NIS data files
the directory where NIS data resides. Local data usually lives in the directory where NIS data resides. Local data usually lives in
/etc. This field is only valid when NIS type is set to ‘Master’. /etc. This field is only valid when NIS type is set to ‘Master’.
-Steps+ 
-1. Select NIS Type = ‘Master’ if this is the master NIS host. ‘Master’ can only+ 
-be selected if the Admin type is also ‘Master’. Select NIS type ‘None’ to disable+'''Steps'''
-NIS support.+ 
-If NIS type is set to ‘Master’ continue with the following steps, otherwise+#Select NIS Type = ‘Master’ if this is the master NIS host. ‘Master’ can only be selected if the Admin type is also ‘Master’. Select NIS type ‘None’ to disable NIS support.
-press Accept.+If NIS type is set to ‘Master’ continue with the following steps, otherwise press Accept.
-2. Enter the directory where the NIS support files (for example, the make+#Enter the directory where the NIS support files (for example, the make files) reside. This defaults to /var/yp.
-files) reside. This defaults to /var/yp.+#Enter the directory where NIS data lives. This defaults to /etc. Press Accept. The data dictionary definitions for the relevant tables will be compiled as required.
-3. Enter the directory where NIS data lives. This defaults to /etc. Press+
-Accept. The data dictionary definitions for the relevant tables will be compiled+
-as required.+
Press Return to continue. Press Return to continue.
-Configuring COSmanager 47+ 
Create link to cos command Create link to cos command
-Users access COSmanager via the cos command. However, this command is+Users access COSmanager via the cos command. However, this command is stored in a directory that would not normally be in a user’s PATH variable.
-stored in a directory that would not normally be in a user’s PATH variable.+This task links the cos command to a generally accessible directory, usually /usr/local/bin.
-This task links the cos command to a generally accessible directory, usually+General access to the cos command should not be considered a security problem, as COSmanager checks that a user is a valid COSmanager user upon invocation.
-/usr/local/bin.+ 
-General access to the cos command should not be considered a security problem,+ 
-as COSmanager checks that a user is a valid COSmanager user upon invocation.+'''Steps'''
-Steps+ 
-1. Type in the directory to which the cos command is to be linked—for+#Type in the directory to which the cos command is to be linked—for example usr/local/bin.
-example usr/local/bin.+
Press Accept to create the link. Press Accept to create the link.
Press Return to continue. Press Return to continue.
-48 Configuring COSmanager+ 
Allow COSmanager to access cron Allow COSmanager to access cron
-Scheduling and timing functions (such as automatic duties) in COSmanager applications+Scheduling and timing functions (such as automatic duties) in COSmanager applications require that the COSmanager account has access to cron. This is because these duties are maintained in COSmanager’s crontab.
-require that the COSmanager account has access to cron. This is because+ 
-these duties are maintained in COSmanager’s crontab.+ 
-Caution Any existing crontab for COSmanager will be overwritten.+----
 +;Caution: Any existing crontab for COSmanager will be overwritten.
 +----
 + 
 + 
This task ensures that an entry for COSmanager is placed in cron.allow. This task ensures that an entry for COSmanager is placed in cron.allow.
-Configuring COSmanager 49+ 
Enable or change audit trail cycling Enable or change audit trail cycling
-This task adds a cron entry to enable daily cycling of audit trails. This ensures that+This task adds a cron entry to enable daily cycling of audit trails. This ensures that COSmanager audit trails and UNIX log files do not grow too large.
-COSmanager audit trails and UNIX log files do not grow too large.+We recommend that audit trail cycling be done each night, preferably before system backups are started.
-We recommend that audit trail cycling be done each night, preferably before system+ 
-backups are started.+ 
-Steps+'''Steps'''
-1. Press Accept to add the cron entry.+ 
-2. When should cycling be run? Enter a time of day in HH:MM format (24+#Press Accept to add the cron entry.
-hour clock).+#When should cycling be run? Enter a time of day in HH:MM format (24 hour clock).
Press Return to continue. Press Return to continue.
-50 Configuring COSmanager+ 
Details of each known host on the network Details of each known host on the network
-For COSmanager to be able to administer other hosts, each host in your network+For COSmanager to be able to administer other hosts, each host in your network must be defined.
-must be defined.+Filling in the host details also provides a useful inventory of all your hosts and other equipment, whether they make use of COSmanager in some way or not.
-Filling in the host details also provides a useful inventory of all your hosts and other+Some information is retrieved during installation from the system’s hosts file. This task prompts you to supply other information used by COSmanager.
-equipment, whether they make use of COSmanager in some way or not.+
-Some information is retrieved during installation from the system’s hosts file. This+
-task prompts you to supply other information used by COSmanager.+
Before you begin Before you begin
-First, you should define the site locations for these hosts. See Host locations on+First, you should define the site locations for these hosts. See Host locations on page 54.
-page 54.+COSmanager maintains tables of known host types and OS versions. You select from these tables when adding host details. You can add new entries; see Host details—supporting tables on page 53.
-COSmanager maintains tables of known host types and OS versions. You select+
-from these tables when adding host details. You can add new entries; see Host+
-details—supporting tables on page 53.+
The following information must be added for each host. The following information must be added for each host.
-Note At least the Hostname, IP address, Admin type,+Note At least the Hostname, IP address, Admin type, Comm method, Host type, OS version and Location should be provided. Otherwise, some hosts may be omitted when a lookup on the host information table is performed elsewhere in COSmanager.
-Comm method, Host type, OS version and Location+Hostname the name given to the host. You can check this by running the commands uname or hostname. If you are updating an existing
-should be provided. Otherwise, some hosts may be omitted when a+host this value should already have been picked up from the hosts file.
-lookup on the host information table is performed elsewhere in+IP address the Internet address. If you are updating an existing host this should be picked up from the hosts file.
-COSmanager.+
-Hostname the name given to the host. You can check this by running the+
-commands uname or hostname. If you are updating an existing+
-host this value should already have been picked up from the hosts+
-file.+
-IP address the Internet address. If you are updating an existing host this+
-should be picked up from the hosts file.+
Aliases other names used to identify this host. Aliases other names used to identify this host.
-Configuring COSmanager 51+ 
Admin type The valid types are: Admin type The valid types are:
<blank> not administered by COSmanager either locally or remotely. <blank> not administered by COSmanager either locally or remotely.
Examples: an X terminal or terminal server. Examples: an X terminal or terminal server.
-Master the master COSmanager administration host. One and only one+Master the master COSmanager administration host. One and only one host may be defined as the Master.
-host may be defined as the Master.+
Remote a host also administered by COSmanager. Remote a host also administered by COSmanager.
Slave a host administered centrally by a master Admin host. Slave a host administered centrally by a master Admin host.
Comm method Comm method
predefined methods are: predefined methods are:
-rsh remote communications with a host running COSmanager version+rsh remote communications with a host running COSmanager version 3.0 or later.
-3.0 or later.+rsh-2.5 remote communications with a host running COSmanager version 2.5, 2.6 or 2.7.
-rsh-2.5 remote communications with a host running COS/Manager version+rsh-2.4 remote communications with a host running a COSmanager version prior to 2.5.
-2.5, 2.6 or 2.7.+GUI support? Whether support for the COSmanager graphical user interface is installed on this host.
-rsh-2.4 remote communications with a host running a COS/Manager+
-version prior to 2.5.+
-GUI support? Whether support for the COSmanager graphical user interface is+
-installed on this host.+
Host type the brand and model of the host. Host type the brand and model of the host.
OS version the operating system version running on the host. OS version the operating system version running on the host.
Location one of the sites defined in Host locations on page 54. Location one of the sites defined in Host locations on page 54.
Phone used for information only. Phone used for information only.
-Custodian a current user on the host, usually the System Administrator,+Custodian a current user on the host, usually the System Administrator, chosen from a list of users in the password file.
-chosen from a list of users in the password file.+
Description used for information only. Description used for information only.
-Steps+ 
-1. Select a host, then select Maintain > Change from the menu.+ 
-52 Configuring COSmanager+'''Steps'''
-Figure 16 — Change host details prompt form+ 
-2. Enter the Internet address for the host.+#Select a host, then select Maintain > Change from the menu.
-3. Enter any aliases or alternate names used for the host.+ Figure 16 — Change host details prompt form
-4. Select ‘Master’ if this host will administer itself and other hosts. Select+#Enter the Internet address for the host.
-‘Remote’ if this host also runs COSmanager, but is not the master of the+#Enter any aliases or alternate names used for the host.
-current host. Select ‘Slave’ if this host being defined will be administered by+#Select ‘Master’ if this host will administer itself and other hosts. Select ‘Remote’ if this host also runs COSmanager, but is not the master of the current host. Select ‘Slave’ if this host being defined will be administered by a Master host, otherwise select ‘blank’.
-a Master host, otherwise select ‘blank’.+#Select ‘rsh’ if the host being defined is running COSmanager version 3.0 or later, ‘rsh-2.5’ if it is running COS/Manager version 2.5, 2.6 or 2.7, or ‘rsh- 2.4’ if it is running a version of COS/Manager prior to 2.5.
-5. Select ‘rsh’ if the host being defined is running COSmanager version 3.0 or+#Host type: choose the brand and model of the host.
-later, ‘rsh-2.5’ if it is running COS/Manager version 2.5, 2.6 or 2.7, or ‘rsh-+#Select ‘yes’ if you installed and licensed GUI support for this host.
-2.4’ if it is running a version of COS/Manager prior to 2.5.+#Choose the operating system and version for this host.
-6. Host type: choose the brand and model of the host.+#Now choose the site location. The phone number from the location information will be displayed, but can be changed.
-7. Select ‘yes’ if you installed and licensed GUI support for this host.+#Choose a custodian from the list of system users.
-8. Choose the operating system and version for this host.+#Enter a description if required.
-9. Now choose the site location. The phone number from the location information+
-will be displayed, but can be changed.+
-10. Choose a custodian from the list of system users.+
-11. Enter a description if required.+
Press Accept to save this host information. Press Accept to save this host information.
-Configuring COSmanager 53+ 
Host details—supporting tables Host details—supporting tables
COSmanager maintains several tables of information about hosts, including: COSmanager maintains several tables of information about hosts, including:
Line 261: Line 233:
You must add your host location details before adding details of each of your hosts. You must add your host location details before adding details of each of your hosts.
See Host locations on page 54. See Host locations on page 54.
-Most of the other tables are supplied with predefined values, which will usually be+Most of the other tables are supplied with predefined values, which will usually be sufficient. You select from these tables when defining host details for your network.
-sufficient. You select from these tables when defining host details for your network.+You can also add new entries to cater for any new or uncommon equipment and software in use at your site.
-You can also add new entries to cater for any new or uncommon equipment and+These tables can be maintained from the Tables pulldown of the Host information configuration console during the initial configuration phase, or from the option COSmanager configuration > Host and network maintenance.
-software in use at your site.+ Figure 17 — Supporting tables for maintaining host information
-These tables can be maintained from the Tables pulldown of the Host information+ 
-configuration console during the initial configuration phase, or from the+
-option COSmanager configuration > Host and network maintenance.+
-Figure 17 — Supporting tables for maintaining host information+
-54 Configuring COSmanager+
Host locations Host locations
-All hosts, processing centers and media storage locations that your data center interacts+All hosts, processing centers and media storage locations that your data center interacts with must be defined. At this point, you need to define host locations in before you can configure details of all your hosts.
-with must be defined. At this point, you need to define host locations in before+
-you can configure details of all your hosts.+
Before you begin Before you begin
To set up a host location you will need the following information. To set up a host location you will need the following information.
Line 283: Line 249:
used for informational purposes. used for informational purposes.
Slots this is specific to backup3g, and is not available here. Slots this is specific to backup3g, and is not available here.
-Steps+ 
-1. Select Tables > Host locations from the Host information window.+ 
-2. Select Maintain > Add (or Clone to clone an existing location).+'''Steps'''
-Figure 18 — Host location prompt form+ 
-Configuring COSmanager 55+#Select Tables > Host locations from the Host information window.
-3. Enter a short name or alias to identify this site location.+#Select Maintain > Add (or Clone to clone an existing location).
-4. Enter the name in full or brief description of the location.+ Figure 18 — Host location prompt form
-5. Select ‘other’.+#Enter a short name or alias to identify this site location.
-6. If you wish, enter an address and phone number for this location.+#Enter the name in full or brief description of the location.
-Press Accept to save this location. When you have finished adding locations,+#Select ‘other’.
-press Exit to return to the Host information window.+#If you wish, enter an address and phone number for this location.
 +Press Accept to save this location. When you have finished adding locations, press Exit to return to the Host information window.
Host categories Host categories
-This task allows you to add more categories for classifying equipment connected to+This task allows you to add more categories for classifying equipment connected to your host.
-your host.+
Before you begin Before you begin
To define new host categories you will need to know the following. To define new host categories you will need to know the following.
-Category the name used to identify a category of equipment, for example,+Category the name used to identify a category of equipment, for example, ‘Novell’ for a Novell network server.
-‘Novell’ for a Novell network server.+
Description a brief description of the category Description a brief description of the category
-Steps+ 
-1. Select Tables > Host categories from the Host information window.+ 
-2. Select Maintain > Add (or Clone to clone an existing category).+'''Steps'''
-3. Enter a name to identify the host category.+ 
-4. Enter the description.+#Select Tables > Host categories from the Host information window.
 +#Select Maintain > Add (or Clone to clone an existing category).
 +#Enter a name to identify the host category.
 +#Enter the description.
Press Accept to save. Press Accept to save.
-When you have finished adding host categories, press Exit to return to the+When you have finished adding host categories, press Exit to return to the Host information window.
-Host information window.+ 
-56 Configuring COSmanager+
Host types Host types
This task allows you to add details of new host types not already known to COSmanager. This task allows you to add details of new host types not already known to COSmanager.
-Generally these will be hosts that COSmanager has not previously been+Generally these will be hosts that COSmanager has not previously been ported to.
-ported to.+
Before you begin Before you begin
To define a new host type you will need to know the following. To define a new host type you will need to know the following.
-Host type the name used to identify the type, for example, ‘Sparcserver’ or+Host type the name used to identify the type, for example, ‘Sparcserver’ or ‘AT486’.
-‘AT486’.+Category the host category this host type belongs to (see Host categories on page 55).
-Category the host category this host type belongs to (see Host categories on+
-page 55).+
Host class the processor class of the host type. Host class the processor class of the host type.
Description a brief description of the host type. Description a brief description of the host type.
-Steps+ 
-1. Select Tables > Host types from the Host information window.+ 
-2. Select Maintain > Add (or Clone to clone an existing host type).+'''Steps'''
-3. Enter name to identify the host type you are defining.+ 
-4. Choose the host category from the predefined list.+#Select Tables > Host types from the Host information window.
-5. Choose the host (processor) class from the predefined list.+#Select Maintain > Add (or Clone to clone an existing host type).
-6. Enter a description.+#Enter name to identify the host type you are defining.
 +#Choose the host category from the predefined list.
 +#Choose the host (processor) class from the predefined list.
 +#Enter a description.
Press Accept to save. Press Accept to save.
When you have finished adding host types, press Exit to return to the Host When you have finished adding host types, press Exit to return to the Host
information window. information window.
-Configuring COSmanager 57+ 
Host groups Host groups
-A host group is a group of machines that may be managed collectively through+A host group is a group of machines that may be managed collectively through COSmanager. For example, host groups are used in COS/Admin for adding users to a set of hosts in one operation, and in COS/Sentinel for monitoring events across a group of hosts.
-COSmanager. For example, host groups are used in COS/Admin for adding users+You can add host groups now if you wish, or wait until you install and configure COSadmin or sentinel3G.
-to a set of hosts in one operation, and in COS/Sentinel for monitoring events+To add a new host group, you simply create a name for the group, then select one or more hosts from a list of hosts on the network. Host groups can overlap—that is, two groups can both include the same host. You can also define a new host group that includes one or more existing host groups.
-across a group of hosts.+ 
-You can add host groups now if you wish, or wait until you install and configure+ 
-COS/Admin or COS/Sentinel.+'''Steps'''
-To add a new host group, you simply create a name for the group, then select one or+ 
-more hosts from a list of hosts on the network. Host groups can overlap—that is,+#Select Tables > Host groups from the Host information window.
-two groups can both include the same host. You can also define a new host group+#Select Maintain > Add.
-that includes one or more existing host groups.+#Enter a name for the host group. This could reflect the use of a selection of hosts within the organization, for example, ‘development’ for the group of development hosts.
-Steps+#Press Choose to see the list of hosts and existing host groups. Only hosts of type Master or Remote will be shown. Choose one or more hosts, then press Accept. If you selected any existing host groups as elements of your new host group, they will be prefixed by @.
-1. Select Tables > Host groups from the Host information window.+#Enter a description.
-2. Select Maintain > Add.+
-3. Enter a name for the host group. This could reflect the use of a selection of+
-hosts within the organization, for example, ‘development’ for the group of+
-development hosts.+
-4. Press Choose to see the list of hosts and existing host groups. Only hosts of+
-type Master or Remote will be shown. Choose one or more hosts, then press+
-Accept. If you selected any existing host groups as elements of your new+
-host group, they will be prefixed by @.+
-5. Enter a description.+
Press Accept to add this host group. Press Accept to add this host group.
-When you have finished adding host groups, press Exit to return to the Host+When you have finished adding host groups, press Exit to return to the Host information window.
-information window.+ 
-58 Configuring COSmanager+
Operating system versions Operating system versions
-When a previously unknown host type is added to the database it is possible that the+When a previously unknown host type is added to the database it is possible that the operating system version is also not predefined. This task allows you to maintain the operating system versions.
-operating system version is also not predefined. This task allows you to maintain the+
-operating system versions.+
Before you begin Before you begin
To define a new operating system version you will need to know the following. To define a new operating system version you will need to know the following.
-OSversion the name used to identify this operating system and version, for+OSversion the name used to identify this operating system and version, for example, ‘Solaris 2’.
-example, ‘Solaris 2’.+
Host class the processor class of the host type, for example ‘Sparc’. Host class the processor class of the host type, for example ‘Sparc’.
Description a brief description of the operating system and version. Description a brief description of the operating system and version.
Line 377: Line 331:
5. Enter the description. 5. Enter the description.
Press Accept to save. Press Accept to save.
-6. When you have finished adding operating system versions, press Exit to+6. When you have finished adding operating system versions, press Exit to return to the Host information window.
-return to the Host information window.+
Network details Network details
-This task provides a way to maintain the networks file. During installation some+This task provides a way to maintain the networks file. During installation some information was retrieved (synchronized) from the networks file.
-information was retrieved (synchronized) from the networks file.+ 
-Configuring COSmanager 59+
Before you begin Before you begin
The following information is needed to define each network. The following information is needed to define each network.
Network this should be picked up from the networks file. Network this should be picked up from the networks file.
-IP address the Internet address. This should be picked up from the hosts+IP address the Internet address. This should be picked up from the hosts file.
-file.+
Organisation used for information only. Organisation used for information only.
-Location the site location. You should set up all site locations before adding+Location the site location. You should set up all site locations before adding network details—see Host locations on page 54.
-network details—see Host locations on page 54.+
Department used for information only. Department used for information only.
Alias other names used to identify this network. Alias other names used to identify this network.
Line 405: Line 355:
9. Finally, type in a comment about the network. 9. Finally, type in a comment about the network.
Press Accept to save this network information. Press Accept to save this network information.
-60 Configuring COSmanager+ 
Allow remote COSmanager access Allow remote COSmanager access
-To allow COSmanager to have trusted access to remote COSmanager hosts (so that+To allow COSmanager to have trusted access to remote COSmanager hosts (so that the COSmanager password does not need to be given), a .rhosts file needs to be created in the COSmanager home directory.
-the COSmanager password does not need to be given), a .rhosts file needs to+This task does this, and adds entries for each host whose Admin type is either Master or Remote (see Details of each known host on the network on page 50).
-be created in the COSmanager home directory.+You can allow access to other selected hosts later through COSmanager configuration > Host and network maintenance > Allow access.
-This task does this, and adds entries for each host whose Admin type is either+ 
-Master or Remote (see Details of each known host on the network on page 50).+
-You can allow access to other selected hosts later through COSmanager configuration+
-> Host and network maintenance > Allow access.+
-Configuring COSmanager 61+
Re-direct mail for COSmanager Re-direct mail for COSmanager
-Some COSmanager processes that run in the background mail output, particularly+Some COSmanager processes that run in the background mail output, particularly error output, to COSmanager. As COSmanager should not be used to log in once initial configuration is complete, this mail would normally not be read.
-error output, to COSmanager. As COSmanager should not be used to log in once+This task redirects the output to another mail address, usually the system administrator’s account. If COSmanager already has a mail file, this is saved in the file MAIL.save in the COSmanager home directory.
-initial configuration is complete, this mail would normally not be read.+ 
-This task redirects the output to another mail address, usually the system administrator’s+ 
-account. If COSmanager already has a mail file, this is saved in the file+'''Steps'''
-MAIL.save in the COSmanager home directory.+ 
-Steps+#Choose the user account that will receive COSmanager’s mail. Press Accept.
-1. Choose the user account that will receive COSmanager’s mail. Press+Mail sent to the COSmanager account will now be redirected to the nominated user account.
-Accept.+ 
-Mail sent to the COSmanager account will now be redirected to the nominated+
-user account.+
-62 Configuring COSmanager+
COSmanager users and privileges COSmanager users and privileges
Before staff can use COSmanager, they must be added to the list of authorized Before staff can use COSmanager, they must be added to the list of authorized
COSmanager users and assigned one or more roles. In this task, you can: COSmanager users and assigned one or more roles. In this task, you can:
-add staff and staff groups to the list of authorized COSmanager users+*add staff and staff groups to the list of authorized COSmanager users
-add or customize user access roles+*add or customize user access roles
-To start with there are two entries in the COSmanager User table: one for the COSmanager+ 
-account itself, which is used to perform the initial configuration, and one+To start with there are two entries in the COSmanager User table: one for the COSmanager account itself, which is used to perform the initial configuration, and one called DEFAULT, which describes the access for any system user or group not explicitly defined in this table.
-called DEFAULT, which describes the access for any system user or group not+
-explicitly defined in this table.+
At this point you must add at least one COSmanager user who has the Manager role. At this point you must add at least one COSmanager user who has the Manager role.
-Manager-class users have access to all COSmanager facilities, including the ability to+Manager-class users have access to all COSmanager facilities, including the ability to configure and maintain COSmanager itself.
-configure and maintain COSmanager itself.+Note The Manager role should be assigned with care, as it is the COSmanager equivalent of super user privileges.
-Note The Manager role should be assigned with care, as it is the+You can add other COSmanager users now or later via the COSmanager configuration menu. See COSMOS Users and Access Controls on page 91 for a detailed explanation of COSmanager users, roles and capabilities.
-COSmanager equivalent of super user privileges.+
-You can add other COSmanager users now or later via the COSmanager configuration+
-menu. See COSMOS Users and Access Controls on page 91 for a+
-detailed explanation of COSmanager users, roles and capabilities.+
COSmanager users COSmanager users
-1. Select COSmanager users.+#Select COSmanager users.
-2. Select Maintain > Add from the menu bar.+#Select Maintain > Add from the menu bar.
-3. Press Choose to list non-system accounts and groups that are not already+#Press Choose to list non-system accounts and groups that are not already authorized to use COSmanager. Select a user account or group from the list.
-authorized to use COSmanager. Select a user account or group from the list.+#Press Choose to list roles. Select one or more roles, then press Accept.
-4. Press Choose to list roles. Select one or more roles, then press Accept.+#You have the option of entering a descriptive comment.
-5. You have the option of entering a descriptive comment.+
Press Accept to add this COSmanager user. Press Accept to add this COSmanager user.
Press Exit when you have finished adding COSmanager users. Press Exit when you have finished adding COSmanager users.
-Configuring COSmanager 63+ 
User access roles User access roles
-1. Select Global access roles.+#Select Global access roles.
-2. Select Maintain > Add from the menu bar.+#Select Maintain > Add from the menu bar.
-3. Enter a name for this role. Typical roles are based on job title (“Operator”)+#Enter a name for this role. Typical roles are based on job title (“Operator”) or function (“Config“).
-or function (“Config“).+#Enter a description, then press Accept to add this role.
-4. Enter a description, then press Accept to add this role.+
Press Exit when you have finished adding roles. Press Exit when you have finished adding roles.
COSmanager access capabilities COSmanager access capabilities
-Each COSmanager application interprets a user’s roles as a set of capabilities. This+Each COSmanager application interprets a user’s roles as a set of capabilities. This task lets you assign different capabilities to roles to control the menus and functions within the COSmanager framework.
-task lets you assign different capabilities to roles to control the menus and functions+#Select COSmanager access capabilities.
-within the COSmanager framework.+#Select Maintain > Add from the menu bar.
-1. Select COSmanager access capabilities.+#Choose a role.
-2. Select Maintain > Add from the menu bar.+#Press Choose to list the roles and capabilities already defined within the COSmanager framework. Select one or more roles and capabilities.
-3. Choose a role.+#Enter a description, then press Accept to save the changes.
-4. Press Choose to list the roles and capabilities already defined within the+
-COSmanager framework. Select one or more roles and capabilities.+
-5. Enter a description, then press Accept to save the changes.+
Press Exit when you have finished defining roles. Press Exit when you have finished defining roles.
-64 Configuring COSmanager+ 
Install and setup COSmanager applications Install and setup COSmanager applications
-Now that the COSmanager framework is set up, you can install your COSmanager+Now that the COSmanager framework is set up, you can install your COSmanager applications. Once you choose the applications to be installed, the procedure is largely automatic; COSmanager copies the files from the distribution tape, adds the product to the COSmanager main menu, then performs any product-specific installation tasks. Like COSmanager itself, some products have a few configuration tasks that must be performed before the software is fully set up.
-applications. Once you choose the applications to be installed, the procedure is+
-largely automatic; COSmanager copies the files from the distribution tape, adds the+
-product to the COSmanager main menu, then performs any product-specific installation+
-tasks. Like COSmanager itself, some products have a few configuration tasks+
-that must be performed before the software is fully set up.+
This task starts by asking where you want to install the software from. This task starts by asking where you want to install the software from.
-Figure 19 — Installing a COSmanager application+ Figure 19 — Installing a COSmanager application
Simply follow the instructions under Application Installation on page 68. Simply follow the instructions under Application Installation on page 68.
-You can also install COSmanager applications at any time from the COSmanager+You can also install COSmanager applications at any time from the COSmanager configuration menu.
-configuration menu.+
-Configuring COSmanager 65+

Revision as of 13:27, 24 April 2006

Once the COSmanager framework has been installed and licensed, you will need to work through a list of steps to set up the initial configuration. Some of these configuration tasks supply information that is required by COSmanager; COSmanager applications will not work properly until they are done. Other tasks are optional. These extend the basic information in COSmanager to include information about your organization’s procedures and computing environment. You can run or rerun these steps at any time. At this point, you should be in a root shell, following on from the installation phase. Before you begin the configuration phase, you must make sure that your environment is set up correctly to run the configuration tasks. This involves:

Setting Up an Initial Configuration At this point you should be in a root shell. Checking your terminal environment To configure COSmanager your TERM variable and the Terminfo definition it refers to must both be correct. To check the current setting for TERM, enter echo $TERM: To check your Terminfo definition, see Appendix B—Terminal Support. Running COSmanager configuration tasks If you have an X display, you can configure COSmanager in GUI mode. To use the GUI, your DISPLAY variable must be set correctly and you must have licensed the GUI version of COSmanager during the installation phase. The configuration steps are the same in GUI and character mode.

  1. Change to the home directory of the cosmos account.
  2. Enter this command:

bin/cos -u cosmos At this point, the cosmos account is the only one with access to run COSmanager. This command starts COSmanager with the access capabilities of the cosmos account. COSmanager shows a message warning that it has not yet been fully set up.

  1. echo $TERM

xterm

Figure 11 — COSmanager before initial configuration

You will nominate a Master administration host later during this initial configuration procedure—see Specify master COSMOS host on page 43. For now, press Continue to clear the message. In GUI mode, the COSmanager button bar is displayed:

Figure 12 — COSmanager button bar (GUI mode)

Click on the Config button to launch the Product configuration menu. In CUI (character) mode, the COSmanager main menu is displayed:

Figure 13 — COSmanager main menu (CUI mode)
  1. Select Product configuration > COSmanager configuration > Initial configuration.

(This notation means “Select Product configuration, then select COSmanager configuration from the Product configuration menu, then select Initial configuration from the COSmanager configuration menu.”) COSmanager shows the list of configuration tasks.

Figure 14 — Initial configuration tasks
  1. To start the configuration, select Perform > All outstanding from the menu bar.



Note
In CUI mode, the menu bar is accessible from the function key assigned to the Menu button—usually F8.


For each task you will see a screen offering a number of options, like this: Menu button

Figure 15 — Example of an outstanding configuration task

Press Exit to stop the configuration procedure. You can continue the configuration later by restarting COSmanager then selecting Initial configuration from the COSmanager configuration menu. Press Skip to skip to the next outstanding task. Note that some duties later in the configuration require earlier duties to have been run. Press Accept to execute this task now.

  1. Work through each task in turn. The following topics contain some useful information on each task.

Set customer name This task sets the name that is displayed to the right of the title bar on CUI-mode COSmanager screens. The name should be no longer than 20 characters. Use abbreviations if necessary. The customer name is held in the home directory of the cosmos account, in the file ~cosmos/CUSTOMER.


Steps

  1. Type in the customer name. Press Accept to save.

The change will take effect from the next time COSmanager is restarted. Press Return to continue.

Set date format This task sets the format in which dates will be displayed on all COSmanager screens. The options are: US mm/dd/yy European dd/mm/yy Example: November 7, 2005 would be displayed in European format as 7/11/05, and in US format as 11/7/05.


Steps

  1. Select the date format. Press Accept to save.

Note If you change the format, the change takes effect from the next time you start COSmanager.

Specify master COSmanager host One host must be designated as the Master administration host before COSmanager can operate correctly. This task is used to specify the master host. The default is assumed to be the current host being configured, but you can choose one of the other hosts in the file /etc/hosts instead. Before you begin The master COSmanager host must be set before you can use facilities in COSmanager applications that communicate with remote hosts, including:

How to determine which hosts to define as ‘Master’ and which as ‘Remote’ depends largely on local preference and procedures. However, the following guidelines should be followed:

  1. A master host is one that is used to administer itself and potentially other hosts as well.
  2. There must be at least one host defined as Master on the network.
  3. Only one host can be defined as Master on a single host’s host table.
  4. A host can be defined as Master on its own host table and Remote on another host’s host table.

Example COSmanager is being configured on Host A. We are setting up Host A’s host table from the configuration task Details of each known host on the network. We are now defining Host B. Hosts A and C will both be used to add new users through COS/Admin, and so must be master administration hosts. Therefore, Admin type for Host B will be Remote. Host A will be Master, and Host C will be Remote. This is because Host A in relation to itself is a master, therefore, Host C in relation to Host A is a remote (see Rule 3 above). When COSmanager is configured on Host C, the reverse will apply—C will be defined as Master and Host A will be Remote.


Steps

  1. COSmanager asks whether the current host is the Master COSmanager host. If so press Yes, otherwise press No.
  2. If you press No, a list of all hosts defined in /etc/hosts is displayed.

Choose the host that is to be the master COSmanager host. Press Accept. The chosen host will be defined as ‘Master’ and the current host (if different) will be defined as ‘Remote’.

Configure COSmanager NIS support To be able to maintain NIS maps, COSmanager must be configured to know about the NIS environment on the current host. Only run this task if you use NIS and want COSmanager to operate with NIS. If you don’t use NIS or don’t want to set up COSmanager’s NIS support, skip this task.



Note
To maintain the local (i.e., non-NIS) part of these files on the NIS master you will have to manually edit the files in /etc.


If NIS support is defined and the current host is the NIS master then the host group facility in COS/Admin’s ‘Add user’ option is disabled (see the chapter on managing user accounts in the COSadmin User Guide). This task can be rerun at any time to disable COSmanager NIS support. Before you begin For COSmanager to work properly with NIS, all hosts both running NIS and COSmanager need to be configured using this task. To set up NIS support you will need the following information at hand. Hostname The name of the current host being configured. Display only. Admin Type The COSmanager administration type, as set up in Specify master COSmanager host on page 43. Display only. NIS type When Admin type is set to ‘Master’ the valid types are: Master the NIS master host None NIS is not used or is disabled. When Admin type is set to ‘Remote’ the valid types are: Slave alternate NIS master host Client NIS client host None NIS is not used or is now disabled.

YP directory the directory where NIS support files live. The default is /var/yp. This field is only valid when the NIS type above is set to ‘Master’. Location of NIS data files the directory where NIS data resides. Local data usually lives in /etc. This field is only valid when NIS type is set to ‘Master’.


Steps

  1. Select NIS Type = ‘Master’ if this is the master NIS host. ‘Master’ can only be selected if the Admin type is also ‘Master’. Select NIS type ‘None’ to disable NIS support.

If NIS type is set to ‘Master’ continue with the following steps, otherwise press Accept.

  1. Enter the directory where the NIS support files (for example, the make files) reside. This defaults to /var/yp.
  2. Enter the directory where NIS data lives. This defaults to /etc. Press Accept. The data dictionary definitions for the relevant tables will be compiled as required.

Press Return to continue.

Create link to cos command Users access COSmanager via the cos command. However, this command is stored in a directory that would not normally be in a user’s PATH variable. This task links the cos command to a generally accessible directory, usually /usr/local/bin. General access to the cos command should not be considered a security problem, as COSmanager checks that a user is a valid COSmanager user upon invocation.


Steps

  1. Type in the directory to which the cos command is to be linked—for example usr/local/bin.

Press Accept to create the link. Press Return to continue.

Allow COSmanager to access cron Scheduling and timing functions (such as automatic duties) in COSmanager applications require that the COSmanager account has access to cron. This is because these duties are maintained in COSmanager’s crontab.



Caution
Any existing crontab for COSmanager will be overwritten.


This task ensures that an entry for COSmanager is placed in cron.allow.

Enable or change audit trail cycling This task adds a cron entry to enable daily cycling of audit trails. This ensures that COSmanager audit trails and UNIX log files do not grow too large. We recommend that audit trail cycling be done each night, preferably before system backups are started.


Steps

  1. Press Accept to add the cron entry.
  2. When should cycling be run? Enter a time of day in HH:MM format (24 hour clock).

Press Return to continue.

Details of each known host on the network For COSmanager to be able to administer other hosts, each host in your network must be defined. Filling in the host details also provides a useful inventory of all your hosts and other equipment, whether they make use of COSmanager in some way or not. Some information is retrieved during installation from the system’s hosts file. This task prompts you to supply other information used by COSmanager. Before you begin First, you should define the site locations for these hosts. See Host locations on page 54. COSmanager maintains tables of known host types and OS versions. You select from these tables when adding host details. You can add new entries; see Host details—supporting tables on page 53. The following information must be added for each host. Note At least the Hostname, IP address, Admin type, Comm method, Host type, OS version and Location should be provided. Otherwise, some hosts may be omitted when a lookup on the host information table is performed elsewhere in COSmanager. Hostname the name given to the host. You can check this by running the commands uname or hostname. If you are updating an existing host this value should already have been picked up from the hosts file. IP address the Internet address. If you are updating an existing host this should be picked up from the hosts file. Aliases other names used to identify this host.

Admin type The valid types are: <blank> not administered by COSmanager either locally or remotely. Examples: an X terminal or terminal server. Master the master COSmanager administration host. One and only one host may be defined as the Master. Remote a host also administered by COSmanager. Slave a host administered centrally by a master Admin host. Comm method predefined methods are: rsh remote communications with a host running COSmanager version 3.0 or later. rsh-2.5 remote communications with a host running COSmanager version 2.5, 2.6 or 2.7. rsh-2.4 remote communications with a host running a COSmanager version prior to 2.5. GUI support? Whether support for the COSmanager graphical user interface is installed on this host. Host type the brand and model of the host. OS version the operating system version running on the host. Location one of the sites defined in Host locations on page 54. Phone used for information only. Custodian a current user on the host, usually the System Administrator, chosen from a list of users in the password file. Description used for information only.


Steps

  1. Select a host, then select Maintain > Change from the menu.
Figure 16 — Change host details prompt form
  1. Enter the Internet address for the host.
  2. Enter any aliases or alternate names used for the host.
  3. Select ‘Master’ if this host will administer itself and other hosts. Select ‘Remote’ if this host also runs COSmanager, but is not the master of the current host. Select ‘Slave’ if this host being defined will be administered by a Master host, otherwise select ‘blank’.
  4. Select ‘rsh’ if the host being defined is running COSmanager version 3.0 or later, ‘rsh-2.5’ if it is running COS/Manager version 2.5, 2.6 or 2.7, or ‘rsh- 2.4’ if it is running a version of COS/Manager prior to 2.5.
  5. Host type: choose the brand and model of the host.
  6. Select ‘yes’ if you installed and licensed GUI support for this host.
  7. Choose the operating system and version for this host.
  8. Now choose the site location. The phone number from the location information will be displayed, but can be changed.
  9. Choose a custodian from the list of system users.
  10. Enter a description if required.

Press Accept to save this host information.

Host details—supporting tables COSmanager maintains several tables of information about hosts, including: host categories host types host groups host locations operating system versions network details You must add your host location details before adding details of each of your hosts. See Host locations on page 54. Most of the other tables are supplied with predefined values, which will usually be sufficient. You select from these tables when defining host details for your network. You can also add new entries to cater for any new or uncommon equipment and software in use at your site. These tables can be maintained from the Tables pulldown of the Host information configuration console during the initial configuration phase, or from the option COSmanager configuration > Host and network maintenance.

Figure 17 — Supporting tables for maintaining host information

Host locations All hosts, processing centers and media storage locations that your data center interacts with must be defined. At this point, you need to define host locations in before you can configure details of all your hosts. Before you begin To set up a host location you will need the following information. Location a short name used to identify the location. Name the full location name. Location type the only valid type for a host location is other. The other location types are used in backup3g. Address, Phone used for informational purposes. Slots this is specific to backup3g, and is not available here.


Steps

  1. Select Tables > Host locations from the Host information window.
  2. Select Maintain > Add (or Clone to clone an existing location).
Figure 18 — Host location prompt form
  1. Enter a short name or alias to identify this site location.
  2. Enter the name in full or brief description of the location.
  3. Select ‘other’.
  4. If you wish, enter an address and phone number for this location.

Press Accept to save this location. When you have finished adding locations, press Exit to return to the Host information window. Host categories This task allows you to add more categories for classifying equipment connected to your host. Before you begin To define new host categories you will need to know the following. Category the name used to identify a category of equipment, for example, ‘Novell’ for a Novell network server. Description a brief description of the category


Steps

  1. Select Tables > Host categories from the Host information window.
  2. Select Maintain > Add (or Clone to clone an existing category).
  3. Enter a name to identify the host category.
  4. Enter the description.

Press Accept to save. When you have finished adding host categories, press Exit to return to the Host information window.

Host types This task allows you to add details of new host types not already known to COSmanager. Generally these will be hosts that COSmanager has not previously been ported to. Before you begin To define a new host type you will need to know the following. Host type the name used to identify the type, for example, ‘Sparcserver’ or ‘AT486’. Category the host category this host type belongs to (see Host categories on page 55). Host class the processor class of the host type. Description a brief description of the host type.


Steps

  1. Select Tables > Host types from the Host information window.
  2. Select Maintain > Add (or Clone to clone an existing host type).
  3. Enter name to identify the host type you are defining.
  4. Choose the host category from the predefined list.
  5. Choose the host (processor) class from the predefined list.
  6. Enter a description.

Press Accept to save. When you have finished adding host types, press Exit to return to the Host information window.

Host groups A host group is a group of machines that may be managed collectively through COSmanager. For example, host groups are used in COS/Admin for adding users to a set of hosts in one operation, and in COS/Sentinel for monitoring events across a group of hosts. You can add host groups now if you wish, or wait until you install and configure COSadmin or sentinel3G. To add a new host group, you simply create a name for the group, then select one or more hosts from a list of hosts on the network. Host groups can overlap—that is, two groups can both include the same host. You can also define a new host group that includes one or more existing host groups.


Steps

  1. Select Tables > Host groups from the Host information window.
  2. Select Maintain > Add.
  3. Enter a name for the host group. This could reflect the use of a selection of hosts within the organization, for example, ‘development’ for the group of development hosts.
  4. Press Choose to see the list of hosts and existing host groups. Only hosts of type Master or Remote will be shown. Choose one or more hosts, then press Accept. If you selected any existing host groups as elements of your new host group, they will be prefixed by @.
  5. Enter a description.

Press Accept to add this host group. When you have finished adding host groups, press Exit to return to the Host information window.

Operating system versions When a previously unknown host type is added to the database it is possible that the operating system version is also not predefined. This task allows you to maintain the operating system versions. Before you begin To define a new operating system version you will need to know the following. OSversion the name used to identify this operating system and version, for example, ‘Solaris 2’. Host class the processor class of the host type, for example ‘Sparc’. Description a brief description of the operating system and version. Steps 1. Select Tables > OS versions from the Host information window. 2. Select Maintain > Add (or Clone to clone an existing OS version). 3. Type in a name to identify the operating system and version. 4. Choose the host class from the predefined list. 5. Enter the description. Press Accept to save. 6. When you have finished adding operating system versions, press Exit to return to the Host information window. Network details This task provides a way to maintain the networks file. During installation some information was retrieved (synchronized) from the networks file.

Before you begin The following information is needed to define each network. Network this should be picked up from the networks file. IP address the Internet address. This should be picked up from the hosts file. Organisation used for information only. Location the site location. You should set up all site locations before adding network details—see Host locations on page 54. Department used for information only. Alias other names used to identify this network. Comment used for information only. Steps 1. Select Tables > Network from the Host information window. 2. Select Maintain > Add (or Clone to clone an existing network). 3. Type in the name of the network you are defining. 4. Enter the Internet address for the network. 5. Enter the name of the organization that owns or is responsible for the network. 6. Choose the site location. 7. Enter the name of the department or group within the organization. 8. Enter any aliases or alternate names for the network. 9. Finally, type in a comment about the network. Press Accept to save this network information.

Allow remote COSmanager access To allow COSmanager to have trusted access to remote COSmanager hosts (so that the COSmanager password does not need to be given), a .rhosts file needs to be created in the COSmanager home directory. This task does this, and adds entries for each host whose Admin type is either Master or Remote (see Details of each known host on the network on page 50). You can allow access to other selected hosts later through COSmanager configuration > Host and network maintenance > Allow access.

Re-direct mail for COSmanager Some COSmanager processes that run in the background mail output, particularly error output, to COSmanager. As COSmanager should not be used to log in once initial configuration is complete, this mail would normally not be read. This task redirects the output to another mail address, usually the system administrator’s account. If COSmanager already has a mail file, this is saved in the file MAIL.save in the COSmanager home directory.


Steps

  1. Choose the user account that will receive COSmanager’s mail. Press Accept.

Mail sent to the COSmanager account will now be redirected to the nominated user account.

COSmanager users and privileges Before staff can use COSmanager, they must be added to the list of authorized COSmanager users and assigned one or more roles. In this task, you can:

To start with there are two entries in the COSmanager User table: one for the COSmanager account itself, which is used to perform the initial configuration, and one called DEFAULT, which describes the access for any system user or group not explicitly defined in this table. At this point you must add at least one COSmanager user who has the Manager role. Manager-class users have access to all COSmanager facilities, including the ability to configure and maintain COSmanager itself. Note The Manager role should be assigned with care, as it is the COSmanager equivalent of super user privileges. You can add other COSmanager users now or later via the COSmanager configuration menu. See COSMOS Users and Access Controls on page 91 for a detailed explanation of COSmanager users, roles and capabilities. COSmanager users

  1. Select COSmanager users.
  2. Select Maintain > Add from the menu bar.
  3. Press Choose to list non-system accounts and groups that are not already authorized to use COSmanager. Select a user account or group from the list.
  4. Press Choose to list roles. Select one or more roles, then press Accept.
  5. You have the option of entering a descriptive comment.

Press Accept to add this COSmanager user. Press Exit when you have finished adding COSmanager users.

User access roles

  1. Select Global access roles.
  2. Select Maintain > Add from the menu bar.
  3. Enter a name for this role. Typical roles are based on job title (“Operator”) or function (“Config“).
  4. Enter a description, then press Accept to add this role.

Press Exit when you have finished adding roles. COSmanager access capabilities Each COSmanager application interprets a user’s roles as a set of capabilities. This task lets you assign different capabilities to roles to control the menus and functions within the COSmanager framework.

  1. Select COSmanager access capabilities.
  2. Select Maintain > Add from the menu bar.
  3. Choose a role.
  4. Press Choose to list the roles and capabilities already defined within the COSmanager framework. Select one or more roles and capabilities.
  5. Enter a description, then press Accept to save the changes.

Press Exit when you have finished defining roles.

Install and setup COSmanager applications Now that the COSmanager framework is set up, you can install your COSmanager applications. Once you choose the applications to be installed, the procedure is largely automatic; COSmanager copies the files from the distribution tape, adds the product to the COSmanager main menu, then performs any product-specific installation tasks. Like COSmanager itself, some products have a few configuration tasks that must be performed before the software is fully set up. This task starts by asking where you want to install the software from.

Figure 19 — Installing a COSmanager application

Simply follow the instructions under Application Installation on page 68. You can also install COSmanager applications at any time from the COSmanager configuration menu.