Actions on CentOS Virtual Appliance

To migrate to the Oracle Linux, follow the below preparatory steps in CentOS Virtual Appliance.

To migrate to the Oracle Linux:

1. Create admin migration user using the below command:

GRANT ALL PRIVILEGES ON *.* TO 'mig_admin'@'%' IDENTIFIED BY 'MIG_ADMIN' WITH GRANT OPTION;

FLUSH PRIVILEGES;

2. Stop the services using the below commands:

systemctl stop sgdaemon.service

systemctl stop scandaemon.service

systemctl stop haproxy.service

3. Connect to the database and truncate nsi_result table 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)

4. Check for enough disk space, tmp space, free RAM before proceeding.
5. Make sure that Apache service is running in both the servers.