Top
ETERNUS SF Storage Cruiser 14.0 User's Guide

12.7.1 Commands for operating environment management

The following sections explain the commands for managing the operating environment.


12.7.1.1 User information setting command (defusr)

NAME

defusr - Sets the user information


SYNOPSIS

/opt/FJSVssage/bin/defusr -a key-name user-name password
/opt/FJSVssage/bin/defusr -l [key-name] /opt/FJSVssage/bin/defusr -r key-name user-name password
/opt/FJSVssage/bin/defusr -d key-name

DESCRIPTION

This command sets user information required for database monitoring. Based on the user information set by the defusr command, Agent accesses the database and collects information.
The user information set by the defusr command is used only by Agent to access the database to collect information and has nothing to do with the Agent start user and the login user of an administrative client.

A user with administrator authority executes this command to set or delete user information required for database monitoring. Each of the key name, user name, and password in the defusr command can be specified using up to 63 characters. Two-byte characters cannot be used.


OPTIONS

-a

Adds user information. Up to 255 pieces of user information can be stored. An attempt to add user information to a key for which user information has already been stored causes an error.

-l

Displays user information. The user name defined for the specified key name is displayed. If the key name is not specified, all user names that have been registered are displayed.

-r

Modifies user information.

-d

Deletes user information.

key-name, user-name, and password

Specify the following.

Monitoring target

key-name

user-name and password

Oracle

Instance name specified in the Oracle statement

User information needed to access the instance specified for the key name


EXAMPLES

12.7.1.2 Agent information change command (setagtip)

NAME

setagtip - Changes the Agent information


SYNOPSIS

/opt/FJSVssage/bin/setagtip [-i ip-address]

DESCRIPTION

This command sets Agent information. Only OS administrator (root) user can execute this command.

To change the start IP address of Agent, specify an IP address in the command parameter to specify Agent information.


OPTIONS

No specify

Displays the current setting information.

-i ip-address

For ip-address, specify the IP address of the server node that can communicate from the administrative server.

Sets the specified IP address as the start IP address of Agent.


EXAMPLES

NOTES

If the host name cannot be resolved from the specified IP address, the messages shown below is displayed. Check for an error in the specified IP address or network definition (hosts, DNS, etc.), and re-execute the command.

IP Address = IP address: Host's Name is not found.

12.7.1.3 Server node Agent SNMP Trap Test (traptest)

NAME

traptest - Does the test of SNMP Trap


SYNOPSIS

/opt/FJSVssagt/bin/traptest [ip-address]

DESCRIPTION

This command checks whether SNMP Trap is correctly transmitted to a administrative server from a server node agent, display an event, and check the linkage with Shell/Bat. The Centric Manager linkage is not operated by this command.

If the action on SNMP Trap as a test is supposed to be changed, change SNMP Trap XML definition file (1_3_6_1_4_1_211_4_1_3_21_2_2.xml) for the ESC agent. In SNMP Trap as a test, 1 is used for Specific Trap Type number and the action can be changed by changing the definition of the Specific Trap Type number 1 defined in SNMP Trap XML definition file. For SNMP Trap XML definition file, refer to "C.6 SNMP Trap XML Definition File".

Only in the environment where the host holds two or more IP addresses, a server node's IP (Agent start IP address) address which the ESC manager recognizes is specified to ip-address.


OPTIONS

None.


EXAMPLES

NOTES

If the SNMP Trap destination address is not set to the server node when execute the command, the following results are output.

Target Host Nothing
SNMPTrap error

If the server node that input in the command is not registered in ESC, please re-execute the command after registering the server node.

Please execute the same action in case where the server node is not registered in ESC after deletion of the server node.