Migrating a z/OS deployment manager

After you generate JCL jobs for migrating a deployment manager to WebSphere® Application Server for z/OS® Version 9.0, you can perform the actual migration by running those jobs. When you generated your custom migration jobs, you also created customized instructions for preparing and running the migration jobs in the BBOMDINS members of the CNTL dataset that was used to generate your jobs. Follow these customized instructions to complete the process of migrating your deployment manager to Version 9.0.

Before you begin

Supported configurations:

This topic is about profile configuration migration. To migrate your applications to the latest version, use the WebSphere Application Server Migration Toolkit.

  • Read Overview of migration, coexistence, and interoperability and Migration considerations.
  • You cannot proceed if you did not generate the Job Control Language (JCL) migration jobs.
  • Always migrate the deployment manager node first.
  • Review the applicable coexistence requirements for your system.
  • The BBOWMG3D job referenced in these instructions must be submitted by a WebSphere Administrator User ID.

    All other jobs must be submitted by a user ID that has control over the file system.

  • Note on maintaining high availability during migration from Version 7.0 or later to Version 9.0:

    Migrating a deployment manager from Version 7.0 or later to Version 9.0 redeploys all application binaries when the deployment manager is restarted. This action results in the deployment manager recycling all the applications across the sysplex. This can cause an outage in a sysplex that is set up for high availability if the synchronization settings are not disabled.

    To maintain high availability during the migration, turn off all synchronization options for all of the node agents in the sysplex before restarting the deployment manager.
    1. Open the administrative console.
    2. Go to System administration > Node agents.
    3. For each node agent in the sysplex, go to node_agent_server_name > File synchronization service and disable all synchronization processing.
  • Tip: Before migrating a WebSphere Application Server Version 7.0 or later deployment manager, use the backupConfig command or your own preferred backup utility to back up your existing configuration if you want to be able to restore it to its previous state after migration. See backupConfig command for more information. Make sure that you note the exact name and location of this backed-up configuration.

For help, read Troubleshooting migration.

About this task

For transitioning users: The following products previously required separate migration tools but are now migrated as part of the standard migration procedures:
  • WebSphere Extended Deployment Compute Grid or Feature Pack for Modern Batch
  • WebSphere Virtual Enterprise or Intelligent Management

