Connector Upgrade

 
 
 

Upgrading CloudPortal Business Manager without upgrading the cloud service connectors

If you have the customized CPBM 2.x Accelerite CloudPlatform Connector fragment then upgrade to CPBM 2.4.x will automatically retain the customized and dependent connectors, and will back up the new connectors into directory /usr/share/vts3/backup_connectors/.

If you want to update your customized Accelerite CloudPlatform Connector fragment, refer to section "Customizing the Accelerite CloudPlatform Connector UI" under Installing and building custom components.

If you want to use new version of Accelerite CloudPlatform connectors without any customization then follow the steps below, after upgrading CPBM:
  1. Stop the cloud-portal service on all the active nodes using the command:
    service cloud-portal stop
  2. Copy the following connectors from /usr/share/vts3/backup_connectors/ to /usr/share/vts3/connectors/

    1. cloud.apachecloudstack.fragment
    2. cloud.apachecloudstack
    3. cloud.cloudplatform.fragment
    4. cloud.cloudplatform
    $ cp /usr/share/vts3/backup_connectors/cloud.apachecloudstack-<new.cpbm.version>.jar /usr/share/vts3/connectors/  $ cp /usr/share/vts3/backup_connectors/cloud.apachecloudstack.fragment-< new.cpbm.version>.jar /usr/share/vts3/connectors/  $ cp /usr/share/vts3/backup_connectors/cloud.cloudplatform-<new.cpbm.version>.jar /usr/share/vts3/connectors/  $ cp /usr/share/vts3/backup_connectors/cloud.cloudplatform.fragment-<new.cpbm.version>.jar /usr/share/vts3/connectors/  
  3. Move the customized and dependent connectors to backup directory /usr/share/vts3/backup_connectors
    $ mv /usr/share/vts3/custom_connectors/cloud.apachecloudstack-<old.cpbm.version>.jar /usr/share/vts3/backup_connectors/  $ mv /usr/share/vts3/custom_connectors/cloud.apachecloudstack.fragment-<old.cpbm.version>.jar /usr/share/vts3/backup_connectors/  $ mv /usr/share/vts3/custom_connectors/cloud.cloudplatform-<old.cpbm.version>.jar /usr/share/vts3/backup_connectors/  $ mv /usr/share/vts3/custom_connectors/cloud.cloudplatform.fragment-<old.cpbm.version>.jar /usr/share/vts3/backup_connectors/  
  4. Follow the steps 2 and 3 on each of the CPBM nodes.
  5. Start the cloud-portal service on each of the nodes using the command:
    service cloud-portal start

Upgrading the cloud service connectors on CloudPortal Business Manager 2.4.0 without upgrading CPBM

CPBM 2.4.0 cloud service connectors can be upgraded to the latest maintenance versions of CPBM 2.4.x connectors without upgrading CPBM. The example provided is specific to the Accelerite CloudPlatform Connector.
  1. Stop the cloud-portal service on all the active nodes using the command:
    service cloud-portal stop
  2. On each of the nodes, replace the following CloudPlatform connector jars under <virgo_home>/connectors folder with the new CloudPlatform connector jars of CPBM 2.4.x
    1. cloud.apachecloudstack.fragment
    2. cloud.apachecloudstack
    3. cloud.cloudplatform.fragment
    4. cloud.cloudplatform
  3. Start the cloud-portal service on each of the nodes using the command:
    service cloud-portal start
Note: Similarly use the steps above for other cloud service connectors as well. You must replace the appropriate jar files for the other connectors.
 
Have more questions? Submit a request

Comments

 
Adding comment, please wait....

Provide Feedback on Article:

Subject:
Comments:*