...
- Obtain a test VM with CentOS 7.
Install Abiquo release package, disable updates, install the required packages
Code Block yum install http://mirror.bcnuser:passwd@mirror.abiquo.com/el7/5.3/os/x86_64/abiquo-release-ee-internal-5.3.0-9243.el7.noarch.rpm yum-config-manager --disable abiquo-updates yum install abiquo-model abiquo-pim-tools abiquo-core mariadb-server liquibase
Make a config folder and from your API server, copy the abiquo.properties file
Code Block mkdir -p /opt/abiquo/config scp root@my.api.server:/opt/abiquo/config/abiquo.properties /opt/abiquo/config
Enable and start MariaDB
Code Block systemctl enable mariadb systemctl start mariadb
Log in to your database server and create a database dump of the main database and the accounting database
Code Block mysqldump --databases kinton kinton_accounting --routines --triggers | gzip -9 > kinton_kinton_accounting_dump_$(date +%Y%m%d_%H%M%S).sql.gz scp kinton_kinton_accounting_dump_20210831_205241.sql.gz root@my.test.server:~/
Log in to your test server and uncompress the database dump
Code Block tar -xzf kinton_kinton_accounting_dump_20210831_205241.sql.gz
On the test server, load the database dump
Code Block mysql -e "CREATE DATABASE kinton" mysql kinton < kinton_kinton_accounting_dump_20210831_205241.sql mysql -e "GRANT ALL PRIVILEGES ON *.* TO 'root'@'localhost' IDENTIFIED BY '' WITH GRANT OPTION;"
Update the database to version 5.3
Code Block abiquo-db update
Run the PIM planner
Code Block java -jar /opt/abiquo/pim-tools/pimplanner.jar --jdbc-url="jdbc:mysql://127.0.0.1:3306/kinton?autoReconnect=true&user=root&password=" > output_pimplanner.log
Check the output_pimplanner.log file. If there are any warnings or errors, please check the VMs before you continue.
...