Skip to main content
Skip table of contents

Getting Started with the PeerIQ Virtual Appliance

Getting started image


Purpose of this Guide

The guide describes setup and configuration of the PeerIQ Virtual Appliance.

This guide assumes that you have PeerGFS already set up in your environment.

Overview

This virtual appliance is a preconfigured virtual machine image containing PeerIQ installed on a minimal deployment of Ubuntu Server 22.04 LTS and leverages Docker containers. Security packages have been configured to automatically update. As this is to be treated as a Linux host that would be normally managed by an IT team, tasks such as kernel upgrades are not automated.

Unlike other Peer Software virtual appliances, the PeerIQ virtual appliance ships with all the necessary software components already installed and running as Docker containers.

Appliance Deployment

The PeerIQ Virtual Appliance can be deployed on VMware ESXi, Microsoft Hyper-V, and Nutanix AHV.

Appliance  Configuration

This section describes the configuration of the virtual appliance:

Networking

Network Manager is installed to handle network settings, with tools such as nmcli and nmtui pre-installed to help with more advanced network configuration. Multiple network interfaces can be added and configured. The hostname starts with PeerIQ and is followed by a unique identifier.

UFW is enabled as a firewall with the following incoming rules:

  • TCP Port 22: Allow SSH connections into the virtual appliance.
  • TCP Port 443: Allow access to the PeerIQ web interface.
  • All outgoing communication is allowed.

Network Time Protocol (NTP)

The NTP is preconfigured and uses the Ubuntu time pool (ubuntu.pool.ntp.org). If you wish to change this, edit /etc/ntp.conf, and then restart the NTP service by running sudo systemctl restart ntp.service.

Credentials

The default credentials for logging into the virtual appliance via SSH are:

  • Username: peersoftware
  • Password: password

The default credentials for logging into the virtual appliance via the web interface are:

  • Username: admin
  • Password: password

First Boot Wizard

The First Boot Wizard is stored in /opt/peersoftware/vm/ as a script called menu.sh. If you need to access this menu system after running the wizard, you can run menu.sh with escalated privileges.

Recommended Workflow

The following section addresses the typical operations necessary for the virtual appliance to host an operational PeerIQ deployment. This includes:

Task 1: Log In

  1. Log into the virtual appliance via the virtual console or via SSH.

    • SSH will work only if you receive a DHCP-assigned address. Consult your hypervisor vendor's documentation (ESXi, Hyper-V, or Nutanix Prism) for details on how to connect in the virtual console.

    • On the first boot of the virtual appliance, you will be presented with a console that displays the default login credentials. Use these default credentials for your username and password.


    Log in screen

  2. Once you have logged in, the First Boot Wizard will appear, displaying the Peer Software End User License Agreement. If you agree to the terms, use the arrow keys to select ACCEPT, and then press Enter.
    License Agreement screen

Task 2:  Configure Network Settings

This task is optional. By default, DHCP is turned on.

To modify the default network configuration:

  1. Select Configure Networking by using the up and down arrows or by pressing the letter n on the keyboard, and then press Enter.
    Main Menu screen
  2. Select Hostname, and then select NEXT to change the hostname of this server.
    Network Interfaces screen
  3. Enter the new hostname, and then select OK.
    New hostname screen
  4. Select a network interface from the list, and then select NEXT for basic networking or select ADVANCED to launch Ubutu's NetworkManager tool (nmtui).
    If the network configuration was successful, the DHCP details are displayed.
    Network Interfaces screen
  5. If desired, modify any DHCP parameters, and then click the OK button; otherwise, select Cancel to keep the default parameters.

    If you are using SSH to connect to the virtual appliance, any IP changes will disrupt your connection. You will need to reconnect via SSH to the new IP address after clicking the OK button.

    Network Interfaces Config screen

  6. If you don't want to configure another interface, select No.
    Finish prompt

    Network configuration is now complete. The Main Menu is displayed.

Task 3: Check for Menu Updates

