Warning Upgrade and migration procedures will succeed only when done in strict accordance with the instructions below. Using of other methods and utilities or changing the actions order will most probably lead to broken services and data corruption. Thus, please follow the instructions carefully.
Attention: Use the instructions from this article if you want to perform a major upgrade of the Odin Business Automation Standard (OBAS) server operating system (OS), e.g. an upgrade from CentOS 3.x/4.x to CentOS 5.x or CentOS 6.x. In this case, you need to migrate OBAS to the new server.
If you want to perform a minor update of the OBAS server OS within the current major release (e.g. if you want to update Centos 6.x to the latest version), use the instructions in this article: How to update OS (minor) of OBAS server.
You can use the following instructions to migrate the
OBAS system from an old container/server into the new one based on the new OS distribution:
Important: If the destination container is located on another Hardware Node, the new OBAS license for the new HWID should be requested in advance of the migration. Please refer to this article to determine the HWID of the new Virtuozzo Hardware Node.
Install the OBAS system on the destination node with a more recent OS distribution installed. The identical OBAS version (the latest one) should be installed. Please refer to the Odin Business Automation Standard Release Notes and the Odin Business Automation Standard Installation Guide for detailed instructions. In addition, you should assign a temporary IP address to the destination OBAS server/container (TMP_IP for further reference).
Refer to the article How to accelerate hspc-mn-backup utility on accelerating the
Migrate your system to the new сontainer/server using the hspc-mn-backup utility on the source node:
~# hspc-mn-backup -m root@[TMP_IP]
IMPORTANT: Use the option
-dif you migrate from CentOS 5.x to CentOS 6.x or Redhat 5.x to Redhat 6.x:
~# hspc-mn-backup -d -m root@[TMP_IP]
Stop the source node (shut down the OBAS server or stop the OBAS container).
Change the IP address of the destination server/сontainer to the source IP address.
Start the OBAS system on the destination node/container.
- Install the new OBAS license if the new container is running on a new Hardware Node.
The same instructions may be used if the OBAS database is located on an external server. Use the following scheme for migrating OBAS from CentOS 5.x to CentOS 6.x (Redhat 5.x to Redhat 6.x) and an external database from CentOS 5.x to CentOS 6.x (Redhat 5.x to Redhat 6.x):
- Upgrade OBAS 4.3 CentOS 5 to OBAS 4.5 CentOS 5.
- Set up a new OBAS 4.5 CentOS 6, 64-bit, and migrate from OBAS 4.5 CentOS 5, 32-bit with
hspc-mn-backup, according to the above instructions.
- Set up a new DB server with CentOS 6 and MySQL 5.1.66-2.
- Migrate ALL databases from the old DB server to the new server with
- Verify the new DB server has the same IP address as the old server. Configure settings in
/etc/hspc/hspc.confif the new IP is different. Make sure a connection to MySQL from the OBAS node is possible.
For additional information regarding
hspc-mn-backup utility usage, refer to Odin Business Automation Standard Advanced Configuration Manual.