Installation : Deploying Exalead CloudView : Moving Exalead CloudView to Another Host
 
Moving Exalead CloudView to Another Host
 
Move the Primary Server to Another Host
Move a Secondary Server to Another Host
Move the DATADIR on the Same Host
You can use these procedures when you need to move your product installation to another machine, or when your host name is dynamic and might change over the time.
Move the Primary Server to Another Host
1. Stop Exalead CloudView.
2. Copy the <DATADIR> to the new host.
3. If running as a Windows service, unregister it:
bin\unregisterservice.exe
4. (Optional) If running a multihost install, stop Exalead CloudView on all hosts.
5. On the new host, unzip the same kit that was used on the previous host.
6. On the new host, verify that the installation is OK by running:
./install.sh or install.bat without any arguments.
7. Edit the file $DATADIR/bin/ngstart.env and update the following:
NGHOSTNAME – specify the name of the new host.
NGINSTALLDIR – specify the place on the new host where you unzipped the kit.
(Optional) If their paths to the new ${NGDATADIR} have changed, edit NGRUNDIR, NGCONFIGDIR, and CVLICENSE.
NGGATEWAYHOSTPORT
8. Edit config/Deployment.xml and update the hostname to match the NGHOSTNAME that you specified in the previous step.
9. Force a manual configuration update by running: bin/buildgct.
10. If running as a Windows service, register it again: bin\registerservice.exe.
11. Start the product.
12. (Optional) If running a multihost install, for each slave:
a. Edit bin/ngstart.env
b. Modify NGGATEWAYHOSTPORT.
Move a Secondary Server to Another Host
1. Stop Exalead CloudView.
2. Copy the <DATADIR> to the new host.
3. If running as a Windows service, unregister it:
bin\unregisterservice.exe
4. Edit Deployment.xml and apply the configuration.
You will need to force it if you get a warning that the new host is down.
5. On the new host, edit the file $DATADIR/bin/ngstart.env and update the following:
NGHOSTNAME – specify it to the name of the new host.
If their paths to the new ${NGDATADIR} have changed, edit NGRUNDIR, NGCONFIGDIR, CVLICENSE.
6. If running as a Windows service, register it again:
bin\registerservice.exe
7. Start Exalead CloudView.
Move the DATADIR on the Same Host
1. Stop Exalead CloudView.
2. If running as a Windows service, unregister the service:
bin\unregisterservice.exe
3. Move the data directory.
4. Edit bin/ngstart.env.
5. If their paths to the new ${NGDATADIR} have changed, edit NGRUNDIR, NGCONFIGDIR, CVLICENSE.
6. If running as a Windows service, register it again:
bin\registerservice.exe
7. Start Exalead CloudView.