Skip to main content

We've Moved!

Product Documentation has moved to docs.hitachivantara.com
Hitachi Vantara Knowledge

Changing and initializing SVP port numbers

 

If other applications are using the port numbers used by the SVP, change the SVP port numbers. You can also revert the SVP port numbers to their original settings if necessary.

Changing SVP port numbers

 

You can change the SVP port numbers in supported applications. If you use a firewall, change and apply your firewall settings before you change the SVP port numbers. Unused port numbers are automatically allocated for some port numbers of the SVP software with SVP software later than 83-03-01-xx/00.

Before you begin

Verify the client PC is already connected to the SVP through Remote Desktop Connection.

Procedure

  1. Request all users to log out of Device Manager - Storage Navigator.

  2. On the SVP, exit to a Windows command prompt as Administrator.

  3. Change to the directory to the location of the tool MappSetPortEdit.bat.

  4. Enter the following command: C:\Mapp\wk\Supervisor\MappIniSet\MappSetPortEdit.bat _ [port number key name] _ [port number] where _ indicates a space and the values [ ] indicate a parameter. For example:

    >cd C:\Mapp\wk\Supervisor\MappIniset\mappsetportedit.bat MAPPWebServer 10001
    NoteIn this command, C:\MAPP indicates the installation directory of the storage management software and SVP software. If the installation directory is not C:\Mapp, replace C:\Mapp with the appropriate installation directory.

    The following table shows the port numbers you can use. The communication direction is outbound between the client PC to the SVP.

    Port number key name (Windows Firewall Inbound name) Protocol Initial value of port number

    Can the port be closed?

    SVP software version
    MAPPWebServer HTTP 80

    Yes

    83-01-20-xx/00 or later
    MAPPWebServerHttps HTTPS 443

    No

    RMIClassLoader RMI 51099

    No

    RMIClassLoaderHttps RMI (SSL) 5443

    No

    RMIIFRegist RMI 1099

    No

    PreRMIServer RMI 51100-513551

    No

    Automatic allocation 83-03-01-xx/00 or later
    DKCManPrivate RMI 11099

    N/A

    83-01-24-xx/00 or later
    SMI-S (SLP) SLP 427

    Yes, only if SMI-S is not used.

    SMIS_CIMOM SMI-S 5989-62441

    Yes, only if SMI-S is not used.

    83-01-20-xx/00 or later
    Automatic allocation 83-03-01-xx/00 or later
    CommonJettyStart HTTP 8080

    N/A

    83-01-24-xx/00 or later
    CommonJettyStop HTTP 8210

    N/A

    RestAPIServerStop HTTP 9210

    N/A

    DeviceJettyStart HTTP 8081

    N/A

    Automatic allocation

    N/A

    83-03-01-xx/00 or later
    DeviceJettyStop HTTP 8211

    N/A

    83-01-24-xx/00 or later
    Automatic allocation

    N/A

    83-03-01-xx/00 or later
    Hi-Track HTTPS, FTP (SSL) 4431

    Yes, only if Hi-Track is not used.

    83-04-00-xx/00 or later

    Note:

    1. When the SVP software version is 83-03-01-xx/00 or later, unused port numbers are allocated automatically from the described range during storage system registration and a firewall is also set. The allocated ports numbers are used when starting the storage system. When the SVP software version is earlier than 83-03-01-xx/00, ports 51100 and 5989 are used respectively.

    • The effective range of the port number is 0 to 65535. Select a number that is not already in use by another service.
    • Do not use port numbers from 1 to 1023 because they are reserved in other applications. Instead, change the port numbers to 1024 or higher. However, the port numbers of 2049, 4045, and 6000 cannot be used for MAPPWebServer and MAPPWebServerHttps.
    • Multiple command input parameters "[Port Number Key] _ [Port Number]" can be specified. The _ character indicates a space. For example:

      MappSetPortEdit.bat MAPPWebServer 81 MAPPWebServerHttps 444
    • A management file of the port numbers used in the SVP follows.
      <The directory where the tool exists>\mpprt\cn\mappsetportset.properties
      For example:
      C:\Mapp\wk\Supervisor\mappiniset\mpprt\cnf\mappsetportset.properties
      The management file of the port numbers is for reference only and should not be changed. Close the management file of the port numbers when issuing the change (initialization) command.
    • Verify the port numbers to be used in the SVP. See Viewing the port number to be used in the SVP.
    • The completion message is displayed following the service restart message.
    • The port number key name is case sensitive.
  5. A service restart message appears followed by a completion message.

  6. At the message Press any key to continue, press any key to continue.

  7. Exit from the command prompt.

Initializing SVP port numbers

 

You can reset SVP port numbers to their initial setting. Resetting the port numbers restarts the SVP. To initialize the automatically allocated port numbers, see Initializing automatically allocated port numbers.

Before you begin

 

  • Connect the management console PC to the SVP.
  • Verify the client PC is already connected to the SVP using Remote Desktop Connection.
  • Verify that you are logged out of HDvM - SN.

