You can install the vNIOS virtual appliance on Windows Server 2012 R2, 2016, or 2019 using one of the following methods:
Note | ||
---|---|---|
| ||
To deploy reporting instances on the IB-V805, IB-V1405, and IB-V2205 appliances, see Deploying vNIOS Reporting Instances. |
Method 1 - Using Windows Powershell
You can install the vNIOS virtual appliance on Windows Server 2012 R2 using Windows PowerShell. Make sure that you close the Windows Powershell environment before using it again to install the vNIOS virtual appliance. You might encounter an error if you use the same Windows Powershell environment.
Note | ||
---|---|---|
| ||
Windows Server 2016 and 2019 do not support method 1 for installing vNIOS virtual appliance on Hyper-V. |
...
- Set the execution policy in the Windows PowerShell as Unrestricted to install vNIOS virtual appliance.
- To find the execution policy in your system, type
Get-ExecutionPolicy
. If the message is Restricted, change the policy to Unrestricted using the commandSet-ExecutionPolicy Unrestricted
.
Windows PowerShell will display the following information:Execution Policy Change
The execution policy helps to protect you from scripts that you do not trust. Changing the execution policy might expose you to security risks described in the about_Execution_Policies help topic. Enter Y at the prompt:
Do you want to change the execution policy? [Y] Yes [N] No [S] Suspend [?] Help (default is "Y"): Y
- Go to the directory where you have downloaded and stored the .vhd and .ps1 files.
- Execute the .ps1 script.
Provide the virtual machine name and virtual machine hostname as arguments in the .ps1 script:
Usage: nios-6.5.0-170992-2012-06-18-16-03-03-120G-1420.ps1 <VM-name> <VM-hostname>
where,
<VM-name>: Name of the Hyper-V VM
<VM-hostname>: Hostname of the VM server using SCVMM or '-' for Hyper-V Manager
Note | ||
---|---|---|
| ||
Enter '-' if you are managing the vNIOS virtual appliance using the Hyper-V Manager, as shown in Behavior when you use Hyper-V Manager or enter the host name of the VM server if you are managing the vNIOS virtual appliance using SCVMM. |
...
vNIOS Virtual Appliance Configuration
...
From the Hardware list, select Network Adapter and then select the Enable spoofing of MAC addresses checkbox. Make sure that you enable the spoofing of MAC addresses for all network adapters.
Note | ||
---|---|---|
| ||
If you use SCVMM, the Enable spoofing of MAC addresses checkbox is automatically enabled. |
...
You can install the vNIOS virtual appliance on Windows Server 2019 or 2022 using the Hyper-V Manager as described in this topic. Sections covered in this topic are:
Table of Contents | ||
---|---|---|
|
Installing vNIOS Using Hyper-V Manager
To install vNIOS virtual appliance using Hyper-V Manager, complete the following steps:
- Open Hyper-V Manager.
- From the Actions menu, select New -> Virtual Machine. The ....
- In the New Virtual Machine Wizard appears. dialog box, complete the following:
- On the Before You Begin tab, read the notes about the wizard, and then click Next.
- On the Specify Name and Location tab, provide a name for the virtual machine in the Name field, and then click Next.
- On the Specify Generation tab, select Generation 1 as the generation of the virtual machine.
- On the Assign Memory tab, specify the memory. You can refer to the table in the vNIOS Virtual Appliance Specifications for Microsoft Hyper-V topic to specify an appropriate memory. Click Next.
- On the Configure Networking tab, from the Connection drop-down list, select the network adapter that you want to use for that virtual machine, and then click Next.
- On the Connect Virtual Hard Disk tab
- :
- Select Use an existing virtual hard disk
- .
- Click Browse and locate the extracted VHD file, and then click Open.
- Click Next.
- On the Summary tab, view the configuration details.
- Click Finish to create the VM.
It may take a while to install the vNIOS virtual appliance on the Windows server.
- title
After a successful installation of the vNIOS appliance, before starting the appliance, you must add at least four virtual network adapters with 8 GB of memory.
Note Note To add additional hard disk for reporting appliances, right-click IDE Controller, and then click Add Hard Drive.To add a network adapter:
- From Hyper-V Manager, select the vNIOS instance and click Settings at the bottom-right side of the Hyper-V Manager Interface, or click Settings from the Action menu.
- In the Settings wizard, select Hardware -> Add Hardware -> Network Adapter, and then click Add.
- Under Network Adapter, in the Virtual switch drop-down list, choose a virtual network that the virtual appliance will use for communication through this network adapter.
- Click
- Apply and then click OK.
- Repeat the steps to add more network adapters.
Provisioning Infoblox vNIOS for Hyper-V using Elastic Scaling
...
- Open your Linux terminal and create a directory, for example
test
. - Navigate to the
test
directory and create the following sub-directory structure using the nameopenstack
andlatest
:test/openstack/latest
In the
openstack/latest/
path, create a JSON file and name itmeta_data.json
.In the
meta_data.json
file, enter a UUID in the following format:
Example:{"uuid": "7a50bb5f-64c0-4a91-9665-012666343296"}
- In the
openstack/latest/
path, create a YAML file and name ituser_data
. In theuser_data
file, enter the required user-data fields in the following format.
Example:#infoblox-config
temp_license: nios IB-V825 enterprise dns dhcp
remote_console_enabled: y
titleNote
Note You that you must use the exact directory names and file names specified in the preceding steps. Enter the following command from outside the
test
directory to package the files into an ISO image:genisoimage -output <.iso file name> -volid config-2 -joliet -r <directory containing the files above>
Example:genisoimage -output elastic.iso -volid config-2 -joliet -r test
Note title Note
ThisNote that this command creates the ISO image in the same path where the command executes.
- Configure a vNIOS virtual appliance on Windows Server 2012 R2, 2016, or 2019 as described in the Method 1 - Using Windows Powershell or Method 2 - Using Hyper-V Manager sectionsection Installing vNIOS Using Hyper-V Manager.
- From Hyper-V manager, select the vNIOS instance and click Settings on the bottom-right side of the Hyper-V Manager Interface. Alternatively, click Settings from the Action menu.
- In the Settings wizard, select IDE Controller 1 -> DVD Drive.
- Select the Image File option and upload the ISO file created in step 6.
- Click Apply, and then click OK.
- Start the vNIOS instance as described in the Starting the vNIOS Appliance using Hyper-V Manager section.
Deploying vNIOS Reporting Instances
...
- Configure a vNIOS virtual appliance on the Windows Server 2012 R2, 2016, or 2019 as described in the Method 1 - Using Windows Powershell or Method 2 - Using Hyper-V Manager sectionas described in section Installing vNIOS Using Hyper-V Manager.
- .Under Virtual Machines, select the virtual machine that you have configured (using step 1), and then click Settings.
- In the Settings dialog box, click Add Hardware, and then select SCSI Controller on the Add Hardware page. Click Add to add a SCSI controller to the virtual machine.
- In SCSI Controller, click Hard Drive, and then click Add. A hard drive is added to the SCSI controller.
- Select Virtual hard disk, and then click New to start the New Virtual Hard Disk wizard.
- On the Before You Begin tab, click Choose Disk Format.
- On the Choose Disk Format tab, accept the default VHDX. Click Next.
- On the Choose Disk Type tab, accept the default Dynamic Expanding. Click Next.
- On the Specify Name and Location tab, complete the following:
- Enter the name of your shared virtual hard disk.
- Click Browse and navigate to your shared storage location, and then click Select Folder. Click Next.
- On the Before You Begin tab, click Next.
- In the Size field, specify the maximum size allowed for the virtual hard disk files in gigabytes (GB). Infoblox strongly recommends that you set the disk size above 5 GB. Note that configuring a value that is less than 5 GB might cause performance issues.
- Review the configuration settings on the Summary tab. Optionally, to change settings, click Previous.
Figure 1.9 Configuration Summary
- Click Finish.
...
- Select the vNIOS instance from the Hyper-V Manager.
From the Action menu, click Start or right-click the vNIOS instance, and then click Start.
notetitle Note
Afterthat after you start the virtual appliance, it may take a few minutes for the CLI prompt to appear while the appliance initializes.
Starting vNIOS from Hyper-V Manager
...
- Select the vNIOS instance from the Hyper-V Manager.
- Complete one of the following:
- From the Action menu, click Shut Down or Turn Off.
Right-click the vNIOS instance, and then click Shut Down or Turn Off.
Note Click Pause to suspend the current execution and click Resume totitle Note (Optional) If you want to suspend the current execution, click Pause and to return to the condition that it was in when its state was paused, click Resume.
Starting the vNIOS Appliance using SCVMM
- Select the vNIOS instance from SCVMM.
From the Action menu, point to virtual machine and click Start or right-click the vNIOS instance, and then click Start.
titleNote
After
Notethat after you start the virtual appliance, it may take a few minutes for the CLI prompt to appear while the appliance initializes.
Shutting Down the vNIOS Appliance using SCVMM
- Select the vNIOS instance from SCVMM.
- Do one of the following:
- From the Action menu, click Shut Down or Save State.
Right-click the vNIOS instance, and then click Shut Down or Turn Off.
Note Click Pause to suspend the current execution and click Start to (Optional) If you want to suspend the current execution, click Pause and to return to the condition that it was in when its state was paused, click Start.title Note