Administrative agent profiles manage multiple base application servers in environments
such as development, unit test, or that portion of a server farm that resides on a single machine.
Before you can migrate managed base application servers from Version 7.0 or later to Version 8.5, you must first migrate the administrative
agent.
Before you begin
Supported configurations:
This topic is about configuration migration, such as migrating deployment managers
and federated nodes in a network deployment environment. The Application Migration Toolkit for
WebSphere Application Server provides support for migrating applications from previous versions of
WebSphere Application Server to the latest product version. For information about migrating
applications, read more about the Migration Toolkit.
Review the migration planning information. See Knowledge Collection: Migration planning for WebSphere® Application
Server.
You can migrate administrative agent profiles and the registered set of managed base application
servers from Version 7.0 or later to Version 8.5.
About this task
This task describes how to use the z/OS Configuration Migration Management Tool to migrate an
administrative agent and its associated set of managed base application servers from WebSphere
Application Server Version 7.0 or later to Version 8.5. A base
application server becomes managed when it is registered with a single administrative agent. An
administrative agent may manage one or more base application servers and must be at the same release
level and on the same machine as the base application servers it is managing. z/OS restricts that
only the version 7.0 or later, or Version 8.5 administrative
agent be running at any one time. The following instructions will tell you when to start and stop
the old and new administrative agents. This restriction requires that all managed base application
servers be migrated at the same time.
Avoid trouble: When migrating the managed base application server in a
flexible management environment, ensure that the node names are the same on Version 8.5 and previous releases.
Procedure
- Back up the administrative agent and node configuration
In case of failure during the migration, run the backupConfig command to
save the current administrative agent and node configuration to a file that you can use later for
recovery purposes.
- Change to the
administrative_agent_profile_root/bin
directory.
- Run the backupConfig command with the appropriate parameters on
the administrative agent and all managed base application servers.
For example:
/opt/WebSphereV61/profiles/v61dmgr01/bin/backupConfig.sh
/mybackupdir/v61dmgr01backupBeforeV7migration.zip
-username myuser -password mypass -nostop
- For each node in the configuration, change to the
profile_root/bin directory.
- Run the backupConfig command with the appropriate parameters, and
save the current profile configuration to a file.
For example:
/opt/WebSphereV70/profiles/v70mas01/bin/backupConfig.sh
/mybackupdir/v70mas01rbackupBeforeV85migration.zip
-username myuser -password mypass -nostop
-
Alternately, you can use the PAX command to back up all HFS files. For more information, see
Using the z/OS UNIX pax command
- Install WebSphere Application Server Version 8.5
- Install the correct version (Network Deployment, Base, Express) of WebSphere Application Server onto each target host using the SMP/E tool. For more
information, see the documentation about installing an application-serving environment.
- Specify an administrative agent migration configuration in the z/OS Migration Management
Tool
Use the z/OS Migration Management Tool to create a migration definition and upload
the jobs for migrating the administrative agent.
Note: The Version 8.5 cell name must
match the cell name in the Version 7.0 or later configuration. If you create a profile with a new
cell name, then the migration will fail.
-
Complete the worksheet found in the following topic:
- On the Migration Node Type Selection panel, select z/OS migrate a
administrative agent.
- Complete the fields on the subsequent panels using the values from your
worksheet.
- Review the administrative agent migration definition to make sure that all the values
are correct.
- In the WebSphere Application Server for z/OS migration definition table, select the migration
definition that you want to review.
- Click View.
- For information about the migration definition, click the Summary,
Instructions, or Response file tab.
- Upload the migration jobs to the target z/OS system.
- Ensure that all in-progress jobs are completed on the managed profiles
- Ensure that all in-progress jobs are completed on the managed profiles.
Before you run the WASPreUpgrade command on a managed application
server or deployment manager, all in-progress jobs must be complete.
- Stop polling the job manager
- Stop polling the job manager before you run the WASPreUpgrade
command on profiles that receive jobs from the job manager.
Before you start polling for
jobs, run the WASPreUpgrade and WASPostUpgrade commands for
the managed profile. For more information, see ManagedNodeAgent command group for the
AdminTask object using wsadmin scripting.
- Run the migration jobs for the administrative agent
- Follow the instructions in the 'Migration Instructions' view of the z/OS Migration
Management Tool or in the BBOMAINS member of the CNTL dataset that you uploaded to the target z/OS
system.
The CRPROF (profile create), PREUPGRD (preUpgrade) and UPGRADE steps are all executed during
this process.
- Verify the migration output that is generated
- Verify all output created in the working directory of the HFS/ZFS (specified in ZMMT)
and all MVS job output created by the batch jobs.
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.
- Add STEPLIB statements that include the previous version's load modules to the migrated
Daemon's startup proc
- If you are running in a mixed-cell environment, add STEPLIB statements that include
the previous version's load modules to the migrated Daemon's startup proc
STEPLIB
statements apply to
WebSphere Application Server Version 6.1 and earlier. If
you are running with multiple nodes on the same LPAR, or if you are running with a node on the same
LPAR as the migrated DMGR (which will create a mixed cell environment), you must add STEPLIB
statements that include the previous version's load modules to the migrated Daemon's startup proc.
This is due to the fact that the Daemon must run at the highest WAS level on that LPAR. This is
necessary if for any reason you need to stop and restart the down level node agent or application
server. For example, after migration of the DMGR, the BBO7DMN procedure was modified to
include:
//*
//STEPLIB DD DISP=SHR,DSN=xxxxxxxx.SBBOLD2
// DD DISP=SHR,DSN=xxxxxxxx.SBBOLOAD
// DD DISP=SHR,DSN=xxxxxxxx.SBBOLPA
Where
xxxxxxxx are
pointers to the previous
WebSphere Application Server level. This enables the
Daemon to manage the migrated DMGR and previous level node agents.
- Specify a managed application migration configuration in the z/OS Migration Management
Tool
Use the z/OS Migration Management Tool to create a migration definition and upload
the jobs for migrating the managed base application servers.
Avoid trouble: The Version 8.5
cell name must match the cell name in the Version 7.0 or later configuration. If you create a
profile with a new cell name, then the migration will fail.
-
Complete the worksheet found in the following topic:
- On the Migration Node Type Selection panel, select z/OS migrate a managed
base application server.
- Complete the fields on the subsequent panels using the values from your
worksheet.
- Review the federated node migration definition to make sure that all the values are
correct.
- In the WebSphere Application Server for z/OS migration definition table, select the migration
definition that you want to review.
- Click View.
- For information about the migration definition, click the Summary,
Instructions, or Response file tab.
- Upload the migration jobs to the target z/OS system.
- Run the migration jobs for the managed base application server
- Run the migration jobs for the managed base application server.
Avoid trouble:
- Ensure that the Version 7.0 administrative agent is running. This allows the application server
to be de-registered with the administrative agent.
- If the managed application server is also registered to a job manager, you must unregister from
the job manager before you run a managed application server migration. After the migration is
complete, register to the administrative agent and job manager again.
Follow the instructions in the
Migration Instructions view of the z/OS
Migration Management Tool or in the BBOMDINS member of the CNTL dataset that you uploaded to the
target z/OS system. The CRPROF (profile create), PREUPGRD (preUpgrade) and UPGRADE steps are all
executed during this process.
- Verify all of the migration output that is generated
- Verify all output created in the working directory of the HFS (specified in ZMMT) and
all MVS job output created by the batch jobs.
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.
- Add STEPLIB statements that include the previous version's load modules to the migrated
Daemon's startup proc
- If you are running a mixed-cell environment, add STEPLIB statements that include the
previous version's load modules to the migrated Daemon's startup proc.
STEPLIB statements
apply to
WebSphere Application Server Version 6.1 and earlier. If you are
running with multiple nodes on the same LPAR, or if you are running with a node on the same LPAR as
the migrated DMGR (which will create a mixed cell environment), you must add STEPLIB statements that
include the previous version's load modules to the migrated Daemon's startup proc. This is due to
the fact that the Daemon must run at the highest
WebSphere Application Server
level on that LPAR. This is necessary if for any reason you need to stop and restart the down level
node agent or application server. For example, after migration of the DMGR, the BBO7DMN procedure
was modified to include:
//*
//STEPLIB DD DISP=SHR,DSN=xxxxxxxx.SBBOLD2
// DD DISP=SHR,DSN=xxxxxxxx.SBBOLOAD
// DD DISP=SHR,DSN=xxxxxxxx.SBBOLPA
Where
xxxxxxxx are
pointers to the previous
WebSphere Application Server level. This enables the
Daemon to manage the migrated DMGR and previous level node agents.
- Change to the new Version 8.5 migrated
administrative agent
Avoid trouble: Be sure all the managed application server registered
to the old administrative agent are migrated. These should have all been de-registered during their
migration process.
- Stop the old Version 7.0 or later administrative agent.
- Start the new Version 8.5 administrative
agent.
- Start the managed application server
Check the Node Agent logs for
errors.
- Start each managed base application server.
- Register each managed application server with the new administrative
agent.
Results
You migrated an administrative agent profile and its associated managed base application servers
from WebSphere Application Server Version 7.0 or later to Version 8.5 using the migration tools.