![]() ![]() ![]() ![]() ![]() ![]() |
Before using the WebLogic Upgrade Wizard in silent mode, you have the option of creating an XML script that defines your upgrade requirements, and passing that script to the wizard on the command line.
When run in silent mode, the Upgrade Wizard searches the domain’s root directory for an XML script with a name that indicates the type of upgrade task to be performed. If the wizard does not locate an XML script, it uses default system values.
This appendix provides the following sample XML upgrade scripts:
Depending on the particular configuration of the environment you are upgrading, you can modify specific values in these scripts, as explained in this appendix, and have the WebLogic Upgrade Wizard use them instead. This appendix identifies those values and their defaults, and explains how they can be modified.
Note: | Only WebLogic Server domains can be upgraded using silent mode. |
To create an XML script for a silent mode upgrade, modify one of the sample scripts provided in this appendix. Note the following:
<?xml version="1.0" encoding="UTF-8"?>
) must be at the very beginning of the XML script. No spaces or line breaks are allowed before the XML definition.<
, >
, [
, and ]
.
To upgrade the security providers in a domain, the WebLogic Upgrade Wizard looks for an XML script named weblogic-upgrade-securityproviders-responses.xml
, which is displayed in Listing E-1. The values that may be modified are shown in bold.
<?xml version="1.0" encoding="UTF-8"?>
<plugin-silent-responses>
</plugin-silent-responses>
<!--
<plugin-silent-responses>
<group name="SecurityProviderUpgradeGroup">
<plugin name="SecurityProviderUpgradeStepOne">
<input-adapter name="IA">
<bind-property name="selectedFileNames">
<value>__INPUT_DIRECTORY__</value>
</bind-property>
</input-adapter>
</plugin>
<plugin name="SecurityProviderUpgradeStepTwo">
<input-adapter name="IA">
<bind-property name="selectedFileNames">
<value>__OUTPUT_DIRECTORY__</value>
</bind-property>
</input-adapter>
</plugin>
</group>
</plugin-silent-responses>
Table E-1 identifies the keywords contained in this script, the values you can specify for those keywords, and the default values that are used by the WebLogic Upgrade Wizard if you do not modify them.
To upgrade the Node Manager from an existing domain, the WebLogic Upgrade Wizard looks for an XML script named weblogic-upgrade-nodemanager-responses.xml
, which is displayed in Listing E-2. The values that may be modified are shown in bold.
<?xml version="1.0" encoding="UTF-8"?>
<plugin-silent-responses>
</plugin-silent-responses>
<!--
<plugin-silent-responses>
<group name="NodeManagerPlugInGroup">
<plugin name="NodeManagerPlugIn">
<input-adapter name="IA">
<bind-property name="selectedFileNames">
<value>__NODE_MANAGER_HOME__</value>
</bind-property>
</input-adapter>
</plugin>
</group>
</plugin-silent-responses>
Table E-2 identifies the keyword contained in this script, the value you can specify for that keyword, and the default value used by the WebLogic Upgrade Wizard if you do not modify it.
To upgrade an existing domain, the WebLogic Upgrade Wizard looks for an XML script named weblogic-upgrade-domain-responses.xml
, which is displayed in Listing E-3. The values that may be modified are shown in bold.
Note: | Specifying the name of the domain Administration Server, as described in Table E-3 for the keyword ADMIN_SERVER_NAME , is required because there is no default value. |
<?xml version="1.0" encoding="UTF-8"?>
<plugin-silent-responses>
</plugin-silent-responses>
<!-- SAMPLE BELOW -->
<!--
<plugin-silent-responses>
<group name="DomainSelectionGroup">
<plugin name="SelectWebLogicVersionPlugIn">
<input-adapter name="ChoiceIA">
<bind-property name="selectedChoiceIds">
<value>__WEBLOGIC_VERSION__</value>
</bind-property>
</input-adapter>
</plugin>
<plugin name="DomainDirectorySelectionPlugIn">
<input-adapter name="IA">
<bind-property name="selectedFile">
<value>__DOMAIN_DIR__</value>
</bind-property>
</input-adapter>
</plugin>
</group>
<group name="PostDirSelectionGroup">
<plugin name="AdminServerSelectionPlugIn">
<input-adapter name="IA">
<bind-property name="selectedChoiceIds">
<value>__ADMIN_SERVER_NAME__</value>
</bind-property>
</input-adapter>
</plugin>
<plugin name="NodeManagerCredentialsPlugIn">
<input-adapter name="UsernameIA">
<bind-property name="value">
<value>__NODE_MANAGER_USERNAME__</value>
</bind-property>
</input-adapter>
<input-adapter name="PasswordIA">
<bind-property name="value">
<value>__NODE_MANAGER_PASSWORD__</value>
</bind-property>
</input-adapter>
<input-adapter name="PasswordConfirmIA">
<bind-property name="value">
<value>__NODE_MANAGER_PASSWORD__</value>
</bind-property>
</input-adapter>
</plugin>
<plugin name="OptionalGroupsSelectionPlugIn">
<input-adapter name="IA">
<bind-property name="selectedChoiceIds">
<value>__OPTIONAL_ACTION_1__</value>
<value> . . . </value>
</bind-property>
</input-adapter>
</plugin>
</group>
<group name="PostDirSelectionPost81Group">
<plugin name="AdminServerSelectionPlugIn">
<input-adapter name="IA">
<bind-property name="selectedChoiceIds">
<value>__ADMIN_SERVER_NAME__</value>
</bind-property>
</input-adapter>
</plugin>
<plugin name="OptionalGroupsSelectionPlugIn">
<input-adapter name="IA">
<bind-property name="selectedChoiceIds">
<value>__OPTIONAL_ACTION_1__</value>
<value> . . . </value>
</bind-property>
</input-adapter>
</plugin>
</group>
<group name="DomainBackupGroup">
<plugin name="DomainDirectoryBackupPlugIn">
<input-adapter name="FileSelectionIA">
<bind-property name="selectedFileNames">
<value>__BACKUP_DIR__</value>
</bind-property>
</input-adapter>
<input-adapter name="TextIA">
<bind-property name="value">
<value>___BACKUP_FILE_NAME__</value>
</bind-property>
</input-adapter>
</plugin>
</group>
</plugin-silent-responses>
-->
Table E-3 identifies the keywords contained in this script, the values you can specify for the keywords, and the default values used by the WebLogic Upgrade Wizard if you do not modify them.
The version of WebLogic Server contained in the domain being upgraded1.
|
||||
|
||||
One or more of the following options2:
If this option is specified, the wizard backs up the original domain directory and stores it in a zip file. If this option is specified, log files are included in the backup zip file. The number and size of log files can be large, so you may want to exclude them from the backup file by disabling this option. By default, log files are included in the backup file. Some behavior supported in pre-9.0 releases of WebLogic Server has been changed as of 9.0 to comply with J2EE 1.4. By default, the wizard sets flags to enable the previous behavior in the new domain. If you specify this option, these flags for backward compatibility are not set. |
||||
1You can specify multiple versions of WebLogic Server, as in the following example:
1
2
2
2
2 |
![]() ![]() ![]() |