HP StorageWorks XP Command View Advanced Edition software Device Manager server installation and configuration guide (web version) (T1780-96078, March 2008)

Linux systems installation
98
4-1-2-2 Setting memory heap size of the Device Manager server
To set the memory heap size of the Device Manager server:
1. Use a text editor to open the following file:
installation-directory-for-the-Device-Manager-server/hdvm.sh
2. Specify the following value for the -Xmx option of the java command specified in the start
option script:
When the number of managed resources is 50,000 or less: 512m (512 MB)
When the number of managed resources is more than 50,000: 1024m (1 GB)
If you use the CLI to obtain information about the storage subsystem, more memory might be
required. Therefore, compare the value calculated by using the following formula and the
above value, and then specify the larger value:
Formula:
memory-heap-size = number-of-LDEVs
X 0.03 + total-number-of-paths X 0.03 + 140
3. Restart the Device Manager server as follows:
Execute the following command:
installation-directory-for-the-Device-Manager-server/suitesrvcntl -
stop_hdvm
After the Device Manager server has stopped, execute the following command:
installation-directory-for-the-Device-Manager-server/suitesrvcntl -
start_hdvm
The following shows an example of executing the commands:
# /opt/CVXPAE/suitesrvcntl -stop_hdvm
# /opt/CVXPAE/suitesrvcntl -start_hdvm
4-1-2-3 Setting memory heap size when using CIM/WBEM
If CIM/WBEM functions are being used, you might have to increase the memory heap size of the
Device Manager server, depending on the conditions. Note that the required memory heap size
differs depending on the CIM client you are using.
To change the memory heap size:
1. Use a text editor to open the following file:
installation-directory-for-the-Device-Manager-server/hdvm.sh
2. Open the file hdvm.sh in a text editor, and then change the value of the -Xmx option of the
java command specified in the start option script to new-setting-value (units: MB)
calculated using the following two formulas:
calculation-value-for-SMI-S-Provider = 30000 X number-of-LDEVs X number-of-paths-per-
LDEV / 1048576
If the value of number-of-paths-per-LDEV becomes less than 1, assume that this value is
equal to 1 for the calculation.
The value of calculation-value-for-SMI-S-Provider is expressed in megabytes. For this
value, round up the value to the next whole number. If this value becomes less than 256
(MB), assume that this value is equal to 256 for the calculation.
new-setting-value = current-setting-value + calculation-value-for-SMI-S-Provider
All of the values in the above formula are expressed in megabytes.
The value of new-setting-value obtained from the above formula is the memory heap size
required for obtaining the class information that belongs to the bottom layer in a CIM class.
When an upper-layer class is specified, some SMI-S clients might obtain information of all the
classes below that class at the same time. In this case, required capacity will be larger than the
value of new-setting-value obtained from this formula.