Actions on Ubuntu Virtual Appliance
To migrate to the CentOS Virtual Appliance, follow the below preparatory steps in Ubuntu Virtual Appliance.
To migrate to the CentOS Virtual Appliance:
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: |
service scandaemon stop
service sgdaemon stop
service haproxy stop
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. |