Contained WithinFind More DocumentationFeatured Support Resources | PDF로 이 문서 다운로드 (2684 KB)
Chapter 7 Sun Management Center Post-Installation TasksThis chapter provides the instructions for post-installation tasks you can perform to complete your Sun Management Center 4.0 configuration and implementation. This chapter discusses the following topics: Setting Up UsersDuring Sun Management Center server setup, the file /var/opt/SUNWsymon/cfg/esusers is created. Sun Management Center users are valid UNIX users whose login names are stored in the file /var/opt/SUNWsymon/cfg/esusers. All users listed in this file have general access privileges by default unless the user is given additional privileges, as described in To Assign a User to a Security Group. If a user login name is not in /var/opt/SUNWsymon/cfg/esusers, that user cannot log in to Sun Management Center. For a user to be able to access Sun Management Center, the user name must be added to the /var/opt/SUNWsymon/cfg/esusers file, as described in To Add Sun Management Center Users. Users must also be assigned a security level for access. Sun Management Center assigns users to specific security groups. Three groups are created by default during the installation process: esops, esadm, and esdomadm.
For further information about security groups and roles, see Users, Groups, and Roles Overview. To find out how to assign a user to a specific Sun Management Center security group, see To Assign a User to a Security Group. For further information about Sun Management Center security, see Security Recommendations.
|
# svcadm disable svc:/application/management/snmpdx |
A script whose name begins with an uppercase “S” automatically starts when the system reboots. A script whose name begins with a lowercase “s” is not run automatically.
Your system might have other legacy SNMP agents or processes utilizing port 161. If Sun Management Center fails to start even though you have stopped and disabled snmpdx, view the agent.log file /var/opt/SUNWsymon/log/agent.log to see whether there is a port conflict.
Installing a separately released add-on product involves two steps:
Installing the add-on product as directed by the documentation for the product.
Setting up the add-on product by using either the Sun Management Center setup wizard es-guisetup or the command-line script es-setup.
You can install several add-ons, and then set up all of the add-ons by using the es-guisetup command.
Log in as root on the Sun Management Center machine where the add-on is installed.
Go to the Sun Management Center sbin directory, for example:
# cd /opt/SUNWsymon/sbin |
If you installed Sun Management Center in a different directory than /opt, go to /installdir/SUNWsymon/sbin, where installdir is the directory that you specified.
Run the es-guisetup script:
# ./es-guisetup |
The Overview screen appears.
Click Next.
The Advanced Setup Options screen appears.
Select Configure Add-ons and click Next.
The Select Add-on Products screen appears.
Click Next.
If no add-ons have been set up, the add-ons are listed. You are informed that the listed add-ons will be set up. Click Next to start the setup process for the listed add-ons.
If one or more add-ons have already been set up, those add-ons are listed. A list of add-ons that have not been set up is also displayed.
Select the add-on or add-ons that you want to set up, then click Next.
The setup screens for each selected add-on are presented in sequence. The Sun Management Center setup process prompts you for any information required by each selected add-on. Provide the requested information as needed. Refer to the add-on documentation for additional information for each add-on product that you selected.
If an add-on product setup failed, you are informed that the setup of the add-on product was not successful. You are then directed to see the log file for more details. The name of the log file is provided.
When the add-on setup process is complete, a list of the add-on components you installed and set up is displayed. You are prompted to click Next to start Sun Management Center, or to click Close to exit the setup process and start Sun Management Center later.
Log in as root on the Sun Management Center machine where the add-on is installed.
Go to the Sun Management Center sbin directory, for example:
# cd /opt/SUNWsymon/sbin |
If you installed Sun Management Center in a different directory than /opt, go to /installdir/SUNWsymon/sbin, where installdir is the directory that you specified.
Determine the directory name of the add-on.
List the contents of the installdir/SUNWsymon/addons directory, for example:
# ls -p /opt/SUNWsymon/addons AdvancedMonitoring/ PRM/ SystemManagement/ storage/ EServices/ SunfireSun4dConfigReader/ wgs/ |
Set up the add-on by typing es-setup -p add-on-name, where add-on-name is the directory name for the add-on. For example:
# ./es-setup -p SunfireSun4dConfigReader |
The setup process is started for the specified add-on. When the add-on setup completes, you are asked whether you want to start the Sun Management Center agent and server processes.
Type y to start the Sun Management Center agent and server.
Type n to exit without starting the Sun Management Center agent and server.
The Sun Management Center validation tool es-validate checks and verifies installation and setup information after the software has been installed on your system. The tool is automatically installed when you install any of the base component layers.
es-validate provides the following information, which is based on the parameters you use:
The version of the Sun Management Center base product installed on the local host
The Sun Management Center base component layers installed on the host
A list of all Sun Management Center base packages installed on the host
A list of all Sun Management Center add-on packages and the version of each installed on the host
The Sun Management Center base installation directory (BASEDIR)
The Sun Management Center patch IDs that have been installed
The Solaris operating environment version
The disk space used by the Sun Management Center installation
The validation tool also checks functional aspects of your system, including the following items:
Confirms whether the products installed on your system are compatible
Checks whether the Sun Management Center base product and add-on products have been set up
Checks whether the Sun Management Center database is functional
Confirms whether the Sun Management Center Web server is running
Displays all agents in the server context of the current Sun Management Center server, and also checks for agent connections in the server context
Confirms whether the command-line interface is functional
The syntax for the es-validate command is as follows:
es-validate [-s server [-r serverport] [-u user-name [-p password ]]] [-a agenthost [-b agentport] [-d]] [-c] [-o outfile]The following table describes the es-validate parameters.
Table 7–1 es-validate Options|
Option |
Modifying Options |
Description |
|---|---|---|
|
-a |
agenthost |
Check connectivity with agent host machine agenthost. |
|
-b |
agentport |
The SNMP port number associated with agentport. |
|
-c |
Show all the agents in the context of the Sun Management Center server specified with -s option. |
|
|
-d |
Show the version number of the agent on agenthost. |
|
|
-o |
outfile |
Store the output of es-validate in file outfile. outfile should be an absolute file path. The default is an arbitrary file name in /tmp. |
|
-p |
password |
The password for -uuser-name If not specified, and -uuser-name is specified, you are prompted for the password. |
|
-r |
serverport |
The Sun Management Center RMI port number. If not specified, port 2099 is used. |
|
-s |
server |
The Sun Management Center server host name. If not specified, the current host is used. |
|
-u |
user-name |
The user name used to connect with the Sun Management Center server. The -u user-name parameter is mandatory for login checks. |