chsp

The chsp command modifies a storage complex for items such as notification of the Simple Network Management Protocol (SNMP) traps and e-mail problem notification lists in a storage complex.

Read syntax diagramSkip visual syntax diagram
>>-chsp--+-----------------+--+-------------------------+------->
         '- -snmp--+-on--+-'  '- -snmpaddr--new_ip_list-'   
                   '-off-'                                  

>--+------------------------+----------------------------------->
   '- -emailnotify--+-on--+-'   
                    '-off-'     

>--+-----------------------------+--+-----------------------+--->
   '- -emailaddr--new_email_list-'  '- -emailrelay--+-on--+-'   
                                                    '-off-'     

>--+-------------------------------------+---------------------->
   '- -emailrelayaddr--new_relay_ip_list-'   

>--+-------------------------------------------+---------------->
   '- -emailrelayhostaddr--new_relay_host_name-'   

>--+----------------------------+--+---------------------+-----><
   '- -desc--new_sp_description-'  '- -name--new_sp_name-'   

Parameters

Note: The Storage Manager server domain is a single storage complex. The storage complex object can only be created or deleted by service personnel.
-snmp on | off
(Optional) Specifies whether the Simple Network Management Protocol (SNMP) trap notification function sends notifications when a problem occurs on a storage complex. SNMP traps that are generated by the storage complex are sent to the IP address that is specified by the -snmpaddr parameter.
-snmpaddr new_ip_list
(Optional) Specifies a new SNMP trap destination list. This list consists of one or two IP addresses that receive SNMP traps that are generated by the storage complex if SNMP is enabled.
-emailnotify on | off
(Optional) Specifies whether e-mail notifications are sent to the designated e-mail addresses when a problem occurs on a storage complex.

When you enable the -emailnotify and -emailrelay parameters, the e-mail notification is sent directly to the IP address that is associated with the -emailrelayhost hostname parameter. However, if the e-mail relay host name is not specified, the e-mail notification is sent directly to the e-mail relay address.

When e-mail notify is enabled and e-mail relay is disabled, the e-mail notification is sent directly to the specified e-mail address.

-emailaddr new_email_list
(Optional) Specifies the e-mail IP address or addresses where problem notifications are sent. You can specify two IP addresses.
-emailrelay on | off
(Optional) When you enable the -emailrelay and -emailnotify parameters, the e-mail notification is sent directly to the IP address that is associated with the -emailrelayhost hostname parameter. However, if the e-mail relay host name is not specified, the e-mail notification is sent directly to the e-mail relay address.

When e-mail notify is enabled and e-mail relay is disabled, the e-mail notification is sent directly to the specified e-mail address.

-emailrelayaddr new_relay_ip_list
(Optional) Specifies the e-mail relay IP address list. You can specify two IP addresses.
-emailrelayhostaddr new_relay_host_name
(Optional) Specifies the new e-mail relay host system name.
-desc new_sp_description
(Optional) Specifies your description of the storage complex. This description is limited to 256 byte or 128 double-byte characters.
-name new_sp_name
(Optional) Specifies the name that you designate for the storage complex. This name is limited to 32 byte or 16 double-byte characters.

Example

Invoking the chsp command
dscli>chsp -desc "my storage complex"

The resulting output

Date/Time: Sun Aug 11 02:23:49 PST 2004 DS CLI Version: 5.0.0.0
DS: IBM.1750-75FA120

Storage-complex IBM.1750-75FA120 successfully modified.
Library | Support | Terms of use | Feedback
© Copyright IBM Corporation 2004, 2007. All Rights Reserved.