: Install Panorama on KVM
Focus
Focus

Install Panorama on KVM

Table of Contents
End-of-Life (EoL)

Install Panorama on KVM

How to deploy a Panorama™ virtual appliance and a virtual Dedicated Log Collector on KVM.
You can now deploy Panorama™ and a Dedicated Log Collector on KVM. Panorama deployed on KVM is Bring Your Own License (BYOL), supports all deployment modes (Panorama, Log Collector, and Management Only), and shares the same processes and functionality as the M-Series hardware appliances. For more information on Panorama modes, see Panorama Models.
  1. Download the Panorama 9.1 base image QCOW2 file.
    1. Log in to the Palo Alto Networks Support Portal.
    2. Select UpdatesSoftware Updates and filter by Panorama Base Images to download the QCOW2 file (Panorama-KVM-9.1.0.qcow2).
  2. Create a new virtual machine image and add the Panorama virtual appliance image for KVM to the Virtual Machine Manager.
    1. On the Virtual Machine Manager, select Create a new virtual machine.
    2. Select Import Existing disk image and click Forward.
    3. Browse and select the Panorama virtual appliance image volume and Choose volume.
    4. Click Forward.
  3. Configure the memory and CPU settings.
    Review the Setup Prerequisites for the Panorama Virtual Appliance for minimum resource requirements.
    If you plan to use the Panorama virtual appliance as a Dedicated Log Collector, ensure that you configure the appliance with the required resources during initial deployment. The Panorama virtual appliance does not remain in Log Collector mode if you resize the virtual machine after you deploy it, and this results in a loss of log data.
    1. Configure the Memory based on the requirements for the desired operational mode.
      The Virtual Machine Manager may use MiB (mebibyte) to allocate memory depending on the version you are running. If MiB is used, be sure to correctly convert your required memory allocation to avoid under provisioning the Panorama virtual appliance.
    2. Configure the CPU based on the requirements for the desired operational mode.
    3. Click Forward.
  4. Name the Panorama virtual appliance, enable configuration customization, and select the management interface bridge.
    1. Enter a descriptive Name for the Panorama virtual appliance.
    2. Customize configuration before install.
    3. Make a Network selection—select the bridge for the management interface and accept the default settings.
    4. Click Finish.
  5. Configure the virtual system disk settings.
    1. Select IDE Disk 1, go to Advanced options, and select the following:
      • Disk BusVirtIO or IDE, depending on your configuration.
      • Storage formatqcow2
    2. Go to Performance options and set Cache mode to writethrough. This setting improves installation time and execution speed on the Panorama virtual appliance.
    3. Click Apply.
  6. Configure the virtual machine console display to use the VNC server to interact with the virtual machine.
    1. Select Display Spice.
      Continue to the next step if Display VNC is listed in the Hardware list because the virtual machine is already configured to use the VNC server for the display.
    2. In the Type drop-down, select VNC server.
    3. Click Apply.
  7. (Optional) Add additional storage for log collection. Repeat this step as needed to add additional virtual logging disks.
    If you intend to use the Panorama virtual appliance in Panorama mode or as a Dedicated Log Collector, add the virtual logging disks during the initial deployment. By default, the Panorama virtual appliance is in Panorama mode for the initial deployment when you meet the Panorama mode resource requirements and have added at least one virtual logging disk. Otherwise, the Panorama virtual appliance defaults to Management Only mode. Change the Panorama virtual appliance to Management Only mode if you just want to manage devices and Dedicated Log Collectors, and to not collect logs locally.
    The Panorama virtual appliance on KVM only supports 2TB logging disks, and in total supports up to 24TB of log storage. You are unable to add a logging disk smaller than 2TB, or a logging disk with a size not divisible by the 2TB logging disk requirement. The Panorama virtual appliance partitions logging disks larger than 2TB into 2TB partitions.
    1. Add Hardware.
    2. Configure the new Storage disk:
      1. Create a disk image for a virtual machine and configure the virtual disk storage capacity to 14901.2 GiB (this is equivalent to 2TB).
        The Virtual Machine Manager may use GiB (gibibyte) to allocate memory depending on the version you are running. If GiB is used, be sure to correctly convert the required storage capacity to avoid under provisioning the virtual logging disk and sending the Panorama virtual appliance into maintenance mode.
      2. Set the Device type to Disk device.
      3. Set the Bus type to VirtIO or IDE, depending on your configuration.
      4. Go to Advanced options and set Cache mode to writethrough.
    3. Click Finish.
  8. Begin Installation (
    ). The Panorama virtual appliances takes approximately 10 minutes to boot.
  9. Configure a new administrative password for the Panorama virtual appliance.
    You must configure a unique administrative password before you can access the web interface or CLI of the Panorama virtual appliance. The new password must be a minimum of eight characters and include a minimum of one lowercase character, one uppercase character, and one number or special character.
    When you first log in to the Panorama CLI, you are prompted to enter the Old Password and the New Password for the admin user before you can continue.
  10. Configure the network access settings for the management interface.
    1. Open a connection to the console.
    2. Log in to the firewall using the default username and password: admin/admin.
    3. Enter configuration mode using the following command:
      admin> configure
    4. Use the following commands to configure and enable access to the management interface:
      admin# set deviceconfig system type static
      admin# set deviceconfig system ip-address <Panorama-IP> netmask <netmask> default-gateway <gateway-IP> dns-setting servers primary <DNS-IP>
      where <Panorama-IP> is the IP address you want to assign to the management interface, <netmask> is the subnet mask, <gateway-IP> is the IP address of the network gateway, and <DNS-IP> is the IP address of the DNS server.
      admin# commit
  11. Register the Panorama virtual appliance and activate the device management license and support licenses.
    1. (VM Flex Licensing Only) Provisioning the Panorama Virtual Appliance Serial Number.
      When leveraging VM Flex licensing, this step is required to generate the Panorama virtual appliance serial number needed to register the Panorama virtual appliance with the Palo Alto Networks Customer Support Portal (CSP).
    2. Register Panorama.
      You must register the Panorama virtual appliance using the serial number provided by Palo Alto Networks in the order fulfillment email.
      This step is not required when leveraging VM Flex licensing as the serial number is automatically registered with the CSP when generated.
    3. Activate the firewall management license.
    4. Activate a Panorama Support License.
  12. Complete configuring the Panorama virtual appliance for your deployment needs.