- SDS BareMetal to Cloud Migration Guide
- Migration
- Reuse of the Existing Hardware and Existing IP Addresses
- Shutting Down Query Server
4.1.1 Shutting Down Query Server
Perform the following procedure to shut down Query Server
(QS):
- Remove QS from topology.
- Log in to Active SDS NOAM GUI.
- Navigate to Status & Manage from Main Menu, then select HA.
- To change HA state of QS to OOS, perform the following
steps:
- Navigate to Status & Manage from Main Menu, then select HA.
- Click Edit and change Max Allowed HA Role of QS to OOS.
- To remove the QS from NOAM Server group, perform the
following steps:
- Navigate to Configuration from Main Menu, then select Server Groups.
- Select NOAM (Level A) Server Group and click Edit.
- Uncheck QS from Server Group and click OK.
- Navigate to Configuration from Main Menu, then select Servers and select QS and click Delete.
- Shutdown QS by running the following command:
sudo shutdown -h now
- Install OL8 and KVM on the shutdown BM server.
Note:
For information on installing OL8 and KVM, refer to SDS Installation on OL8 and KVM section in SDS Cloud Installation Guide. - Create vSDS 9.0.1 VM.
- Assign XMI IP to new vSDS 9.0.1.
- To configure netmask and XMI IP address values, run the
following
command:
sudo /usr/TKLC/plat/bin/netAdm set --onboot=yes --netmask=<netmask> --device=eth0 --address=<IP address>
- To configure netmask and XMI IP address values, run the
following
command:
- Log in to SDS Active vSDS 9.0.1 NOAM using XMI.
- Navigate to Configuration from Main Menu, then select Servers.
- Click Insert.
- Add the following details for QS:
- Enter QS hostname
- Update Role as Query Server
- Hardware Profile as SDS Cloud Guest
- Select NOAM Network element name
- Click Ok.
- Export and run
TKLCConfigData.sh
on SDS 9.0.X VM.- Navigate to Configuration from Main Menu, then select Servers.
- Select newly created vSDS QS.
- Click Export, to export server configuration file to the file management folder on the Active NOAM.
- SSH to Active SDS 9.0.X NOAM and copy
TKLCConfigData.<hostname>.sh
to the newly created vSDS 9.0.1 QS. After copying, wait for 5 minutes.cd $FILE_MGMT_AREA
sudo scp TKLCConfigData.<hostname>.sh admusr@<XMI IP of newly created vSDS 9.0.x QS>:/var/tmp/TKLCConfigData.sh
- Verify the
/var/TKLC/appw/logs/Process/install.log
file for successfully runningTKLCConfigData.sh
file. To verify the logs, run following command:sudo tail -f /var/TKLC/appw/logs/Process/install.log
- Wait for 10 minutes for server to configure with the IP
configuration, then reboot the VM using
sudo init 6
command on CLI.
- Add the QS in the server group again on SDS Active NOAM.
- Log in to Active SDS NOAM GUI using VIP.
- Navigate to Configuration from Main Menu, then select Server Groups.
- Select NOAM server group and click Edit.
- Select the QS to add to the NOAM Server group.
- Click Ok to save the changes and wait for 5 minutes.
- If HA state is not Observer, then navigate to Status & Manage from Main Menu, then select HA, to change HA state of QS to Observer.
- SSH to newly created vSDS Query Server.
- Run the following
commands:
iset -fvalue=1 IdbParamDef where "param='IdbDisableUpgBarrier'"
sudo init 6
- Log in to Active SDS NOAM GUI using VIP.
- Navigate to Status & Manage from Main Menu, then select Query Server and click Restart to restart the application.