Shutting down applications

After you have configured the target environment, disable the automatic starting of all your applications and schedulers in the source environment.

Procedure

  1. Run the BPMManageApplications command to disable the automatic starting of all your applications and schedulers:
    • If you installed the new version of the product on the same computer as the source environment, run the following command in the target environment. The properties in the source_migration_properties_file must point to the source environment.
      install_root_8.5\bin\BPMManageApplications.bat -autoStart false -source -propertiesFile source_migration_properties_file
    • If you installed the new version of the product on a different computer and copied the migration files to the source environment, run the following command on the source computer. The properties in the source_migration_properties_file must point to the source environment.
      remote_migration_utility\bin\BPMManageApplications.bat -autoStart false -source -propertiesFile source_migration_properties_file
    where:
    • source_migration_properties_file is the migration properties file in which you specified the configuration information for the source environment. Put double quotation marks around the value if there are spaces. For example:
      BPMManageApplications.bat -autoStart false -source -propertiesFile "C:\bpm 85\util\migration\resources\source_migration.properties"
    • -source specifies that the command will disable the source environment.

    This command ensures that no new events or processes are entering the system.

    You can follow the progress of the command by reading the output, which includes the following actions:
    • Changing the auto start setting for each individual application
    • Setting the auto start for each scheduler
    • Synchronizing all custom nodes with the cell repository
    After the command has completed successfully, you see a message similar to the following message:
    CWMCO4021I: Auto-start properties were set for all applications and the scheduler daemon.
    Check the log files.
    • If you installed the new version of the product on the same computer as the source environment, the log files are install_root_8.5\logs\migration\BPMManageApplications_***.log and install_root_8.5\logs\migration\BPMManageApplications_***.wsadmin.trace.
    • If you installed the new version of the product on a different computer and copied the migration files to the source environment, the log files are remote_migration_utility\logs\migration\BPMManageApplications_***.log and remote_migration_utility\logs\migration\BPMManageApplications_***.wsadmin.trace.
  2. Restart the source environment:
    • If the source environment is stand-alone:
      1. Stop the source environment.
      2. Start the source environment.
    • If the source environment is network deployment:
      1. Stop the deployment manager, nodes, and servers.
      2. Start the deployment manager, nodes, and servers.

Results

Because you disabled automatic starting, the applications and schedulers do not start automatically.

What to do next

If migration succeeds, you can no longer use the source environment because the new version is using the databases. However, if migration fails and you want to use the source environment again, you must run the following command before you start the source environment:

If you installed the new version of the product on the same computer as the source environment, run the following command:
install_root_8.5\bin\BPMManageApplications.bat -autoStart true -source -propertiesFile source_migration_properties_file
If you installed the new version of the product on a different computer and copied the migration files to the source environment, run the following command:
remote_migration_utility\bin\BPMManageApplications.bat -autoStart true -source -propertiesFile source_migration_properties_file