InfoCenter Home > 3.4.2: Migrating configurations manuallyManual migration might be necessary if either your current installation or your Version 4.0 installation requirements vary too much from assumptions made by the product installation program. This article outlines the first and last steps of the overall product migration process, as follows:
Exporting the current administrative configurationBefore exporting the configuration to a file, be sure an administrative server is running. A sample export command for Version 3.0x follows. You may have to update many of the values used in this sample to reflect your configuration requirements. j:\jdk1.1.8.orig\bin\java Dserver.root=j:\websphere\appserver302 Dcom.ibm.CORBA .ConfigURL=file:/j:/WebSphere/AppServer302/properties/sas.client.props classpath XMLConfig302 .jar;j:\websphere\appserver302\lib\ibmwebas.jar; j:\websphere\appserver302\lib\servlet.jar; j:\websphere\appserver302\lib\xml4j.jar;j:\websphere\appserver302\lib\ujc.jar; j:\websphere\appserver302\lib\ejs.jar;j:\websphere\appserver302\lib\console.jar; j:\websphere\appserver302\lib\admin.jar;j:\websphere\appserver302\lib\repository.jar; j:\websphere\appserver302\lib\sslight.jar;j:\websphere\appserver302\lib\tasks.jar; j:\jdk1.1.8.orig\lib\classes.zip; j:\websphere\appserver302\propertiescom.ibm.websphere.xmlconfig.XMLConfig -adminNodeName cally -nameServiceHost cally -nameServicePort 900 export j:\websphere\backup \websphere_302_backup.xml Backing up configuration filesFirst, make copies of key directories. Remember that you must update many of the names shown in the following samples to reflect your configuration requirements.
V3.02_install_root\hosts > backup_directory\userFiles\hosts
V3.02_install_root\servlets > backup_directory\userFiles\servlets V3.02_install_root\classes > backup_directory\userFiles\classes V3.02_install_root\deployableEJBs > backup_directory\userFiles\deployableEJBs V3.02_install_root\deployedEJBs > backup_directory\userFiles\deployedEJBs V3.02_install_root\properties > backup_directory\programFiles\properties Also copy one of the following, depending on your operating system:
Restoring the configuration in the new installationFirst, copy the backed-up configuration files into the new installation directory. Be sure to update any names shown in the following samples to reflect your configuration requirements.
backup_directory\userFiles\hosts > V3.5_install_root\hosts
backup_directory\userFiles\servlets > V3.5_install_root\servlets backup_directory\userFiles\classes > V3.5_install_root\classes backup_directory\userFiles\deployableEJBs > V3.5_install_root\deployableEJBs Next, import the configuration. Before importing the configuration, however, be sure an administrative server is running. A sample import command for Windows NT/2000 follows. Remember that you must update many of the values to reflect your configuration requirements. V3.5_install_root\jdk\jre\bin\Java Dserver.root=V3.5_install_root Dcom.ibm.CORBA.ConfigURL=file:/V3.5_install_root/properties/sas.client.props classpath V3.5_install_root\lib\ibmwebas.jar; V3.5_install_root\lib\servlet.jar; V3.5_install_root\lib\xml4j.jar;V3.5_install_root\lib\ujc.jar; V3.5_install_root\lib\ejs.jar;V3.5_install_root\lib\console.jar; V3.5_install_root\lib\admin.jar;V3.5_install_root\lib\repository.jar; V3.5_install_root\lib\sslight.jar;V3.5_install_root\lib\tasks.jar; V3.5_install_root\properties com.ibm.websphere.xmlconfig.XMLConfig -adminNodeName cally -nameServiceHost cally -nameServicePort 900 import backup_directory\websphere_302_backup.xml |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|