You can use the restoreConfig and wsadmin commands
to roll back a migrated WebSphere® Application Server Versão 9.0 federated node to
the state that it was in before migration. For each federated node
that you want to roll back, you must roll back the federated node
itself and the corresponding changes made to the primary repository
located on the deployment manager.
Before you begin
Configurações suportadas: Este
artigo trata da migração da configuração de perfil. Para migrar seus aplicativos para a versão mais recente, use o Kit
de Ferramentas de Migração do WebSphere Application Server. Para obter
mais informações, consulte o Kit
de ferramentas de migração no WASdev.
sptcfg
Best practice: When migrating a
Versão 7.0 ou posterior federated node, the best practice is to perform the following
actions if you want to be able to roll it back to its previous state
after migration:
- Back up your existing configuration.
- Run the backupConfig command or your own preferred
utility to back up the Versão 9.0 deployment
manager configuration.
- Run the backupConfig command or your own preferred
utility to back up the Versão 7.0 ou posterior federated node configuration.
Important: Make sure that you note the exact name
and location of this backed-up configuration.
See backupConfig
command for more information.
- Migrate the federated node.
- If necessary, you can now roll back the federated node that you
just migrated.
Important: If you do not have a backup copy
of your Versão 9.0 deployment
manager configuration as it was before you migrated the Versão 7.0 ou posterior federated node that you want to roll back, you cannot use
the procedure described in this article and you must roll back your
whole cell.
About this task
You must perform all of the backup and rollback actions
for each migrated federated node before you proceed to migrate another
federated node.
Procedure
- Run the backupConfig command or your
own preferred utility to back up the Versão 9.0 deployment manager
configuration at the current state.
Important: Make
sure that you note the exact name and location of this backed-up configuration.
See backupConfig
command for more information.
- Stop all servers and the node agent on the Versão 9.0 federated node that
you want to roll back.
- Restore your previous configuration.
- Run the restoreConfig command or
your own preferred utility to restore the previous Versão 9.0 deployment manager
configuration.
Important: - Make sure that you restore the same backed-up configuration that
you created just before you migrated the federated node.
- If you have made changes to your environment (application or configuration
changes for example), these changes are rolled back at the same time
and cause the other nodes to force synchronization with the deployment
manager.
See restoreConfig command for more information.
- Perform one of the following actions to restore the
Versão 7.0 ou posterior configuration for the federated node.
- Start the Versão 9.0 deployment
manager.
- Perform any application maintenance that is required.
- Synchronize the Versão 7.0 ou posterior federated node with
the deployment manager.
See Synchronizing nodes
using the wsadmin scripting tool for more information.
- If you chose to keep the installed applications in the
same location as the prior release during migration to Versão 9.0 and any of the Versão 9.0 applications are
not compatible with the prior release, install applications that are
compatible.
- Start the rolled-back Versão 7.0 ou posterior federated node
and servers.
- Validate that the configuration is satisfactory.
This
is the last chance to undo the rollback action by restoring the deployment-manager
configuration that you backed up in the first step.
- Delete the Versão 9.0 profile for the federated
node that you rolled back to Versão 7.0 ou posterior.
See Deleting
profiles for more information.
Results
The configuration should now be returned to the state that
it was in before migration.
What to do next
You can now restart the migration process if you want to
do so.