Set up Virtual Appliance - Google Cloud Platform

The PrinterLogic Virtual Appliance is the latest generation of PrinterLogic's private cloud platform. Typical use cases include:

  • It’s a streamlined, self-contained solution for new customers who want the benefits of PrinterLogic’s serverless printing infrastructure but need tighter control over their print environment.
  • For PrinterLogic Web Stack customers, the Virtual Appliance is a path forward to get the latest features PrinterLogic has to offer. Switching over is a track change but provides the newest functionality and ongoing support.

The PrinterLogic Virtual Appliance gets distributed as a fully integrated, standards-based private cloud solution. As a result, it helps customers maximize their investments in virtual infrastructures designed to reduce unnecessary hardware, software, and ongoing maintenance costs.

The PrinterLogic Client deployment, by default, checks for the use of SSL certificates for security considerations. Using SSL Certificates to encrypt data between the Virtual Appliance and other connected systems is highly recommended to ensure the confidentiality and integrity of your communications. Not using SSL Certificates will require additional configuration that may require assistance from PrinterLogic support engineers.

Minimum System Requirements

Depending on the configured features and user count, the minimum requirements for the Virtual Appliance may increase. Use the recommendations below when creating your Virtual Appliance, but continue to monitor the CPU and RAM utilization and allocate additional resources as needed.

  • Four 3.5-4.0 GHz processors. Add two 3.5 GHz processors for each additional 15,000 users.
  • 16GB RAM for up to 15,000 users.
    • Add 2 CPUs / 8GB RAM for each additional 15,000 users.
    • Add a minimum of 2 CPUs and 4GB RAM if using the Internal Service Client.
    • Add 2 CPUs and 4GB RAM per 500 CPA/Simple Badge Release installations.
  • 80GB free hard disk space for the host disk.
  • There should be 50GB of free hard disk space on the persistent storage disk (add 4GB for every 100 printers).
  • There is a requirement for NTLMv2 to connect to the appliance-storage shared folder of the PrinterLogic Virtual Appliance.

If you are migrating from a Web Stack instance please refer to the steps on Web Stack Migration to Virtual Appliance. Only continue if you are setting up a new installation of the Virtual Appliance.

Prerequisites

  1. Download the Virtual Appliance vmdk file.
  2. DNS configured properly.
    1. Identify a FQDN to use for the PrinterLogic Virtual Appliance (i.e., printerlogic.mycompany.com).
    2. Create an A record in DNS (i.e., printerlogic.mycompany.com) that points to the IP address of the Virtual Appliance.
    3. Create a CNAME record in DNS (i.e., *.printerlogic.mycompany.com) that points to the A record above (i.e., printerlogic.mycompany.com)
  3. SSL certificates created and available.
    1. The SubjectAlternativeName extension must list the two DNS entries above (i.e., printerlogic.mycompany.com and *.printerlogic.mycompany.com). In depth information can be found in the Virtual Appliance SSL Certificates document.
  4. Open ports for DB access from your machine:
    1. TCP 3306 - MySQL
    2. TCP 80 - HTTP
    3. TCP 443 - HTTPS
    4. TCP 8000 - Configuration API
    5. TCP 8080 - Configuration UI
    6. TCP 445 - SMB
  5. (Optional) If you are using advanced features requiring a Service Client, you must ensure the Service Client gets appropriately configured. See Set up a service client for more information.

Initial Configuration

  1. Log into Google Cloud Platform.
  2. Select Storage from the menu on the left.

    Google Cloud platform interface with an arrow pointing to the Storage option in the left-side menu.

  3. Either create a new storage bucket or select an existing storage bucket.

    Storage browser interface with an arrow pointing to the Create Bucket option at the top, and also showing exisiting storage buckets.

  4. After creating or selecting a storage bucket, select Upload Files.

    Bucket Details tab with an arrow pointing to the Upload files button in the middle.

  5. Upload the Virtual Machine Disk file (.vmdk) that was downloaded in the prerequisites.

    It is recommended that this step be done from a PC with an internet connection that supports high upload speeds due to the large file size.

Convert the VMDK

This process can take up to 40mn.

  1. Back on the Google Cloud Platform home screen, select Compute Engine from the left side menu.

    Google cloud platform home screen with an arrow pointing to the Compute Engine option on the left of the screen.

  2. From the new menu displayed on the left, select Images.

    Compute engine menu displayed with an arrow pointing to the Images option on the left .

  3. From the top menu, select Create Image.

    An arrow pointing to the Create Image button at the top of the screen after selecting the Images option.

  4. On the Create Image screen:
    1. Give it a name.
    2. Select Virtual disk (VMDK, VHD) as the source to be used.
    3. Select the Cloud Storage File
    4. In the Operating system on virtual disk section, Select Ubuntu 18.04 Bionic.
    5. Ensure that the Install guest packages box is checked.
    6. Click on Create.

      Create an image wizard with the name, source, cloud storage file path, Operating system on Virtual Disk option, and Install gues packages option highlighted.

