On July 01, 2024, support for CentOS 7 OS is stopped. If the IPmanager control panel is installed on a server running CentOS 7, you can change the server OS to AlmaLinux 9.
This article contains instructions on how to upgrade the OS without changing the server. To transfer IPmanager to another server with AlmaLinux 9 OS, use the instructions from the article How to move IPmanager from one server to another.
To upgrade the OS:
- Create a backup copy of the control panel. The copy must include:
- configuration file /usr/local/mgr5/etc/ipmgr.conf;
- databases /usr/local/mgr5/etc/ipmgr.db*;
- DNS server files:
- if you are using Bind:
- configuration file /etc/named.conf;
- domain zone files — contents of the /var/named/ directory;
- if you are using PowerDNS:
- configuration file /etc/pdns/pdns.conf;
- database dump. To create a dump, run the command:
mysqldump powerdns > path_to_dump
Comments to the command
- if you are using Bind:
- Reinstall the OS or upgrade the OS using ELevate software. For instructions on how to upgrade, refer to the official ELevate documentation.
- Install IPmanager following the instructions in the IPmanager installation guide article. When installing, select the same domain name server that was used by the control panel. If you have upgraded the OS using ELevate software and the control panel is available on the server, skip this step.
- Restore IPmanager settings from backup: If you have upgraded the OS using ELevate software and the control panel is working with the correct settings, skip this step.
- Transfer the necessary parameters from the configuration file /usr/local/mgr5/etc/ipmgr.conf. It is not recommended to copy the entire configuration file, as it may contain paths that are not present in AlmaLinux 9.
- Copy the databases to the /usr/local/mgr5/etc/ directory.
- Copy the DNS server files:
- if you're using Bind:
- Copy the /etc/named.conf configuration file.
- Copy the domain zone files to the /var/named/ directory.
- Check the owner of the domain zone files:
ls -l /var/named/
- If the owner or group name is different from named, change the owner:
chown named:named /var/named/*ip6.arpa
chown named:named /var/named/domains/*
chown named:named /var/named/*in-addr.arpa
systemctl restart named
- if you are using PowerDNS:
- Copy the /etc/pdns/pdns.conf configuration file.
- Deploy the database from the dump:
mysql powerdns path_to_dump
Comments to the command
- if you're using Bind:
- Restart IPmanager:
/usr/local/mgr5/sbin/mgrctl -m ipmgr exit
-
Update the license file. To do this, in the IPmanager interface go to Help → About program → Update License button. You can also update the file with the command:
/usr/local/mgr5/sbin/licctl fetch ipmgr
- Check the operation of the control panel.