Hitachi

uCosminexus Application Server System Setup and Operation Guide


3.2.5 Changing the IP address

The procedure for changing the IP address of the host operated by the system is as follows.

Reference note

For details on the reference locations of the windows, commands, and files used in the description, and the storage locations of the commands and files, see 5. Windows, Commands, and Files used in the System Setup and Operations.

Organization of this subsection

(1) Startup and login of the management portal

Once you have logged in to management portal, proceed to (2) Stopping the logical server.

  1. Start the Web browser, connect to http://localhost:28080/mngsvr/index.jsp, and then run the management portal.

  2. Enter "admin" in the management user ID on the Login to Management Server window, and click the Login button.

(2) Stopping the logical server

  1. Click Start/Stop the Logical server on the Management Portal window.

  2. Click DefaultDomain on Server view tab, and then click Batch Run tab.

  3. On Batch Run window click the Execute button.

    The request for batch start is received, and the operational status of logical servers on the Operational Status of the Logical Server window changes from "Operating", to "Stopping", and then to "Stopped".

(3) Stopping the management functionality

  1. Once you have logged in to the management portal, click the Logout anchor, check the displayed message, click the Login window and then close the Web browser.

  2. Execute mngautorun command with the command prompt to delete the settings started concurrently with the startup of Management Server and Administration Agent.

    Command execution example is as follows:

    mngautorun -d
  3. Execute the sub command Stop of mngsvrctl command with command prompt to stop the Management Server.

    Command execution example is as follows:

    mngsvrctl stop -sync
  4. Execute the sub command stop of adminagentctl command with the command prompt to stop the Administration Agent.

    Command execution example is as follows:

    adminagentctl stop -sync

(4) Changing the settings of IP address

  1. Change the IP address as per the OS procedure. Restart the system as and when required.

  2. Set the post-change IP address at the location where IP address is set in the files used with Manager.

    For details on the files used with Manager, see 8. Files Used with Cosminexus Manager in the uCosminexus Application Server Definition Reference Guide.

  3. Delete all the files included the following directories:

    For Windows

    • <Installation directory of Cosminexus>\manager\tmp

    • <Installation directory of Cosminexus>\manager\spool\lsinfo

    For UNIX

    • /opt/Cosminexus/manager/tmp

    • /opt/Cosminexus/manager/tmp

(5) Starting the system and deploying the settings

  1. Execute the sub command start of adminagentctl command with the command prompt to start the Administration Agent.

    Command execution example is as follows:

    adminagentctl start -sync
  2. Execute the sub command start of mngsvrctl command with the command prompt to start the Management Server.

    Command execution example is as follows:

    mngsvrctl start -sync
  3. Execute mngautorun command with the command prompt, and set such that the Management Server and Administration Agent are started concurrently with the host.

    Command execution example is as follows:

    mngautorun both -sync
  4. Start the Web browser, connect to http://localhost:28080/mngsvr/index.jsp, and then run the management portal.

  5. Enter "admin" in the management user ID on the Login to Management Server window, and click the Login button.

  6. In the Management Portal window, click Configuring the logical server environment.

  7. On Server View tab, click DefaultDomain - Logical J2EE server - J2EE server - MyJ2EEServer, and then click the Deploy Settings anchor.

  8. On the Deploy Settings window, insert check mark in the Deploy of the logical server having the status as "Blank", and then click the Select and Deploy button.

    Status changes from "Blank", to "Deploying", and then to "Deployed".

    Reference note

    If you click the Deploy all button, the Settings are re-deployed even on the logical server having the Status as "Deployed".

  9. Click Start/Stop the Logical server on the Management Portal window.

  10. Click DefaultDomain on Server view tab, and then click the Batch Run tab.

  11. On Batch Startup window click the Execute button.

    The request for batch startup is received and the operational status of logical servers on the Operational Status of the Logical Server window changes from "Stopped", to "Starting", and then to "Operating".

(6) Logout from the management portal

  1. Click the Logout anchor.

  2. Check the displayed message, click the Login window, and close the Web browser.