This task is optional.

  1. From the Main Menu, select Upgrade this Menu by using the up and down arrows or pressing the letter m on the keyboard, and then press Enter.
    Upgrade this menu

  2. If an upgrade is available, it will be displayed along with the release notes.  Select DOWNLOAD to upgrade; otherwise, select Exit. If no upgrade is available, select OK.
  3. After the download is complete, the message Latest update has downloaded successfully! will be displayed.
    The new version of the menu will become active after exiting the menu and reopening it. It can be manually launched by running
    sudo /opt/peersoftware/vm/menu.sh.
    Note: The old version of the menu can be found at /opt/peersoftware/vm/previous_menu.sh.

Task 4: Check for Software Updates

This task is optional.

  1. From the Main Menu, select Update PeerIQ Software by using the up and down arrows or pressing the letter u on the keyboard, and then press Enter.
    Main Menu screen
  2. If an upgrade is available, it will be displayed along with the release notes. Select Yes to upgrade; otherwise, select No. If no upgrade is available, select OK.
    After the download is complete, the message Software has been updated successfully will be displayed.

Task 5: Change the Default Password

It is important to change the host password from the default of password to prevent unauthorized access. Once the password has been changed, the First Boot Wizard will no longer automatically load.

The password must be at least 6 characters and cannot be a complete word. Please store this password in a safe place as it cannot be reset by the Peer Software support team.

  1. From the Main Menu, select Change Host Password by using the up and down arrows or pressing the letter c on the keyboard, and then press Enter.
    Main Menu screen
  2. Enter your new password in the next two screens, and then select OK.
    Enter new password prompt
  3. If the password meets all the criteria, a success message will be displayed; select OK.
    Password successfully changed message

    The PeerIQ virtual appliance is ready for use. The web interface can be accessed from https://<IP address>.

Task 6: Connect PeerIQ to PeerGFS

Once the PeerIQ virtual appliance is up and running, the following steps are required to get data from PeerGFS flowing into PeerIQ:

  1. Log in to the PeerIQ web interface.
    PeerIQ web interface login screen

  2. If logging into to PeerIQ for the first time, you will be prompted to change your password, and optionally, the default username.
    Change Password screen

    Once logged in, the following page is displayed.
    Environment Overview screen

  3. Select Broker Configuration in the tree on the left.
    Broker Settings screen

  4. Enter the IP address, hostname, or FQDN of your primary PMC server, and then click Set Broker.
    After PeerIQ is able to connect to the primary PMC server, the Connection Status field should say Connected.
    Connection Status field

  5. Connect to the PMC client.
  6. From the PMC Help menu, select Analytics.
  7. Check Enable the sending of analytics data to PeerIQ.
    Analytics page

    Telemetry data from PeerGFS should now be flowing into PeerIQ. The various report pages in PeerIQ should start showing data within 5 minutes.

Advanced Task: Increasing Usable Storage

You can increase usable storage when you initially set up the appliance or at a later date. If you do it later, you will need to rerun the First Boot Wizard.

The following process relies on the same partitions being present that were shipped with this virtual appliance. We recommend using fdisk instead if you have made any partition changes.

  1. Increase the storage size within your Hypervisor. Consult your platform guide (VMware ESXi, Microsoft Hyper-V, or Nutanix Prism) for instructions.
  2. From the main menu of the Peer Software Virtual Appliance wizard, select Resize Storage by using the up and down arrows or pressing the letter r on the keyboard, and then press the Enter key.
    Main Menu screen
  3. When asked whether to proceed, select No if you are in any doubt, and contact Peer Software support.  Otherwise, select Yes to proceed.
    Configuration screen
  4. The partition table will be rebuilt, displaying status to the screen. When complete, select OK to continue.
    Rebuilding partitions screen
  5. The file system will then be resized; and its status will be display on the screen. When the resizing is complete, select OK to continue.
    Resizing File System storage screen
  6. A confirmation message will be displayed, showing the new size of the file system. You will need to restart the virtual appliance in order for the changes to take effect.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.