Page tree

Contents

You can install the vNIOS virtual appliance on Windows Server 2012 R2, 2016, or 2019 using one of the following methods:

Method 1 - Using Windows Powershell

Method 2 - Using Hyper-V Manager

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.


  1. On the Start screen, type PowerShell and then click Windows PowerShell or start Windows PowerShell using the command prompt.
  2. Do the following in the Windows PowerShell environment:
    1. Set the execution policy in the Windows PowerShell as Unrestricted to install vNIOS virtual appliance.
    2. To find the execution policy in your system, type Get-ExecutionPolicy. If the message is Restricted, change the policy to Unrestricted using the command Set-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.
    3. Enter Y at the prompt: Do you want to change the execution policy? [Y] Yes [N] No [S] Suspend [?] Help (default is "Y"): Y

    4. Go to the directory where you have downloaded and stored the .vhd and .ps1 files.
    5. Execute the .ps1 script.
  3. 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.

    Behavior when you use Hyper-V Manager




  4. Press ENTER to view the Infoblox End-User License Agreement. Type yes to accept the Infoblox license agreement.
    Accept the Infoblox End-User License Agreement? (yes/no): yes
    It may take a while to install the vNIOS virtual appliance on the Windows Server.
  5. If there are multiple virtual networks, select a virtual network. As shown in the following image, the selected virtual network is Local Area Connection 3:
    Select a Virtual Network <0-3>: 3

    vNIOS Virtual Appliance Configuration



  6. From Hyper-V Manager, select the vNIOS instance.
  7. From the Actions menu, click Settings.
  8. From the Hardware list, select Network Adapter and then select the Enable spoofing of MAC addresses check box. 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 check box is automatically enabled. 

Enabling Spoofing of MAC Address (Windows 2012 R2)

Method 2 - Using Hyper-V Manager

To install vNIOS virtual appliance using Hyper-V Manager, complete the following steps:

  1. Open Hyper-V Manager.
  2. From the Actions menu, select New -> Virtual Machine. The New Virtual Machine Wizard appears.
  3. On the Before You Begin tab, read the notes about the wizard, and then click Next.
  4. Provide a name for the virtual machine in the Name field, and then click Next.
  5. 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.
  6. 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.

    Virtual Hard Disk Configuration

  7. Click Next. You can view your configuration details on the Summary screen.

  8. Click Finish. It may take a while to install the vNIOS virtual appliance on the Windows server. After you successfully install the vNIOS instance, you must add at least four virtual network adapters with 8 GB of memory.

    Note

    To add additional hard disk for reporting appliances, right-click IDE Controller, and then click Add Hard Drive.

  9. 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.
  10. In the Settings wizard, select Hardware -> Add Hardware -> Network Adapter. Click OK after you successfully add network adapters.

Provisioning Infoblox vNIOS for Hyper-V using Elastic Scaling 

To provision vNIOS for Hyper-V using elastic scaling, you must configure the user-data file as follows:

  1. Open your Linux terminal and create a directory, for example test.
  2. Navigate to the test directory and create the following sub-directory structure using the name openstack and latest:
    test/openstack/latest
  3. In the openstack/latest/ path, create a JSON file and name it meta_data.json

  4. In the meta_data.json file, enter a UUID in the following format:
    Example: {"uuid": "7a50bb5f-64c0-4a91-9665-012666343296"}

  5. In the openstack/latest/ path, create a YAML file and name it user_data. In the user_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

    Note

    You must use the exact directory names and file names specified in the preceding steps.

  6. 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

    This command creates the ISO image in the same path where the command executes.

  7. Configure a vNIOS virtual appliance on Windows Server 2012 R2, 2016, or 2019 as described in Method 1 - Using Windows Powershell or Method 2 - Using Hyper-V Manager.
  8. 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.
  9. In the Settings wizard, select IDE Controller 1 -> DVD Drive.
  10. Select the Image File option and upload the ISO file created in step 6.
  11. Click Apply, and then click OK.
  12. Start the vNIOS instance as described in the Starting the vNIOS Appliance using Hyper-V Manager section.

Deploying vNIOS Reporting Instances

To deploy a vNIOS reporting instance on the IB-V805, IB-V1405, and IB-V2205 appliances, you must configure two disk images (.vhd and .vhdx).
Complete the following to configure a vNIOS reporting instance:

  1. Configure a vNIOS virtual appliance on the Windows Server 2012 R2, 2016, or 2019 as described in Method 1 - Using Windows Powershell or Method 2 - Using Hyper-V Manager
  2. .Under Virtual Machines, select the virtual machine that you have configured (using step 1), and then click Settings.
  3. 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.
  4. In SCSI Controller, click Hard Drive, and then click Add. A hard drive is added to the SCSI controller.
  5. Select Virtual hard disk, and then click New to start the New Virtual Hard Disk wizard.
  6. On the Before You Begin tab, click Choose Disk Format.
  7. On the Choose Disk Format tab, accept the default VHDX. Click Next.
  8. On the Choose Disk Type tab, accept the default Dynamic Expanding. Click Next.
  9. 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.
  10. On the Before You Begin tab, click Next.
  11. 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.
  12. Review the configuration settings on the Summary tab. Optionally, to change settings, click Previous.

    Figure 1.9 Configuration Summary



  13. Click Finish.

Starting the vNIOS Appliance using Hyper-V Manager

  1. Select the vNIOS instance from the Hyper-V Manager.
  2. From the Action menu, click Start or right-click the vNIOS instance, and then click Start.

    Note

    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


Shutting Down the vNIOS Appliance using Hyper-V Manager

  1. Select the vNIOS instance from the Hyper-V Manager.
  2. 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 to return to the condition that it was in when its state was paused.

Starting the vNIOS Appliance using SCVMM

  1. Select the vNIOS instance from SCVMM.
  2. From the Action menu, point to virtual machine and click Start or right-click the vNIOS instance, and then click Start.

    Note

    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

  1. Select the vNIOS instance from SCVMM.
  2. 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 return to the condition that it was in when its state was paused. 

  • No labels

This page has no comments.