Procedure

  1. On the SVP, exit to a Windows command prompt as Administrator.

  2. Change to the directory where the tool MappSetPortEdit.bat is located, and then issue the following command: C:\Mapp\wk\Supervisor\MappIniSet\MappSetPortEdit.bat

    TipIn this command, C:\MAPP indicates the installation directory of the storage management software and SVP software. If the installation directory is not C:\Mapp, replace C:\Mapp with the appropriate installation directory.
    A confirmation message appears.
  3. Enter y and press Enter.

    A service restart message appears followed by a completion message.
  4. At the message Press any key to continue, press any key to continue.

  5. Exit from the command prompt.

Behavior when changing SVP port numbers

 

If you change an SVP port number, observe the following considerations.

Port number key name Effect
MAPPWebServer

Using Hitachi Device Manager - Storage Navigator

The URL specification method to log on to Storage Navigator changes.

Using Hitachi Command Suite

Match the port number used in Hitachi Command Suite to <SVP Change Port>.

MAPPWebServerHttps

Using Hitachi Device Manager - Storage Navigator: None

Using Hitachi Command Suite

Match the port number used in Hitachi Command Suite to <SVP Change Port>.

RMIClassLoader None
RMIClassLoader

Using Hitachi Command Suite

Match the port number used in Hitachi Command Suite to <SVP Change Port>.

RMIClassLoaderHttps

Using Hitachi Device Manager - Storage Navigator

When using the raidinf command (a program for obtaining configuration reports and obtaining tier relocation logs) to log on to Device Manager - Storage Navigator, specify <SVP Change Port> in addition to the SVP IP address or host name.

RMIIFRegist

When issuing the remote power ON/OFF tool (RmtPsTool) command, specify <SVP Change Port> for the Management Server Port Number parameter.

When issuing the export tool command, specify <SVP Change Port> in addition to the SVP IP address using ip Subcommand to the SVP IP address.

Using Hitachi Command Suite

Match the port number used in Hitachi Command Suite to the new SVP port.

PreRMIServer None
DKCManPrivate None
SMI-S (SLP)

Using SMI-S:

Match the port number used in the SMI-S communication to <SVP Change Port>.

SMIS_CIMOM

Match the port number used in the SMI-S communication to <SVP Change Port>.

For a storage system running firmware version 83-03-01-xx/00 or later, register the storage system, and then set it after verifying the port numbers to be used (see Viewing the port number to be used in the SVP)

CommonJettyStart None
CommonJettyStop None
RestAPIServerStop None
DeviceJettyStart None
DeviceJettyStop None

Reallocating automatically allocated port numbers

 

You can reassign the port numbers automatically allocated to the storage system. When the port numbers assigned to the storage system are used in other applications, the port numbers are reallocated to the ports.

Note
  • Stop the service of the storage system to be reallocated, and then perform reallocation. If the service is performed without stopping it, stop the service of the target storage system in the Storage Device List window, and then start the service.
  • The DeviceJettyStart and DeviceJettyStop ports that are allocated when the storage system service is started are not reallocated.
  • When the function using the ports is disabled, delete the allocated port numbers.

Procedure

  1. Log out of Hitachi Device Manager - Storage Navigator from the storage system to be reallocated.

  2. Stop the service of the storage system.

  3. On the SVP, start a Windows command prompt as an Administrator.

  4. Change the current directory to the directory where the tool exists. Run the following command: C:\Mapp\wk\Supervisor\MappIniSet\MappPortManageRenum.bat_[Serial number](arbitrary)

    The _ character indicates a space. The values in [ ] indicates a parameter.

    When the [Serial number] is omitted, the command is performed for storage systems running firmware version 83-03-01-xx/00 or later.

    TipIn this command, C:\MAPP indicates the installation directory of the storage management software and SVP software. If the installation directory is not C:\MAPP, replace C:\MAPP with the appropriate installation directory.
  5. The confirmation message for reallocation is displayed. To continue the processing, enter y, and then press Enter. To cancel the processing, enter n, and then press Enter.

  6. Close the command prompt.

  7. Start the services of the reallocated storage system.

Initializing automatically allocated port numbers

 

Before you begin

  • Verify the client PC is already connected to the SVP through the Remote Desktop Connection.
  • Stop the services of all the storage systems that have a Ready status in the Storage Device List window, and then initialize them.
  • If storage systems are initialized without stopping the services, the storage system port numbers get reallocated automatically. For more information, see Reallocating automatically allocated port numbers.

