The management interface is the port through which the virtual appliance is managed and administered. It is also the port through which integration of the Central Management System appliance and a managed appliance is managed. With the single-port address type, the management interface is also the port through which a managed appliance requests and downloads software updates from the DTI network.
Initial settings need to be configured to set up the management interface, and to allow access to the network, change the default administrator password, and so on.
You can use the set_keys.ps1 PowerShell script provided in the deployment package .zip file to supply some initial settings for the appliance, including the activation code, a new password for the "admin" user, and initial CLI commands to configure the appliance. You can then log into the CLI of the virtual appliance and use the configuration wizard to complete the setup.
If you do not use the PowerShell script, you can use the virtual appliance console in Hyper-V Manager to type the activation code and commands that allow the admin to log in to the CLI or Web UI to configure the appliance. You can fully configure the appliance from the console, but it might be inconvenient because you cannot paste into the console.
Using the set_keys.ps1 PowerShell Script
Trellix recommends that you use the set_keys.ps1 PowerShell script to do at least the following:
Enter the activation code for your virtual appliance. The activation code contains many characters. You cannot paste into the console, and it is easy to make a typing error.
Reset the password for the "admin" user if password authentication will be used to log into the CLI or Web UI over the network. The password must be changed to a password of at least eight characters.
You can also use this script to provide commands for configuration settings that the system will apply during the initial boot. This can be convenient if you have a large number of virtual appliances to deploy, because you can create base sets of commands and then customize them for each deployment.
set_keys.ps1 PowerShell script:Navigate to the directory where you extracted the deployment package .zip file.
Locate the
set_keys.ps1file and open it in a text editor.Note
Alternatively, you can enter values when you run the script in the PowerShell ISE or PowerShell session described later in this procedure.
Change settings in the file by specifying your values within the quotation marks. The settings you can change are all located between the comments
MODIFY THESE AS NEEDEDandDON'T MODIFY ANYTHING BELOW. Do not change any other settings in the file.
The settings are described in the following table.
Field
Description
vmNameThe name of the virtual machine name you deployed. The name is displayed in the Virtual Machines section of Hyper-V Manager.
activation_ codeThe code you received in a secure email from Trellix that gives the virtual appliance its identity and access credentials.
cli_cmds_ initA set of commands that at a minimum allow the appliance to connect to your network. Type the commands in plain-text format and then paste the string into this field.
Consider using this field for network connectivity only, because the size of the string could become unwieldy.
cli_cmds_ init_urlA URL that points to a file on your network (for example, http://acme.com/operations/2500V_config.txt). To use this field, create a text file that contains CLI commands in plain-text format that configure additional settings, and store the file on an
HTTP server in your network. The virtual appliance needs network connectivity (which the commands in the cli_cmds_init field can establish) to access the file referenced in the URL.
reset_ admin_ passwordA password of at least eight characters. The initial admin password must be reset to allow the admin user to log into the CLI or Web UI over the network, unless both of the following are true:
The CLI commands being executed set an SSH authorized key for the admin user, which allows the admin to log in remotely without a password.
You disable password logins using the username admin disable password command.
Save the file.
Do one of the following:
Open an administrator Windows PowerShell ISE session, select File > Open, and then navigate to and select
set_keys.ps1.Open an administrator Windows PowerShell session, navigate to the directory where you extracted the deployment package, and then run the
set_keys.ps1script.
Enter values in response to the prompts, or press Enter to leave a field blank.
Note
You will not be prompted for values you already provided in the
set_keys.ps1file.
Using the console
Trellix recommends that you use the set_keys.ps1 PowerShell script to provide initial configuration settings, because you cannot copy and paste into the Hyper-V Manager console. However, if you do not use this script, and if the license update feature is not enabled, Trellix recommends that you accept the evaluation licenses during the initial configuration, because typing the keys is tedious and prone to error. After the activation code is entered and the admin user has access to the appliance Web UI or CLI , you can cRight-click the row for the virtual appliance and select Connect. The virtual appliance console opens.opy and paste the license keys.
Open Hyper-V Manager.
Right-click the row for the virtual appliance and select Connect. The virtual appliance console opens.
At the login prompt, enter admin.
Do one of the following:
If you configured a password in the set_keys.ps1 file or script, enter that password.
Otherwise, enter the default password (admin). When prompted to change the password, go to CLI configuration mode and create another password:
hostname > en hostname # configure terminal hostname (config) # username admin password <new password>
The system will log you out. Log in using the new password.
Accept the license agreement. The configuration jump-start wizard starts.
Answer the wizard questions as described below.
Central Management wizard steps
The following table describes the questions the configuration wizard prompts you to answer. As noted in the table, the wizard skips some steps based on your answers to previous steps.
Note
Press Ctrl+C to exit the configuration wizard. After the management interface is configured, an administrator can use the configuration jump-start CLI command to run the wizard again.
Step | Response |
|---|---|
Hostname? | Enter the hostname for the appliance. |
Admin password? | (Optional) Enter a new administrator password. |
Confirm admin password? | Re-enter the new administrator password. |
Enable remote access for 'admin' user? | Enter yes to enable the administrator to log in to the appliance remotely. Enter no to disable remote access. |
Use DHCP on ether1 interface? | Enter no to manually configure your IP address and network settings. |
Use zeroconf on ether1 interface? | Enter yes to use zero-configuration (zeroconf) networking. Enter no to specify a static IP address and network mask. (If you specify yes, the next step is skipped.) NOTE: Do not use zeroconf on the primary interface. |
Primary IP address and masklen? | Enter the IP address for the management interface in A.B.C.D format and enter the network mask (for example, 1.1.1.2 /24). |
Default gateway? | Enter the gateway IP address for the management interface. |
Primary DNS server? | Enter the IP address of the DNS server. |
Domain name? | Enter the domain for the management interface (for example, it.acme.com). |
Enable fenet service? | Enter yes to enable access to the DTI network. (If you enter no, the next three steps are skipped.) |
Enable fenet license update service? | Enter yes to enable the licensing service to automatically download your licenses from the DTI network and install them. (If licenses are downloaded and installed successfully, the wizard skips the step that prompts for the product license key and the step that prompts for the security-content updates key.) |
Sync appliance time with fenet? | Enter yes to synchronize the appliance time with the DTI server time. If you enabled the licensing service, synchronization prevents a feature from being temporarily unlicensed due to a time gap. The wizard makes three attempts to perform this step before it gives up and moves to the next step. |
Update licenses from fenet? | Enter yes to download and install your licenses. The wizard makes three attempts to perform this step before it gives up and moves to the next step. |
Enable NTP? | Enter yes to enable automatic time synchronization with one or more Network Time Protocol (NTP) servers. Enter no to manually set the time and date on the appliance. (This step is skipped if you entered yes in the "Sync appliance time with fenet?" step.) If you enter no, specify the time and date in subsequent steps. |
Enable FaaS VPN? | Enter yes to enable the appliance to connect to Managed Defense (formerly called Trellix as a Service) over the Internet using a secure SSL VPN connection. (This step is skipped if no MD_ACCESS license is installed.) |
Set time (<hh>:<mm>:<ss>? | Enter the appliance time in Greenwich Mean Time (GMT) (UTC+0). (This step and the next step are skipped if you entered yes in the "Sync appliance time with fenet?" or "Enable NTP?" step. |
Set date (<yyyy>/<mm><dd>)? | Enter the appliance date in Greenwich Mean Time (GMT) (UTC+0). |
Enable IPv6? | Enter yes to enable IPv6 protocol, which changes network IP routing from IPv4 to IPv6. This step and the next two steps will be automatically performed if you entered yes in the "Enable FaaS VPN" step.) |
Enable IPv6 autoconfig (SLAAC) on ether1 interface? | Enter yes to enable IPv6 autoconfig on the ether1 (management interface) port. (This step is skipped if you entered no in the "Enable IPv6?" step.) |
Enable DHCPv6 on ether1 interface? | Enter yes to use DHCPv6 to configure IPv6 hosts with IP addresses. (This step is skipped if you entered no in the "Use DHCP on ether1 interface?" or "Enable IPv6?" step.) |
Configure CMS HA? | Enter no. Central Management HA is not supported in a Hyper- V deployment. |
Product license key? | Enter the product license key you obtained from Trellix , or press Enter to install a 15-day evaluation license. (This step and the next step are skipped if you entered yes in the "Enable fenet license update service?" step and if licenses were successfully installed as a result.) |
Security-content updates key? | Enter the security-content license key you obtained from Trellix , or press Enter to skip this step and install the license later. |