前三节我们已经完成了一台全新基于postgresql14数据库的zabbix6.2.3服务器的构建,本节正式进行现网zabbix数据从mysql转入PostgreSQL的操作。
本节需要配置一台centos7/redhat7的中间服务器,因为转换工具pgloader目录只找到el7的版本。
该服务器还需打通到现网zabbix6.2.3的mysql服务器和新建postgresql14数据库的网络。
1、在pgloader服务器上进行数据转换工具的安装
[root@localhost opt]# yum install pgloader-3.6.2-1.rhel7.x86_64.rpm
...
Installed:
pgloader.x86_64 0:3.6.2-1.rhel7
Dependency Installed:
keyutils-libs-devel.x86_64 0:1.5.8-3.el7 krb5-devel.x86_64 0:1.15.