Procedure

  1. Log out of Device Manager - Storage Navigator.

  2. In the Storage Device List window, stop the services of all the storage systems that have a Ready status.

  3. On the SVP, start a Windows command prompt as an Administrator.

  4. Change the current directory to the directory where the tool exists and run the following command: C:\Mapp\wk\Supervisor\MappIniSet\MappPortManageInit.bat

    TipC:\MAPP indicates the installation directory of the storage management software and SVP software. If the installation directory is not C:\Mapp, replace C:\Mapp with the appropriate installation directory.
  5. At the confirmation message for reallocation, enter y and press Enter to continue or enter n and press Enter to cancel the processing.

  6. At the completion message, press any key to continue.

  7. Perform the reallocation by running the following command: C:\Mapp\wk\Supervisor\MappIniSet\MappPortManageRenum.bat_[Serial number](arbitrary)

    If the [Serial number] is omitted, the command is performed for storage systems running firmware version 83-03-01-xx/00 or later.

    TipC:\MAPP indicates the installation directory of the storage management software and SVP software. When the installation directory, other than C:\Mapp is specified, replace C:\MAPP with the specified installation directory.
  8. At the confirmation message for reallocation, type y and press Enter to continue or type n and press Enter to cancel the processing.

  9. At the completion message, press any key to continue.

  10. Repeat steps 6 through 9 to reallocate the port numbers for all the registered storage systems.

  11. Close the command prompt.

  12. Start the service of the storage system.

Changing range of port numbers to be allocated automatically

 

Before you begin

Verify that the client PC is already connected to the SVP through the Remote Desktop Connection.

Procedure

  1. On the SVP, start a Windows command prompt as an Administrator.

  2. Change the current directory to the directory where the tool exists and run the following command: C:\Mapp\wk\Supervisor\MappIniSet>MappPortRangeSet.batr[Service port number]_[Range of port numbers]

     

    TipC:\MAPP indicates the installation directory of the storage management software and SVP software. If the installation directory is not C:\Mapp, replace C:\Mapp with the appropriate installation directory.

     

    Note

    Port number key name and Default value of port number range can be changed as shown in the following table. Zero number port is not allocated regardless of this command setting.

     

    Port Number Key Name

    Default value of port number range

    Comments

    PreRMIServer

    51100 to 51355

    -

    SMIS_CIMOM

    5989 to 6244

    -

    DeviceJettyStart

    48081 to 48336

    -

    DeviceJettyStop

    48411 to 48666

    -

    N/A

    1 to 1023

    Port numbers that are not used by automatic allocation

    • The effective range of the port number range is 1 to 65535. Set the port numbers so as to avoid conflict with those used in other services.
    • Port numbers 1 to 1023 are reserved in other applications. If 1 to 1023 are excluded from the unavailable setting value, the applications might not operate normally.
    • The available character strings in the effective range are as follows:

      "Number" "," "-" "rm"

      If "rm" is specified, delete the setting of the specified port number key.

    • You can specify more than one command input parameter “[Service port number key name] * [Port number range] where * is a one-byte space.

      For example, MappPortRangeSet.bat PreRMIServer 51200-55000 SMIS_CIMOM 5989-6244,8000

    • The port number range set for unavailable cannot be used, even if it is an effective range for other keys.

      For example, when PreRMIServer 51100-51355 unavailable 51100-51200 is set, the port number range allocated by PreRMIServer is 51201 to 51355.

  3. A completion message appears. Press any key to continue.

  4. Close the command prompt.

Initializing range of port numbers to be allocated automatically

 

You can initialize the range of the port numbers automatically allocated to the storage system.

Before you begin

Verify the client PC is already connected to the SVP through a Remote Desktop connection.

Procedure

  1. On the SVP, start a Windows command prompt as an Administrator.

  2. Change the current directory to the directory where the tool exists and run the following command: C:\Mapp\wk\Supervisor\MappIniSet\MappPortRangeInit.bat

     

    TipC:\MAPP indicates the installation directory of the storage management software and SVP software. If the installation directory is not C:\Mapp, replace C:\Mapp with the appropriate installation directory.
  3. The confirmation message for reallocation is displayed. To continue the processing, enter y, and then press Enter. To cancel the processing, enter n, and then press Enter.

    A completion message appears. Press any key to continue.
  4. Close the command prompt.

Viewing the port number to be used in the SVP

 

You can view the port numbers to be used in the SVP.

Before you begin

Verify the client PC is already connected to the SVP through the Remote Desktop connection.

Procedure

  1. On the SVP, start a Windows command prompt as an Administrator.

  2. Change the current directory to the directory where the tool exists and run the following command: C:\Mapp\wk\Supervisor\MappIniSet\MappPortRefer.bat_[Serial number] (arbitrary)

    The _ character indicates a space. The values in [ ] indicates a parameter.

    When the serial numbers are omitted, the information of all the storage systems registered in Storage Device List is displayed.

    TipC:\MAPP indicates the installation directory of the storage management software and SVP software. If the installation directory is not C:\Mapp, replace C:\Mapp with the appropriate installation directory.
  3. The information of the port numbers to be used in the SVP is displayed. For the ports whose numbers are not allocated, Not Defined is displayed.

  4. A completion message appears. Press any key to continue.

  5. Close the command prompt.