Actions on CentOS Virtual Appliance
To migrate to the Oracle Linux, follow the below preparatory steps in CentOS Virtual Appliance:
-
Create admin migration user using the below command:
GRANT ALL PRIVILEGES ON *.* TO 'mig_admin'@'%' IDENTIFIED BY 'MIG_ADMIN' WITH GRANT OPTION;
FLUSH PRIVILEGES; -
Stop the services using the below commands:
systemctl stop sgdaemon.service
systemctl stop scandaemon.service
systemctl stop haproxy.service -
Connect to the database and truncate
nsi_resulttable from all the private databases for fast completion:
TRUNCATE ca_<custid>.nsi_result;(delete from all partitions).
TRUNCATE ca.scan_queue; (Ideally no entries, when scan is not pending)
- Check for enough disk space, tmp space, free RAM before proceeding.
- Make sure that Apache service is running in both the servers.