This topic explains the steps to configure migration channel.
To migrate data from Classic On-Premises to the Virtual Appliance, configure the NFS channel that is used to secure connection and mount the NFS server on both the Classic On-Premises environment and the Virtual Appliance. This setup enables data transfer between the two systems. Follow these steps to configure the NFS server for data migration:
Ensure that VA services are stopped, you can check using the following command:
The VA services status appears as Not Installed.
Sample Output:
+----------------------+---------------+
| Service Endpoint | Status |
+======================+===============+
| Controller | Not Installed |
+----------------------+---------------+
| Events | Not Installed |
+----------------------+---------------+
| EUM Collector | Not Installed |
+----------------------+---------------+
| EUM Aggregator | Not Installed |
+----------------------+---------------+
| EUM Screenshot | Not Installed |
+----------------------+---------------+
| Synthetic Shepherd | Not Installed |
+----------------------+---------------+
| Synthetic Scheduler | Not Installed |
+----------------------+---------------+
| Synthetic Feeder | Not Installed |
+----------------------+---------------+
| AD/RCA Services | Not Installed |
+----------------------+---------------+
| SecureApp | Not Installed |
+----------------------+---------------+
| OTIS | Not Installed |
+----------------------+---------------+
| ATD | Not Installed |
+----------------------+---------------+
| UIL | Not Installed |
+----------------------+---------------+
- Log in to the Virtual Appliance node and edit the
globals.yaml.gotmpl file.
cd /var/appd/config
vi globals.yaml.gotmpl
- Disable self-monitoring for Virtual Appliance, set the
enableClusterAgent parameter to false.
enableClusterAgent: false
- Enable data migration for Elasticsearch datastores, set the
migration.elasticsearch.fs.enabled parameter to true.
# Migration config for datastores
migration:
elasticsearch:
fs:
enabled: true
- Ensure the
license.lic file exists in /var/appd/config.
- Run the following command to establish secure connection and mount NFS server on Classic On-Premises and Virtual Appliance.
python3 ./migration_tool.py setup migration-channel
- Log in to the Virtual Appliance node and start the Virtual Appliance services:
appdcli start appd <profile>
If the Virtual Appliance is already installed, restart it using the following command:
appdcli stop appd
appdcli start appd <profile>
- (Optional) Verify the NFS channel before starting the migration tool.
python3 ./migration_tool.py validate nfs-channel
- Shutdown the Controller in Virtual Appliance.
kubectl scale deployment controller-deployment -n cisco-controller --replicas=0
- Run the command to edit the Controller deployment configuration.
kubectl edit deployment controller-deployment -n cisco-controller
- Update the
livenessProbe, readinessProbe, and startupProbe values.
livenessProbe:
failureThreshold: 10
...
periodSeconds: 30
successThreshold: 1
timeoutSeconds: 120
readinessProbe:
failureThreshold: 3
...
initialDelaySeconds: 420
periodSeconds: 30
successThreshold: 1
timeoutSeconds: 120
startupProbe:
failureThreshold: 300
...
initialDelaySeconds: 420
periodSeconds: 30
successThreshold: 1
timeoutSeconds: 120