Configure the Image

  1. Back on the Google Cloud Platform home screen, select Compute Engine from the left side menu.

    Google cloud platform home screen with an arrow pointing to the Compute Engine option on the left of the screen.

  2. From the new menu displayed on the left, select Images.

    Compute engine menu displayed with an arrow pointing to the Images option on the left .

  3. Click on the newly created image name, then select Create Instance at the top.

    Images window with the new image selected in the middle of the screen and an arrow pointing to the Create Instance button in the upper right.

  4. Give the instance a name, select appropriate Region and Zone, and select the Machine Type that meets the recommended system requirements of:

    1. Four 3.5-4.0 GHz processors. Add two 3.5 GHz processors for each additional 15,000 users.
    2. 16GB RAM for up to 15,000 users.
      • Add 2 CPUs / 8GB RAM for each additional 15,000 users.
      • Add a minimum of 2 CPUs and 4GB RAM if using the Internal Service Client.
      • Add 2 CPUs and 4GB RAM per 500 CPA/Simple Badge Release installations.
    3. 80GB free hard disk space for the host disk.
    4. There should be 50GB of free hard disk space on the persistent storage disk (add 4GB for every 100 printers).

    Create an Instance wizard with name, region, and machine type options highlighted.

    Port 8080, 8000, 3306 and 443 must be open to complete the setup phase.

  5. Scroll down to the Firewall section and select the appropriate settings to allow your workstation to communicate with the Virtual Appliance.

    Create an Instance wizard with an arrow pointing to the Firewal section, showing the Allow Http and Allow Https traffic options selected.

  6. Select Disks, and then scroll down and select the Add new disk button.

    Disks section with an arrow pointing to the Add New Disk button.

  7. Give the new disk a name and set a size (50 GB is recommended).

    New disk section of the Create an Instance wizard with an arrow pointing to the Size field near the bottom.

  8. Scroll down and select Done on the bottom left.
  9. Click Create on the bottom left.

    Create Wizard with arrows pointing to the Done and Create options at the bottom.

  10. Start the newly created VM instance.
  11. Locate the IP of the newly created virtual machine and copy it.

    VMware VM Instances screen with the newly created machine showing, and the area to copy its IP address highlighted.

    If you will be using a fully qualified domain name for accessing your Virtual Appliance, you should configure it in DNS and assign it the IP address shown on this console. You would also need to have the license file that PrinterLogic provides to contain the same FQDN for the licensed URL. When you are done with configuration from the above URL, the system will redirect you to the FQDN/URL you have in your license. If you are just testing and don’t need to manage more than 5 printers, you can continue to access the server via IP.

Launch the Virtual Appliance Wizard

The following steps are ONLY for setting up a new Virtual Appliance. If you are migrating from Web Stack to the Virtual Appliance, continue the migration by selecting Client Cut-over: Step 9 or DNS Cut-over Step 9.

The steps below are for creating new Virtual Appliance instances. If you are upgrading from an older host build, reference Host Upgrade.

  1. Open your preferred, supported browser window, and paste the IP address into the Address Bar, including port 8080. Example: 192.168.10.20:8080.
  2. When the PrinterLogic Virtual Appliance wizard appears, click Let's Do This.

    "Lets do this" button on the Welcome to PrinterLogic VA initialization wizard browser page.

  3. Select the Storage Type drop-down and select VM-Attached Virtual Disk.

    VM-Attached Virtual Disk option in the Storage Type drop-down, selected in the VA wizard.

  4. Click Format Attached Storage.
  5. When the attached disk is ready, click Continue.

    Orange Continue button highlighted in the upper right of the VA wizard Configure Storage window.

  6. If creating a new Virtual Appliance instance, click on Start New Instance.

    VA Wizard showing two button options, Start a New Instance, or Upgrade my Current Instance.

  7. When the General Settings appear add the domain name, then upload your license file, SSL certificate, and SSL key. When finished, click Continue.

    Ensure you document and save the Shared Storage Password so you can access the Data Drive later as needed. You can find more information on accessing the shared storage at the end of this document.

    General settings tab in the wizard showing the domain name, shared storage password, and upload location for the license file, SSL certificate, and SSL Key.

  8. When the Setup Database settings appear, make adjustments on the database type and then click Continue.

    If you want the MySQL database to reside on the VM's data drive, then leave the default settings for Database Type.

    Database type drop-down with two database options. One for using the internal VA database, or an external MySQL8+  database.

  9. Click Finish Setup.

    VA Setup wizard window with an arrow pointing to the Finish Setup button in the lower middle.

    Please do not refresh the page during the installation procedure.

  10. A new "Thank You" browser window will open when the installation is complete. This window can be closed as needed.
  11. The PrinterLogic Virtual Appliance login window appears, where you can Set up Login Credentials

    PrinterLogic root user account set up fields seen when first visiting the VA Admin Console.

  12. Once you are logged in, you will need to accept the License Agreement.
  13. You are now ready to work with your PrinterLogic Virtual Appliance.

    PrinterLogic Admin console shown after first logging in. Tree view to the left, object tabs in the center, and menu drop-downs in the upper right.

Accessing Data Files

If you need to add or update a license file or certificate or access the log files, you will need to map a network drive to the Virtual Appliance folder share. This can be done by using a non-elevated command prompt using a command similar to:

net use V: \\<hostname>\appliance-storage <password> /user:Admin /p:yes.

If the password contains special characters you will need to place "quotes" around the password.

Make sure you use a non-elevated command prompt to map the drive. If you have Windows UAC enabled on your workstation, drives mapped from an elevated command prompt are not visible in Windows Explorer by default. You can find additional information in Microsoft documentation.