mngenvupdate (Migration Command of Management Server)

Format

mngenvupdate

Functions

Migrates the information managed by Management Server to the format used in the latest version according to the migration of Management Server operation mode.

Execute this command on the host for operating Management Server.

Users with the Administrator privileges (in Windows) or root permission (in UNIX) can execute this command.

For the migration procedure, see 10. Migrating from Application Server of the old version (in the J2EE server mode) in the uCosminexus Application Server Maintenance and Migration Guide.

If you execute the mngenvupdate command, the following process is executed:

  1. Migrate the definition file (mserver.cfg) managed by Management Server to the format used in latest version.
    Reference note
    At the time of migration, a backup file is created in the same directory as that of definition files. The name of the created backup file is Definition-file name-of-migration -object .envupdate_bak. If a file with same name exists at the time of creating the backup file, the name changes to Definition-file name-of-migration-object .envupdate_bak [n] (n is a serial number from 1 to 2147483647). If backup files are created for all the numbers from 1 to 2147483647, the numbers are overwritten starting from 1.
  2. If you are using the following functions on an earlier version of Management Server, migrate the files used for each functionality in the format to be used in the latest version.
    • V7 compatibility mode of the "Application management of the logical server" of the management portal.
      Cosminexus-installation-directory
      /manager/containers/m/j2eeapps/mngsvr/mportal/mapps/regapps/*
      Cosminexus-installation-directory
      /manager/containers/m/j2eeapps/mngsvr/mportal/mwebsystems/regras/*
    • Integrated user management function
      Cosminexus-installation-directory
      /manager/containers/m/j2eeapps/mngsvr/mportal/useradmin/config/data/editusersConfig.xml
  3. Delete the Web Application Directory used in Management Server of servlet engine mode (Cosminexus-installation-directory/manager/containers/m/webapps)
  4. After you have changed the server name of Management Server, migrate the server name to an environment of the latest version (execute Application-Server -installation-directory/CC/server/bin/cjsetup real-server-name).

Input example

mngenvupdate

Return value

0:
Normal termination occurred
Other than 0:
Abnormal termination occurred

Notes