Procedure

  1. Create and mount a new Version 9.0 configuration file system.

    Before you perform the migration, Version 9.0 requires a configuration file system to be present for your new configuration. You can run BBOMDHFS or BBOMDZFS to create and mount a new configuration file system, or you can mount one manually. Either way, you must have a configuration file system for your Version 9.0 configuration created and mounted before you proceed. This configuration file system is the target of the migration; your Version 7.0 or later configuration file system is the source.

    BBOMDHFS or BBOMDZFS creates a mount point directory, allocates the configuration's file system, and mounts the file system at whatever value you specified for the mount point when you generated you migrations jobs.

    Ensure that you have allocated, created, and mounted your configuration file system data sets either manually or using BBOMDHFS or BBOMDZFS before you proceed. The mount point should be owned by the WebSphere Admin ID, and have permissions of at least 755. The new configuration file system structures should be included in BPXPARM so that they will be mounted at the next IPL.

  2. Copy your generated JCL procedures.

    The migration utility BBOMDCP copies the generated JCL procedures to start the servers to the specified procedure library. Your Version 9.0 configuration must use different JCL procedures from those used by your Version 7.0 or later configuration. This utility will update the new Version 9.0 configuration, substituting your new JCL names in place of the names that existed in your original Version 7.0 or later configuration.

    Caution: This utility copies the generated JCL to your procedure library. If you specified the same names as you used in your Version 7.0 or later configuration when you generated your migration jobs, this utility will overlay the existing procedures. If you are using the same names, make sure that you back up the existing Version 7.0 or later procedures before running this utility in case you need to roll back later.

    Submit BBOMDCP, and verify a return code of 0.

  3. If you specified new procedure names, update your RACF® STARTED profiles for the controller and daemon.
    The STARTED profile used by controller regions is based on the procedure name and JOBNAME. You must ensure that a STARTED profile will apply so that the proper identity will be assigned to the started task. For example, if your Version 7.0 or later deployment manager controller JCL procedure name is AZDCR, and you specified AZ1DCR for Version 9.0, then you would need to create a STARTED profile for that new procedure name:
                  new controller      same identity used in
                     JCL name         V7.0 or later configuration
                        |                    |
     RDEFINE STARTED AZ1DCR.* STDATA(USER(AZDCRU) GROUP(AZCFG) TRACE(YES))
    Note:
    • Do not use a different user ID to start. There are other things tied to the user ID, and other changes would also be required if you change the user ID.
    • If your original STARTED profile was generic, STARTED AZ*.* ... for example, you would not need to create a new STARTED profile.
    • Servant region STARTED profiles are based on JOBNAME, not procedure name. So there is no issue with the servant when you use a different procedure name.
    • Daemons and node agents are controllers, so using different procedure names for those implies a new STARTED profile.
  4. Perform one of the following actions:
    1. Submit the BBOWMG3D job.

      A deployment manager migration does not require bringing the node into and out of Peer Restart and Recovery (PRR) mode as stand-alone application server and federated node migrations do. There are two fewer jobs to submit for a deployment manager migration, therefore, and you are ready to perform the physical migration.

      BBOWMG3D is the job that performs the physical migration of the Version 7.0 or later deployment manager to Version 9.0 based on the information that you supplied when you generated your migration jobs. Submit BBOWMG3D. Verify that you are getting return codes of 0, and review the log files in the migration temp directory on the configuration file system. The migration temporary directory is temporary_directory_location/nnnnn, where temporary_directory_location is the directory specified for the temporary directory location and nnnnn is the numeric value generated for the migration identifier when you generated your migration jobs. The default temporary directory location is /tmp/migrate.

    2. Submit the following three jobs:
      1. Submit the BBOWDPRO job.

        BBOWDPRO creates the WebSphere Application Server home and default profile.

      2. Submit the BBOWDPRE job.

        BBOWDPRE runs the migration pre-upgrade process.

      3. Submit the BBOWDPOS job.

        BBOWDPOS runs the migration post-upgrade and finish-up (change file permission) processes.

  5. Examine your trace control settings prior to migration.

    There are specific configuration settings that require manual changes in order to migrate WebSphere Application Server. Use the Administrative console to examine the list of environmental variables as follows:

    1. Click Environment > Manage WebSphere Variables.
    2. On the Configuration tab, check for the ras_trace_outputlocation variable and note its setting if present.

      If ras_trace_outputlocation is set to TRCFILE you must manually modify the start procedure for the new WebSphere Application Server to include a TRCFILE DD statement.

    Avoid trouble: The manual modification of the start procedure must be performed before the new WebSphere Application Server and associated daemons are started.
  6. Shut down the old application servers and daemon.

    Ensure that all nodes on the deployment manager's LPAR in the same cell are shut down.

  7. Update daemon JCL procedure if necessary.

    WebSphere Application Server for z/OS Version 9.0 requires that the daemon process be at the highest level of code of any of the servers that it manages on the same LPAR. It will be at the Version 9.0 level when the deployment manager is started.

    After you migrate all nodes to Version 9.0 and before you remove the previous version's libraries from the system, you must update the daemon JCL procedure. Failure to do so will result in a failure of the daemon to start.

    Note:
    • If you are migrating from Version 7.0 or later to Version 9.0, the daemon needs to have a STEPLIB that includes the latest version SBBOLD2 and SBBOLPA datasets.
    • If a Version 9.0 cell has a Version 9.0 server that is communicating with a Version 7.0 or later server in a Version 7.0 or later cell that is on the same system as the Version 9.0 cell, you also need to add the Version 7.0 SBBOLD2 and SBBOLPA datasets to the STEPLIB of the Version 9.0 daemon.
  8. Start the new deployment manager.

    Use the existing commands that you would use to start a Version 7.0 or later application server, but replace the RACF STARTED procedure name with the value that you entered in the deployment manager panel for the controller procedure name when you generated your migration jobs. This command starts the Version 9.0 deployment manager. Wait until the server is finished initializing before proceeding.

    The following message is displayed on the console and in the job log of BBODMGR:
    BBOO0019I INITIALIZATION COMPLETE FOR WEBSPHERE FOR z/OS CONTROL PROCESS BBODMGR

What to do next

After you verify a successful migration to Version 9.0 and are successfully running a migrated configuration, you should delete the following items:
  • Everything in the source configuration's file system
  • Everything in the target configuration's temporary_directory_location/nnnnn directory, where temporary_directory_location is the directory specified for the temporary directory location (/tmp/migrate by default) and nnnnn is the numeric value generated for the migration identifier when you created your migration jobs
  • The bbomigrt2.sh file