The following sections explain the commands for managing the operating environment.
NAME
sanadmsh chtraprcvip - changes SNMP Trap transmission place IP address
SYNOPSIS
/opt/FJSVssmgr/bin/sanadmsh chtraprcvip -h /opt/FJSVssmgr/bin/sanadmsh chtraprcvip -all -oldip xxx.xxx.xxx.xxx [-newip yyy.yyy.yyy.yyy] /opt/FJSVssmgr/bin/sanadmsh chtraprcvip DeviceID -oldip xxx.xxx.xxx.xxx [-newip yyy.yyy.yyy.yyy]
DESCRIPTION
After the IP address of the Management Server is changed, delete the old IP address of the Management Server that is the SNMP Trap transmission place from the devices registered with this software, and add the new IP address. Only OS administrator (root) user can execute this command.
Although the SNMP Trap transmission place setting for a device may be changed with the Management Software on the device, this software provides this command to facilitate changing of the transmission place.
OPTIONS
Displays help about the argument format of this command.
Applies SNMP Trap transmission place setting to all devices managed by this software. Executing the command specified with this argument outputs device names and execution results in execution order to the standard output. If the Management Server has more than one IP address, for example, the Management Server is connected to multiple subnets, a device may not be set with the correct SNMP Trap transmission place. After this setting is performed, check whether the correct Management Server address is set as the SNMP Trap transmission place setting on the device side.
Applies SNMP Trap transmission place setting to the limited devices. Specify the device type according to the following tables. Afterwards, specify how to recognize the device.
Device type | Device recognition method (one of which must be specified) |
---|---|
-host | ip:xxx.xxx.xxx.xxx sysname:SysName name of a device SNMP setting nickname:Device management name that is set for this software. |
Specify the old IP address of the Management Server. Delete this IP address from the SNMP transmission place address of managed devices.
Specify the new IP address of the new Management Server. Add this IP address to the SNMP transmission place address. If this argument is omitted, the IP address of the new Management Server is automatically specified. It is recommended to enter the argument considering the Management Server that has multiple IP addresses.
USAGE
Execute the command after changing the IP address of Manager. The command may be executed for all devices managed by this software by the one command or for a specific device.
Devices that can be targets of the command are devices for which SNMP Trap transmission place settings can be defined automatically from this software.
The status of every target device must be normal.
EXAMPLES
Execute the SNMP Trap transmission place change on all managed devices that can automatically execute SNMP Trap transmission place setting.
# /opt/FJSVssmgr/bin/sanadmsh chtraprcvip -all -oldip 10.10.10.10 -newip 20.20.20.20
Execute the SNMP Trap transmission place change on server nodes that sysname is defined in host1.
# /opt/FJSVssmgr/bin/sanadmsh chtraprcvip -host sysname:host1 -oldip 10.10.10.10 -newip 20.20.20.20
NAME
swtraptest - tests of SNMP Trap
SYNOPSIS
/opt/FJSVssmgr/bin/swtraptest ip-address
DESCRIPTION
This command checks whether this software can receive an SNMP Trap correctly, display an event, and cooperate with Systemwalker Centric Manager and Shell.
A simulated Fibre Channel switch SNMP Trap (FC Port fault) is created and issued to the Management Server.
For fibre-channel-switch-ip-address, specify the IP address of the Fibre Channel switch which is to check the SNMP trap setting by this command.
The Fibre Channel switch must be a device managed by this software.
OPTIONS
None.
EXAMPLES
Executing this command for a Fibre Channel switch whose IP address is 11.11.11.11
# /opt/FJSVssmgr/bin/swtraptest 11.11.11.11
NOTES
Even the input IP address is not for a FC device, this command can be executed.
In this case, it executes as the event of device which IP address is input.
NAME
grtraptest - tests of SNMP Trap
SYNOPSIS
/opt/FJSVssmgr/bin/grtraptest ip-address
DESCRIPTION
This command checks whether this software can receive an SNMP Trap correctly, display an event, and cooperate with Systemwalker Centric Manager and Shell/Bat.
A simulated SNMP Trap (FAN fault) for the ETERNUS Disk storage system is created within the Management Server and is issued to the Management Server itself.
For ip-address, specify the IP address of the ETERNUS Disk storage system which is to check the SNMP Trap settings.
It is necessary that the ETERNUS Disk storage device in question is a device managed by this software.
OPTIONS
None.
EXAMPLES
Executing the command for a storage device whose IP address is 12.12.12.12
# /opt/FJSVssmgr/bin/grtraptest 12.12.12.12
NOTES
Following ETERNUS Disk storage system can be tested by using this command:
ETERNUS DX series, ETERNUS2000, ETERNUS4000 ETERNUS8000
This command can be executed even if you have input the IP address for a device other than an ETERNUS Disk storage system.
In that case, the command is executed as an event of the device corresponding to the designated IP address.
NAME
storageadm zone - operates the host affinity and Fibre Channel switch zoning
SYNOPSIS
/opt/FJSVssmgr/sbin/storageadm zone add -storage cawwpn,affinitygroup -hba hbawwpn [-ipaddr ipaddr[,ipaddr]] [-hostrsp hostresponse] [-update all] [-f [-s]] /opt/FJSVssmgr/sbin/storageadm zone delete -storage cawwpn,affinitygroup -hba hbawwpn [-ipaddr ipaddr[,ipaddr]] [-update all] [-s] /opt/FJSVssmgr/sbin/storageadm zone info [-ipaddr ipaddr[,ipaddr,...] [-check]] [-fast] [-csv] [-hex]
DESCRIPTION
This command is used to set/delete/display the storage device host affinity and Fibre Channel switch zoning. Only OS administrator (root) user can execute this command.
Specify the storage device CA WWPN, affinity group, and WWPN of the set HBA in the command parameter to set/delete the storage device host affinity and Fibre Channel switch zoning. The set host affinity and zoning is also displayed.
The target storage device and Fibre Channel switch must be devices managed by this software.
OPERANDS
This sets the host affinity and zoning.
This deletes the host affinity and zoning.
This displays the host affinity and zoning.
OPTIONS
Designate the WWPN and affinity group number for the CA of the storage device for which host affinity is being set.
The CA WWPN is specified with a 16-character long hexadecimal number or a 23-character long hexadecimal number with each two digits separated by a colon (":"). For example, if separating the characters with colons, the WWPN is written in a manner such as 11:11:11:11:11:11:11:11. The affinity group number is specified by a decimal or hexadecimal number. For example, a 16-number affinity group number is written in a manner such as as -storage 1111111111111111,16, whereas a hexadecimal affinity group number is written in a manner such as 1111111111111111,0x10.
Specify the WWPN for the HBA to be set to the host affinity and zoning.
The WWPN for the HBA is written with a 16-character long hexadecimal number or a 23-character long hexadecimal number with each two digits separated by a colon (":"). For example, if separating the characters with colons, the WWPN is written in a manner such as 22:22:22:22:22:22:22:22.
Set the IP address of a storage device and/or Fibre Channel switch. To specify the IP addresses of both devices, separate the two IP addresses with a comma (","). The two IP addresses can be specified in either order. If you have specified the IP address of storage device, check that the status allows for setting the host affinity to the affinity group of the CA for the storage device designated with the -storage option. Set the host affinity to the storage device only if the status allows the setting. If the status does not allow for the setting to be made, the command will terminate with an error.
If you have specified the IP address of a Fibre Channel switch, check that the status allows for setting the WWPN and zoning for the HBA specified with the -hba option within the fabric which includes the Fibre Channel switches connected to the CA of the storage device specified with the -storage option (i.e. all Fibre Channel switches connected in a cascade connection). Set the zoning to the Fibre Channel switch only if the status allows the setting. If the status does not allow the setting, the command will terminate with an error.
If you have specified the IP addresses of both devices, check that the status allows you to set the host affinity or zoning to the respective devices. Set the host affinity and zoning only if the status allows for the settings to be made for both devices. If the status is such that the setting cannot be made to either of the devices, the command will terminate with an error.
Specify the host response being used by the HBA. If you skip this option, the storage device's default host response will be set.
Specify this option to update the information this software is managing to the latest information after the completion of the setup. Only "all" can be specified for this option. If this option is skipped, the information managed by this software will not be updated. To update the information, be sure to execute info operand without specifying the -fast option.
This option is effective for when there are few settings needing to be updated. The info operand is effective for updating information after performing multiple settings at one time.
Specify this option if forcibly setting WWPN zoning to a Fibre Channel switch in a status of not having zoning set up.
Check the security settings for the Fibre Channel switch when specifying this option. Specify this option only if setting WWPN zoning.
Moreover, if you specify this option under the conditions described below, the operand will be executed the same as if this option was skipped.
If only a storage device is specified for the -ipaddr option
If zoning is already set for the Fibre Channel switch to which you intend to set the zoning
Continues the processing without a confirmation message being output.
This option can only be specified if the -f option is also specified.
Designate the WWPN and affinity group number for the CA of the storage device for which host affinity is being deleted.
The CA WWPN is specified with a 16-character long hexadecimal number or a 23-character long hexadecimal number with each two digits separated by a colon (":"). For example, if separating the characters with colons, the WWPN is written in a manner such as 11:11:11:11:11:11:11:11.
The affinity group number is specified by a decimal or hexadecimal number. For example, a 16-number affinity group number is written in a manner such as as -storage 1111111111111111,16, whereas a hexadecimal affinity group number is written in a manner such as 1111111111111111,0x10.
The affinity group number is specified by a decimal or hexadecimal number. For example, a 16-number affinity group number is written in a manner such as as -storage 1111111111111111,16, whereas a hexadecimal affinity group number is written in a manner such as 1111111111111111,0x10.
Specify the WWPN for the HBA from which the host affinity and zoning to be deleted.
The WWPN for the HBA is written with a 16-character long hexadecimal number or a 23-character long hexadecimal number with each two digits separated by a colon (":"). For example, if separating the characters with colons, the WWPN is written in a manner such as 22:22:22:22:22:22:22:22.
Set the IP address of a storage device and/or Fibre Channel switch. To specify the IP addresses of both devices, separate the two IP addresses with a comma (","). The two IP addresses can be specified in either order.
If you have specified the IP address of a storage device, check that the status allows for deleting the host affinity to the affinity group of the CA for the storage device designated with the -storage option. Delete the host affinity to the storage device only if the status allows the deletion. If the status does not allow the deletion, the command will terminate with an error.
If you have specified the IP address of a Fibre Channel switch, check that the status allows for deleting the WWPN and zoning for the HBA specified with the -hba option within the fabric which includes the Fibre Channel switches connected to the CA of the storage device specified with the -storage option (i.e. all Fibre Channel switches connected in a cascade connection). Delete the zoning to the Fibre Channel switch only if the status allows the deletion. If the status does not allow the deletion, the command will terminate with an error.
If you have specified the IP addresses of both devices, check that the status allows you to delete the host affinity or zoning to the respective devices. Delete the host affinity and zoning only if the status allows for the deletion for both devices. If the status is such that the deletion cannot be made to either of the devices, the command will terminate with an error.
Specify this option to update the information this software is managing to the latest information after the completion of the setup. Only "all" can be specified for this option. If this option is skipped, the information managed by this software will not be updated. To update the information, be sure to execute info operand without specifying the -fast option.
This option is effective for when there are few deletion. The info operand is effective for updating information after performing multiple deletions at one time.
Continues the processing without a confirmation message being output.
Displays the zoning information for the Fibre Channel switches corresponding to the specified IP addresses or host affinity information for the host affinities set to the CA of the storage devices. To display information for multiple storage devices and Fibre Channel switches, specify the IP addresses separated by comma (",").
If this option is skipped, the operand will display the information for all storage devices and Fibre Channel switches registered with this software.
However, the operand will display information for the following storage devices which as not registered with this software (but detected).
ETERNUS DX60/DX60 S2/DX80/DX90
ETERNUS DX400 series
ETERNUS DX8000 series
ETERNUS2000
ETERNUS4000
ETERNUS8000
Checks that the devices specified with the -ipaddr option are storage devices or Fibre Channel switches which are registered to this software.
However, the specified devices will be included for display even if they have not been registered with this software (but detected) if they are one of the following devices.
ETERNUS DX60/DX60 S2/DX80/DX90
ETERNUS DX400 series
ETERNUS DX8000 series
ETERNUS2000
ETERNUS4000
ETERNUS8000
Checks that the status allows for display of the information. The information for the designated devices is displayed only if the status allows for it. If the status does not allow for information to be displayed or if the devices are not devices applicable to this display, the command will terminate with an error.
This option can be specified if the -ipaddr option is also specified.
Specify this to display storage device and Fibre Channel switch information from the existing information managed by this software. If this option is skipped, the storage device and Fibre Channel switch information will be displayed after the information managed by this software has been updated to the latest information.
This option is effective for displaying information after you have executed the add operand or the delete operand with the update all option specified.
Displays the storage device and Fibre Channel switch information in CSV format. If this option is skipped, the information is displayed in a table format.
Specify this to display the storage device and Fibre Channel switch information in hexadecimal format. If this option is specified, the affinity group numbers for storage devices will be displayed in hexadecimal format.
EXAMPLES
Adding the host affinity and zoning
# /opt/FJSVssmgr/sbin/storageadm zone add -storage 1111111111111111,3 -hba 2222222222222222
Deleting the host affinity and zoning
# /opt/FJSVssmgr/sbin/storageadm zone delete -storage 1111111111111111,3 -hba 2222222222222222
Displaying the host affinity and zoning
# /opt/FJSVssmgr/sbin/storageadm zone info <<< FC Switch Zone Information >>> DEVICE_NAME(IP_ADDRESS) ZONE_NAME ZONE_WWPN ------------------------------ --------------- --------------------------------- Switch1(10.10.10.10) SNM_0001 1111111111111111;2222222222222222 SNM_0002 3333333333333333;4444444444444444 -------------------------------------------------------------------------------- <<< FC CA Zone Information >>> DEVICE_NAME(IP_ADDRESS) CA_WWPN AFFINITY_GROUP HBA_WWPN ------------------------------ ---------------- --------------- ---------------- E4000M300(10.10.10.11) 1111111111111111 3 2222222222222222 --------------------------------------------------------------------------------
Displaying the host affinity and zoning in CSV format and in hexadecimal format.
# /opt/FJSVssmgr/sbin/storageadm zone info -csv -hex DEVICE_NAME(IP_ADDRESS),ZONE_NAME,ZONE_WWPN Switch1(10.10.10.10),SNM_0001,1111111111111111;2222222222222222 ,SNM_0002,3333333333333333;4444444444444444 DEVICE_NAME(IP_ADDRESS),CA_WWPN,AFFINITY_GROUP,HBA_WWPN E4000M300(10.10.10.11),1111111111111111,0x0003,2222222222222222
NOTES
The storage device and Fibre Channel switch for which set/delete/display is performed must have been registered with this software.
However, the operand will display information for the following storage devices which as not registered with this software (but detected).
ETERNUS DX60/DX60 S2/DX80/DX90
ETERNUS DX400 series
ETERNUS DX8000 series
ETERNUS2000
ETERNUS4000
ETERNUS8000
This command cannot be used to register Fibre Channel switches if zoning has not been set. Create a temporary zone and then register the Fibre Channel switch with this software. Refer to "4.2.1.1 Setting" for details on creating temporary zones.
By specifying the -f option, you can forcibly set zoning even to those fibre channel switches for which zoning has not been set.
However, if you have created a temporary zone or performed a forcible setting using the -f option, all access except to the zoning specified with the -f option will be blocked. Therefore, be sure not to perform this task while the environment for the target fibre channel switch is operating. Perform this task either before starting the operation of the environment after the installation of the fibre channel switch environment or while the operation of the environment is stopped.
Execute this command after confirming the state of the server is below. (When the server where HBA specified for "-hba" option is installed is registered with this software.)
The server had to have started when "Add" option was specified.
The server had to have stopped when "Delete" option was specified.
The zoning for the Fibre Channel switch is set within the fabric which includes the Fibre Channel switches connected to the CA of the specified storage device (i.e. all Fibre Channel switches connected in a cascade connection) to the fibre switches equipped with the latest firmware
The Fibre Channel switch and storage device must be connected using a Fibre Channel cable. If the Fibre Channel cable is not connected, Fibre Channel switch zoning is not set. Connect the Fibre Channel cable, and then re-execute the command.
Zone settings (AffinityGroup creation) must be configured in the ETERNUS Disk storage system in advance, using ETERNUSmgr.
Only the ETERNUS SN200 (except model 250M) and Brocade (except AP7420) Fibre Channel switch and PRIMERGY Fibre Channel switch blades are supported.
The message below is output when "delete" is specified. To continue, enter 'y'. To cancel, enter 'n'. The confirmation message can be surpass by specifying the -s option
If the -f option is specified with the add operand but -s option is not specified
If the -s option is not specified with the delete operand delete
A confirmation message is as follows:
Are you sure? [y/n]:
NAME
storageadm iscsizone - Operates iSCSI host affinity
SYNOPSIS
/opt/FJSVssmgr/sbin/storageadm iscsizone add -ipaddr ipaddr -storage {portipaddr,portiscsiname,affinitygroup | portid,affinitygroup} -server {serverportipaddr,serverportiscsiname | serverportiscsiname} [-svalias serveralias] [-svname servername] [-svhostrsp serverhostresponse] [-check] /opt/FJSVssmgr/sbin/storageadm iscsizone delete -ipaddr ipaddr -storage {portipaddr,portiscsiname,affinitygroup | portid,affinitygroup} -server {serverportipaddr,serverportiscsiname | serverportiscsiname} [-check] [-s] /opt/FJSVssmgr/sbin/storageadm iscsizone info [-ipaddr ipaddr[,ipaddr,...] [-check]] [-csv] [-hex]
DESCRIPTION
This command is used to set, delete, and display the host affinity of the storage device iSCSI. Only OS administrator (root) user can execute this command.
In the command operands, specify the IP address and iSCSI name of the storage device iSCSI port, the affinity group, and the IP address and iSCSI name of the server being set. Use these operands to set and delete the host affinity of the storage device and to display the host affinity that is set.
The targeted storage device must be a device managed by this software.
OPERANDS
This sets the host affinity.
This deletes the host affinity.
This displays the host affinity.
OPTIONS
Specifies the IP address of the storage device.
Specify the iSCSI port IP address and iSCSI name of the storage device for which the host affinity is set and the affinity group number, or specify the port ID and the affinity group number.
Specify the AffinityGroup number as a decimal or hexadecimal number.
[Specification example]
Decimal specification: -storage 172.16.4.38,iqn.2000-09.com.fujitsu:storage-system.e2000:0000000029,3
Hexadecimal specification: -storage 172.16.4.38,iqn.2000-09.com.fujitsu:storage-system.e2000:0000000029,0x3
For ETERNUS DX60/DX60 S2, DX80, DX90, the port ID is the CM number and the port number entered, and for ETERNUS DX80 S2/DX90 S2, ETERNUS DX400/DX400 S2 series, ETERNUS DX8000/DX8000 S2 series, ETERNUS4000, and ETERNUS8000, the port ID is the CM number, the CA number and the port number entered.
[Specification example]
To specify CM number 1, CA number 2 and port number 1 with AffinityGroup number 6: -storage 121,6
Specify the iSCSI port IP address and the iSCSI name of the server for which the host affinity is set.
If the device supports non-setting of the iSCSI host IP address, the server can be specified with the iSCSI host IP address omitted.
This specifies the iSCSI alias of the server being set for the host affinity. If omitted, an alias is not set.
This specifies the host alias of the server being set for the host affinity. An alias cannot be set at the ETERNUS4000 models 400 and 600, and ETERNUS8000 models 800, 1200, and 2200 devices that do not support aliases. If set, the alias causes an error. If omitted at the ETERNUS DX60/DX60 S2, DX80/DX80 S2, DX90/DX90 S2, ETERNUS DX400 S2 series, ETERNUS DX8000 S2 series, an alias is set automatically. If omitted at other devices, an alias is not set.
This specifies the host response number of the server being set for the host affinity. If omitted, then host response number #0 is set.
This checks whether the server specified in the -server option is already set as the host affinity setting for the device at the IP address specified in the -ipaddr option. If it is not already set as the host affinity, processing continues and the host affinity is set. If it is already set as the host affinity, an error occurs. If this option is omitted, processing continues without checking.
Specify the IP address of the storage device.
Specify the iSCSI port IP address and iSCSI name of the storage device for which the host affinity is being deleted and the affinity group number, or specify the port ID and the affinity group number.
Specify the AffinityGroup number as a decimal or hexadecimal number.
[Specification example]
Decimal specification: -storage 172.16.4.38,iqn.2000-09.com.fujitsu:storage-system.e2000:0000000029,3
Hexadecimal specification: -storage 172.16.4.38,iqn.2000-09.com.fujitsu:storage-system.e2000:0000000029,0x3
For ETERNUS DX60/DX60 S2, DX80, DX90, the port ID is the CM number and the port number entered, and for ETERNUS DX80 S2/DX90 S2, ETERNUS DX400/DX400 S2 series, ETERNUS DX8000/DX8000 S2 series, ETERNUS4000, and ETERNUS8000, the port ID is the CM number, the CA number and the port number entered.
[Specification example]
To specify CM number 1, CA number 2 and port number 1 with AffinityGroup number 6: -storage 121,6
Specify the iSCSI port IP address and the iSCSI name of the server for which the host affinity is being deleted.
If the device supports non-setting of the iSCSI host IP address, the server can be specified with the iSCSI host IP address omitted.
This checks whether the server specified in the -server option is already set as the host affinity setting for the device at the IP address specified in the -ipaddr option. If it is not already set as the host affinity, an error occurs. If it is already set as the host affinity, processing continues and the setting is deleted. If this option is omitted, processing continues without checking.
Processing continues without output of a confirmation message.
This displays the host affinity information of the storage device at the specified IP address.
To display information of multiple storage devices, specify the IP addresses successively, separated by commas (",").
If this option is omitted, information is displayed for all the storage devices registered with this software.However, the information for the following storage devices which as not registered with the software (but detected) is displayed
ETERNUS DX60/DX60 S2/DX80/DX90
ETERNUS DX400 series
ETERNUS DX8000 series
ETERNUS2000
ETERNUS4000
ETERNUS8000
This checks whether the devices at the IP address specified in the -ipaddr option are storage devices registered with this software. If all devices at the specified IP address are registered with this software, processing continues and the setting information is displayed. If at least one device at the specified IP address is not registered with this software, and error occurs. If this option is omitted, processing continues without checking.
When a device whose IP address has been specified is one of the following, the process continues and the setting information is displayed even if it has not been registered with this software (but detected).
ETERNUS DX60/DX60 S2/DX80/DX90
ETERNUS DX400 series
ETERNUS DX8000 series
ETERNUS2000
ETERNUS4000
ETERNUS8000
This option can be specified only when the -ipaddr option is specified.
If this option is specified, output is in CSV format.
If this option is specified, the Affinitygroup number is displayed as a hexadecimal number.
EXAMPLES
Add a host affinity.
# /opt/FJSVssmgr/sbin/storageadm iscsizone add -ipaddr 1.2.3.4 -storage 172.16.4.38,iqn.2000-09.com.fujitsu:storage-system.e2000:0000000029,3 -server 172.16.4.198,eui.2222222222222222 -svalias alias2222 -svname name2222 -svhostrsp 2 INFO:swsag0001:Command terminated normally.
Delete a host affinity.
# /opt/FJSVssmgr/sbin/storageadm iscsizone delete -ipaddr 1.2.3.4 -storage 172.16.4.38,iqn.2000-09.com.fujitsu:storage-system.e2000:0000000029,3 -server 172.16.4.198,eui.2222222222222222 INFO:swsag0001:Command terminated normally.
Display the host affinity in table format.
# /opt/FJSVssmgr/sbin/storageadm iscsizone info -ipaddr 1.2.3.4 <<< iSCSI CA Zone Information >>> DEVICE NAME(IP ADDRESS) PORT ISCSI CA ISCSI CA AFFINITY SERVER SERVER ID IP ADDRESS ISCSI NAME GROUP IP ADDRESS ISCSI NAME ------------------------------ ---- --------------- ---------------- -------- --------------- ---------------- DX60(1.2.3.4) 00 172.16.4.38 iqn.2000-09.com.fujitsu:storage-system.e2000:0000000029 6 172.16.4.198 eui.2222222222222222 01 172.16.4.39 iqn.2000-09.com.fujitsu:storage-system.e2000:0000000029 6 172.16.4.198 eui.2222222222222222 01 172.16.4.39 iqn.2000-09.com.fujitsu:storage-system.e2000:0000000029 6 172.16.4.199 eui.3333333333333333 10 172.16.4.40 iqn.2000-09.com.fujitsu:storage-system.e2000:0000000029 - - - 11 172.16.4.41 iqn.2000-09.com.fujitsu:storage-system.e2000:0000000029 - - - E4000(1.2.3.5) 000 172.16.4.38 iqn.2000-09.com.fujitsu:storage-system.e4000:0000000001 3 172.16.4.198 eui.2222222222222222 120 172.16.4.40 iqn.2000-09.com.fujitsu:storage-system.e4000:0000000001 3 172.16.4.158 eui.4444444444444444 -------------------------------------------------------------------------------------------------------------- INFO:swsag0001:Command terminated normally.
Display the host affinity in CSV format.
# /opt/FJSVssmgr/sbin/storageadm iscsizone info -ipaddr 1.2.3.4 -csv DEVICE NAME(IP ADDRESS),PORT ID,ISCSI CA IP ADDRESS,ISCSI CA ISCSI NAME,AFFINITY GROUP,SERVER IP ADDRESS,SERVER ISCSI NAME DX60(1.2.3.4),00,172.16.4.38,iqn.2000-09.com.fujitsu:storage-system.e2000:0000000029,6,172.16.4.198,eui.2222222222222222 ,01,172.16.4.39,iqn.2000-09.com.fujitsu:storage-system.e2000:0000000029,6,172.16.4.198,eui.2222222222222222 ,01,172.16.4.39,iqn.2000-09.com.fujitsu:storage-system.e2000:0000000029,6,172.16.4.199,eui.3333333333333333 ,10,172.16.4.40,iqn.2000-09.com.fujitsu:storage-system.e2000:0000000029,-,-,- ,11,172.16.4.41,iqn.2000-09.com.fujitsu:storage-system.e2000:0000000029,-,-,- E4000(1.2.3.5),000,172.16.4.38,iqn.2000-09.com.fujitsu:storage-system.e4000:0000000001,3,172.16.4.198,eui.2222222222222222 ,120,172.16.4.38,iqn.2000-09.com.fujitsu:storage-system.e4000:0000000001,3,172.16.4.158,eui.4444444444444444
NOTES
Storage devices must be registered with this software in order to add, delete, and display settings.
However, the information for the following storage devices which as not registered with the software (but detected) is displayed
ETERNUS DX60/DX60 S2/DX80/DX90
ETERNUS DX400 series
ETERNUS DX8000 series
ETERNUS2000
ETERNUS4000
ETERNUS8000
Zone settings (AffinityGroup creation) must be configured in the ETERNUS Disk storage system in advance, using ETERNUSmgr.
The message below is displayed when the delete operand is specified. Enter "y" to continue, or "n" to cancel. Note that this message is not displayed if the -s option is specified.
Are you sure? [y/n]:
NAME
storageadm perfdata - operates the performance information
SYNOPSIS
/opt/FJSVssmgr/sbin/storageadm perfdata export outdirname -ipaddr ipaddr [-date start_time[-end_time]]
DESCRIPTION
This command outputs the performance information of the storage devices and Fibre Channel switches. Only OS administrator (root) user can execute this command.
By specifying the IP address of the device that outputs the performance information and the date in the command operand, the storage device and Fibre Channel switch performance information is output in CSV format.
The target storage device and Fibre Channel switch must be devices managed by this software when performance monitoring is either still running or already completed.
The supported devices are as follows.
ETERNUS DX series, ETERNUS2000, ETERNUS4000, ETERNUS8000
The Fibre Channel switches and Fibre Channel switch blades which support the performance monitoring.
The details of CSV files are as follows.
Items | Explanation |
---|---|
File name | PORT.csv |
Header line |
|
Data line | date,port0s,port0r,port0e, ... ,portNs,portNr,portNe The following information is output for each field. (After date, the information is repeated for the actual number of ports.) |
ETERNUS DX60/DX60 S2, DX80/DX80 S2, DX90/DX90 S2, ETERNUS2000, ETERNUS4000 models 300 and 500, ETERNUS8000 models 700, 900, 1100 and 2100
Items | Explanation |
---|---|
File name | CM.csv |
Header line | Date, CM0xXX:CPUX - CPU Use Rate, CM0xXX:CPUX - Copy Remain, ... |
Data line | date,CM00u,CM00r, ... ,CMNNu,CMNNr The following information is output for each field. (After date, the information is repeated for the actual number of CMs.) |
*1: The CPU number is not output when the storage device is ETERNUS DX60/DX60 S2, DX80/DX80 S2, DX90/DX90 S2 or ETERNUS2000.
ETERNUS DX400/DX400 S2 series, ETERNUS DX8000/DX8000 S2 series, ETERNUS4000 models 400 and 600, ETERNUS8000 models 800, 1200 and 2200
Items | Explanation |
---|---|
File name | CM/nnnn.csv |
Header line | Date, CM0xXX:CPUX - CPU Use Rate, CM0xXX:CPUX(ROE) - CPU Use Rate, CM0xXX:CPUX - Copy Remain |
Data line | date,cpu,roe,remain The following information is output for each field. |
Items | Explanation |
---|---|
File name | LogicalVolume/nnnn.csv |
Header line | Date, LogicalVolume0xXXXX - Read IOPS, LogicalVolume0xXXXX - Write IOPS, LogicalVolume0xXXXX - Read Throughput, LogicalVolume0xXXXX - Write Throughput, LogicalVolume0xXXXX - Read Response Time, LogicalVolume0xXXXX - Write Response Time, LogicalVolume0xXXXX - Read Cache Hit Rate, LogicalVolume0xXXXX - Write Cache Hit Rate, LogicalVolume0xXXXX - Prefetch Cache Hit Rate, |
Data line | date,read,write,through-r,through-w,resp-r,resp-w,hit-r,hit-w,fetch The following information is output for each field. |
Items | Explanation |
---|---|
File name | RAIDGroup/nnnn.csv |
Header line | Date, RAIDGroup0x0xXXXX - Read IOPS, RAIDGroup0x0xXXXX - Write IOPS, RAIDGroup0x0xXXXX - Read Throughput, RAIDGroup0x0xXXXX- Write Throughput, RAIDGroup0x0xXXXX - Read Response Time, RAIDGroup0x0xXXXX - Write Response Time, RAIDGroup0x0xXXXX - Read Cache Hit Rate, RAIDGroup0x0xXXXX - Write Cache Hit Rate, RAIDGroup0x0xXXXX - Prefetch Cache Hit Rate, |
Data line | date,read,write,through-r,through-w,resp-r,resp-w,hit-r,hit-w,fetch The following information is output for each field. |
Items | Explanation |
---|---|
File name | Disk/nnnn.csv |
Header line | Date, DE0xXX:DiskX - busy time, ... |
Data line | date,Disk0, ... ,DiskN The following information is output for each field. (After date, the information is repeated for the actual number of Disks.) |
Items | Explanation |
---|---|
File name | Port/nnnn.csv |
Header line |
|
Data line | date,read,write,through-r,through-w The following information is output for each field. |
Note: According to the port mode of the target CA/CM Port, the following is add at the end of each port name in the header line.
Port mode | FC | iSCSI |
---|---|---|
CA | - | (iSCSI-CA) |
RA | (FC-RA) | (iSCSI-RA) |
CA/RA | (FC-CA/RA) | (iSCSI-CA/RA) |
Items | Explanation |
---|---|
File name | ACTIVE_DISK.csv |
Header line | Date, Total Disks, Active Disks |
Data line | date,total,active The following information is output for each field. |
Items | Explanation |
---|---|
File name | SYSTEM_POWER_CONSUMPTION.csv |
Header line | Date, System Power Consumption |
Data line | date, power The following information is output for each field. |
Items | Explanation |
---|---|
File name | SYSTEM_TEMPERATURE.csv |
Header line | Date, System Temperature |
Data line | date, temperature The following information is output for each field. |
OPERANDS
Outputs performance information for the specified date in CSV format.
Specify the directory that outputs performance information.
Performance information is output to the outdirname directory based on the following configuration.
OPTIONS
Specify the IP address of the device that outputs performance information.
The output target device must satisfy the following conditions:
Storage devices, Fibre Channel switches and Fibre Channel switch blades that output performance information must be registered with this software, and the device must be one of the following performance monitoring targets:
ETERNUS DX series, ETERNUS2000, ETERNUS4000, ETERNUS8000
The Fibre Channel switches and Fibre Channel switch blades which support the performance monitoring.
For the settings of performance monitoring, refer to "7.2.2 Instruction for performance management".
Specify the start and end times for the output of performance information in YYYYMMDDhhmm format. The start and end times must be concatenated using a hyphen ("-"), as follows:
YYYYMMDDhhmm-YYYYMMDDhhmm
If the hyphen ("-") and end time are omitted, the command execution time will be the end time.
If this option is omitted, a time 30 minutes before the command execution time will be the start time, and the command execution time will be the end time.
EXAMPLES
Output of performance information from 00:00 on 01/01/2008 to 23:59 on 01/01/2008 for a device with IP address 10.101.12.13 to the /tmp/work directory:
# /opt/FJSVssmgr/sbin/storageadm perfdata export /tmp/work -ipaddr 10.101.12.13 -date 200801010000-200801012359
Output of performance information from 00:00 on 01/01/2008 to now for a device with IP address 10.101.12.13 to the /tmp/work directory:
# /opt/FJSVssmgr/sbin/storageadm perfdata export /tmp/work -ipaddr 10.101.12.13 -date 200801010000
NOTES
The full path of an existing directory must be specified in outdirname.
The time that is specified for the -date option start time must be earlier than the end time. Additionally, the time that is specified for the start and end times must be later than 00:00 on 01/08/2001, and earlier than the command execution time.
NAME
storageadm spindle - controls disks
SYNOPSIS
/opt/FJSVssmgr/sbin/storageadm spindle start -ipaddr ipaddr {-raid RAIDGroup_number[,RAIDGroup_number,...] | -server} [-sync [-time timeout]] /opt/FJSVssmgr/sbin/storageadm spindle stop -ipaddr ipaddr {-raid RAIDGroup_number[,RAIDGroup_number,...] | -server} [-sync [-time timeout]] [-s] [-f] /opt/FJSVssmgr/sbin/storageadm spindle info -ipaddr ipaddr [{-raid RAIDGroup_number[,RAIDGroup_number,...] | -server}]
DESCRIPTION
Starts or stops the storage device RAID disk rotation. Only OS administrator (root) user can execute this command.
If a storage device was specified when the status was displayed, the rotation status of the disk that was used to configure RAID is displayed.
If a server was specified, the storage device RAIDGroup number and volume number used by the server are displayed.
By specifying the storage device IP address and RAIDGroup number in the command operand, the rotation of the disk that was used to configure the storage device RAID is started or stopped.
By specifying the server IP address, the rotation of the storage device disk used by the server is started or stopped.
The target storage device and server must be devices managed by this software.
OPERANDS
Starts the disk that is used to configure the storage device RAIDGroup.
Stops the disk that is used to configure the storage device RAIDGroup.
Displays the storage device RAIDGroup Eco-mode information, or the storage device information used by the server.
OPTIONS
Specify the storage device or server IP address.
Specify the start target RAIDGroup number using hexadecimal notation. If more than one RAIDGroup number is specified, separate each number using a comma (",").
Specify this option when the storage device IP address has been specified in the -ipaddr option.
Specify this option to start rotation of the storage device disk used by the server.
Specify this option when the server IP address has been specified in the -ipaddr option.
When this option is specified, there is no return until processing is complete, or the time specified in the -time option has elapsed.
Specify the timeout value (unit: seconds) if the -sync option has been specified. Specify a number from 1 to 86400. If this option is omitted, the timeout value will be 600 seconds.
Specify the storage device or server IP address.
Specify the stop target RAIDGroup number using hexadecimal notation. If more than one RAIDGroup number is specified, separate each number using a comma (",").
Specify this option when the storage device IP address has been specified in the -ipaddr option.
Specify this option to stop rotation of the storage device disk used by the server.
Specify this option when the server IP address has been specified in the -ipaddr option.
When this option is specified, there is no return until processing is complete, or the time specified in the -time option has elapsed.
Specify the timeout value (unit: seconds) if the -sync option has been specified. Specify a number from 1 to 86400. If this option is omitted, the timeout value will be 600 seconds.
Processing continues without the output of a confirmation message.
Related RAIDGroup disks are forcibly stopped.
Specify the storage device or server IP address.
Specify the status display target RAIDGroup number using hexadecimal notation. If more than one RAIDGroup number is specified, separate each number using a comma (",").
Specify this option when the storage device IP address has been specified in the -ipaddr option.
If this option is omitted, the information for all the RAIDGroups in the specified storage device is displayed.
Specify this option when the server IP address is specified to display the storage device RAIDGroup Eco-mode information and volume number used by the server.
Specify this option when the server IP address has been specified in the -ipaddr option.
EXAMPLES
Starting the disk that is used to configure the RAIDGroup by specifying the storage device IP address and RAIDGroup number:
# /opt/FJSVssmgr/sbin/storageadm spindle start -ipaddr 10.10.10.10 -raid 0x0000,0x0001
Stopping the disk that is used to configure the RAIDGroup by specifying the storage device IP address and RAIDGroup number:
# /opt/FJSVssmgr/sbin/storageadm spindle stop -ipaddr 10.10.10.10 -raid 0x0001
Stopping the disk that is used by the server by specifying the server:
# /opt/FJSVssmgr/sbin/storageadm spindle stop -ipaddr 10.10.10.20 -server
Displaying the Eco-mode status of all storage device RAIDGroups:
# /opt/FJSVssmgr/sbin/storageadm spindle info -ipaddr 10.10.10.10 <<< ECO Mode RAID Group Information >>> RAIDGROUP_NUMBER(NAME) MODE DISK_STATUS CONTROL SCHEDULE ------------------------ ---- ------------------- ------- --------------- 0x0000(data1) ON Idle OFF External 0x0001(data2) ON in the boot process ON 01-NAME0001 0x0002 OFF Active - 0x0003 - Active - -------------------------------------------------------------------------
The explanation of the information displayed in each field is as follows.
Field title | Explanation |
---|---|
RAIDGROUP_NUMBER(NAME) | Displays the RAIDGroup number by the hexadecimal number of four digits. When the name is set on the RAIDGroup, its name is displayed by enclosing in (). |
MODE | Displays the Eco-mode status that is set on the RAIDGroup. |
DISK_STATUS | Displays the status of disks that compose the RAIDGroup. |
CONTROL | Displays the disk control status set on the RAIDGroup. |
SCHEDULE | Displays the Eco-mode schedule set on RAIDGroup by the following format. The schedule name of External is displayed as "External". number-name The "number" is displayed in decimal number, and "name" is displayed in eight characters or less. |
Displaying the storage device RAIDGroup number and volume number that are used by the server:
# /opt/FJSVssmgr/sbin/storageadm spindle info -ipaddr 10.10.10.20 -server <<< ECO Mode RAID GROUP information for Server >>> IP_ADDRESS RAID MODE DISK_STATUS CONTROL STOP --------------- ------ ---- ------------------- ------- ---- 10.10.10.10 0x0000 ON Idle OFF 0x0001 ON Active ON * ------------------------------------------------------------ <<< Disk use information on Server >>> IP_ADDRESS RAID VOLUME --------------- ------ -------------------------------------------------------- 10.10.10.10 0x0000 0x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007, 0x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F 0x0001 0x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017, 0x0018,0x0019,0x001A,0x001B,0x001C,0x001D,0x001E,0x001F -------------------------------------------------------------------------------
The explanation of the information displayed in each field is as follows.
Field title | Explanation |
---|---|
Fields of <<< ECO Mode RAID GROUP information for Server >>> | |
IP_ADDRESS | Displays the IP address of the storage device connected with the specified server. |
RAID | Displays the RAIDGroup number by the hexadecimal number of four digits. The RAIDGroup including the volume used from the specified server is displayed. |
MODE | Displays the Eco-mode status that is set on the RAIDGroup. |
DISK_STATUS | Displays the status of disks that compose the RAIDGroup. |
CONTROL | Displays the disk control status set on the RAIDGroup. |
STOP | Although the stopping the disks used from the specified server is directed, when any disks in this RAIDGroup are used from other server or this RAIDGroup cannot be stopped because of any following states, displays "*".
|
Fields of <<< Disk use information on Server >>> | |
IP_ADDRESS | Displays the IP address of the storage device connected with the specified server. |
RAID | Displays the RAIDGroup number by the hexadecimal number of four digits. The RAIDGroup including the volume used from the specified server is displayed. |
VOLUME | Displays the volume number by the hexadecimal number of four digits. The volumes used from the specified server are displayed. |
NOTES
Storage devices must be registered with this software in order to start or stop disk rotation, or to display the rotation status of the disk.
However, rotation statues of disks for the following devices which are not registered with this software (but registered) are displayed.
ETERNUS DX60/DX60 S2/DX80/DX90
ETERNUS DX400 series
ETERNUS DX8000 series
ETERNUS2000
ETERNUS4000
ETERNUS8000
There are RAIDGroups that cannot do the Eco-mode operation. Refer to "Uncontrollable RAID groups" in the "1.2.4 Energy-saving operation for storage device".
The RAIDGroup Eco-mode must be ON to operate the RAIDGroup start/stop control. For details on the procedure for setting the RAIDGroup Eco-mode to ON, refer to "6.1.6 How to control the Eco-mode".
If disk rotation is started and stopped by specifying the server IP address, do not change the storage device connection.
For stopping the disk rotation by specifying the server IP address, if one or more share disks are contained on the stopped disks, the disk rotation cannot be stopped. Check the status of all servers that use their share disks, and judge whether share disks can be stopped or not. If share disks can be stopped, specify the -f option.
For stopping the disk rotation by specifying the server IP address, if the disks used from other server are included in the RAIDGroup that stop target disk exists, the disk rotation cannot be stopped. To stop the disk rotation, either specify server IP address for all servers that use the disk of its RAIDGroup, or specify the -f option. When you specify -f option, check the status of all related servers, and judge whether disks can be stopped or not. It is recommended that the server and the RAIDGroup be the compositions of couple 1.
For stopping the disk rotation by specifying the server IP address, if the RAIDGroup including unused disks, the disk rotation cannot be stopped. Re-execute either specify the -f option or specify the RAIDGroup.
For stopping the disk rotation by specifying the server IP address, if the RAIDGroup including the stop target disk is any of "Uncontrollable RAID groups", the disk rotation cannot be stopped.
If the volume that belongs to the specified stop target RAIDGroup is concatenated with a different RAIDGroup using the LUN concatenation functionality, the disk is not stopped even if the stop operand is specified. To stop all related RAIDGroup disks, either specify all of the related RAIDGroups, or specify the -f option. However, if the related RAIDGroup is any of "Uncontrollable RAID groups", the disk control cannot be executed.
The message below is output when the stop operand is specified. To continue, enter "y". To cancel, enter "n". This message is not output when the -s option is specified.
Are you sure? [y/n]:
The information of storage device that can control disks is displayed on the storage device information used by the server. The information of storage device that cannot control disks is not displayed. When both the disk controllable storage device and the disk uncontrollable storage device are connected with the server, the information of disk controllable storage device is only displayed.
The disk does not stop when the RAIDGroup status is as follows:
Part of the storage device controller module and the module for the disk drive access route contain a fault.
The disk drive that was used to configure the RAIDGroup is faulty.
There is AdvancedCopy copy data.
There is an EC/REC session (including when there is no copy data). The disk does, however, stop when the EC/REC status is Suspend.
There is a QuickOPC/SnapOPC session (including when there is no copy data).