Instructions on how to use the Command Line Interface (CLI) to deploy a Service Gateway virtual appliance with Nutanix AHV cluster.
Verify that system requirements are met. For more information, see Service Gateway appliance system
requirements.
NoteThe following Nutanix AHV instructions and screen captures were valid as of September
20, 2024. For further help, check your Nutanix AHV documentation.
|
Procedure
- Go to .
- Click Download Virtual Appliance.The Service Gateway Virtual Appliance panel appears.
- Select Nutanix AHV (QCOW2).
- Click Download Disk Image to download a QCOW2 file.
Tip
Copy the registration token for later steps. The registration token will expire within 24 hours if not used. - Upload the disk image to the Nutanix AHV cluster.
- In your Nutanix Prism Web console, choose in the upper left corner.
- Click Image Configuration and click Upload Image.
- Specify the name of the image.
- Select DISK from the Image Type drop-down list.
- Select the container where you want to store your image.
- Select Upload a file. Locate the downloaded QCOW2 file from your directory and click Open.
- Click Save. Wait until the image is completely uploaded.It takes about 5 to 7 minutes to complete uploading the disk image.
- In your Nutanix Prism Web console, choose in the upper left corner.
- Create a virtual machine.
- Navigate to the VM section from Settings and click Create VM.
- In the General Configuration area, specify the name and description of your virtual machine.
- In the Compute Details area, specify the desired configurations.
- vCPU: 1
- Number Of Cores Per vCPU: 8
- Memory: 12 GB
- In the Boot Configuration area, keep the default Legacy BIOS for Boot Configuration.
- In the Disks area, click Add New Disk. For Operation, select Clone from Image Service. Select SCSI for Bus Type, and select the uploaded QCOW2 image for Image. Click Add to save the settings.
- In the Network Adapters (NIC) area, click Add New NIC. Select the appropriate network subnet and click Add to save the settings.
- Review the settings and click Save.
- Right-click your virtual machine and click Power on to start the virtual machine.
- On the Service Gateway virtual appliance, log on to the Command Line Interface (CLI)
with the default credentials.User name: adminPassword: V1SG@2021
- Change your password.
- Type enable and press the
ENTER
key to enable administrative commands. Provide your password when asked.The command prompt changes from > to #. - Configure the required network settings using the following CLISH commands.
Configure network primary ipv4.static <interface> <ip_cidr> <gateway> <dns1> [dns2] [cni]
Configure static IPv4 network settings for the primary network interface
<interface>: Name of the network interface (for example, eth0)
<ip_cidr>: IPv4 address of the network interface in CIDR notation
<gateway>: Gateway router address
<dns1>: Primary DNS server address
[dns2]: Secondary DNS server address
[cni]: Internal network address pool (IP address ending in .0.0)
- To register the Service Gateway virtual appliance to Trend Vision One, use an SSH tool, such as the latest version of PuTTY, and using an account with
administrator privileges, type the following command.
register <registration_token>
You can obtain the token from the same screen you download the virtual appliance on Trend Vision One (step 3).Important
The virtual appliance only supports UTC time. Ensure your hypervisor is correctly configured.Note
-
If your environment uses a local Network Time Protocol (NTP) server, make sure the NTP server synchronizes with the local time for successful registration.
-
Trend Micro recommends using an SSH client to easily copy and paste the registration token.
-
- Use the CLI to configure other settings, if required.For more information on available commands, see Service Gateway CLI Commands.For details on setting up a virtual appliance with two network cards, see Service Gateway Virtual Appliance dual network card configuration.