In this section:
This section describes how to install a DSC (Diameter Signaling Controller) Kernel-based Virtual Machine (VM) on a Commercial-off-the-Shelf (COTS) server to function as the DSC Software Edition (SWe).
This procedure uses dsc_swe_18_0_0_nb20190317_KVM.sh as an example installation file.
The VM Configuration file is used on each KVM host to instantiate the desired number DSC SWe VMs. This file is created from by the KVM Installer command (write_config).
Definitions for variables that you will need to provide in the following procedures are as follows:
Variable | Definition |
---|---|
system | The system name that you want to define for your system. |
host | The host’s address that you want to install the VMs.
|
vm-ids | The IDs of the VMs on this host (value: 1, or 1 2, or 1 2 3, or 1 2 3 4, or 3 4 …). |
if-map | The
|
mgt-ip | The IP networking of your system. |
config | the "VM Configuration File" name that will save in the local directory. |
Use this procedure to create the VM configuration file.
Enter one of the following commands at the Linux prompt. Insert your system information between "<" and ">" in each example.
Use this procedure to install a VM or VMs on a KVM host.
Enter the following command, where <system name>.conf
is the same file that is created in Create the VM Configuration File, and <system name> is your defined system name.
./dsc_swe_<release>_nb<date>_KVM.sh install --config <system name>.conf
# ./dsc_swe_18_0_0_nb20190317_KVM.sh install --config <system name>.conf
You can also install the VM(s) on a KVM Host from the command line by entering
# ./dsc_swe_<release>_nb<date>_KVM.sh install --system --vm-ids 1 2 --if-map mgt=br-mgt0,ha0=blank03,pkt0=br-pkt0,pkt1=br-pkt1
DSC Self-Extraction Utility 18_0_0_nb20190317 ----------------------------------------------------- Verify archive integrity... Executing install script... DSC SWe KVM Host Interaction ---------------------------- Verify requisite files in the archive... Processing hosts ---------------- Connected to RedHatHost01 libvirt 12001 (lib 9004) VM Installation on KVM host --------------------------- Install <system name>-slot1 on host RedHatHost01. Install <system name>-slot2 on host RedHatHost01. Continue with install of all listed VMs? (y/n):
Enter y and press ENTER.
Use this procedure to delete a VM or VMs on a KVM host.
Enter the following command, where <system name> is your defined system name.
./dsc_swe_<release>_nb<date>_KVM.sh delete --local --system <system name> --vm-ids <vm id>
# ./dsc_swe_18_0_0_nb20190317_KVM.sh delete --local --system <system name> --vm-ids 1
DSC Self-Extraction Utility 18_0_0_nb20190317 ----------------------------------------------------- Verify archive integrity... Executing install script... DSC SWe KVM Host Interaction ---------------------------- Verify requisite files in the archive... Processing hosts ---------------- Connected to RedHatHost01 libvirt 12001 (lib 9004) Delete <system name>-slot1 on host RedHatHost01. Continue with delete of all listed VMs? (y/n):
Enter y, and press ENTER.
Delete <system name>-slot1 on host RedHatHost01 ------------------------------------------- Force poweroff <system name>-slot1 Erase VM <system name>-slot1 Remove <system name>-slot1 remote files from RedHatHost01 > issuing: rm /home/libvirt/images/<system name>-slot1.img > issuing: rm /home/libvirt/images/<system name>-slot1_configdrive.iso storage pool : default complete.