Copyright © Cloud Software Group, Inc. All Rights Reserved |
• Rolling Upgrade You can use this method when upgrading from a minor release to a major release. With a rolling upgrade, you bring one node down and upgrade it, restart it, and then upgrade additional nodes, one node at a time.
You cannot use the rolling upgrade method for nodes that are running through as-agent processes. For these nodes, you must use the offline upgrade method.
• Offline Upgrade You perform an offline upgrade by shutting down each instance of ActiveSpaces, upgrading the node to ActiveSpaces 2.1.1, and then restarting the node. You can use this method for any of the upgrade paths to ActiveSpaces 2.1.1.An off-line conversion utility, as-convert, is provided to perform this data conversion. The utility automatically detects the release that created the data files and converts them to the release 2.1.1 format.
• Release 2.0 to 2.1.1 Requires an offline upgrade. Convert any shared-nothing persistence data files to the ActiveSpaces 2.1.1 format by running the as-convert utility.
• Release 2.0.1 to Release 2.1.1 Requires an offline upgrade. Convert any shared-nothing persistence data files to the ActiveSpaces 2.1.1 format by running the as-convert utility.
• Release 2.0.1 to 2.0.2 Requires an offline upgrade. Convert any shared-nothing persistence data files to the ActiveSpaces 2.1.1 format by running the as-convert utility.
• Release 2.0.2 to Release 2.1.1 Requires an offline upgrade. You do not need to convert shared-nothing persistence data files for this upgrade.
• Release 2.1.1 to Future 2.1.x Releases Depending on your situation, you can use the rolling upgrade method or the offline upgrade method.
1. Run the TIBCO Universal Installer and install the new version of ActiveSpaces into a new TIBCO_HOME directory.If there is no previous installation on this machine, you do not need to use a different TIBCO_HOME directory.
2. Start one instance (for example, an as-agent) from the new TIBCO_HOME directory, and wait for redistribution to complete.
3. Then, bring down gracefully (using the metaspace.closeAll method) a node that was started from the old TIBCO_HOME directory or kill the node (using CTRL-c or kill -9), and wait for redistribution to complete.
4. Repeat steps 2-3 until all nodes from the old TIBCO_HOME are removed from the cluster.
2. If you have implemented shared-nothing persistence, run the as-convert utility to convert shared-nothing persistence data files to the release 2.1.1 format.
The as-convert.exe file is located in the following directory:
Before you run as-convert, stop all as-agents and seeders. The as-convert utility must be run off-line.as-convert -data_store <directory_path> -metaspace <metaspace_name> -space <space_name> -name <membername> -file <file_name> -compact -dry_run -verbose -log <log_file> -debug <log_level>Table 4 describes the parameters for as-convert.
Table 4 Parameters for as-convert directory_path specifies the path to the data store to convert. To specify conversion of the data files for a specific space within the metaspace, specify the space name with the -space parameter and the metaspace name with the -metaspace parameter. To specify conversion of the data files for a specific space member, specify the member name with the -name parameter, the space name with the -space parameter, and the metaspace name with the -metaspace parameter. To specify conversion of a specific file, specify the filename with the -file parameter, the data store path with the -data_store parameter, and the metaspace name with the -metaspace parameter. Outputs a summary of the command syntax for as-convert. The as-convert utility converts ActiveSpaces shared-nothing files from one format (or one version) to another (usually higher). The utility does the following:
• the dry_run option will just touch the files and identify which are older than current version. This option is good for estimating how many files need conversion.
Copyright © Cloud Software Group, Inc. All Rights Reserved |