v3.x and v4.x Luminoso Installation and Update Guides
Table of contents:
- 1 For all Luminoso on-site deployments
- 2 Microsoft Azure
- 3 Azure Upgrade Instructions
- 4 AWS AMI: Install Luminoso Daylight On-site
- 5 AWS AMI Upgrade Instructions
- 6 VMware: Install Luminoso Daylight On-site
- 7 Luminoso Daylight On-site Configuration Guide
- 7.1 Getting Started
- 7.2 Configuring the Virtual Appliance
- 7.3 Update Luminoso Daylight Settings:
- 7.3.1 Make system changes
- 7.3.2 Change Hostname
- 7.3.3 Change DHCP to Static IP
- 7.3.4 Change the Inactivity Timeout
- 7.3.5 Use an internal NTP server
- 7.3.6 Change admin password
- 7.3.7 Configure root certificate
- 7.3.8 Configure SMTP
- 7.3.9 Configure System Notifications
- 7.3.10 Configure Application Notifications
- 7.3.11 Configure HTTPS
- 7.3.12 Configure SAML
- 7.3.13 Send Logs to an rsyslog Server
- 7.3.14 Start an instance of Daylight on-site
- 7.3.15 Stop an instance of Daylight on-site
- 7.3.16 Collect Support Logs
- 8 Daylight on-site: Workspaces and Users
- 9 Proxy Settings
For all Luminoso on-site deployments
Minimum requirements
The minimum requirements for Luminoso deployments are 4vCPUs and 16 GiB of RAM. This requirement is for relatively low workloads. Please upgrade your instance size based on workload and performance expectations if needed. If you select an instance type below the specifications above Luminoso functionality will not work as intended.This configuration will not include Concept-Level Sentiment.
To access Concept-Level Sentiment in your Luminoso on-site virtual machine, you must at minimum attach a GPU that is appropriate for your instance type.
Luminoso Compass instructions
Luminoso Compass install and update instructions have not changed from v2.3. Use the most recent credentials your CSM provides to you and follow the v2.3 instructions for your hosting type.
For AWS and Azure installations – Scale up or down your vCPU or GPU resources
You may change the amount of vCPU or GPU resources after your initial deployment depending on your organization’s needs by changing the hosting machine’s instance type. The method will be slightly different depending on if your organization uses Azure or AWS.
If Concept-Level Sentiment is processing slowly, increasing your GPU resources will allow for faster processing. Alternately, you may scale down your GPU resources if speed is not important to you. We recommend discussing these options with your CSM.
To change your machine’s instance type:
Stop the Daylight application from running using the on-site menu.
Note: If you skip this step, Daylight will not run properly after the vCPU or GPU scaling is changed.Completely stop the machine that hosts Daylight.
Change the machine’s instance type to update the amount of available vCPU or GPU resources.
Power on the machine.
Microsoft Azure
Install Luminoso Daylightc On-Site
Background
To use Luminoso on-site for Azure, you must have a valid Azure subscription and Azure Command Line Interface (Azure CLI) installed on your machine. Luminoso provides on-site image(s) per contract, shared with the Azure tenant ID you provide.
Provide the deployment region and tenant ID
Before Luminoso can share an image to your organization, you must provide the following information to your Luminoso CSM:
Your Azure tenant ID
The Azure region where you will be deploying the Luminoso on-site image
You must provide this information several business days before you plan to deploy the image provided by Luminoso, so these instructions are here for reference. Your tenant ID is a string of letters and numbers that is separate from your subscription ID.
To find your tenant ID
Inside the Azure Portal UI, open the home page. In the search bar, type “Azure Active Directory” and select it. The Overview page opens.
Copy the tenant ID displayed under the organization name.
Provide this ID to your Luminoso CSM.
Set up the Azure Environment for Luminoso VM Deployment
Open the Azure portal using the URL that your Luminoso CSM provided. The Permissions requested window opens.
Remember the Luminoso-client-[client name] in this window. You will need this name to give Azure permission to build a virtual machine. You may wish to write this name down or take a screenshot of the Permissions requested window. If you forget, you can retrieve this name when you open your Azure Active Directory and select Enterprise Applications from the menu.
Click Accept and sign in to the Azure Portal UI.
From the homepage, open Resource Groups and choose the resource group where you want to create the Luminoso on-site VM, select Access control (IAM), and click + Add. A dropdown menu opens.
Select Add role assignment. The Add role assignment menu opens:
Role — Type and select Contributor.
Assign access to: — Leave this as Azure AD user, group, or service principal.
Select — Type the Luminoso-client-[client name] you saw in the Permissions requested window and select it when it shows up in the list.
When you are done, select Save.
To confirm that you successfully added the role, click Role assignments from the options under Access control (IAM). You should see the role that you added in the previous step on the list.
Create a VM Using the Azure CLI
Sign in the service principal for Luminoso using the <app_ID>, the <app_registration_password>, and the <Luminoso_tenant_ID> that your Luminoso CSM provided. Enter the commands like this:
az account clearaz login --service-principal -u '<app_ID>' -p '<app_registration_password>' --tenant '<Luminoso_tenant_ID>'az account get-access-tokenNote: your access token is only valid for an hour.
For reference, your result will look something like this:
Sign in the service principal again, this time using the <customers_tenant_id> for the Azure account. Use the <app_ID>, the <app_registration_password>, and the <customers_tenant_id>.
Note: <customers_tenant_id> is the same tenant ID that you provided to your Luminoso CSM as part of the image build request.
Enter the commands like this:
az login --service-principal -u '<app_ID>' -p '<app_registration_password>' --tenant '<customers_tenant_id>'az account get-access-token
Use the Azure CLI to deploy a VM using a command like the following template. Make sure that you have the <image_version_object_id> that your Luminoso CSM shared with you.
To enable Concept-Level Sentiment in your instance, you must at minimum specify Standard_NC6 as the --size <VM_SIZE>.
For quicker Concept-Level Sentiment processing, specify Standard_NC24, as the --size <VM_SIZE>.
As minimum requirements for any machine running Luminoso products, we recommend 4vCPUs and 16 GiB of RAM. This minimum is for relatively low workloads. Please upgrade your instance size based on workload and performance expectations if needed. If you select a virtual machine type below this level, Luminoso functionality does not run properly. This configuration will not include Concept-Level Sentiment.
az vm create --name <VM_NAME> --resource-group <YOUR_RESOURCE_GROUP> --image <image_version_object_id> --size <VM_SIZE> --data-disk-sizes-gb <DATA_DISK_SIZE_IN_GB> --storage-sku <STORAGE_TYPE> --subnet <YOUR_SUBNET_OBJECT_ID_FOR_DEPLOYMENT> --subscription <YOUR_AZURE_SUBSCRIPTION_ID>.Note: You can use the following command to find <YOUR_SUBNET_OBJECT_ID_FOR_DEPLOYMENT>:
az network vnet list
Filled out, your command might look like this:
When the command finishes running, a message appears that displays relevant setup information, such as:
SSH to your newly created Luminoso Daylight on-site VM.
Azure Upgrade Instructions
When you begin the upgrade process, check that your tenant ID and deployment region have not changed. If they have, provide the new information to your Luminoso CSM.
Prepare your environment for Azure Upgrade Deployment
Shut down the previous on-site VM.
After confirming that the previous on-site VM is shut down, open the Azure Portal UI and click on the name of the old VM.
Click Disks under Settings. The Disks page opens.
Click on the name of the disk that you want to create a snapshot of under the Data disks section. The information for that disk opens.
Click Create snapshot. The Create snapshot page opens.
On the Create snapshot page, select the appropriate resource group
In the Instance details section, add a name and select the appropriate options for your environment.
Click Next and complete each section until you reach Review + create.
Confirm that the information is correct and click Create. A success page appears that says your deployment is underway.
When your deployment is complete, search for “disks” and select it. The Disks page opens.
Click + Add. The Create managed disk page opens.
Fill out all appropriate fields. Pay special attention to:
Source type — Pick Snapshot from the menu. The source snapshot field appears. Use the menu to find and select the snapshot you just created.
Size — Select a size that is either the same as or larger than your previous data disk. To change what type of storage your installation uses, click Change size.
Click Next and complete each section until you reach Review + create.
Confirm that your selections are correct and click Create. A success page appears saying that your deployment is underway.
Upgrade Luminoso On-Site for Azure
Confirm that you have a Luminoso-client-[client name] given the contributor role for the resource group you are using for the upgrade process:
If you have used this resource group for Luminoso on-site before, use the Access control (IAM) menu to check that the role is present and correct.
If this is a new resource group for Luminoso on-site deployment, open the Access control (IAM) menu and add a role using steps 4-6 of “Set up the Azure Environment for Luminoso VM Deployment.”
Sign in the service principal for Luminoso using the <app_ID>, the <app_registration_password>, and the <Luminoso_tenant_ID> that your Luminoso CSM provided. Enter the commands like this:
az account clearaz login --service-principal -u '<app_ID>' -p '<app_registration_password>' --tenant '<Luminoso_tenant_ID>'az account get-access-tokenNote: your access token is only valid for an hour.
For reference, your result will look something like this:Sign in the service principal again, this time using the <customers_tenant_id> for the Azure account. Use the <app_ID>, the <app_registration_password>, and the <customers_tenant_id>.
Note: <customers_tenant_id> is the same tenant ID that you provided to your Luminoso CSM as part of the image build request.
Enter the commands like this:az login --service-principal -u '<app_ID>' -p '<app_registration_password>' --tenant '<customers_tenant_id>'az account get-access-tokenUse the Azure CLI to deploy a VM using a command like the following template. Make sure that you have the <image_version_object_id> that your Luminoso CSM shared with you.
az vm create --name <VM_NAME> --resource-group <YOUR_RESOURCE_GROUP> --image <image_version_object_id> --size <VM_SIZE> --attach-data-disks <NEW_DATA_DISK_NAME_CREATED_FROM_SNAPSHOT> --storage-sku <STORAGE_TYPE> --subnet <YOUR_SUBNET_OBJECT_ID_FOR_DEPLOYMENT> --subscription <YOUR_AZURE_SUBSCRIPTION_ID>.Note: You can use the following command to find <YOUR_SUBNET_OBJECT_ID_FOR_DEPLOYMENT>:
az network vnet listFilled out, your command might look like this:
You receive a success message like this one:
SSH to the upgraded VM deployed from the new Luminoso on-site image. It may take a few minutes to configure the application on the first boot. The Daylight on-site menu opens.
For configuration steps, refer to the appropriate Luminoso Daylight product documentation.
AWS AMI: Install Luminoso Daylight On-site
Background
Luminoso provides virtual appliances to run Luminoso Daylight in clients’ data center. Follow these instructions to install the virtual appliance so you can configure and use the product.
Launch a new instance from the AMI shared by Luminoso
Luminoso offers several methods for delivering on-site images to clients. This document assumes you provided Luminoso with your AWS account number and that the AMI is shared with your account.
Log into your AWS Account and navigate to EC2. The EC2 Dashboard opens.
Under Images select AMIs and search for the AMI using the AMI ID that Luminoso provided.
Select the AMI that matches your build number and click Launch to open the Launch Wizard.
Choose an Instance Type:
To enable Concept-Level Sentiment in your Daylight instance, you must specify a g4dn.xlarge instance type for minimum processing requirements.
For quicker Concept-Level Sentiment processing, choose g4dn.12xlarge.
The minimum requirements for Luminoso deployments are 4vCPUs and 16 GiB of RAM. This requirement is for relatively low workloads. We recommend using the r family because it is memory-optimized and better for large amounts of text data. Please upgrade your instance size based on workload and performance expectations if needed. If you select an instance type below the specifications outlined above Luminoso functionality will not work as intended. This configuration will not include Concept-Level Sentiment.
Click Next: Configure Instance Details. The Step 3: Configure Instance Details page opens.
Use the options to configure your instance based on your company requirements.
Click Add New Volume to add and configure the data disk.
Warning: For installations with Concept-Level Sentiment, ignore the ephemeral0 volume. The ephemeral0 volume type cannot be treated as a data disk for Daylight, so you must still add a new volume.For new installations, new disk size depends on the number of projects processed. Your Luminoso Account Manager is responsible for communicating the recommended size of the data disk
For upgrades, enter the Snapshot ID of the previous instances’ data volume snapshot so the new system starts with a data volume based off that snapshot.
Select "Delete on Termination" or "Encryption" based on your company requirements for the data disk added in Step 7.
Click Next: Add Tags. Step 5: Add Tags opens.
Add tags as applicable to your organization. If you don’t need tags, skip this step. Within AWS, tags allow you to place arbitrary labels on resources that help you report. If you have a tagging policy that says “every resource needs to have a tag” then you can see what resources everyone is using
Click Next: Configure Security Groups.
Configure security groups as required by your organization.
Click Review and Launch. The Review Instance Launch page opens.
Review the details and confirm that the settings you selected are correct.
Click Launch. A Select an existing key pair or create a new key pair window opens.
Select Proceed without a key pair. The Luminoso Daylight image is prepopulated with credentials that your CSM provides.
Click Launch Instances. Your instance begins the launch process.
For configuration steps, refer to the appropriate Luminoso Daylight On-site product documentation.
AWS AMI Upgrade Instructions
Shut down the previous on-site VM.
Click Volumes and select the data volume of your old instance.
Go through the steps on the Create Snapshot page. Click Create Snapshot and record the snapshot ID provided on the page.
Follow the steps in the installation guide to create a new on-site VM. Instead of adding a new data disk, attach the snapshot from the previous on-site version.
Note: If you are upgrading to use Concept-Level Sentiment, make sure to select an instance type that uses GPU.On the Add Storage page, select a size that is either the same as or larger than your previous data disk.
You must change the device name when you add this disk.
In the Device column, use the menu to change /dev/sdb to /dev/sdf.
Start the new VM and connect via ssh with admin credentials. The system runs any necessary data migrations. If the upgrade involves large schema changes, or if you have many existing projects, this may take a while. We recommend running it overnight.
Note: The new admin password should work, so you don’t need to remember the admin password for the previous machine.Check the configuration to ensure that your settings were imported correctly.
Start the application.
VMware: Install Luminoso Daylight On-site
Upload the virtual appliance
This document assumes you have the most recent Luminoso on-site image(s) available in your environment. The upload process uses VMware’s vSphere product for transferring the image to vCenter. These instructions were developed using vCenter 6.7. If you’re using a different version of VCenter, your options may be slightly different.
Log into vCenter using vSphere.
Right click on the esxi host you would like to deploy to and select Deploy OVF Template... The Deploy OVF Template wizard opens.
Click Choose File and select the image file. File name format is [product name]_vmware-version-ID-[client]. For example, daylight_vmware-1.0-201602221217-acme.
Click Open.
Click Next and complete the wizard with information applicable to your environment.
Review your choices and click Finish to close the wizard. The VM begins to deploy. View the build progress in the Recent Tasks pane.
Create Data Disk
Luminoso’s software requires you to use a disk separate from the OS disk to store all Luminoso data and configuration files. As minimum requirements to run all Luminoso features except Concept-Level Sentiment, we recommend 4vCPUs and 16 GiB of RAM. This minimum is for relatively low workloads. Upgrade your instance size based on workload and performance expectations if needed. Luminoso functionality can only run properly if minimum requirements for the hosting machine are met.
To access Concept-Level Sentiment functionality, you must attach an Nvidia GPU to the Luminoso on-site virtual machine using Luminoso’s tested method. Luminoso cannot guarantee successful Concept-Level Sentiment deployment with any other method.
Create a data disk and attach it to the Luminoso on-site virtual machine you just deployed.
Attach a GPU using the passthrough method
The hardware and software that Luminoso used for Daylight deployment with GPU enabled:
GPU
NVIDIA GeForce GTX 1080 Ti
Note: Luminoso supports newer generation NVIDIA GPUs with at least 11GB of GPU memory.
Host Platform
ESXi 6.7.0 build 13006603
To enable a GPU as passthrough:
Click on the ESXi host name.
Open the Configure tab.
Expand the Hardware section and select PCI Devices.
Open All PCI devices, locate your Nvidia GPU, and click Configure Passthrough. An Edit PCI Availability window opens.
Select both NVIDIA devices and click OK.
Under Hardware, click Graphics and select Host Graphics.
Click Edit. The Edit Host Graphics Settings window opens.
Make sure your selections match the screenshot above. Click OK.
Reboot your ESXi host to make your NVIDIA device is available.
Either right click on your machine or click Actions and select Edit Settings. An Edit Settings window opens.
Click Add New Device and select PCI Device from the menu.
In the New PCI device row, select the NVIDIA PCI device.
Expand the New PCI device row and click Reserve all memory.
Open VM Options, expand Advanced, locate Configuration Parameters and select Edit Configuration… . The Configuration Parameters menu opens.
Click Add Configuration Params. In the editor, add:
Name = hypervisor.cpuid.v0
Value = FALSE
Click OK to close and save Configuration Parameters and click OK again to close and save your modifications to Edit Settings.
Start the VM
Right click the VM instance and select Power > Power on the virtual machine.
Refer to the appropriate Luminoso Daylight on-site product documentation for the configuration steps.
VMware Upgrade Instructions
Shut down your old machine.
Deploy a new machine and keep both machines powered off.
In Storage, under the correct datastore, select the directory of your old virtual machine.
Select your data disk and click Copy to and copy the data drive from your old Luminoso virtual machine directory to the new one. The copy progress displays in the Recent Tasks pane.
Right click your new machine and select Edit Settings. The Edit Settings window opens.
Click Add New Device and select Add Hard Disk. A file explorer opens.
In the Datastores column, select your new virtual machine. In the Contents column, select the disk you copied from your previous machine.
Click OK. The File explorer closes.
Click OK. The Edit Settings window closes.
Power on your new machine.
Luminoso Daylight On-site Configuration Guide
Getting Started
After installing the Luminoso Daylight On-site Virtual Appliance, connect to it via ssh using the username ‘admin’ and the associated password that Luminoso support provided. After you log in, a menu appears where you can configure various properties of the machine.
Configuring the Virtual Appliance
The following steps configure the On-site Appliance to match your data center environment. For example, the network card defaults to DHCP. If your data center environment requires static IPs, you can change it using the Manage System menu in the On-site Menu.
Other system configuration options:
Manage System | Configure hostname |
Configure interface | |
Configure inactivity timeout | |
Configure NTP | |
Change admin password | |
Configure root certificate | |
Configure SMTP | |
Configure system notifications | |
Configure application notifications | |
Configure HTTPS | |
Configure SAML | |
Configure rsylog server | |
Support Shell | |
Manage Users | List Users |
Create User | |
Delete User | |
Change User Access | |
Change User Password | |
Create Workspace | |
Delete Workspace | |
Rename Workspace | |
Manage Service | Start Daylight |
Stop Daylight | |
Collect Support Logs | |
Quit |
|
Update Luminoso Daylight Settings:
To complete any of the following tasks, you must log in to the on-site virtual machine using admin credentials.
Make system changes
Select Manage System from the menu, select the appropriate menu option, and make any necessary changes,
Click OK.
Change Hostname
Open Manage System -> Configure Hostname
Change the fully-qualified domain name to your preferred domain name.
Select OK.
Note: If you have DHCP and are changing the hostname, you will have to reboot the machine to report the new hostname to the DHCP server.
Change DHCP to Static IP
Open: Manage System -> Configure Interface
Change “DHCP” to “Static”.
© 2020 Luminoso Technologies. All rights reserved.
