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).
Configuration File and Linux Values
The VM Configuration 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).
This procedure uses /dsc_swe_18_0_0_nb20190317_KVM.sh as an example installation file.
Value Definitions
Definitions for values that you will need to provide in the following procedures are as follows:
Value | 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. |
Create the VM Configuration File
Use this procedure to create the VM configuration file.
Prerequisites
- Review the previous documents in Steps for Installing DSC SWe on KVM before beginning the following procedures in this section.
- Review Value Definitions for additional information on the Linux commands used in this procedure.
Start
- Log onto a KVM Host or a Linux workstation.
Enter one of the following commands at the Linux prompt. Insert your system information between "<" and ">" in each example.
Install a VM(s) on a KVM Host Using the VM Configuration File
Use this procedure to install a VM or VMs on a KVM host.
Prerequisites
- Review the previous documents in Steps for Installing DSC SWe on KVM before beginning the following procedures in this section.
- Review Value Definitions for additional information on the Linux commands used in this procedure.
Start
- Log onto a KVM Host or a Linux workstation.
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.Example# ./dsc_swe_18_0_0_nb20190317_KVM.sh install --config <system name>.conf
TipYou can also install the VM(s) on a KVM Host from the command line by entering
# ./dsc_swe_18_0_0_nb20190317_KVM.sh install --system --vm-ids 1 2 --if-map mgt=br-mgt0,ha0=blank03,pkt0=br-pkt0,pkt1=br-pkt1
Example ResponseDSC 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.
Delete a VM(s) on a KVM Host
Use this procedure to delete a VM or VMs on a KVM host.
Prerequisites
- Review the previous documents in Steps for Installing DSC SWe on KVM before beginning the following procedures in this section.
- Review Value Definitions for additional information on the Linux commands used in this procedure.
Start
- Log onto a KVM Host or a Linux workstation.
Enter the following command, where <system name> is your defined system name.
Example# ./dsc_swe_18_0_0_nb20190317_KVM.sh delete --local --system <system name> --vm-ids 1
Example ResponseDSC 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.
Example ResponseDelete <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.