Upgrade steps

 
 
 
 
Note:
  • Accelerite CloudPlatform management server must be up and running while performing the CloudPortal Business Manager (CPBM) upgrade.
  • Make sure that you take a backup of CPBM database (DB).
  • If upgrade fails, automatic system rollback is not supported. It is therefore strongly recommended to take the complete VM backup or snapshot of the CPBM server and DB.
  • For CPBM 2.4, the supported MySQL server version is 5.6. Therefore, you must first complete the upgrade to MySQL 5.6.
  • For CPBM 2.4, the supported Java version is 1.7. During the upgrade process, select "y" to upgrade to Java 1.7.
 
Pre-requisites:
  • Make sure that the cloud-portal service is stopped before the upgrade is performed. In a clustered setup, the cloud-portal service must be stopped on all nodes before upgrade.
  • Before upgrade, if the cloud.properties file contains encrypted values of any property, they must be replaced by the clear-text (or decrypted) values. These properties can be replaced by encrypted values post upgrade. The cloud.properties file path is: /etc/cloud/portal/cloud.porperties.
  • The value of the following MySQL variables must be 1:
    • auto_increment_increment
    • auto_increment_offset

    Use this MySQL command to check the value of the variables:

     mysql> show variables like '%increment%'
    If current value of these variables is anything other than 1, then use the following command to update their values:
     mysql> SET @@auto_increment_increment=1;   mysql> SET @@auto_increment_offset=1;  
 
Requirements
RequirementVersion
CloudPortal Business Manager (old) 1.4.3 to 1.4.7 (any)
CloudPortal Business Manager (new) 2.4.x (any)
Python Default with CentOS (Python 2.6 for CentOS 6.3)
 
Use the following commands:
yum -y install MySQL-python
yum -y install unzip
yum –y install mysql
if you want to
  • install the required packages, if they do not exist
  • update the packages with their respective latest version
 

Steps to upgrade CloudPortal Business Manager 1.4.3 through 1.4.7 to CloudPortal Business Manager 2.4.x:

 
Perform the following steps to upgrade CPBM 1.4.3 through 1.4.7 to 2.4.x.
  1. Download the CPBM version 2.4.x tar ball from the CPBM download site.
  2. Stop the cloud-portal service on all the active nodes using the command:

    service cloud-portal stop

  3. Go to the console of your DB node and perform the following steps:
  4. Copy and extract the CPBM tar ball in any location, <untar_location>.
    tar -zxvf CloudPortal-2.4.x-centos.tar.gz
  5. cd <untar_location>.
  6. Run the installer using:
    ./install.sh 2>&1 | tee installer.log
  7. Read and accept Accelerite End User License Agreement.
  8. From the Installer options available in the menu, select the option D to upgrade to MySQL 5.6.
    Note: For CPBM 2.4, the supported MySQL server version is 5.6. Therefore, you must upgrade to MySQL 5.6.
  9. Follow the instructions that appear in the wizard.
  10. Select the option Q to quit.
  11. Go to the console of your primary node and perform the following steps:
  12. Copy and extract the CPBM tar ball in any location, <untar_location>.
    tar -zxvf CloudPortal-2.4.x-centos.tar.gz
  13. cd <untar_location>
  14. Run installer using ./install.sh 2>&1 | tee installer.log
    Note: Make sure that you take a backup of CPBM and DB (preferably complete CPBM VM).
  15. Read and accept Accelerite End User License Agreement.
  16. From the Installer options available in the menu, select the option U to upgrade.
  17. Follow the instructions that appear in the Upgrade wizard.
    Note: For CPBM 2.4, the supported Java version is 1.7. During the upgrade process, select "y" to upgrade to Java 1.7.
  18. Select the option Q to quit.
  19. Following are the commands for the database upgrade of CPBM, that must be run only once if the current version of CPBM is 1.4.7 (on any one node in the clustered environment):
    cd CloudPortal-2.4.0-1-centos/migration/2.4/from/1.4/scripts ./dbupgrader.sh 2>&1 | tee dbupgrader.log
  20. After the steps 12 to 19 are successful, start the CPBM server by using the command:

    service cloud-portal start

  21. Repeat steps 12 to 18 for each of the secondary nodes.
  22. If the proxy server is configured with port 20410. then make the changes given below in the tomcat-server.xml file:
    <Connector port="20410" protocol="AJP/1.3"  redirectPort="8443"  URIEncoding="UTF-8"/>  
  23. If the cloud.properties file contains encrypted values of any property then, after the upgrade follow these steps:
    1. Replace these properties by the encrypted values.
    2. Modify the file /etc/init.d/cloud-portal:

      Replace the text 'IS_CLOUD_PORTAL_ENCRYPTED=0' with 'IS_CLOUD_PORTAL_ENCRYPTED=1'

  24. Start the cloud-portal service on each of the secondary nodes using the command:

    service cloud-portal start

Note: Make sure that the browser cache is cleaned after upgrade.
 
他にご質問がございましたら、リクエストを送信してください

コメント

 
Adding comment, please wait....

Provide Feedback on Article:

Subject:
Comments:*
Powered by Zendesk