Red Hat has announced the end-of-life (EOL) for CentOS Linux 7. As a result, without ongoing support, CentOS will no longer receive critical security updates. We strongly recommend migrating DCImanager, VMmanager, and BILLmanager to an up-to-date operating system in advance.
Note:
The migration process includes installing the necessary packages and tools to support the current operating system, as well as migrating configuration files and data to ensure stable and secure operation after the migration is complete.
The following are migration instructions for each product:
Migration from CentOS 7 to AlmaLinux 8 for VMmanager
There are a number of actions to be performed:
Preparation
- Check hardware compatibility with AlmaLinux 8 by booting AlmaLinux in Live Media mode.
- Migrate virtual machines to another cluster node when you change the OS on a cluster node. (Read more in “Migration of virtual machines”).
- Create a backup of the platform on an external storage. (Read more in "Backing up the platform").
Changing the OS
- Connect to the server via SSH.
- Install the latest available software update: yum update -y
- Reboot the server: reboot
- Install the Elevate software: yum install -y http://repo.almalinux.org/elevate/elevate-release-latest-el$(rpm --eval %rhel).noarch.rpm
- Install the Leapp framework: yum install -y leapp-upgrade leapp-data-almalinux
- Check if the system is ready for an OS change: leapp preupgrade
- Examine the command output and the report file /var/log/leapp/leapp-report.txt for information about possible problems when changing OS.
- Configure the Leapp framework:
- rmmod pata_acpi
- leapp answer --section remove_pam_pkcs11_module_check.confirm=True
Configuring the firewall. On the server with the platform, change the firewall settings:
docker exec -it vm_box bash
cd /opt/ispsystem/vm
/usr/bin/ansible-playbook -i :22, -e targets=all -e ansible_python_interpreter='auto_silent' -e datacenter_type='common' -e ssh_port='22' -e network_autosetup_enabled='1' -e is_lxd='0' -e dc_ips='' -e dc_ips6='' -e closed_contour='0' etc/playbooks/node/firewall.yml --timeout 60 -b
Done! Once these steps are completed, your platform will be successfully migrated to the supported AlmaLinux 8, ensuring stable and secure system operation.
Migration to AlmaLinux 8 without reinstalling DCImanager 6
Operating system (OS) migration is an important process that requires care and consistency to ensure the platform runs smoothly. In the case of changing the operating system from CentOS 7 to AlmaLinux 8 without reinstalling DCImanager 6, there are features and steps that are not provided by the CentOS developers. Therefore, the migration procedure may fail and the platform will be unavailable during the OS change process on the server with the platform.
To successfully complete the migration, you must follow the instructions to ensure the platform runs safely and smoothly. Here are the step-by-step instructions for migrating from CentOS 7 to AlmaLinux 8 using the Elevate software:
- Check the compatibility of the hardware with AlmaLinux 8. You can boot AlmaLinux 8 in Live Media mode to perform this test.
- Connect to the server via SSH and back up the platform to prevent potential malfunctions during the migration:
dci backup
- The backup will be saved in the /opt/ispsystem/dci/backup/ directory. Save the backup to an external media.
- Install the latest available software updates and reboot the server:
yum update -y reboot
- Install the Elevate software and the Leapp framework:
yum install -y http://repo.almalinux.org/elevate/elevate-release-latest-el$(rpm --eval %rhel).noarch.rpm yum install -y leapp-upgrade leapp-data-almalinux
- Check that the system is ready for the OS change:
leapp preupgrade
- Examine the command output and the report file /var/log/leapp/leapp-report.txt to identify possible problems when changing the OS.
- Configure the Leapp framework and run the OS change:
rmmod pata_acpi leapp answer --section remove_pam_pkcs11_module_check.confirm=True leapp upgrade
- Reboot the server and check the OS version:
reboot cat /etc/os-release
Migration via DCImanager 6 backup
In case of migration from CentOS 7 to any supported OS, you need to follow a certain sequence of actions. Step-by-step instructions for migration via DCImanager 6 backup are provided below:
- Create a new token value for your license in your client area at my.ispsystem.com or by contacting technical support.
- Create a backup of the platform:
dci backup
- The copy will be saved in the /opt/ispsystem/dci/backup/ directory. If there is a location on the server in addition to the platform, back up the /opt/ispsystem/dci/os_templates/ directory. Save the backups to an external media.
- If there is a location on the server in addition to the platform, stop the platform:
dci down
- Install a supported OS and connect to the server via SSH.
- If you do not have the tar archiver or curl utility installed on your system, install them via the appropriate commands for the OS you are using.
- Download the installer and make the installer file executable:
curl -O https://download.ispsystem.com/6/dci/dcibox/dci chmod +x dci
- Create the directory /opt/ispsystem/license/ and copy the previously created platform backup to the directory /opt/ispsystem/dci/backup/.
- Start restoring the platform from the backup:
./dci restore -b=<backup_file>
- Activate the license in the DCImanager 6 interface and follow the additional steps if the server has a location.
- Update the database:
docker exec -it mysql bash -c "mysql_upgrade -u root -p$MYSQL_ROOT_PASSWORD"
Successfully following these steps will ensure a safe and smooth migration of your platform to the new OS.
Moving BILLmanager and license between servers
Moving BILLmanager to a new server may be necessary when replacing hardware or migrating to a supported operating system. This requires installing on a new server, connecting via SSH, and moving files.
It is important to make sure that the BILLmanager version on the new server is not lower than on the old one. Migration is possible between servers with different operating systems.
Preparation:
- Prepare the new server, install BILLmanager on it, activate the trial license via the ISPsystem client area.
- Enable maintenance mode on the old server for the duration of the migration.
- Import user data from the old server to the new server.
- Move custom XML files, addons and plugins to the new server. This can be accomplished by using the scp commands.
- Move the storefront settings from the old server to the new server by copying the appropriate directories.
- Install missing software packages, such as service processing modules, payment systems, and mail gateways, on the new server.
- Link the BILLmanager license to the new server by activating the commercial license through your client area.
- Disable maintenance mode on the old server after a successful migration.
After the migration is complete, it is recommended to disable or uninstall BILLmanager from the old server to avoid conflicts due to identical service processing module settings.
Preparing a new server includes installing BILLmanager, activating the trial license via the ISPsystem client area and logging in to BILLmanager via a browser to activate the license.
Make sure that both servers have active licenses and activate the commercial license on the new server after the migration.
Instructions on moving BILLmanager to a new server:
Step 1: Enabling maintenance mode
Maintenance mode temporarily stops the operation of processing modules and mail gateways in BILLmanager. To enable it on the old server, create an empty file
/usr/local/mgr5/etc/billmgr.DoNothing
Step 2: Data import
On the old server:
- Create a backup from the BILLmanager web interface under Tools → Backup → click Run. Save the backup archive.
- Save the branding settings.
- Copy the directories to the new server using the scp commands:
scp /usr/local/mgr5/skins/dragon/local_* root@
:/usr/local/mgr5/skins/dragon/ scp /usr/local/mgr5/etc/brand_settings.billmgr.xml root@ :/usr/local/mgr5/etc/
On the new server:
- Enter Tools → Backup →click Download, select the backup archive from the previous server and click Restore.
- After restoring from backup to a new server, the IP address of the old server can be specified in the configuration file. Specify the IP address of the new server in the ihttpd configuration file /usr/local/mgr5/etc/ihttpd.conf. Restart BILLmanager:
/usr/local/mgr5/sbin/mgrctl -m billmgr exit
Step 3: Moving custom XML files, addons and plugins
If you have custom XML files, addons, and plugins, perform the following:
- Create the /usr/local/mgr5/backup/ directory on the new server if such a directory does not already exist.
- Move existing custom files using the scp commands:
scp -r /usr/local/mgr5/etc/xml/ root@<new_server_IP>:/usr/local/mgr5/backup/ scp -r /usr/local/mgr5/addon/ root@@<new_server_IP>:/usr/local/mgr5/backup/ scp -r /usr/local/mgr5/src/ root@@<new_server_IP>:/usr/local/mgr5/backup/
- Copy the contents of the directories using the commands:
cp -n /usr/local/mgr5/backup/xml/* /usr/local/mgr5/etc/xml/ cp -n /usr/local/mgr5/backup/addon/* /usr/local/mgr5/addon/ cp -n /usr/local/mgr5/backup/src/* /usr/local/mgr5/src/
Step 4: Moving storefront files
To move the storefront from the old server to the new server, copy the following directories to the new server:
scp -r /usr/local/mgr5/skins/showroom/ root@<new_server_IP>:/usr/local/mgr5/skins/showroom/
scp -r /usr/local/mgr5/etc/showroom.sample.dragon/ root@<new_server_IP>:/usr/local/mgr5/etc/showroom.sample.dragon/
Step 5: Installing missing packages
After moving the database, on the new server, run the installation of all missing service processing module packages, payment systems, and mail gateways. Run the command:
/usr/local/mgr5/sbin/mgrctl -m billmgr fix.modules
Step 6: Linking a commercial license to a new server
After moving BILLmanager to a new server, enter your client area where you ordered the license. Delete the trial license from your client area. In the commercial license settings, enter the IP address of the new server. Update the license file by clicking Update License in the BILLmanager web interface or by uploading the license manually using the command:
/usr/local/mgr5/sbin/licctl fetch billmgr
Step 7: Disabling maintenance mode
To disable maintenance mode, delete the /usr/local/mgr5/etc/billmgr.DoNothing file.
We also plan to provide support of Alma Linux 9 for DCImanager and VMmanager products this year, but please note that the Leapp migration tool for OC CentOS 7 assumes a split migration process: first from OC Centos 7 to AlmaLinux 8, and only then from AlmaLinux 8 to AlmaLinux 9.