9.3.8. Converting from INI to Staging

If you currently use the INI installation method and wish to convert to using the Staging method, there is currently no easy way to do that. The procedure involves uninstalling fully on each node, then reinstalling from scratch.

If you still wish to convert from the INI installation method to using the Staging method, use the following procedure:

  1. Place cluster(s) in Maintenance Mode:

    shell> cctrl
    cctrl> set policy maintenance
  2. On the staging node, extract the software into /opt/continuent/software/{extracted_dir}

    shell> cd /opt/continuent/software
    shell> tar zxf continuent-tungsten-4.0.8-116.tar.gz

    Important

    If this is a MSMM topology, make sure you extract both the clustering and replication packages.

  3. Create the text file config.sh based on the output from tpm reverse:

    shell> cd continuent-tungsten-4.0.8-116
    shell> tpm reverse > config.sh

    Review the new config.sh script to confirm everything is correct, making any needed edits. When ready, create the new configuration:

    shell> sh config.sh

    Important

    If you are using a MSMM topology, repeat these steps using the replicator staging directory. For example:

    shell> cd tungsten-replicator-4.0.8-116
    shell> /opt/replicator/tungsten/tools/tpm reverse > config.sh
    shell> sh config.sh

    Review the new configuration:

    shell> tools/tpm reverse

    See Section 9.3, “tpm Staging Configuration” for more information.

  4. On all nodes, uninstall the Tungsten software:

    Warning

    Executing this step WILL cause an interruption of service.

    shell> tpm uninstall --i-am-sure

    Important

    If you are using a MSMM topology, repeat these steps using the replicator tpm command. For example:

    shell> /opt/replicator/tungsten/tools/tpm uninstall --i-am-sure
  5. On all nodes, rename the tungsten.ini file:

    shell> mv /etc/tungsten/tungsten.ini /etc/tungsten/tungsten.ini.old
  6. On the staging node only, change to the extracted directory and execute the tpm install command:

    shell> cd /opt/continuent/software/continuent-tungsten-4.0.8-116
    shell> ./tools/tpm install

    Important

    If you are using a MSMM topology, repeat the install using the replicator staging directory. For example:

    shell> cd /opt/continuent/software/tungsten-replicator-4.0.8-116
    shell> ./tools/tpm install
  7. Once all steps have been completed and the cluster(s) are stable, take each cluster out of maintenance mode by setting the policy back to automatic:

    shell> cctrl
    cctrl> set policy automatic