6 Performing LUN Manager Operations Using Configuration File Loader. HP XP24000/20000
HP XP24000/20000 LUN Manager is a software that allows you to configure and manage Logical Unit Numbers (LUNs) on XP24000 and XP20000 Disk Arrays. You can use it to define I/O paths from hosts to logical volumes, reconfigure LUs while the storage system is online to accommodate system configuration changes and optimize storage system performance, and apply security policies to logical volumes to protect data from unauthorized access.
Advertisement
Advertisement
6 Performing LUN Manager Operations Using Configuration
File Loader
This chapter provides instructions for performing LUN Manager operations using Configuration
File Loader.
•
Using Configuration File Loader,
•
Spreadsheet File Requirements,
•
Spreadsheet Components,
•
LUN Manager Spreadsheet Settings,
•
Error Check,
Using Configuration File Loader
Use Configuration File Loader to define channel adapter (CHA) settings, port settings, and so on.
Use Configuration File Loader to save these settings in a spreadsheet file, and then use the file to apply the settings concurrently to multiple logical volumes. You can apply settings to all or specified
LDEVs in an LDKC.
For details on the LUN Manager functions that can be defined using Configuration File Loader, see
“LUN Manager Spreadsheet Settings” (page 90)
.
is a flow chart of Configuration File Loader operations.
84 Performing LUN Manager Operations Using Configuration File Loader
Figure 49 Configuration File Loader Operation Flow Chart
This chapter provides an overview of LUN Manager spreadsheets that are required for settings using Configuration File Loader. For details on how to import spreadsheets, see the HP StorageWorks
XP24000/XP20000 Remote Web Console User Guide.
Spreadsheet File Requirements
You will need to write the spreadsheet according to specific rules and in a specific format.
shows an example of a spreadsheet.
Spreadsheet File Requirements 85
Figure 50 Sample Spreadsheet
All of the formatting requirements in
must be satisfied.
Table 10 Spreadsheet File Formatting Requirements
Item
File type
File name
Requirements
Text file
Extension must be .spd.
Maximum number of letters for the file name is 32 including the extension.
The following symbols cannot be used for the file name:
\ / : , ; * ? “ < > | and space.
File path must be under 255 letters.
Maximum number of rows in a spreadsheet
End-of-line character
400,000 rows
Linefeed code must be put in the end of each row.
Maximum number of letters in a row
Maximum number of letters in a row is 200 bytes, including the linefeed code at the end.
Case-sensitivity
Format (for more information on the required format, see
)
Settings are not case-sensitive, except for WWN and host group.
The following parameters should be written in one or two-digit hexadecimal numbers:
Host group ID, host mode, LDKC, CU, LDEV.
The parameter for LUN should be written in up to four-digit hexadecimal numbers.
Tab codes and a series of spaces before or after comma are ignored.
Spreadsheet Components
The spreadsheet consists of the following components:
•
Spreadsheet Declaration (see
)
•
Function tags (see
)
•
Configuration definitions (see
•
Comments (see
)
86 Performing LUN Manager Operations Using Configuration File Loader
Spreadsheet Declaration
The spreadsheet declaration is required, and is written at the beginning of the spreadsheet. Certain parts of the declaration will have already been written in the exported current spreadsheet. If the declaration line is incorrect, an error occurs and the spreadsheet file will be rejected.
NOTE: The spreadsheet declaration line is not case-sensitive.
•
Format (variables are shown in italics):
#!Version Version number,Program Product,Process mode
•
Example:
#!Version 05_00_00,LUN,Change
describes the spreadsheet declaration components.
Table 11 Spreadsheet Declaration Components
Component
#!
Version
(One byte space)
Version number
, (comma with no spaces)
Program Product
, (comma with no spaces)
Process mode
Description
Indicates the declaration line. Cannot be changed.
Indicates that the Remote Method Invocation (RMI) version number follows.
Cannot be changed.
Required between the version and the version number.
RMI version number.
Follows the RMI version number
Indicates the required program product. LUN indicates LUN Manager.
Follows the program product
Indicates the required process mode. The only mode that is currently available is Change, which indicates adding, changing, or deleting. When the downloaded spreadsheet file is opened, the process mode is not yet stated.
Function Tags
Before you write the settings, you need to state the function of the parameter. This is called a function tag, which is formatted as a string in brackets ([ ]). The type and order of the function tag are determined by the program product. Function tags have the following characteristics:
•
At least one function tag is required in a spreadsheet.
•
The function tag must be written at the very beginning of the row.
•
If a function tag is already on the current spreadsheet and does not need to be changed, it must be deleted from the new spreadsheet so it is not processed. If the function tag remains in the spreadsheet, and no new settings for the tag are written, the settings are processed as deleted. [CHA], [Port] and [LDEV] tags do not support a delete operation, so if no new setting is written for these functions an error occurs.
•
Any other comments and settings written in the same row as the function tag are ignored.
Spreadsheet Components 87
•
The row after the function tag indicates the required setting items (Cha and PcbMode in the example) for the function. The setting items are separated by commas.
◦ Example:
[Cha]
#Cha, PcbMode
•
The existing settings for the function are written. The existing settings row, which starts with
#$, is recognized as a comment row.
CAUTION: The settings in the rows that start with #$ are not allowed to change.
◦ Example:
[LUN]
#Port, Group Id, LunId, Ldkc, Cu, Ldev (items to be changed)
#$1C,0,1,1,1,1 (existing settings row)
•
An example of the declaration and the function tag is as follows.
#!Version 05_00_00,LUN,Change
[Cha]
[Port]
[HostGroup]
[WWN]
[LUN]
[LDEV]
As a general rule , the settings are applied to the storage system one at a time, in the order they appear in the spreadsheet. This means that the settings of the prior function tags can affect the following function tags. For example, if you were to delete a host group in the [HostGroup] tag, the path settings related to the deleted host group would also be automatically deleted. If you then write the new settings for the automatically deleted path in the [LUN] tag or the [WWN] tag, an error would occur.
Configuration Definitions
There are three types of configuration definitions: adding new settings, deleting current settings, and changing current settings.
•
Adding new settings. You can add new settings if the current settings area of the spreadsheet is blank (see
•
Deleting current settings. You can delete existing current settings by making the new settings area blank.
•
Changing current settings. You can change existing current settings by writing a different setting in the new settings area. The format of the existing setting and the new settings must be the same
The configuration definition consists of the index and the parameter (see
). The index is fixed for each function tag, so it must be the same for both the current settings and the new settings.
By modifying the settings in the parameter, you can add, delete, or change the settings.
You can write the configuration definition either between a function tag and another function tag, or between a function tag and the end of the file. Using a configuration definition, you can set the parameters (adding, deleting, or changing) for the storage system. A row of configuration definitions can be divided into the current settings area, a blank column, and the new settings area.
88 Performing LUN Manager Operations Using Configuration File Loader
Configuration definition settings must comply with the following:
•
The current settings area and the new settings area must be in exactly the same format, with three blank columns in between.
•
The maximum number of columns for the settings depends on the program product, and is stated in the declaration row.
•
The number of the available columns for each function tag depends on the number of parameters that can be set for each function and on the version of the spreadsheet.
•
When the current spreadsheet file is downloaded, the new settings area is left blank. All of the columns should be separated by commas.
•
You may not change the indexes, and all of the specified index settings indexes must match the actual settings.
•
Do not write the identical index more than once in the same function tag.
•
To change some, but not all, of the settings on the same configuration definitions, you must copy and paste the settings that you do not want to change to the new settings area. Otherwise, those settings will be processed as deleted.
shows an example of index and parameter definitions.
Figure 51 Sample Index and Parameter Definitions
shows sample configuration definition settings.
Figure 52 Sample Configuration Definitions
Spreadsheet Components 89
Comments
You can also type comment rows in the spreadsheet by beginning a row with the # character. The comment row can consist of any characters in any language. A row that includes only a linefeed code is also recognized as a comment row.
•
Example:
# (comment)
# Change CHA settings (comment)
[Cha] (function tag)
# Cha, PcbMode (comment)
# (linefeed)
# (linefeed)
CHA-1P,Standard (indicating changes)
CHA-1Q,Standard (indicating changes)
LUN Manager Spreadsheet Settings
The following LUN Manager functions can be defined by using Configuration File Loader:
•
Channel Adapter (CHA) settings allow you to change the PCB mode. See
.
•
Port Settings allow you to change the settings for arbitrated loop-physical address (AL-PA), data transfer speed (host speed), and topology. You can also change the LUN Security setting.
See
.
•
Host Group Settings allow you to create, delete, or change the host group. See
•
WWN settings allow you to add, delete or change the WWN information. See
•
LU path settings allow you to add, delete, or change LU paths. See
•
Command Device settings and set or release the command device and command device security. See
Column Format
Use a LUN Manager spreadsheet to write the settings for the CHA mode, port, host group, WWN, path definition, and command devices. The format of the LUN Manager spreadsheet is as follows:
•
1st column to 7th column: Current settings area
•
8th column to 10th column: Blank columns
•
11th column to 17th column: New settings area
The number of columns used depends on the function tag. If a particular function tag requires less than seven columns, the unused columns are left blank.
describes the format of the LUN Manager spreadsheet.
Table 12 LUN Manager Spreadsheet Format
Column
1st
2nd
3rd
4th
[Cha]
Cha
PcbMode
Blank
[Port]
Port
Security Switch
AL-PA
Fabric
Function Tag
[HostGroup] [WWN]
Port
Group Id
Port
Group Id
Group Name
Host Mode
WWN
Nickname
[LUN]
Port
Group Id
LunId
Ldkc
[LDEV]
Ldkc
Cu
Ldev
Cmd Dev
90 Performing LUN Manager Operations Using Configuration File Loader
12th
13th
14th
15th
8th
9th
10th
11th
16th
17th
Column
5th
6th
7th
Table 12 LUN Manager Spreadsheet Format (continued)
[Cha]
Cha
PcbMode
Blank
[Port]
Connection
Channel speed
Blank
Port
Security Switch
AL-PA
Fabric
Connection
Channel speed
Blank
Function Tag
[HostGroup] [WWN]
Blank Option[0:31]
Option[32:63]
Option[64:95]
Port
Group Id
Group Name
Host Mode
Option[0:31]
Blank
Blank
Blank
Option[32:63]
Option[64:95]
Port
Group Id
WWN
Nickname
Blank
[LUN]
Cu
Ldev
Blank
[LDEV]
Cmd Sec
Blank
Blank
Port
Group Id
LunId
Ldkc
Cu
Ldev
Blank
Ldkc
Cu
Ldev
Cmd Dev
Cmd Sec
Blank
Blank
NOTE: When the LUN Manager spreadsheet is exported, the settings are written up to the 10th column (blank column).
Setting the CHA Mode
Use the [CHA] tag to set the channel adapter mode. The [CHA] tag is available only for changing settings. You cannot add or delete the settings with the [CHA] tag definitions.
Mainframe settings are not written on the exported spreadsheet. If you are using 8 Gbps settings, you cannot set HighSpeed for the PCB mode. When you want to set the initiator/external mix mode for the PCB mode, set HighSpeed just as when you set the high speed mode.
lists the available configuration definitions for the [CHA] tag.
Table 13 Available Configuration Values for the [CHA] Tag
Column
1st, 11th (Index)
Item
Cha
Available Values
One of the following can be set:
CHA-1AL,CHA-1AU,CHA-1BL,CHA-1BU,CHA-1EL,CHA-1EU,CHA-1FL,
CHA-1FU,CHA-1GL,CHA-1GU,CHA-1HL,CHA-1HU,CHA-1KL,CHA-1KU,
CHA-1LL,CHA-1LU,CHA-2ML,CHA-2MU,CHA-2NL,CHA-2NU,CHA-2QL,
CHA-2QU,CHA-2RL,CHA-2RU,CHA-2TL,CHA-2TU,CHA-2UL,CHA-2UU,
CHA-2WL,CHA-2WU,CHA-2XL,CHA-2XU
2nd, 12th PcbMode One of the following can be set:
•
High Speed mode of 2 ports:
Standard: Standard mode (all ports)
HighSpeed: High Speed mode (all ports)
HighSpeed(Block-A): The upper two ports of the CHA are the High Speed mode.
LUN Manager Spreadsheet Settings 91
Table 13 Available Configuration Values for the [CHA] Tag (continued)
Column Item Available Values
HighSpeed(Block-B): The lower two ports of the CHA are the High Speed mode.
• High Speed mode of 32 ports:
Standard: Standard mode (all ports)
HighSpeed: High Speed mode (all ports)
HighSpeed(Block-ABCD): Define four blocks as A, B, C, D, and write only for the High Speed mode in the order of A, B, C, D.
For example, when A is High Speed mode, you will write:
HighSpeed(Block-A)
Another example, when A, B, and D are High Speed mode, you will write: HighSpeed(Block-ABD)
3rd—7th,
13th—17th
Blank
Port Settings
Use the [Port] tag to set the port information and change the security switch (LUN security) to ON or OFF. You can change the [Port] tag definitions, but you cannot add or delete them.
lists the items and values available for the [Port] tag.
Table 14 Available [Port] Tag Configuration Values
Column
1st, 11th
(Index)
Item
Port
Available Value
Set one of the following (Maximum number of ports is 256):
1A, 1B, 1C, 1D, 1E, 1F, 1G, 1H, 1J, 1K, 1L, 1M, 1N, 1P, 1Q, 1R,
2A, 2B, 2C, 2D, 2E, 2F, 2G, 2H, 2J, 2K, 2L, 2M, 2N, 2P, 2Q, 2R,
3A, 3B, 3C, 3D, 3E, 3F, 3G, 3H, 3J, 3K, 3L, 3M, 3N, 3P, 3Q, 3R,
4A, 4B, 4C, 4D, 4E, 4F, 4G, 4H, 4J, 4K, 4L, 4M, 4N, 4P, 4Q, 4R,
5A, 5B, 5C, 5D, 5E, 5F, 5G, 5H, 5J, 5K, 5L, 5M, 5N, 5P, 5Q, 5R,
6A, 6B, 6C, 6D, 6E, 6F, 6G, 6H, 6J, 6K, 6L, 6M, 6N, 6P, 6Q, 6R,
7A, 7B, 7C, 7D, 7E, 7F, 7G, 7H, 7J, 7K, 7L, 7M, 7N, 7P, 7Q, 7R,
8A, 8B, 8C, 8D, 8E, 8F, 8G, 8H, 8J, 8K, 8L, 8M, 8N, 8P, 8Q, 8R,
9A, 9B, 9C, 9D, 9E, 9F, 9G, 9H, 9J, 9K, 9L, 9M, 9N, 9P, 9Q, 9R,
AA, AB, AC, AD, AE, AF, AG, AH, AJ, AK, AL, AM, AN, AP, AQ, AR,
BA, BB, BC, BD, BE, BF, BG, BH, BJ, BK, BL, BM, BN, BP, BQ, BR,
CA, CB, CC, CD, CE, CF, CG, CH, CJ, CK, CL, CM, CN, CP, CQ, CR,
DA, DB, DC, DD, DE, DF, DG, DH, DJ, DK, DL, DM, DN, DP, DQ, DR,
EA, EB, EC, ED, EE, EF, EG, EH, EJ, EK, EL, EM, EN, EP, EQ, ER,
FA, FB, FC, FD, FE, FF, FG, FH, FJ, FK, FL, FM, FN, FP, FQ, FR,
GA, GB, GC, GD, GE, GF, GG, GH, GJ, GK, GL, GM, GN, GP, GQ, GR
2nd, 12th
3rd, 13th
4th, 14th
Security
Switch (LUN
Security)
AL-PA
Fabric
Enable or Disable (The default when the spreadsheet is exported)
ON or OFF are also available as the set value when you write the spreadsheet.
Set with hexadecimal numbers in one or two digits.
Enable or Disable (The default when the spreadsheet is exported)
ON or OFF are also available as the set value when you write the spreadsheet.
92 Performing LUN Manager Operations Using Configuration File Loader
Table 14 Available [Port] Tag Configuration Values (continued)
Column
5th, 15th
6th, 16th
Item
Connection
Channel
Speed
Available Value
FC-AL or PtoP
Set one of the following:
• 8 Gbps settings
2, 4, 8, or Auto
•
Other settings
1, 2, 4, or Auto
Setting the Host Group
Use the [HostGroup] tag to add, delete, or change the host group information. The following parameters apply:
•
You can delete the settings for host group 0 (zero), but the host group itself cannot be deleted.
If you delete all the settings for host group 0, the settings revert to the default settings.
•
When you delete a host group, the WWN and path definition of that host group are automatically deleted. Therefore, if you write the settings for a host group that is deleted in the [LUN] tag or [WWN] tag, an error occurs.
lists the items and values available for the [HostGroup] tag.
Table 15 Available Configuration Values for the [HostGroup] Tag
Column
1st, 11th
(Index)
Item
Port
Available Values
One of the following can be set (Maximum number of ports is 256):
1A, 1B, 1C, 1D, 1E, 1F, 1G, 1H, 1J, 1K, 1L, 1M, 1N, 1P, 1Q, 1R,
2A, 2B, 2C, 2D, 2E, 2F, 2G, 2H, 2J, 2K, 2L, 2M, 2N, 2P, 2Q, 2R,
3A, 3B, 3C, 3D, 3E, 3F, 3G, 3H, 3J, 3K, 3L, 3M, 3N, 3P, 3Q, 3R,
4A, 4B, 4C, 4D, 4E, 4F, 4G, 4H, 4J, 4K, 4L, 4M, 4N, 4P, 4Q, 4R,
5A, 5B, 5C, 5D, 5E, 5F, 5G, 5H, 5J, 5K, 5L, 5M, 5N, 5P, 5Q, 5R,
6A, 6B, 6C, 6D, 6E, 6F, 6G, 6H, 6J, 6K, 6L, 6M, 6N, 6P, 6Q, 6R,
7A, 7B, 7C, 7D, 7E, 7F, 7G, 7H, 7J, 7K, 7L, 7M, 7N, 7P, 7Q, 7R,
8A, 8B, 8C, 8D, 8E, 8F, 8G, 8H, 8J, 8K, 8L, 8M, 8N, 8P, 8Q, 8R,
9A, 9B, 9C, 9D, 9E, 9F, 9G, 9H, 9J, 9K, 9L, 9M, 9N, 9P, 9Q, 9R,
AA, AB, AC, AD, AE, AF, AG, AH, AJ, AK, AL, AM, AN, AP, AQ, AR,
BA, BB, BC, BD, BE, BF, BG, BH, BJ, BK, BL, BM, BN, BP, BQ, BR,
CA, CB, CC, CD, CE, CF, CG, CH, CJ, CK, CL, CM, CN, CP, CQ, CR,
DA, DB, DC, DD, DE, DF, DG, DH, DJ, DK, DL, DM, DN, DP, DQ, DR,
EA, EB, EC, ED, EE, EF, EG, EH, EJ, EK, EL, EM, EN, EP, EQ, ER,
FA, FB, FC, FD, FE, FF, FG, FH, FJ, FK, FL, FM, FN, FP, FQ, FR,
GA, GB, GC, GD, GE, GF, GG, GH, GJ, GK, GL, GM, GN, GP, GQ, GR
00 - FE. Set with hexadecimal numbers in one or two digits.
2nd, 12th
(Index)
3rd, 13th
Group Id
Group Name
4th, 14th
5th, 15th
Host Mode
Option[0:31]
Up to 32 ASCII characters (letters, numerals, and symbols). The setting is case-sensitive.
00 - 4F. Set with hexadecimal numbers in one or two digits.
0 - FFFFFFFF. Set with hexadecimal numbers in from one digit to eight digits*.
LUN Manager Spreadsheet Settings 93
Table 15 Available Configuration Values for the [HostGroup] Tag (continued)
Column
6th, 16th
7th, 17th
Item
Option[32:63]
Option[64:95]
Available Values
The default value when the spreadsheet is exported is in eight digits.
0s at the head of the number can be omitted when you set the value.
shows the concept of the host mode option. The host mode option consists of 96 flags, which are from 0 to 95. The host mode option is stored by dividing 32 flags.
illustrates these flags as the option flag ID from 0 to 31. The binary bit flags (option flags) are given to each
ID (starting with 0), and every four binary bit flags are set as a group to be converted to the hexadecimal number that finally represents the host mode option.
shows an example of the host mode option. In the case of
option becomes 1AB30005. For the binary to the hexadecimal conversion, see
The host mode option should be written in one digit or more (up to eight digits). 0s at the head of the number can be omitted when you set the value. For example, 00000FE3 can be written as
FE3. The default value when the spreadsheet is exported is written in eight digits.
Figure 53 Concept of Host Mode Option
Figure 54 Example of Host Mode Option
0000
0001
0010
0011
0100
0101
0110
0111
Table 16 Binary to Hexadecimal Conversion
Binary Number Binary Number
6
7
4
5
2
3
0
1
Hexadecimal
Number
1000
1001
1010
1011
1100
1101
1110
1111
E
F
C
D
A
B
8
9
Hexadecimal
Number
94 Performing LUN Manager Operations Using Configuration File Loader
Setting the WWN Information
Use the [WWN] tag allows to add, delete, or change the WWN information.
lists the items and values available for the [WWN] tag.
Table 17 Available Configuration Values for the [WWN] Tag
Column
1st, 11th (Index)
Item
Port
Available Values
One of the following can be set (Maximum number of ports is 256):
1A, 1B, 1C, 1D, 1E, 1F, 1G, 1H, 1J, 1K, 1L, 1M, 1N, 1P, 1Q, 1R,
2A, 2B, 2C, 2D, 2E, 2F, 2G, 2H, 2J, 2K, 2L, 2M, 2N, 2P, 2Q, 2R,
3A, 3B, 3C, 3D, 3E, 3F, 3G, 3H, 3J, 3K, 3L, 3M, 3N, 3P, 3Q, 3R,
4A, 4B, 4C, 4D, 4E, 4F, 4G, 4H, 4J, 4K, 4L, 4M, 4N, 4P, 4Q, 4R,
5A, 5B, 5C, 5D, 5E, 5F, 5G, 5H, 5J, 5K, 5L, 5M, 5N, 5P, 5Q, 5R,
6A, 6B, 6C, 6D, 6E, 6F, 6G, 6H, 6J, 6K, 6L, 6M, 6N, 6P, 6Q, 6R,
7A, 7B, 7C, 7D, 7E, 7F, 7G, 7H, 7J, 7K, 7L, 7M, 7N, 7P, 7Q, 7R,
8A, 8B, 8C, 8D, 8E, 8F, 8G, 8H, 8J, 8K, 8L, 8M, 8N, 8P, 8Q, 8R,
9A, 9B, 9C, 9D, 9E, 9F, 9G, 9H, 9J, 9K, 9L, 9M, 9N, 9P, 9Q, 9R,
AA, AB, AC, AD, AE, AF, AG, AH, AJ, AK, AL, AM, AN, AP, AQ, AR,
BA, BB, BC, BD, BE, BF, BG, BH, BJ, BK, BL, BM, BN, BP, BQ, BR,
CA, CB, CC, CD, CE, CF, CG, CH, CJ, CK, CL, CM, CN, CP, CQ, CR,
DA, DB, DC, DD, DE, DF, DG, DH, DJ, DK, DL, DM, DN, DP, DQ, DR,
EA, EB, EC, ED, EE, EF, EG, EH, EJ, EK, EL, EM, EN, EP, EQ, ER,
FA, FB, FC, FD, FE, FF, FG, FH, FJ, FK, FL, FM, FN, FP, FQ, FR,
GA, GB, GC, GD, GE, GF, GG, GH, GJ, GK, GL, GM, GN, GP, GQ, GR
2nd, 12th
(Index)
Group Id
3rd, 13th (Index) WWN
4th, 14th Nickname
00 - FE. Set with hexadecimal numbers in one or two digits.
Set with hexadecimal numbers in 16 digits.
Up to 32 ASCII characters (letters, numerals, and symbols). The setting is case-sensitive.
5th, 6th, 15th,
16th
Blank
Setting the LU Path
Use the [LUN] tag to set the LU path definition and add, delete, or change LU paths.
lists the items and values available for the [LUN] tag.
Table 18 Available Configuration Values for the [LUN] Tag
Column
1st, 11th (Index)
Item
Port
Available Values
One of the following can be set (Maximum number of ports is 256):
1A, 1B, 1C, 1D, 1E, 1F, 1G, 1H, 1J, 1K, 1L, 1M, 1N, 1P, 1Q, 1R,
2A, 2B, 2C, 2D, 2E, 2F, 2G, 2H, 2J, 2K, 2L, 2M, 2N, 2P, 2Q, 2R,
3A, 3B, 3C, 3D, 3E, 3F, 3G, 3H, 3J, 3K, 3L, 3M, 3N, 3P, 3Q, 3R,
4A, 4B, 4C, 4D, 4E, 4F, 4G, 4H, 4J, 4K, 4L, 4M, 4N, 4P, 4Q, 4R,
5A, 5B, 5C, 5D, 5E, 5F, 5G, 5H, 5J, 5K, 5L, 5M, 5N, 5P, 5Q, 5R,
6A, 6B, 6C, 6D, 6E, 6F, 6G, 6H, 6J, 6K, 6L, 6M, 6N, 6P, 6Q, 6R,
7A, 7B, 7C, 7D, 7E, 7F, 7G, 7H, 7J, 7K, 7L, 7M, 7N, 7P, 7Q, 7R,
8A, 8B, 8C, 8D, 8E, 8F, 8G, 8H, 8J, 8K, 8L, 8M, 8N, 8P, 8Q, 8R,
9A, 9B, 9C, 9D, 9E, 9F, 9G, 9H, 9J, 9K, 9L, 9M, 9N, 9P, 9Q, 9R,
AA, AB, AC, AD, AE, AF, AG, AH, AJ, AK, AL, AM, AN, AP, AQ, AR,
LUN Manager Spreadsheet Settings 95
Table 18 Available Configuration Values for the [LUN] Tag (continued)
Column Item Available Values
BA, BB, BC, BD, BE, BF, BG, BH, BJ, BK, BL, BM, BN, BP, BQ, BR,
CA, CB, CC, CD, CE, CF, CG, CH, CJ, CK, CL, CM, CN, CP, CQ, CR,
DA, DB, DC, DD, DE, DF, DG, DH, DJ, DK, DL, DM, DN, DP, DQ, DR,
EA, EB, EC, ED, EE, EF, EG, EH, EJ, EK, EL, EM, EN, EP, EQ, ER,
FA, FB, FC, FD, FE, FF, FG, FH, FJ, FK, FL, FM, FN, FP, FQ, FR,
GA, GB, GC, GD, GE, GF, GG, GH, GJ, GK, GL, GM, GN, GP, GQ, GR
2nd, 12th
(Index)
Group Id
3rd, 13th (Index) LunId
4th, 14th Ldkc
5th, 15th
6th, 16th
7th, 17th
Cu
Ldev
Blank
00 - FE. Set with hexadecimal numbers in one or two digits.
0000 - 07FF. Set with hexadecimal numbers in up to four digits.
00
00 - FE. Set with hexadecimal numbers in one or two digits.
00 - FF. Set with hexadecimal numbers in one or two digits.
Configuring the Command Devices
Use the [LDEV] tag to change the command device settings. You cannot add or delete command device settings with the [LDEV] tag definitions.
When the command device (Cmd .Dev) is OFF, and the command device security (Cmd. Sec) is
ON, an error occurs.
You can set the command device OFF, regardless of the existence of the LU path.
When you want to configure the setting of a remote command device, add #$ at the beginning of the row. If you do not add #$, an error occurs.
You can save a file that contains LDEV information in the comma-separated value (CSV) format by using the Export button on the LDEV window of the Reports Display dialog box. You can set the command device by using this file. However, because the output form is different from the form of the configuration definitions, colons (:) that delimit the LDKC number, CU image number, and logical volume number have to be converted to commas (,). Use this information after you use commas to separate the LDEV index into three columns and when you use the spreadsheet software.
lists the values available for the [LDEV] tag.
Table 19 Available Configuration Values for the [LDEV] Tag
Column
1st, 11th (Index)
2nd, 12th (Index)
3rd, 13th (Index)
4th, 14th
Item
Ldkc
Cu
Ldev
Cmd. Dev
(Command Device)
Available Value
00
00 - FE. Set with hexadecimal numbers in one or two digits.
00 - FF. Set with hexadecimal numbers in one or two digits.
Enable or Disable (The default when the spreadsheet is exported)
ON or OFF are also available as the set value when you write the spreadsheet.
5th, 15th Cmd. Sec
(Command Device
Security)
Enable or Disable (The default when the spreadsheet is exported)
96 Performing LUN Manager Operations Using Configuration File Loader
Table 19 Available Configuration Values for the [LDEV] Tag (continued)
Column Item Available Value
ON or OFF are also available as the set value when you write the spreadsheet.
6th, 7th,
16th, 17th
Blank
CAUTION: When the configuration definitions is long, the [LDEV] tag might not be output in the exporting spreadsheet. Add the LDEV tag and set the command device.
Example of setting the command device:
[LDEV]
00,00,01,Disable ,Disable,,,,,, 00,00,01,Enable,Enable
00,01,01,Disable ,Disable,,,,,, 00,01,01,Enable,Disable
00,02,01,Disable ,Disable,,,,,, 00,02,01,Enable,Disable
00,03,01,Disable ,Disable,,,,,, 00,03,01,Enable,Disable
Error Check
First Error Check
The first error check is performed when the spreadsheet file is imported. The first error check verifies that the spreadsheet is properly formatted. If there is an error, the spreadsheet is rejected, and an error message is displayed. Errors detected at this first check include the following:
•
The first row of the spreadsheet (the declaration line) is not correctly written, or the stated program product is not installed. For more information on the declaration line, see
.
•
The spreadsheet file is not in text file format (the file is a binary file).
•
There is no function tag in the spreadsheet. For more information on the function tag, see
.
•
The file name is incorrect (for example, the extension is not .spd, or the file name exceeds the maximum number of letters).
•
The number of letters in a row exceeds 200.
•
The number of rows in a spreadsheet exceeds 400,000.
Second Error Check
In the second check, the spreadsheet settings are verified. Any errors found are displayed on the
Error Information list. This second check is performed before the Apply button becomes available.
shows the flow of the second check.
The second error check consists of two different types of the checks. These checks are shown in
as the Level 1 and Level 2. The Level 2 check is performed only when no error is found by the Level 1 check. Each level of the check of the second error check detects the following errors:
•
Level 1 check (the format and parameters are checked):
◦ A function tag is not supported.
◦ A setting value is incorrect or omitted.
◦ The setting range is incorrect. The correct ranges are as follows:
LDKC:00
CU:00 - FE
Error Check 97
LDEV:00 - FF
LUN: 0000 - 07FF
Group ID: 00 - FE
Host Mode: 00 - 4F
•
Level 2 check:
The current settings are compared to the imported settings and checked for logical consistency.
Note that certain errors can only be detected by the third check.
When you import a spreadsheet with no errors detected, the window displays Ready above the error information list, and the Apply button becomes available.
Figure 55 Second Error Check Flow Chart
Third Error Check
The third check is performed after the Apply button is selected. Errors detected at this third check include the following:
•
There is no difference between the current configuration definition and the configuration definition on the imported spreadsheet. The spreadsheet is accepted, but no operation will be performed.
•
You are trying to delete a LUN that is needed to process input/output (I/Os).
The errors caused by other factors are detected by the second check as the logical errors of the settings. However, there could be a case where the current settings are changed even though you are on the Modify mode. In this case, an error occurs at the third check.
If no errors are found on the third error check, the settings in the spreadsheet are applied to the storage system.
98 Performing LUN Manager Operations Using Configuration File Loader

Public link updated
The public link to your chat has been updated.
Advertisement
Key features
- Configure and manage LUNs
- Define I/O paths
- Reconfigure LUs online
- Apply security policies
- Support alternative path failover
- Support path load balancing
- Support clustered systems