Move the Primary Server to Another Host
-
Stop
Exalead CloudView.
-
Copy the
<DATADIR> to the new host.
-
If running as a Windows service, unregister it:
bin\unregisterservice.exe
-
(Optional) If running a multihost install, stop Exalead CloudView on all hosts.
-
On the new host, unzip the
same kit that was used on the previous host.
-
On the new host, verify that the installation is OK by
running:
./install.sh or install.bat without any arguments.
-
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
-
Edit
config/Deployment.xml and update the
hostname to match the
NGHOSTNAME that you specified in the
previous step.
-
Force a manual configuration update by running:
bin/buildgct .
-
If running as a Windows service, register it again:
bin\registerservice.exe .
-
Start the product.
-
(Optional) If running a multihost install, for each slave:
-
Edit
bin/ngstart.env
-
Modify
NGGATEWAYHOSTPORT .
Move a Secondary Server to Another Host
-
Stop
Exalead CloudView.
-
Copy the
<DATADIR> to the new host.
-
If running as a Windows service, unregister it:
bin\unregisterservice.exe
-
Edit
Deployment.xml and apply the configuration.
You will need to force it if you get a warning that the new host is down.
-
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 .
-
If running as a Windows service, register it again:
bin\registerservice.exe
-
Start
Exalead CloudView.
Move the DATADIR on the Same Host
-
Stop
Exalead CloudView.
-
If running as a Windows service, unregister the service:
bin\unregisterservice.exe
-
Move the data directory.
-
Edit
bin/ngstart.env .
-
If their paths to the new
${NGDATADIR} have changed, edit
NGRUNDIR , NGCONFIGDIR , CVLICENSE .
-
If running as a Windows service, register it again:
bin\registerservice.exe
-
Start
Exalead CloudView.
|