Lighthouse User Guide

Opengear

[PDF] LIGHTHOUSE 24.06 - Opengear Resources

attached Routing Information Protocol (RIP) domain. ... testing the ability to ping a target device, or using curl if it has an http or https interface.

PDF preview unavailable. Download the PDF instead.

Lighthouse User Guide
LIGHTHOUSE 24.06
USER GUIDE

Lighthouse User Guide
COPYRIGHT ©
Opengear Inc. 2024. All Rights Reserved. Information in this document is subject to change without notice and does not represent a commitment on the part of Opengear. Opengear provides this document "as is," without warranty of any kind, expressed or implied, including, but not limited to, the implied warranties of fitness or merchantability for a particular purpose. Opengear may make improvements and/or changes in this manual or in the product(s) and/or the program(s) described in this manual at any time. This product could include technical inaccuracies or typographical errors. Changes are periodically made to the information herein; these changes may be incorporated in new editions of the publication.

24.06.0

Copyright ©

2

CONTENTS
COPYRIGHT © CONTENTS WHAT'S NEW UI Enhancements Connected Resource Gateway Resource Tagging Certificate Handling Enhancements AWS Lighthouse Smart Group Renaming ABOUT THIS USER GUIDE LIGHTHOUSE OVERVIEW Lighthouse Architecture The Lighthouse Virtual Machine Requirements
CPU and RAM Guidelines Enabling Smart Management Fabric Guidelines Lighthouse to Node interactions Lighthouse Certificate Management Precautions Configuration Scheduling Log File

24.06.0

Contents

Lighthouse User Guide
2 3 27 27 27 27 28 28 28 29 30 30 32 33 33 33 34 34 35 36 36
3

Using Multiple Lighthouses EULA and GPL LIGHTHOUSE USER INTERFACE Lighthouse User Interface Sections Settings Pane
Users & Accounts Menu Items Settings Menu Items Personalization Menu Items Menu Pane Node Tools Menu Items NetOps Menu Items Help and System Information Pane Help Menu Items Grids and Controls Multi-Select and Actions Filtering the Data Sorting Data on a Grid Column How to Search INSTALLING LIGHTHOUSE Lighthouse Virtual Machines Lighthouse VM Files Lighthouse AWS VM Files

24.06.0

Contents

Lighthouse User Guide
36 37 38 38 39 39 40 42 43 43 44 44 45 45 46 46 47 47 48 48 48 49
4

Lighthouse User Guide

Lighthouse Azure VM Files

49

Lighthouse Hyper-V VM Files

49

Installing Lighthouse VM on VMware

50

VMware vSphere 6.0 client on Windows

50

Requirements

50

Launch the vSphere Client and Connect to a vSphere Instance.

50

Import the Lighthouse VM Open Volume Format Image

52

Launch Lighthouse

53

Access the Console of a Running But Headless Lighthouse Instance

54

VMware Workstation Player on Windows as Host

54

Import the Opengear Lighthouse VM file into VMware Workstation Player

55

VMware Workstation Pro on Windows as Host

55

Import the Lighthouse VM File Into VMware Workstation Pro

55

Installing Lighthouse VM on Hyper-V on Windows

56

Local deployment on Hyper-V

57

Remote Hyper-V Deployment With Pre-authenticated User

57

VirtualBox Deployments

58

VirtualBox on Windows as Host

59

VirtualBox on macOS as Host

61

VirtualBox on Ubuntu as Host

63

VirtualBox on Fedora Workstation as Host

64

Installing Lighthouse VM on Linux Hosts

66

24.06.0

Contents

5

Virtual Machine Manager on Ubuntu as Host Boxes on Fedora Workstation as Host Boxes on RHEL and Compatible Distributions Installing in the Cloud Installing in Azure
Set a Password on Lighthouse via SSH Installing in Amazon Web Services
Running the Bootstrap Script - Example Changes to Default Settings Limitations Launch a Lighthouse Instance on AWS Set a Password for the lhadmin User on Lighthouse Final Steps Adding Disk Space to Lighthouse Adding a New Disk to AWS Adding a New Disk - qemu Specific Instructions Adding a New Disk - Azure Adding a New Disk - Hyper-V Adding a New Disk - VirtualBox Mounting the Hard Disks with ogconfig-cli Increase the lh_data Logical Volume

24.06.0

Contents

Lighthouse User Guide
66 66 67 68 68 71 72 74 74 75 76 77 78 78 78 79 79 80 80 81 82
6

Lighthouse User Guide

SETTING UP LIGHTHOUSE

84

Loading Lighthouse

84

Lighthouse IP Addresses

84

Usage

85

Example

85

First Boot of the Lighthouse VM

85

Setting the Lighthouse Hostname

87

Adding External IP Addresses Manually

87

Lighthouse SSL Certificate

88

Set the Lighthouse Internal Clock

89

Manual Configuration

89

Automatic Configuration

89

Setting up Networking Requirements

90

Examine or Modify the Lighthouse Session Settings

90

Examine or Change Lighthouse VPN Network Settings

91

Network Connections

92

Viewing Network Connections Available

92

Editing a Network Interface

92

Enabling Cell Health Reporting

93

Lighthouse MIBs

93

Generic Information About Lighthouse Version and Nodes Count

94

Available Information for an Enrolled Opengear Node

94

24.06.0

Contents

7

Lighthouse User Guide

Available Information for an Enrolled Third-party Node

95

Available Licensing Information

95

Available Enrolled Node Cellular Health Information

95

Other SNMP Commands

95

Examples of Lighthouse MIB Queries Using SNMP

96

Setting up Multiple Instances of Lighthouse

97

Setting up Multi Instance

98

Steps to Setup Multi Instance

98

Enabling Alternate REST API Ports

100

Configuring the Alternate REST API

100

Configuring Subnets for a Multiple Instance Lighthouse

100

Configuring the Subnets

101

Configuring Secondary Instances

101

Configuring Secondary Instance Information Prior to Enrollment

102

Unenrolling a Secondary Instance

103

Promoting a Secondary Instance

104

Enable Alerting and Monitoring

105

SNMP Manager Settings

105

Enabling SNMP Manager

105

SNMP Service Settings

107

Enabling the SNMP Service

107

Syslog Server Management

108

24.06.0

Contents

8

View the Configured Syslog Servers Add a New Syslog Server Modify a Syslog Server Delete a Syslog Server Enable Smart Management Fabric Using Smart Management Fabric IP Access Secure Provisioning Secure Provisioning Configuration MANAGING LIGHTHOUSE Managing Subscriptions Viewing Subscriptions Viewing Subscription Assignments Subscription Tiers Adding a New Subscription to Lighthouse Assigning Subscriptions to Nodes Assigning a Single Node to a Subscription Assigning Multiple Nodes to a Subscription Updating a Subscription to Lighthouse Upgrading Lighthouse Overview About the Upgrade Process Prepare to Upgrade Lighthouse

24.06.0

Contents

Lighthouse User Guide
108 108 109 109 110 113 114 114 114 115 115 115 115 116 116 116 117 117 118 118 119 120
9

Upgrading Lighthouse Upgrading a Primary Lighthouse Upgrading Multi Instance Lighthouse Upgrading Lighthouse via the CLI Upgrade via Local Terminal Upgrade via Local File System Upgrade NetOps Modules Upgrade via Lighthouse UI Troubleshooting the Upgrade Process Recovering from a Failed Upgrade Promote a Secondary Lighthouse Restore a Configuration Backup Manually Retry Upgrade Configuration Backup Configuration Restore
Shut Down or Restart Lighthouse Finding the Current Lighthouse Instance Version Version Information within the Lighthouse UI Version Information via the Local Shell Other Information Sources Shut Down a Running Lighthouse Instance Restarting a Running Lighthouse Instance

24.06.0

Contents

Lighthouse User Guide
121 121 122 123 123 124 124 125 125 125 126 126 126 128 128 129 129 130 130 130 131 132
10

Returning a Lighthouse Instance to Factory Settings Restoring Factory Settings
Monitor Jobs View Current or Scheduled Jobs
CONFIGURING LIGHTHOUSE Managing Templates Manage Authentication Templates
Create a New Authentication Template Edit an Authentication Template Delete an Authentication Template Manage Script Templates Create a new Script Template Edit a Script Template Delete a Script Template Manage Smart Management Fabric Templates Create a Smart Management Fabric Template Validating Smart Management Fabric Templates Edit a Smart Management Fabric Template Delete a Smart Management Fabric Template Manage User and Group Templates Create a New User and Group Template Edit a Users and Groups Template

24.06.0

Contents

Lighthouse User Guide
132 132 133 133 134 134 134 134 137 137 137 138 139 139 139 141 143 143 144 144 145 147
11

Edit a Users and Group Template Delete a Group from a Template Delete a User from a Template Delete a Users and Groups Template Deleting Users or Groups from a Template Delete a Group from a Template Delete a User from a Template Push Templates Push a Template Select a Template Select the Target Nodes Run Pre-Flight Test Push the Template Manually Apply NetOps Modules via Template Configuration and Technical Support Reports Configuring Lighthouse for Network Traffic Mirroring Configuring Network Traffic Mirroring for Multiple Instances Troubleshooting Network Traffic Mirroring WORKING WITH LIGHTHOUSE NODES Enrollment Bundles Assigning Subscriptions to a Bundle Creating an Enrollment Bundle

24.06.0

Contents

Lighthouse User Guide
147 147 148 148 149 149 149 150 150 151 151 151 152 152 152 155 156 157 158 158 158 159
12

Structure of an Enrollment Bundle File Manage the Enrollment Settings Enrolling Nodes Enrollment via the Lighthouse Web UI Enrollment via the Node Web UI
From the Node Web UI Enrolling nodes via OM, ACM, CM, and IM Web UI
Enrolling via OM, CM8xxx Web UI Enrolling Via ACM and IM Web UI Enrollment via USB drive Download the Enrollment Bundle Enrollment via USB Managing Nodes View all Nodes Filter Nodes Assign or Remove a Node Tag Approving Pending Nodes Unenrolling Nodes For a Node that has been Enrolled For a Node that is Pending Approval Connect to the Web-Management Interface of a Node Connect from the Dashboard

24.06.0

Contents

Lighthouse User Guide
161 161 162 163 164 165 165 166 166 166 166 166 168 168 168 169 169 170 170 170 170 171
13

Connect from the Nodes Page Connecting to a Node's Serial Ports
From the Nodes Page From the Ports Page Connecting via SSH and Changing the Delimiter Character Connect via the Web Terminal Connect via the Web Terminal Selecting Nodes using Shell-Based Tools Select Nodes Running commands on selected nodes Upgrade Nodes via the UI Firmware Files Uploading a Firmware File Delete a Firmware File Create an upgrade task Cancel an upgrade task Copy a scheduled task Delete an upgrade task Retry an Upgrade Task Node Upgrade Runtime Behaviour Promoting a Secondary Instance to Primary Skipping Versions

24.06.0

Contents

Lighthouse User Guide
171 172 172 172 172 173 174 174 174 175 175 176 176 177 177 179 180 180 180 181 181 182
14

Time Zones Offline Nodes Lighthouse Availability and Stability Operations not Supported Backing up Nodes Managing Ports View Ports for all Nodes View Port Information for a Node Filter Ports Create, Assign or Remove a Tag Accessing Port Logs Accessing Port Logs from the Nodes Page Accessing Port Logs from the Ports Page Manage Resources View Resources Filter Resources Create, Assign or Remove a Resource Tag Connect to a Resource Logging Add a New Resource Bulk Addition of Resources Edit a Resource

24.06.0

Contents

Lighthouse User Guide
182 182 183 183 184 185 185 185 185 186 187 187 187 188 189 189 189 190 191 192 192 192
15

Bulk Update of Resources Delete a Resource
Bulk Deletion of Resources MANAGING FILTERS AND TAGS Managing Filters
Viewing Filters Managing Node Filters Create a Node Filter
Create from the Filter Management Page Create from the Node Filter Control Edit a Node Filter Edit from the Filter Management Page Edit from the Node Filter Control Delete a Node Filter Delete from the Filter Management Page Delete from the Node Filter Control Managing Port Filters Create a Port Filter Create from the Filter Management Page Create from the Port Filter Control Edit a Port Filter Edit from the Filter Management Page

24.06.0

Contents

Lighthouse User Guide
193 193 193 195 195 195 196 196 196 197 198 198 198 199 199 199 200 200 200 201 202 202
16

Edit from the Port Filter Control Delete a Port Filter
Delete from the Filter Management Page Delete from the Port Filter Control Managing Resource Filters Create a Resource Filter Create from the Filter Management Page Create from the Resource Filter Control Edit a Resource Filter Edit from the Filter Management Page Edit from the Resource Filter Control Delete a Resource Filter Delete from the Filter Management Page Delete from the Resource Filter Control Managing Tags Viewing Tags Manage Node Tags Create a New Node Tag Create from the Tags Management Page Edit a Node Tag Edit from the Tags Management Page Delete a Node Tag

24.06.0

Contents

Lighthouse User Guide
202 203 203 203 204 204 204 205 206 206 206 207 207 207 208 208 208 208 208 209 209 209
17

Delete from the Tags Management Page Manage Resource Tags Create a New Resource Tag
From the Tags Management Page Edit a Resource Tag
Edit from the Tags Management Page Delete a Resource Tag
Delete from the Tags Management Page MANAGING LIGHTHOUSE USERS Role Description Managing User Groups
Create a User Group Available Roles: Create a User Group From an Existing Group Edit a User Group Delete a Group Managing Roles CLI Permissions Reference Operation Permissions Reference Create a Role To Create a New Role from an Existing Role: Edit a Role

24.06.0

Contents

Lighthouse User Guide
209 210 210 210 210 210 211 211 212 212 213 213 215 216 216 217 217 217 218 222 222 224
18

Delete a Role Managing Users
Authentication modes Create a Local User
Create User Event Logs Edit a User Disable a User
Disable a Root User Disable a Single User Disable Multiple Users Enable a User Enable a Root User Enable a Single User Delete a User To Delete a Single User Delete Multiple Users Unlock a User Expire a User Password Expiring a User Password Restore a User Password Manage Local Authentication Policy Setting the Password Policy

24.06.0

Contents

Lighthouse User Guide
224 225 225 226 228 228 229 229 230 230 231 231 231 231 231 232 232 233 233 233 233 234
19

Setting the Login Restrictions Configuring Authentication
LDAP Configuration Radius Configuration TACACS+ configuration Configuring SSH Authentication
Configure SSH Authentication SAML Config for SSO Generic IdP Setup Generic IdP SAML Attribute Lighthouse IdP Setup
Examples of Specific IdP Setups Okta Example - Create an Application Onelogin Example - Create an Application Azure Example - Active Directory
Configure AUTH0 for IdP Create an Application (Enterprise applications) Configure AUTH0 Metadata for IdP Configure AUTH0 for IdP
Limitations of SAML Configuration IdP Metadata Certificate Expiry Making Changes to User Permissions

24.06.0

Contents

Lighthouse User Guide
235 235 236 237 238 240 240 241 242 244 245 246 246 249 252 255 255 257 258 258 258 259
20

Lighthouse User Guide

SAML SSO User groups

259

SAML SSO Users

259

ADVANCED FUNCTIONALITY

260

What is a NetOps Module

260

Licensing

260

Managing NetOps Modules

261

NetOps Platform Security

261

Changing Docker IP Ranges

261

NetOps Module Installation

263

Perform NetOps Installation from an Online Repository

263

Perform NetOps Installation from an Offline Repository

263

Perform NetOps Installation from an Offline Repository via CLI

264

Install Modules from the CLI

265

Activate a NetOps Module

265

Preparation

266

Procedure

266

'Always Activate' Mode on All Nodes (Automatic)

266

Procedure

266

Activate NetOps on Selected Nodes (Automatic)

267

Procedure

267

Activate the NetOps Module on Nodes (Manual)

268

Select Nodes

268

24.06.0

Contents

21

Pre-Flight Test Push Deactivate (remove) a NetOps Module Deactivate and Remove a NetOps Module via the API Deactivate and Remove NetOps Modules via CLI Secure Provisioning Secure Provisioning Configuration Management Stateless File Management Stateful Device Management Gateway How Secure Provisioning Works Support for Secure Provisioning Vendor Resources Supported by Secure Provisioning Connect to a Target Device Local Network Services Provided by Nodes Default Gateway DNS Server NTP Server Syslog Server Secure Provisioning Configuration Device Resource Bundle Node Inventory Create a Device Configuration

24.06.0

Contents

Lighthouse User Guide
269 269 269 269 270 270 271 272 272 273 274 275 275 276 276 277 277 277 277 278 278 279
22

Example configuration files CLI based Workflow
Create Configuration YAML Define a Static Inventory: Define a Dynamic Inventory: How UI Fields Correspond to the YAML File (Example) Upload Configuration and Resources Option A. Secure Copy Method Option B. git Method Additional Resource Files and Device Type Files Configure Device Resources via ZTP Device Resource Bundle Matching Resource Distribution Baseline vs Final Device Configuration Run a Script on a Newly Provisioned Device Monitor the ZTP Progress of a Resource WAN Gateway Services Advanced Options Using Variables in Configuration File Templates Post-provisioning Scripts Ordered Provisioning Troubleshooting Secure Provisioning

24.06.0

Contents

Lighthouse User Guide
279 281 282 284 285 286 289 289 290 291 292 292 293 293 294 295 295 296 296 298 299 300
23

Secure Provisioning consists of several Docker containers Troubleshooting Commands for NetOps Modules IP Access Connectivity Advanced Options Connecting to WAN Zone Network Access Policies for Operations Manager Understanding Access Policies Setting up Network Access Policies To set Access policies Troubleshooting IP Access View the Docker logs Using the Routing Table Automation Gateway Differences Between IP Access and Automation Gateway IP Access Automation Gateway How to use Automation Gateway To Activate the Automation Gateway on an Enrolled Node Connect with REST/HTTP/HTTPS APIs Automation Gateway Service Discovery Accessing Multiple VLANs or Ports

24.06.0

Contents

Lighthouse User Guide
300 301 301 302 304 304 305 306 306 306 307 307 309 310 311 311 311 312 312 313 316 317
24

Group memberships Firewall Zones Multiple Layer 3 Network Connections COMMAND LINE TOOLS cert_manage Sub-Command :: run Sub-Command :: renew Sub-Command :: show Sub-Command :: validity Sub-Command :: offset Sub-Command :: logs cron mass_enroll_nodes mass_unenroll_nodes node-command node-info Example node-upgrade Exit Status Output Messages Example support-report

24.06.0

Contents

Lighthouse User Guide
317 317 317 319 320 322 323 324 325 325 326 328 330 332 335 337 338 339 341 341 342 343
25

Example sysflash traffic_mirroring
Example :: Enable Example :: Status Example :: Test Example :: Disable GLOSSARY

Lighthouse User Guide
344 345 347 349 349 349 349 350

24.06.0

Contents

26

Lighthouse User Guide
WHAT'S NEW
Following are the new features available in Lighthouse 24.06.
UI ENHANCEMENTS
l Updated user interface and work flows. l Reworked navigation and menus. l Updated styling and icons.
CONNECTED RESOURCE GATEWAY
l New feature to build and manage a catalog of resources that are within the Smart Management Fabric (SMF) discovered networks.
l Support for clientless network access to resources via either SSH, HTTP, or HTTPS proxy services.
l Accessed via the new Resources page.
RESOURCE TAGGING
l Support for user defined resource filters. l Support for user defined tags. l User group access control with resource filters. l Searching with Resource Filters. l Port Tags have been renamed to Resource Tags in the UI and API expanding it's functionality
to cover both Serial Ports and Resources.

24.06.0

What's New

27

Lighthouse User Guide
CERTIFICATE HANDLING ENHANCEMENTS
l Automatic renewal of node and other certificates used to authenticate to Lighthouse. l Configuration of certificate management via the new cert_manage CLI command
AWS LIGHTHOUSE
l For fresh AWS installs, a new default super user account lhadmin is provided and should be used for initial configuration.
l By default, root login is now disabled over SSH for new installs. Existing AWS installs are unaffected.
l By default, password authentication is now disabled over SSH. Existing AWS installs are unaffected.
l Added support for AWS Lighthouse to allow login on IPv6-only subnets, enabling access for instances without public IPv4 addresses or any IPv4 addresses.
SMART GROUP RENAMING
l Smart Groups are now renamed to Node Filters within the Lighthouse UI. However, Smart Groups retain their naming within the CLI and API.

24.06.0

What's New

28

Lighthouse User Guide
ABOUT THIS USER GUIDE
This user guide describes how to use Lighthouse and is current as of 24.06. When using a minor release, there may or may not be a specific version of the user guide for that release.

24.06.0

About This User Guide

29

Lighthouse User Guide
LIGHTHOUSE OVERVIEW
Lighthouse allows you to centrally access, manage, and monitor a network of Opengear devices (referred to as nodes throughout this guide). With the Automation Edition subscription, you can access the Smart Management Fabric to monitor resources in your network. Lighthouse is a virtual machine that can be hosted on various platforms like VMware or Hyper-V (on customer hardware) or on supported cloud providers (AWS or Azure).
LIGHTHOUSE ARCHITECTURE
Lighthouse is an API-driven platform that provides secure access to remote networks regardless of how devices are connected or how a user interacts with the system. In combination with select Opengear Appliances, Lighthouse can push and manage Docker containers to each remote location to provide additional functionality and automation. Users with the Lighthouse Automation Edition can enable Smart Management Fabric to allow all devices connected to a supported Opengear node to have direct routed IP access with each other. For example: l A user with access to Lighthouse from a device that is attached to the management subnet can
access any enrolled Opengear node and the third-party network equipment attached to the enrolled Opengear node via routed IP. l An enterprise user connected to an IP network with a route to an enrolled Opengear device can access any other enrolled Opengear device (via IP). l Devices attached to Opengear nodes can use IP routed connectivity to other devices attached to other Opengear nodes. l Network automation and configuration tools deployed on centrally located servers can use IP routed connectivity to devices and systems attached to Opengear nodes. For example, vCenter is the configuration tool and it is used to provision eSXI server instances attached to Opengear nodes.

24.06.0

Lighthouse Overview

30

Lighthouse User Guide
Note: The Smart Management Fabric represents an advanced functionality designed to offer heightened flexibility and accessibility to network and IT professionals throughout the network fabric. However users must acknowledge the potential risk of overexposing the network, which could lead to bypassing Layer 2 or Layer 3 access control measures.
Nodes connect to a central Lighthouse instance over an OpenVPN tunnel, and are accessed, managed, and monitored via services transported over the VPN tunnel.

24.06.0

Lighthouse Overview

31

Lighthouse User Guide
Note: This diagram depicts Lighthouse set up in a High Availability configuration. If there is no secondary Lighthouse, the setup remains the same but without the secondary elements.
THE LIGHTHOUSE VIRTUAL MACHINE REQUIREMENTS
Lighthouse deploys as an application running in a Linux-based virtual machine (VM). To run a Lighthouse VM, the host computer must be able to run a VM manager and at least one full 64-bit Linux-based virtual machine. The Lighthouse binary is available in Open, VMware and Hyper-V specific Virtual Machine formats. VM managers such as Boxes, KVM and VirtualBox can make use of the open format. Lighthouse binaries are also available for cloud hosting services including Amazon's AWS, and Microsoft Azure. NetOps modules are released independently of Lighthouse software or Operations Manager firmware. These releases are shipped to Amazon's ECR Public Gallery, where they can be fetched by Lighthouse then deployed to all activated nodes by Lighthouse. NetOps modules can also be downloaded off the Opengear FTP site, and uploaded manually on Lighthouse. To host Lighthouse, the VM needs to be configured to support: l A minimum 50GB SCSI disk. Start with more if you think your network will expand. Additional
space may be required depending on your feature usage on Lighthouse and the scale of the network. l 1 x network interface card, preferably paravirtualised (virtio, vmxnet3), Realtek rtl8139, or Intel e1000 are also supported, bridged. l VGA console for initial setup.
Tip: CPU and RAM utilization increase with the number of enrolled nodes, network utilization and storage.

24.06.0

Lighthouse Overview

32

CPU AND RAM GUIDELINES
No. Nodes
< 500 500 - 1000 > 1000 Nodes

Min. CPU Cores
4 x 64-bit CPU cores 8 x 64-bit CPU cores 16 x 64-bit CPU cores

Lighthouse User Guide
Min. RAM
16GB 32GB 64GB

ENABLING SMART MANAGEMENT FABRIC GUIDELINES

No. Nodes

Min. CPU Cores

> 1000 Nodes

16 x 64-bit CPU cores

Min. RAM
64GB

Tip: For large deployments, please contact us for guidance on the deployment options, including low and zero-touch enrollment.
LIGHTHOUSE TO NODE INTERACTIONS
When a node is enrolled to Lighthouse, a Virtual Private Network (VPN) tunnel is established between Lighthouse and the node. This provides secure encrypted IP networking, which is resilient to changes in the underlying network (such as node failover to cellular). Lighthouse interacts with the node over the VPN tunnel, mostly via the node's REST API and SSH. Nodes notify Lighthouse of changes to their configuration and status.

24.06.0

Lighthouse Overview

33

Lighthouse User Guide
The node web UI is accessible directly through Lighthouse and is proxied via the VPN. This allows secure user access to the node even if it is behind a firewall with no direct HTTPS access.
LIGHTHOUSE CERTIFICATE MANAGEMENT
Lighthouse uses X.509 certificates for node authentication to the Lighthouse VPN and REST API. Certificates are issued by the internal Lighthouse certificate authority as part of the node enrollment process, and are automatically renewed by Lighthouse before expiry. The replacement certificates are pushed from Lighthouse to connected nodes. Lighthouse will manage certificates automatically, and no action needs to be taken by the customer. However, there are some things to be aware of: l Node certificates are revoked by Lighthouse when a node is unenrolled, or when the certificate
has been replaced (after the replacement certificate has been used to successfully connect to the Lighthouse VPN). Revoked certificates cannot be used to authenticate to the Lighthouse VPN or REST API. l The Lighthouse CA can be revoked after it has been renewed once all nodes have been notified of the change. Remediate or unenroll any disconnected nodes to complete this operation. l If a node is disconnected from Lighthouse for an extended period of time, it may not be possible to push the updated certificate to the node. Lighthouse will retry the push job regularly until the node's existing certificate has expired, at which point the node will have to be manually reenrolled.
PRECAUTIONS
If an old Lighthouse configuration backup is restored to Lighthouse, the node certificate details in the backup may no longer match those on the nodes themselves, in which case the nodes will fail to connect to Lighthouse. Please ensure configuration backups of Lighthouse are kept up to date.

24.06.0

Lighthouse Overview

34

Lighthouse User Guide
Similarly, if a node has its configuration restored from an old backup, its certificate may no longer match the one expected in Lighthouse. In these cases, it will be necessary to unenroll and reenroll the node. To avoid these situations, please ensure configuration backups of nodes are kept up to date.
Note: There is a limitation on Operations Manger (OM) and Console Manger CM8XXX nodes where a Lighthouse VPN connection configuration is not retained in the node backup.
The Lighthouse VPN certificate and client certificates validity periods should be no greater than the CA certificate used to issue them. The existing certificate validity periods can be seen by running the show sub-command and the pre-configured defaults by using the --defaults option. Lighthouse will automatically process scheduled certificate updates daily at 1 AM Lighthouse system time. Under normal circumstances there is no need to run cert_manage run manually.
CONFIGURATION
The cert_manage command can be used to control various aspects of certificate management in Lighthouse. The default settings are recommended, and should only be changed with caution. Only users with sudo access on the primary Lighthouse CLI (for example, via the admin group) can configure certificate management.
Note: All functionality is available only via the Lighthouse CLI. There is no UI or REST API interface for the certificate management feature. The Jobs page on the Lighthouse UI will show node certificate update jobs.

24.06.0

Lighthouse Overview

35

Lighthouse User Guide
SCHEDULING
Certificate renewal jobs are scheduled using cron to run at 1 AM (Lighthouse system time), every day. An administrator may choose to update the frequency of the cron job under /etc/cron.d/rotate_certificates.cron.
LOG FILE
The certificate management logs can be found in /var/log/cert_manager.log.
USING MULTIPLE LIGHTHOUSES
Lighthouse offers high availability with the Multiple Instance feature, which allows you to set up secondary instances of Lighthouse. The secondary Lighthouses automatically replicate the database from the primary Lighthouse instance, and maintains connections to all of its enrolled nodes. Secondary instances may be used to view Lighthouse information specific to that instance, and to connect to its nodes via pmshell. Configuration changes must be performed on the primary Lighthouse instance, which will then update the information displayed on the secondary instance.
Note: Secondary Lighthouse user interfaces are read-only.
The multiple instance feature has the following limitations: l If external network addresses on the primary or secondary Lighthouses are updated after a
secondary Lighthouse has been enrolled, it may break replication. l Up to ten secondary instances can be enrolled. l Ensure that you re-configure instance specific settings such as hostname, external endpoints,
and time zone on a secondary instance before adding the secondary instance to the primary Lighthouse in a normal way through UI.

24.06.0

Lighthouse Overview

36

Lighthouse User Guide
l Only secondary Lighthouse instances with zero nodes can be enrolled to the primary Lighthouse.
l Removing a secondary Lighthouse instance will initiate a factory reset of the removed Lighthouse.
EULA AND GPL
The current Opengear end-user license agreement can be found at Opengear License EULA | Digi International.

24.06.0

Lighthouse Overview

37

LIGHTHOUSE USER INTERFACE

Lighthouse offers a easy to navigate interface to manage your network.
LIGHTHOUSE USER INTERFACE SECTIONS

The user interface consists of the following main sections:

Section

Description

Lighthouse User Guide

Header pane

Provides access to the help menu and information for the Lighthouse instance as well as a shortcut to enroll a node

Settings panel

Location for the Lighthouse settings including: users and account management menu, settings menu and user options.

Menu pane

Access to the key dashboards for managing nodes, ports, connected resources, jobs along with tools for configuring nodes, access to a local web-based terminal and NetOps management.

24.06.0

Lighthouse User Interface

38

Section

Description

Main pane

This is the main information pane and displays the Lighthouse pages.

Lighthouse User Guide

SETTINGS PANE

The settings pane provides access for the following:

Users & Accounts

Expand this to access options for managing Lighthouse users and accounts including configuration of groups and roles, authentication policies and SSH settings.

Settings

Expand this to access options for managing Lighthouse settings including configuration of filters and tags, multi instance settings, Lighthouse services, and general system settings.

Personalization

Expand to set the Lighthouse user interface theme and access the sign out option.

USERS & ACCOUNTS MENU ITEMS

Menu Item

Description

Groups and Roles

Access to managing user groups and roles within Lighthouse.

24.06.0

Lighthouse User Interface

39

Lighthouse User Guide

Menu Item

Description

Local Authentication Policy

Manage the Lighthouse password policy as well as login restrictions.

Local Users

Access to managing the local Lighthouse users, which user group they are linked to and the inherited permission sets applied from the user groups.

Remote Authentication

Configure and manage settings for remote authentication. Lighthouse supports local users only or remote authentication via Radius, TACACS+ and LDAP servers.

SSH Authentication

Access to configuring the SSH for password authentication and connection as Root User.

SETTINGS MENU ITEMS

FILTERS AND TAGS

Menu Item

Description

Filters

Manage filters for nodes, ports and resources. The filters are selectable in the main dashboards.

Tags

Manage tags that can be applied for nodes and resources.

MULTI INSTANCE Menu Item Multi Instance VPN

Description Access to setup the range for VPN tunnels between the primary and Secondary

24.06.0

Lighthouse User Interface

40

Lighthouse User Guide

MULTI INSTANCE Menu Item
Secondary Lighthouse

Description Lighthouses. Manage secondary Lighthouses.

SERVICES

Menu Item

Description

Alerting and Monitoring

Manage setup and configuration for SNMP and SYSLOG services.

Cell Health Reporting

Enable and configure cell health reporting signal quality range and frequency of reporting.

Console Gateway

Configure the port delimiter and SSH address for the console gateway.

HTTPS Certificate

Manage the Lighthouse SSL certificate.

Lighthouse VPN

Setup the range for VPN tunnels between the Primary Lighthouse and Nodes, as well as the Smart Management Fabric network range.

Node Backup

Enable backup and storage of the node backups.

Smart Management Fabric

Enable functionality utilizing dynamic routing protocols.

24.06.0

Lighthouse User Interface

41

Lighthouse User Guide

SYSTEM

Menu Item

Description

Backup, Restore and Reset

Backup and restore Lighthouse configurations, and access to performing a reset of the system to factory defaults.

Network Interfaces

Manage and configure the available network interfaces.

Network Settings

Setup the network settings and manage any external IP addresses or DNS names of the system.

Session Settings

Access to managing idle timeout periods for both Web UI and CLI sessions.

Subscriptions

Manage available subscriptions and node assignments.

System Upgrade

Perform a system upgrade.

Time Settings

Manually configure timezone information or set to automatic and configure the Network Time Protocol servers.

PERSONALIZATION MENU ITEMS

Menu Item

Description

Theme

Select between Light, System and Dark themes.

Sign Out

Sign out of the Lighthouse session.

24.06.0

Lighthouse User Interface

42

Lighthouse User Guide

MENU PANE

The navigation pane is used to access the following:

Menu Section

Description

Dashboard

The Dashboard provides an overview of the Lighthouse instance showing current status of the nodes and the cell health.

Jobs

Provides an overview of currently running jobs and access to those jobs previously completed.

Nodes

Displays a grid of nodes either enrolled in Lighthouse or are pending enrollment.

Ports

Dashboard showing the status of all ports connected to node for which you have permissions to view/edit.

Resources

Access to managing connected resources.

Terminal

Access to the Lighthouse local web-based terminal.

Node Tools NetOps

Expand this menu to manage config templates, enrollment bundles and firmware updates.
Expand this menu for access to components that enable automation of specific operational scenarios deployed as Docker containers.

NODE TOOLS MENU ITEMS
The Node Tools menu section provides access to the following:

24.06.0

Lighthouse User Interface

43

Lighthouse User Guide

Menu Item Config Templates Enrollment Bundles Enrollment Settings Firmware Upgrade

Description Create and manage config templates to push to the nodes. Create and manage enrollment bundles. Manage the token nodes use to request an enrollment and the default subscript to use for call home node enrollments. Schedule and manage firmware updates.

NETOPS MENU ITEMS

The NetOps menu section provides access to the following:

Menu Item

Description

Manage NetOps Modules

Manage and redeploy NetOps Modules.

NetOps Installation

Install NetOps modules.

IP Access

Manage settings for the IP Access NetOps module.

Automation Gateway

Manage your network using automation tools.

HELP AND SYSTEM INFORMATION PANE
The help and system information pane provides access for the following:

24.06.0

Lighthouse User Interface

44

Enroll Node Help System Information

Lighthouse User Guide
Shortcut to enroll a node. Selecting this will display the ENROLL NODES dialog.
Expand this menu to access the help options.
Display the system information panel that shows the software and API version information, and the licensing subscription summary. Selecting View Details will display the subscriptions dashboard.

HELP MENU ITEMS

Menu Item

Description

Generate Technical Support Report

Create and download a report to assist the support teams.

View User Manual

Link to the latest published Lighthouse user documentation.

Visit Support Website

Link to technical support contact information as well as the Opengear Customer Portal resources.

GRIDS AND CONTROLS
On some pages in Lighthouse, data will be displayed in grids. You can select items, sort the information and filter the data displayed.

24.06.0

Lighthouse User Interface

45

Lighthouse User Guide
MULTI-SELECT AND ACTIONS
By selecting check boxes to the left of the rows, you can take action on multiple items at once. The available actions will be displayed above the top row of the grids. If you click the check box at the top, it will select all check boxes under it.
FILTERING THE DATA
Select the Filter control to select and manage custom filters.

24.06.0

Lighthouse User Interface

46

Lighthouse User Guide
SORTING DATA ON A GRID COLUMN
Some columns support sorting the values in the column in ascending or descending order. Hover over the column name to show the sort control. Click to modify the column sort order.
HOW TO SEARCH
Enter a term in the search control to filter the results. The AND operator is used if more than one search term is entered. To enter a multi word search phrase, enclose them in double quotes.

24.06.0

Lighthouse User Interface

47

Lighthouse User Guide

INSTALLING LIGHTHOUSE
To install Lighthouse you require: l A virtual machine (VM) that can support a 50GB disk at minimum. l The correct image file.
LIGHTHOUSE VIRTUAL MACHINES
Lighthouse VM is available in several formats on our secure ftp sites, from where you can download and verify the checksums and install the appropriate files. Ensure you use the correct file for your upgrade.
Note: SHASUMS files to verify the download are available with the install packages.

LIGHTHOUSE VM FILES
Filename Format
lighthouse-<year>-<month>-<version>-ovf.zip
lighthouse-<year>-<month>-<version>-vmx.zip
lighthouse-<year>-<month>-<version>.ova
lighthouse-<year>-<month>-<version>.lh_upg

Description
An Open Volume Format file inside a PKZIP archive. This is for use with virtual machine managers such as KVM and Virtual Box.
A VMware configuration file inside a PKZIP archive. This is for use with virtual machine managers from VMware..
An Open Virtual Appliance file. This is for use with virtual machine managers such as VM and Virtual Box as well as for use with virtual machine managers from VMware.
An upgrade file.

24.06.0

Installing Lighthouse

48

LIGHTHOUSE AWS VM FILES
Filename Format
lighthouse-<year>-<month>-<version>>.azure.lh_upg
lighthouse-<year>-<month>-<version>.azure.zip

Description An upgrade file. Azure deployment files.

Lighthouse User Guide

LIGHTHOUSE AZURE VM FILES

Filename Format
lighthouse-<year>-<month>-<version>.aws.lh_upg

Description An upgrade file.

llighthouse-<year>-<month>-<version>.aws.raw.tar

AWS deployment file.

lighthouse-aws-bootstrap.sh

A shell script for deploying on AWS.

LIGHTHOUSE HYPER-V VM FILES

Fileilename Format
lighthouse-<year>-<month>-<version>.hyperv.zip

Description Hyper-V deployment file.

24.06.0

Installing Lighthouse

49

Lighthouse User Guide
INSTALLING LIGHTHOUSE VM ON VMWARE
This section describes how to install Lighthouse VMs on VMware hosts including: l VMware vSphere 6.0 client on Windows l VMware Workstation Player on Windows l VMware Workstation Pro on Windows
VMWARE VSPHERE 6.0 CLIENT ON WINDOWS
This procedure was tested using the VMware Sphere Client 6.0 running on Windows 7 Enterprise SP 1.
REQUIREMENTS
Ensure the following preconditions are met before you start installation: l VMware vSphere 6.0 is installed and running on available hardware. l Access to a Windows computer on which the VMware vSphere 6.0 client is installed. l The installed client application must be able to connect to and manage the VMware vSphere
6.0 instance. l Finally, a copy of the Lighthouse binary in Open Volume Format is required, the .ovf file,
either copied to the Windows computer running the VMware vSphere 6.0 client or available via a URL.
LAUNCH THE VSPHERE CLIENT AND CONNECT TO A VSPHERE INSTANCE.
1. Launch the VMware vSphere Client. The simplest way is to use the Start Menu shortcut added during installation:

24.06.0

Installing Lighthouse

50

a. Start > All Programs > VMware > VMware vSphere Client. b. The VMware vSphere Client opens a login window.

Lighthouse User Guide

2. Select the IP address or name of the VMware vSphere instance where Lighthouse will be installed from the IP address/Name drop-down list.
3. Enter the User name and Password required to gain management privileges to the selected VMware vSphere instance.
4. Click Login or press Return.
5. The login window displays progress text in the bottom left corner: Connecting Loading inventory Loading main form Displaying main form
6. The vSphere main form window opens.

24.06.0

Installing Lighthouse

51

Lighthouse User Guide
IMPORT THE LIGHTHOUSE VM OPEN VOLUME FORMAT IMAGE
To import the Lighthouse VM: 1. From the vSphere Client menu bar, choose File > Deploy OVF Template.
The Deploy OVF Template window displays, with the first stage, Source, pre-selected. 2. If the file Opengear Lighthouse VM.ovf is on a remote computer via a URL, enter the URL
in the Deploy from a file or URL field. Otherwise, click Browse. An Open dialog displays. a. Navigate to the directory containing the file Opengear Lighthouse VM.ovf. b. Select Opengear Lighthouse VM.ovf and click Open. 3. The Deploy OVF Template window opens again, with the Opengear Lighthouse VM.ovf file listed in the Deploy from a file or URL combo-box. Click Next. 4. The OVF Template Details stage displays, showing basic information about the Lighthouse VM encapsulated by the .ovf file. Click Next. 5. The Name and Location screen displays with the Name field pre-populated and pre-selected. The default name is Opengear Lighthouse VM. To change this, enter a new name. Click Next. 6. The Disk Format screen displays which data-store the Lighthouse VM's virtual disk uses, how much free space the virtual disk has available and which provisioning scheme is being used. Click Next. 7. The Network Mapping screen shows which destination or inventory network the Lighthouse VM's virtual network is mapped to. Click Next. 8. The Ready to Complete screen displays, listing the basic properties of the about-to-bedeployed virtual machine. To be able to power-up the new virtual machine after deployment, select the Power on after deployment checkbox. Click Finish. 9. The Deploying Opengear Lighthouse VM progress dialog displays.

24.06.0

Installing Lighthouse

52

Lighthouse User Guide

10. Once deployment has finished the Deployment Completed Successfully alert displays. Click Close. The new virtual machine is now deployed and displays in the inventory list.
LAUNCH LIGHTHOUSE
The vSphere Client provides several ways of launching a Virtual Machine hosted on a vSphere instance. Begin by selecting the Lighthouse VM from the vSphere Client's inventory list. The selected VM can then be launched by doing one of the following: l Select Inventory > Virtual Machine > Power > Power On. l Press Ctrl-B. l Click the Power On the virtual machine link in the Basic Tasks section of the Getting Started
tab. This option requires the Getting Started tab be front-most. If it is not already the front-most tab, make it active by clicking it. l Select Inventory > Virtual Machine > Open Console and then: l Click Power On in the console tool bar, or l Choose VM > Power > Power On from the console menu bar, or l Press Ctrl-B.

24.06.0

Installing Lighthouse

53

Lighthouse User Guide
Note: Only the fourth option above results in the running virtual machine being accessible from within the vSphere Client. The first three boot the Lighthouse VM and run it as a headless system, that is, with no display on a monitor. However, you can access Lighthouse via the web UI or SSH.
ACCESS THE CONSOLE OF A RUNNING BUT HEADLESS LIGHTHOUSE INSTANCE
If direct interaction with a running but headless Opengear Lighthouse VM is required, open a console window. Select the running Opengear Lighthouse VM in the vSphere Client's inventory list, then do one of the following: l Select Inventory > Virtual Machine > Open Console or l Right-click and select Open Console from the context menu that displays.
VMWARE WORKSTATION PLAYER ON WINDOWS AS HOST
Follow these steps when VMware Workstation Player is installed on the host Windows machine. VMware-ready virtual machine files are stored in C:\Users\%USERNAME%\Virtual Machines\. This is the location selected by default by VMware Workstation Player. If another location is preferred, adjust this procedure as required. Prepare the Lighthouse VM file for import into VMware Workstation Player: 1. Move the lighthouse-<year>-<month>-<version>-vmx.zip archive to
C:\Users\%USERNAME%\Virtual Machines\. 2. Right-click the archive and select Extract All from the contextual menu. 3. A Select a Destination and Extract Files dialog opens. By default, the location is the same
folder as the archive is in: C:\Users\%USERNAME%\Virtual Machines\. Leave this as the destination folder.

24.06.0

Installing Lighthouse

54

Lighthouse User Guide
4. Uncheck the Show Extracted Files When Complete checkbox and then click Extract. 5. A folder called lighthouse is created inside C:\Users\%USERNAME%\Virtual Machines\.
IMPORT THE OPENGEAR LIGHTHOUSE VM FILE INTO VMWARE WORKSTATION PLAYER
1. Launch VMware Workstation Player. 2. Click Open a Virtual Machine. 3. Navigate to C:\Users\%USERNAME%\Virtual Machines\lighthouse\.
VMware Workstation Player points to Libraries > Documents and includes C:\Users\%USERNAME%\My Documents\. Assuming this is the case, double-click Virtual Machines and then double-click Lighthouse. 4. If only one file, Lighthouse, is visible, double-click on it to add the Lighthouse virtual machine to the VMware Workstation 12 Player virtual machines list. If more than one file displays, double-click Lighthouse.vmx. 5. The Lighthouse virtual machine is added to the VMware Workstation 12 Player virtual machines list. 6. With Opengear Lighthouse VM selected in the VMware Workstation 12 Player virtual machine list, click Play Virtual Machine to boot Lighthouse.
VMWARE WORKSTATION PRO ON WINDOWS AS HOST
This procedure assumes VMware Workstation Pro is already installed on the host Windows machine, and that VMware-ready virtual machine files are stored in C:\Users\%USERNAME%\Virtual Machines\. If another location is preferred, adjust the steps as needed.
IMPORT THE LIGHTHOUSE VM FILE INTO VMWARE WORKSTATION PRO
Step 1. Preparation:

24.06.0

Installing Lighthouse

55

Lighthouse User Guide
This step prepares the Lighthouse VM File for import into VMware Workstation Pro. 1. Move the lighthouse-<year>-<month>-<version>-vmx.zip archive to
C:\Users\%USERNAME%\Virtual Machines\. 2. Right-click the lighthouse-<year>-<month>-<version>-vmx.zip archive and select
Extract All from the contextual menu. 3. A Select a Destination and Extract Files dialog opens. The location is the same folder as the
PKZip archive is in: C:\Users\%USERNAME%\Virtual Machines\. Leave this as the destination folder. 4. Uncheck the Show Extracted Files When Complete checkbox and then click Extract. 5. A folder called lighthouse is created inside C:\Users\%USERNAME%\Virtual Machines\. Step 2. Import Lighthouse VM File: 1. Click Open a Virtual Machine. 2. Navigate to C:\Users\%USERNAME%\Virtual Machines\lighthouse\. 3. VMware Workstation Pro points to Libraries > Documents and this library includes C:\Users\%USERNAME%\My Documents\. Double-click Virtual Machines and then doubleclick Lighthouse. 4. If only one file, Lighthouse, displays, double-click the file to add the Lighthouse virtual machine to the VMware Workstation Pro virtual machines list. If more than one file displays, double-click Lighthouse.vmx. 5. The Lighthouse virtual machine is added to the VMware Workstation Pro virtual machines list. 6. With the Opengear Lighthouse VM selected in the My Computer listing and the subsequent Opengear Lighthouse VM tab open, click Power on this virtual machine to boot Lighthouse.
INSTALLING LIGHTHOUSE VM ON HYPER-V ON WINDOWS
This section describes how to install Lighthouse VMs on Hyper-V on Windows:

24.06.0

Installing Lighthouse

56

Lighthouse User Guide
l Hyper-V running on Windows 10 or Windows Server 2016. l VirtualBox deployments.
LOCAL DEPLOYMENT ON HYPER-V
This procedure assumes Hyper-V is already installed on a Windows 10/Windows Server 2016 host machine and the required Zip archive, -hyperv.zip is in C:\Users\%USERNAME%$\Downloads. 1. Unzip lighthouse-<year>-<month>-<version>-hyperv.zip. 2. Navigate to the extracted folder. Make sure lighthouse.vhd and lighthouse_virtual_
machine_registration.ps1 are in the folder. 3. Right-click and choose Run with Powershell to execute the Powershell script. 4. Leave the host name empty when prompted to deploy Lighthouse to local machine. 5. Launch Hyper-V Manager. Lighthouse should be registered as a new VM image under Virtual
Machine. 6. Select Lighthouse from the list and click Start in the Action Panel to boot Opengear
Lighthouse.
REMOTE HYPER-V DEPLOYMENT WITH PRE-AUTHENTICATED USER
In this scenario, the user who performs Lighthouse deployment does not have local access to Hyper-V installed on Windows 2016. However, user has access to a Windows 10 which can manage the Hyper-V server remotely. This procedure assumes Hyper-V is installed on Windows Server 2016 (or later) host machine and the required Zip lighthouse-<year>-<month>-<version>-hyperv.zip is in C:\Users\%USERNAME%$\Downloads. Windows 10 is already configured to manage Hyper-V on Windows Server 2016.

24.06.0

Installing Lighthouse

57

Lighthouse User Guide
Note: Windows 10 and Windows Server 2016 must have the same user (same password) created. The user who performs the deployment must have permission to both execute the Powershell script and deploy the image on Hyper-V.
1. Login to Windows 10 with the user mentioned above. 2. Unzip lighthouse-<year>-<month>-<version>-hyperv.zip. 3. Navigate to the extracted folder. Make sure lighthouse.vhd and lighthouse_virtual_
machine_registration.ps1 are in the folder. 4. Right-click and choose Run with Powershell to execute the Powershell script. 5. Enter the fully qualified domain name for Windows Server 2016 when prompted to deploy
Lighthouse to the remotely-managed Windows Server 2016 machine. 6. Launch Hyper-V Manager. Lighthouse should be registered as a new VM image under Virtual
Machine for Windows Server 2016. 7. Select Lighthouse from the list and click Start in the Action Panel to boot Opengear
Lighthouse.
VIRTUALBOX DEPLOYMENTS
Lighthouse can be installed on the following hosts: l VirtualBox on Windows as host l VirtualBox on macOS as host l VirtualBox on Ubuntu as Host l VirtualBox on Fedora Workstation as host

24.06.0

Installing Lighthouse

58

Lighthouse User Guide
VIRTUALBOX ON WINDOWS AS HOST
Note: We recommend that VirtualBox users customize their instances and change their network cards to one other than e1000. We also suggest virtio for better performance.
This procedure assumes VirtualBox is already installed on the host machine and the required PKZIP archive, lighthouse-<year>-<month>-<version>-ovf.zip is in C:\Users\%USERNAME%$\Downloads. 1. Unzip lighthouse-ovf. It may appear as lighthouse-<year>-<month>-<version>-
ovf.zip depending on the Windows Explorer preference settings). 2. Right click the lighthouse-ovf archive and select Extract all from the context menu. 3. The Select a Destination and Extract Files dialog opens. The destination is
C:\Users\%USERNAME%\Downloads\Lighthouse-ovf. 4. Uncheck the Show extracted files when complete checkbox and edit the destination by
removing Lighthouse-ovf from the path. 5. Click Extract. 6. A folder called lighthouse-ovf is created inside C:\Users\%USERNAME%\Downloads\. 7. Launch VirtualBox. 8. The Oracle VM VirtualBox Manager window displays. 9. Choose File > Import Appliance. 10. The Appliance to Import dialog opens. 11. Click Expert Mode. 12. The Appliance to import dialog changes from Guided Mode to Expert Mode. 13. Click the icon of a folder with an upward pointing arrow superimposed. This icon is to the far
right of the Appliance to import field.

24.06.0

Installing Lighthouse

59

Lighthouse User Guide
14. The Open File dialog displays with C:\Users\%USERNAME%\Documents as the current folder.
15. Navigate to C:\Users\%USERNAME%\Downloads\Lighthouse.ovf\Opengear Lighthouse VM\.
16. Select the file Opengear Lighthouse VM and click Open. 17. Double-click the text vm in the Name row and Configuration column to make it editable. 18. Type Opengear Lighthouse VM and press Enter. 19. Click Import. 20. A new virtual machine, called Opengear Lighthouse VM is added to the list of virtual machines
available to Virtual Box. 21. Select Opengear Lighthouse VM from the list. 22. Select Machine > Settings or click the Settings icon in the VirtualBox Manager toolbar or
press Control+S. 23. The Opengear Lighthouse VM - Settings dialog displays. 24. Click the System option in the list of options running down the left-hand side of the dialog. 25. The dialog shows the System options available as three tabs: Motherboard, Processor, and
Acceleration. Depending on the underlying hardware platform, Acceleration may be greyedout and unavailable. The Motherboard tab is preselected. 26. In the Motherboard tab, select the Hardware Clock in UTC Time checkbox. 27. Click OK or press Return. 28. Select Opengear Lighthouse VM from the list and click Start in the Oracle VM VirtualBox Manager toolbar to boot Lighthouse. Double-clicking Opengear Lighthouse VM in the list also boots Lighthouse.

24.06.0

Installing Lighthouse

60

Lighthouse User Guide
Note: Selecting the Hardware Clock in UTC Time checkbox is necessary because Lighthouse expects the hardware clock to be set to UTC, not local time. Unlike other Virtual Machine Managers, Virtual Box both exposes this option as a user-adjustable setting and does not set it to UTC by default.
VIRTUALBOX ON MACOS AS HOST
VirtualBox should already installed on the host macOS machine and the required PKZIP archive, lighthouse-<year>-<month>-<version>-ovf.zip is in ~/Downloads. 1. Unzip lighthouse-<year>-<month>-<version>-ovf.zip.
This creates a folder Lighthouse-ovf in ~/Downloads that contains the following files and folders:

2. Launch Virtual Box. The Oracle VM VirtualBox Manager window displays. 3. Select File > Import Appliance or press Command+I. 4. The Appliance to Import dialog sheet slides down from the Oracle VM VirtualBox Manager
toolbar. 5. Click Expert Mode.
The Appliance to Import dialog sheet changes from Guided Mode to Expert Mode. 6. Click the icon of a folder with an upward pointing arrow superimposed. This icon is to the far-
right of the Appliance to Import field. 7. The Open File dialog sheet slides down from the Oracle VM VirtualBox Manager toolbar.
This sheet opens with ~/Documents as the current folder. 8. Navigate to ~/Downloads/Lighthouse.ovf/Opengear Lighthouse VM/.

24.06.0

Installing Lighthouse

61

Lighthouse User Guide
9. Select Opengear Lighthouse VM and click Open. (Depending on the Finder Preferences settings, the file may present as Opengear Lighthouse VM.ovf.)
10. Double-click the text vm in the Name row and Configuration column to make it editable. 11. Type Opengear Lighthouse VM and press Return. 12. Click Import.
A new virtual machine, called Opengear Lighthouse VM is added to the list of virtual machines. 13. Select Opengear Lighthouse VM from the list. 14. Choose Machine > Settings. Or click the Settings icon in the VirtualBox Manager toolbar.
The Opengear Lighthouse VM Settings dialog displays. 15. Click the System option in the dialog's toolbar.
The dialog shows the System options available as three tabs: Motherboard, Processor, and Acceleration. (Depending on the underlying hardware platform, Acceleration may be greyedout and unavailable). The Motherboard tab is preselected. 16. In the Motherboard tab, select the Hardware Clock in UTC Time checkbox. 17. Click OK or press Return. 18. Select Opengear Lighthouse VM from the list and click Start in the Oracle VM VirtualBox Manager toolbar to boot Lighthouse. Double-clicking Opengear Lighthouse VM in the list also boots Lighthouse.
Note: Selecting the Hardware Clock in UTC Time checkbox is necessary because Lighthouse expects the hardware clock to be set to UTC, not local time. Unlike other Virtual Machine Managers, Virtual Box both exposes this option as a user-adjustable setting and does not set it to UTC by default.

24.06.0

Installing Lighthouse

62

Lighthouse User Guide
Note: By default, VirtualBox stores virtual machines in ~/VirtualBox VMs. If this is the first virtual machine setup by VirtualBox, it creates the VirtualBox VMs folder in the current user's home-directory and a folder -- Opengear Lighthouse VM -- inside the VirtualBox VMs folder. The Opengear Lighthouse VM folder contains the files and folders which make up Lighthouse when run under Virtual Box.
VIRTUALBOX ON UBUNTU AS HOST
Before beginning the procedure, make certain that VirtualBox and all required support files are installed on the host machine and the PKZIP archive, -ovf.zip is in ~/Downloads. 1. Unzip lighthouse-<year>-<month>-<version>-ovf.zip. This creates a folder,
Lighthouse-ovf in ~/Downloads that contains the following files and folders:

2. Launch Virtual Box. 3. The Oracle VM VirtualBox Manager window displays. 4. Choose File > Import Appliance. 5. The Appliance to import dialog opens. 6. Click Expert Mode. 7. The Appliance to Import dialog changes from Guided Mode to Expert Mode. 8. Click the icon of a folder with an upward pointing arrow superimposed. This icon is positioned to
the right of the Appliance to Import field. 9. A file navigation dialog, Choose a Virtual Appliance to Import, opens with ~/Documents as
the current folder.

24.06.0

Installing Lighthouse

63

Lighthouse User Guide
10. Navigate to ~/Downloads/Lighthouse.ovf/Opengear Lighthouse VM/. 11. Select Opengear Lighthouse VM.ovf and click Open. 12. Double-click the text vm in the Name row and Configuration column to make it editable. 13. Type Opengear Lighthouse VM and press Return. 14. Click Import.
A new virtual machine, called Opengear Lighthouse VM is added to the list of virtual machines available to Virtual Box. 15. Select Opengear Lighthouse VM from the list and click Start in the Oracle VM VirtualBox Manager toolbar to boot Lighthouse. Double-clicking Opengear Lighthouse VM in the list also boots Lighthouse.
Note: VirtualBox stores virtual machines in ~/VirtualBox VMs. If this is the first virtual machine setup by VirtualBox it creates the VirtualBox VMs folder in the current user's homedirectory and a folder Opengear Lighthouse VM inside the VirtualBox VMs folder. Inside Opengear Lighthouse VM are the files and folders which make up Lighthouse when run under Virtual Box.
VIRTUALBOX ON FEDORA WORKSTATION AS HOST
Before beginning, make certain that VirtualBox and all required support files are already installed on the host machine and the PKZIP archive, -ovf.zip is in ~/Downloads. 1. Unzip lighthouse-<year>-<month>-<version>-ovf.zip. This creates a folder
Lighthouse.ovf in ~/Downloads that contains the following files and folders:

24.06.0

Installing Lighthouse

64

Lighthouse User Guide
2. Launch Virtual Box. The Oracle VM VirtualBox Manager window displays.
3. Choose File > Import Appliance or press Control-I. The Appliance to Import dialog opens.
4. Click Expert Mode. The Appliance to Import dialog changes from Guided Mode to Expert Mode.
5. Click the icon of a folder with an upward pointing arrow superimposed. This icon is to the far right of the Appliance to Import field. The Open File dialog opens with ~/Documents as the current folder.
6. Navigate to ~/Downloads/Lighthouse.ovf/Opengear Lighthouse VM/. 7. Select Opengear Lighthouse VM and click Open. 8. Double-click the text vm in the Name row and Configuration column to make it editable. 9. Type Opengear Lighthouse VM and press Return. 10. Click Import.
A new virtual machine, called Opengear Lighthouse VM is added to the list of virtual machines available to Virtual Box. 11. Select Opengear Lighthouse VM from the list and click Start in the Oracle VM VirtualBox Manager toolbar to boot Lighthouse. Double-clicking Opengear Lighthouse VM in the list also boots Lighthouse.
Note: VirtualBox stores virtual machines in ~/VirtualBox VMs. If this is the first virtual machine setup by VirtualBox, it creates the VirtualBox VMs folder in the current user's homedirectory and a folder Opengear Lighthouse VM inside the VirtualBox VMs folder. Inside Opengear Lighthouse VM are the files and folders which make up Lighthouse when run under Virtual Box.

24.06.0

Installing Lighthouse

65

Lighthouse User Guide
INSTALLING LIGHTHOUSE VM ON LINUX HOSTS
This section describes how to install Lighthouse VMs on Linux hosts: l Ubuntu l Fedora Workstation l RHEL
VIRTUAL MACHINE MANAGER ON UBUNTU AS HOST
Virtual Machine Manager and all required support files should be installed on the host machine. 1. Expand lighthouse-<year>-<month>-<version>-raw.hdd.tar. 2. Launch Virtual Machine Manager. 3. Click New at the top left of the Virtual Machine Manager window (or choose File > New Virtual
Machine). The Source Selection window opens. 4. Click Select a file. A Select a Device or ISO File dialog slides into view. 5. Select the file lighthouse-<year>-<month>-<version>-raw.hdd and click Open in the
top right-corner of the dialog. A Review window opens providing basic information about the virtual machine or box, as Boxes calls them, to be created. 6. Click Create in the top right corner of the Review window. 7. A new virtual machine instance, Opengear_Lighthouse_VM-disk1, is created and presented in the Boxes window.
BOXES ON FEDORA WORKSTATION AS HOST
Boxes and all required support files should be installed on the host machine and lighthouse<year>.<month>.<release number>-ovf.zip is in ~/Downloads.

24.06.0

Installing Lighthouse

66

Lighthouse User Guide
1. Unzip lighthouse-<year>-<month>-<version>-ovf.zip. This creates a folder Lighthouse.ovf in ~/Downloads that contains the following files and folders:
2. Launch Boxes. 3. Click New in the Boxes window title bar. The Source Selection window opens. 4. Click Select a File. A Select a Device or ISO File dialog opens. 5. Navigate to ~/Downloads/Lighthouse.ovf/Opengear Lighthouse VM/. 6. Select the file Opengear_Lighthouse_VM-disk1.vmdk and click Open in the top right-hand
corner of the dialog. A Review window opens providing basic information about the virtual machine (or `box', as Boxes calls them) to be created. 7. Click Create in the top right corner of the Review window. 8. A new virtual machine instance, Opengear_Lighthouse_VM-disk1 is created and presented in the Boxes window. 9. To rename the virtual machine instance, right-click on the machine instance and choose Properties from the contextual menu that displays. Click anywhere in the Name field to select and edit the name. Click Close to save the changes.
BOXES ON RHEL AND COMPATIBLE DISTRIBUTIONS
CentOS should be installed, complete with the Gnome desktop environment as the host operating system. CentOS includes the full complement of KVM-centric virtualization tools including the GUI-based virtualization management tools Boxes and virt-manager and the shell-based virtualization management tool virsh.

24.06.0

Installing Lighthouse

67

Lighthouse User Guide
This procedure assumes Boxes is used to setup and manage the Lighthouse VM and that the required PKZIP archive, lighthouse-<year>-<month>-<version>-ovf.zip is in ~/Downloads. To install Lighthouse on CentOS: 1. Unzip lighthouse-<year>-<month>-<version>-ovf.zip.
This creates a folder Lighthouse.ovf in ~/Downloads that contains the following files and folders:
2. Launch Boxes. 3. Click New in the Boxes title bar. 4. Navigate to ~/Downloads/Lighthouse.ovf/Opengear Lighthouse VM/. 5. Select Opengear Lighthouse VM and click Open. A new virtual machine, called Opengear
LighthouseVM is added to the list of virtual machines available to Boxes.
INSTALLING IN THE CLOUD
This section describes how to install Lighthouse on supported cloud environments: l Azure l AWS
INSTALLING IN AZURE
To use the Microsoft Azure environment:

24.06.0

Installing Lighthouse

68

Lighthouse User Guide
1. Login to the Microsoft Azure portal at https://portal.azure.com 2. Under Azure Services, click the Storage Accounts icon. 3. Create a new storage account with at least 50GB storage space. 4. Navigate to the newly created storage account, click Containers under Data Storage and
create a new blob container. 5. Download a Lighthouse VHD image, the latest Lighthouse image can be found in a zip file at the
following URL: https://ftp.opengear.com/download/lighthouse_ software/current/lighthouse/azure. 6. Copy the Lighthouse VHD image into the Azure storage container. (Using AzCopy is recommended, as the VHD image is large and the upload can take a long time to complete through the Microsoft Azure portal.) a. If you haven't already, install AzCopy following instructions provided by Microsoft. Click here
to read the instructions on Microsoft's website. b. Generate a SAS token to use in your AzCopy commands
i. While viewing the newly created storage container, click Access policy. ii. Click Add policy under Stored access. iii. Enter the Identifier. iv. Set the Permissions and select Read, Write and Create from the Permissions dropdown. v. Set a valid Start Date and Expiry Date. vi. Click Okay. vii. Click on the Shared access token. viii. Select the policy Identifier (as created from the previous steps) as Stored access policy. ix. Click Generate SAS and URL. x. Copy the Blob SAS token and Blob SAS URL.

24.06.0

Installing Lighthouse

69

Lighthouse User Guide
Note: The Blob SAS token and Blob SAS URL need to be copied at this point in the process as you will not be able to view the information again after this step.
c. Copy the Lighthouse VHD image into the Azure storage container using the following format, make sure to fill in the path to your local Lighthouse VHD image and your Blob SAS URL generated during the previous step: ./azcopy copy <path_to_local_image_file> "<blob_sas_url>"
Note: A SAS token can also be created using Azure CLI. Click here to read the instructions on Microsoft's website.
7. Create an image: a. In the Azure Portal, under Azure Services, click the Images icon. b. Click Create to create a new image, make sure that the location is the same as your storage account, the OS type is set to Linux and VM generation is set to Gen 1. c. Click Browse on the Storage blob field and select the Lighthouse VHD file you uploaded during a previous step. d. Click Create to create the image.
8. Go to the newly created image and click Create VM. Ensure the selected image is correct. 9. Choose the desired virtual machine instance size. 10. Enter the details for the Microsoft Azure admin user with either password OR SSH key
authentication.
Note: If SSH key authentication is selected, the user will be created without a password and will be unable to access the UI.
11. Select the inbound ports enabled for the Lighthouse instance (SSH, HTTPS).

24.06.0

Installing Lighthouse

70

Lighthouse User Guide
12. Navigate to the next page of configuration (Disks) and select the desired storage option for the boot disk.
13. Go to the Review page and after validation passes, click Create. 14. Go to the Virtual Machines page, select the virtual machine and open the Serial Console.
Lighthouse should now be deploying on Microsoft Azure. 15. To allow nodes to enroll in Lighthouse, you will need to add the following firewall rules on the
Networking page under Settings on the virtual machine you deployed: a. Add a rule to allow UDP connections from any source to port 1194 on the instance's internal
network address (10.0.0.x). b. Add a rule to allow UDP connections from any source to port 1195 on the instance's internal
network address (10.0.0.x). c. HTTPS and SSH should already be allowed from the initial setup If not, add them. d. Other ports may need to be opened, depending on feature usage. For example:
i. SNMP (UDP/161 or TCP/161) ­ SNMP Management ii. OpenVPN (UDP/1195) ­ Lighthouse Multiple Instance VPN iii. HTTPS (TCP/8443) ­ Alternate REST API port 16. Confirm that the Azure instance public IP address has been added to external endpoints in Settings > System > Network Settings.
SET A PASSWORD ON LIGHTHOUSE VIA SSH
If you are logged into Lighthouse via SSH keys, you will need to set a password to login via GUI. Use the ogpasswd utility to do this. ogpasswd -u lh_admin -p MySecretPassword

24.06.0

Installing Lighthouse

71

Lighthouse User Guide
Note: Your username must be the same as the Microsoft Azure admin user created in step 10.
INSTALLING IN AMAZON WEB SERVICES
To use Lighthouse with Amazon Web Services (AWS), you will first need to create an Amazon Machine Image (AMI) containing Lighthouse in the AWS region that you want to deploy Lighthouse in. A temporary Linux "build-box" EC2 instance should be used to create a private Lighthouse AMI.
Note: This is a one-time procedure. The AMI can be used to create multiple instances of Lighthouse, and upgrades can be performed through the Lighthouse Web UI.
1. Create an account on AWS with an IAM user, a key pair and an access key. l The IAM user should have, at a minimum, permissions to create, attach, delete, and snapshot EBS volumes as well as create an Amazon Machine Image (AMI). l If you are using IAM Identity Center, you can use an IAM Identity Center user with the same permissions instead. Consult Amazon documentation for more information if required.
2. Create an AWS EC2 Linux instance, with the following settings: l Amazon Linux 2 or Amazon Linux 2023 l t2.small instance type with default (8 GiB) root volume l 50GB gp3 volume Consult Amazon documentation for more information if required.
3. Create a Lighthouse AMI, using the lighthouse-aws-bootstrap.sh script (usage information can be displayed by using the -h option) on the EC2 instance created in the previous step. The steps are detailed as follows:

24.06.0

Installing Lighthouse

72

Lighthouse User Guide
a. Connect via SSH to your instance on AWS using the username ec2-user and the private key you created previously. All subsequent steps must be performed on the instance.
b. Configure AWS using the following command: aws configure
c. Provide the access key and region details (other settings may be left unchanged). If you are using IAM Identity Center, you will need to instead configure using aws configure sso, and set the CLI Profile Name to be default.
d. Download the aws-bootstrap script: wget http://ftp.opengear.com/download/lighthouse_ software/current/lighthouse/aws/lighthouse-aws-bootstrap.sh
e. Run the lighthouse-aws-bootstrap.sh script as follows: bash ./lighthouse-aws-bootstrap.sh -n Lighthouse -r https://ftp.opengear.com/download/lighthouse_ software/current/lighthouse/aws/lighthouse-<year>-<month><version>.aws.raw.tar
f. Wait while the Lighthouse AMI is created. This can take some time (up to 30 minutes). g. After the AMI has been created, terminate the Linux EC2 instance to avoid incurring
additional costs.

24.06.0

Installing Lighthouse

73

Lighthouse User Guide
RUNNING THE BOOTSTRAP SCRIPT - EXAMPLE
$ bash ./lighthouse-aws-bootstrap.sh -n Lighthouse -r \ > http://ftp.opengear.com/download/lighthouse_ software/current/lighthouse/aws/lighthouse-24.06.0.aws.raw.tar Downloading image... Image size is 54049899008 bytes (51 GiB) Creating volume... Attaching volume vol-09fb0b463f5a59eaf to EC2 instance... Cloning image onto volume... 0+852971 records in 0+852971 records out 54049899008 bytes (54 GB, 50 GiB) copied, 845.072 s, 64.0 MB/s Creating snapshot of volume... Waiting for snapshot snap-0f83746856d985070 to complete... Creating AMI from snapshot snap-0f83746856d985070... Done! Cleaning up...
CHANGES TO DEFAULT SETTINGS
Caution: With Lighthouse version 24.06.0 and later, changes have been introduced related to the root user and SSH Password Authentication default settings that impact any newly launched Lighthouse AWS instances.
Changes impacting the root user: l For security purposes the root user is disabled by default. The root user can be enabled by
going to > USERS & ACCOUNTS > Local Users.

24.06.0

Installing Lighthouse

74

Lighthouse User Guide
l A new user called lhadmin is provided that should be used for initial configuration. l SSH connection for root is also disabled by default. To enable, navigate to > USERS &
Accounts > SSH Authentication. l Ensure to run all commands with appending sudo. Changes impacting SSH Password Authentication: l SSH Password Authentication is disabled by default. l User accounts will need a Public SSH Key associated with the account. l Users will use their Private SSH key to connect via SSH. l The lhadmin user will default with the AWS key pair that was used to create the Lighthouse
Instance. l To associate a Public SSH Key to the account navigate to > USERS & ACCOUNTS > Local
Users and add the SSH Authentication Key to the user.
LIMITATIONS
AWS support is currently limited to: l All standard Lighthouse operations. l Running on the AWS platform. l Providing aws-cli tools for interaction with AWS. l Loading the provided SSH key for the lhadmin user. l Running custom scripts on startup (see above). l Providing a lhadmin password via userdata (see above). At this time Lighthouse does not support: l Using AWS's database services. l Using AWS's redis services.

24.06.0

Installing Lighthouse

75

Lighthouse User Guide
l Using any of AWS's scalability functionality.
Note: If you want to deploy Lighthouse across different AWS regions an AMI will be needed in each region. Amazon supports copying AMIs between regions and offers a walkthrough of the necessary steps to do this.
LAUNCH A LIGHTHOUSE INSTANCE ON AWS
Once the Lighthouse AMI has been created, it will display in the Amazon Machine Images (AMIs) section of the EC2 Management Console. To create a new Lighthouse EC2 instance: 1. Select the Lighthouse AMI. 2. Click Launch instance from AMI. Instance Type Lighthouse should run on a general purpose instance type, such as M5.
Note: If an instance type that supports "burstable" CPU such as T2 is used, please ensure that unlimited CPU is selected, to avoid operational problems caused by CPU throttling.
Key Pair EC2 requires a key pair to be specified when launching instances. Network Settings A security group should be created. Lighthouse requires some ports to be open:

24.06.0

Installing Lighthouse

76

Lighthouse User Guide
l SSH (TCP/22) ­ Secure Shell. Access should be limited to just your corporate network. l HTTPS (TCP/443) ­ Lighthouse Web UI and REST API. This is used by both web browsers and
nodes. For example, call-home enrollment. l OpenVPN (UDP/1194) ­ Lighthouse VPN. This is used to communicate with nodes once they
are enrolled. l Other ports may need to be opened, depending on feature usage. For example
o SNMP (UDP/161) ­ SNMP Management o OpenVPN (UDP/1195) ­ Lighthouse Multiple Instance VPN o HTTPS (TCP/8443) ­ Alternate REST API port Storage By default, the root volume will be around 53 GiB. This may be sufficient, depending on your intended usage. It is easier to specify more storage now, but more can be added later. Advanced Details An initial lhadmin password must be set in the UserData section. password=topSecretPassword123 If the user does not specify the lhadmin password in the Advanced Details section they can set the lhadmin password using the ogpasswd utility.
SET A PASSWORD FOR THE LHADMIN USER ON LIGHTHOUSE
If you are logged into Lighthouse via SSH keys, you will need to set lhadmin password to login via GUI. Use the "ogpasswd" utility to do this. ogpasswd -u lhadmin -p MySecretPassword

24.06.0

Installing Lighthouse

77

Lighthouse User Guide
FINAL STEPS
When done, the EC2 Linux instance can be shut down and removed or saved for creating future instances.
ADDING DISK SPACE TO LIGHTHOUSE
Additional physical volumes can be added to the volume group as required, and the logical volumes extended using lvextend and resize2fs to take advantage of the additional space. Before you add disk space: l Ensure you take a backup of Lighthouse l In the case of a multiple instance Lighthouse installation, consider upgrading all instances, not
merely the primary instance.
ADDING A NEW DISK TO AWS
Launch a Lighthouse instance as per our guidelines or your own deployment processes and note the instance ID. To add a volume to an AWS Lighthouse without having to shut down the Lighthouse: 1. In the AWS web console, go to Volumes and create a new 50GB volume in the same
availability zone as your LH instance. 2. Once the volume is created, select it and click the Actions button and select Attach Volume. 3. Enter the LH instance ID for the instance field and /dev/xvdb (or /dev/xvdd, /dev/xvde
and so on) as the device and click Attach. When you SSH into the LH you should be able to see the new volume as /dev/xvdb (or whatever device name you gave it).

24.06.0

Installing Lighthouse

78

Lighthouse User Guide
ADDING A NEW DISK - QEMU SPECIFIC INSTRUCTIONS
Launch a qemu Lighthouse instance as per our guidelines or your own deployment. To add a volume to the instance: 1. Shutdown the instance with the following command:
shutdown -h now 2. Create a new disk for the LH. You can use a different number for "count" which is in MiB.
dd if=/dev/zero of=/tmp/new_lh_disk.lh_hdd bs=1024k count=256 qemu-img convert -p -f raw -O qcow2 /tmp/new_lh_disk.lh /tmp/new_lh_ disk.qcow2 3. Restart your qemu instance but make sure to add the new qcow2 disk to the command. Here is an example of what you should add to your qemu command when launching the instance: -drive if=scsi,file=/tmp/new_lh_disk.qcow2
Note: This is just an example. You should specify the disk in a similar way to how you specified the primary Lighthouse disk and make sure that the new disk is specified last, otherwise your disk will appear out of order when you boot the Lighthouse.
Once the LH boots you should have a new /dev/sdX device and the 'unused_disks' command should report that disk when you log in.
ADDING A NEW DISK - AZURE
Launch the LVM Lighthouse instance as per our guidelines or your own deployment. To add a volume to the instance, use the following link to attach a new disk to your Lighthouse VM. Stop before you reach the section, "Connect to the Linux VM to mount the new disk." https://docs.microsoft.com/en-us/azure/virtual-machines/linux/attach-disk-portal

24.06.0

Installing Lighthouse

79

Lighthouse User Guide
ADDING A NEW DISK - HYPER-V
1. Launch the LVM Lighthouse instance as per our guidelines or your own deployment. To add a volume to the instance:
2. Shutdown your Hyper-V Lighthouse instance. 3. Open your Hyper-V manager. 4. Navigate to the VM list and locate your Lighthouse VM. 5. Right click on the instance and click Settings. 6. Click on the SCSI controller. 7. Select Hard drive on the right and click Add. 8. Select Virtual hard disk and click New. 9. Follow the prompts and select the options that best suit your needs and environment. 10. Once you've created the disk, click Apply in the VM settings window. 11. Restart the Lighthouse.
ADDING A NEW DISK - VIRTUALBOX
Launch the LVM Lighthouse instance as per our guidelines from the .ova file or your own deployment. To add a volume to the instance: 1. Shutdown the Lighthouse instance. 2. In the VirtualBox UI, locate your Lighthouse instance and right-click it. 3. Select Settings. 4. Select Storage on the left. 5. Click the Controller: SCSI in the disk list.

24.06.0

Installing Lighthouse

80

Lighthouse User Guide
6. You will see two small icons, both with a green '+' symbol. Hover your mouse over the one that says Adds a hard disk and click it.
7. Click the Create icon. 8. Follow the prompts to create a new disk image. 9. Select the new disk image and click the Choose button. 10. Click Ok to exit the VM settings window. 11. Restart Lighthouse.
MOUNTING THE HARD DISKS WITH OGCONFIG-CLI
Extra hard disks can be mounted in the Lighthouse VM by adding them to the configuration. Each new disk must have a partition created and formatted. Partitions can be created using fdisk or cfdisk, and should be formatted using the ext4 filesystem, using the mkfs.ext4 command: root@lighthouse:~# mkfs.ext4 /dev/sdb1 The directory in which to mount the filesystem must be created. In general, new filesystems should be mounted in the provided mountpoint of /mnt/au. Any other filesystems should be mounted within the filesystem mounted here. The UUID can be obtained by running blkid. This will output the UUID's of all the extra hard disks on the system. When referencing the UUID, ensure the entire UUID is enclosed within quote marks like this: "UUID=33464920-f54f-46b6-bd84-12f76eeb92da" else the command will not run correctly. Add the information to the configuration system using ogconfig-cli as follows, modifying the path for the specific situation.
ogcfg> var m !append system.mountpoints map {8435270-fb39-11e7-8fcf-4fa11570959}: Map <> ogcfg> set {m}.node "UUID=33464920-f54f-46b6-bd84-12f76eeb92da"{b8c37c6-fb39-11e7-

24.06.0

Installing Lighthouse

81

Lighthouse User Guide
971c-23517b19319}: String </dev/sdb1> ogcfg> set {m}.path "/mnt/aux" {1fb50d8-fb39-11e7-994c-0f10b09cbd4}: String </mnt/aux> ogcfg> push OK
INCREASE THE LH_DATA LOGICAL VOLUME
1. Add the new disk to the LH VM (platform dependent, see above). 2. Log into the shell on Lighthouse. you should see the new "unused" disk listed in the welcome
message. This is the case for any non-system disks aren't currently being used by the LVM system. 3. Create a partition on the new disk: fdisk /dev/sdb (or /dev/xvdb, or /dev/(sd|xvd)X
Note: Be sure specify the correct disk, it might be /dev/xvdb on AWS.
4. Type 'n' and ENTER to create a new partition. 5. Type 'p' and ENTER to create a primary partition. 6. Continue hitting ENTER to accept the defaults to use the whole disk. 7. Type 'w' and ENTER to write the changes and exit:
fdisk. 8. Add the new partition as a physical volume:
pvcreate /dev/sdb1
Note: Assuming you are now using /dev/sdb1 that /dev/xvdb1 will now be mapped to /dev/sdb1 so make sure you use sdb1.

24.06.0

Installing Lighthouse

82

Lighthouse User Guide
9. Extend the volume group with the new physical volume: vgextend lhvg /dev/sdb1
10. Assuming the new disk gives you at least 2GB of extra space, expand the lh_data logical volume: lvextend -L +2G /dev/mapper/lhvg-lh_data
11. Update the file system of the lh_data disk to use the extra space: resize2fs /dev/mapper/lhvg-lh_data
12. When you log into the shell, the disk should no longer be listed as "unused".

24.06.0

Installing Lighthouse

83

Lighthouse User Guide
SETTING UP LIGHTHOUSE
This section describes how to set up Lighthouse to monitor and manage your network.
LOADING LIGHTHOUSE
This section describes the initial setup stages for a new Lighthouse VM, from login, to setting external addresses, to setting the clock. When you first load lighthouse a warning message displays because of the default self- signed certificate. You can ignore this at first load, and later install your own valid certificate using > SERVICES > HTTPS Certificate to remove the warning message.
LIGHTHOUSE IP ADDRESSES
When the Lighthouse VM is booted and running, it can be reached via the following options: l The static address, 192.168.0.1. l The address it is assigned by any DHCP server it finds. Type ifconfig command to see which
IP address the VM has been allocated by DHCP. l Static IP address on another subnet, requiring IP address, mask, gateway. Only the first two options are available out-of-the-box. The static IP on another subnet has to be configured first. If there is no DHCP, and Lighthouse is not reachable on the default address 192.168.0.1 then, the static IPv4 address can be changed from the console using the ogsetnetwork.sh command.
root@lighthouse:~# ogsetnetwork.sh --help

24.06.0

Setting up Lighthouse

84

Lighthouse User Guide
USAGE
ogsetnetwork.sh [Use options below to configure a static IP] -a, --address Static IP address to set -n, --netmask Netmask for IP address -g, --gateway Network gateway address -d, --dns1 Chosen DNS server #1 -D, --dns2 Chosen DNS #2
EXAMPLE
ogsetnetwork.sh -a 192.168.1.24 -n 255.255.255.0 -g 192.168.1.1
FIRST BOOT OF THE LIGHTHOUSE VM
Note: This section does not apply to Azure or AWS.
During boot, two screens open. 1. The first screen prompts to Select Lighthouse boot mode and displays four options:
l Graphics console boot l Graphics console recovery mode l Serial console boot l Serial console recovery mode
Graphics console boot is preselected and should not be changed. After the first boot has completed a message displays:

24.06.0

Setting up Lighthouse

85

Lighthouse User Guide
Welcome to Lighthouse. This is software version: 202406.0
2. The final step in the initial setup displays:
To complete initial setup, please set a new root password. Press ENTER to continue.
3. After pressing Enter, a prompt displays:
Enter new root password:
4. Enter a password and press Enter. Note: It is recommended that you set a temporary password at this point and change it to a very strong high-entropy password as soon as possible using the WebUI.
Tip: Keep in mind that non-US-English keyboards are not supported in the graphics console. 5. The confirm prompt displays:
Confirm given password
6. Re-enter the password and press Enter. Multiple configuration notices appear ending with a login prompt:
lighthouse login:
7. Enter root and press Enter. A password prompt displays:
Password:

24.06.0

Setting up Lighthouse

86

Lighthouse User Guide
8. Enter the newly-set password and press Enter. A standard bash shell prompt displays with the list of static, DHCP, and IPv6 addresses.
net1 192.168.0.1/24 net1:dhcp 192.168.1.186/24 net1 fe80::a00:27ff:fe39:daa3/64 root@lighthouse:~#
SETTING THE LIGHTHOUSE HOSTNAME
To set the hostname for a running Lighthouse instance: 1. Select > SYSTEM > Network Settings. 2. Edit the Hostname as desired.
Note: Hostnames must follow the naming conventions: l ASCII alphanumerical characters plus '-' l Maximum 64 characters
3. Edit the SSH Port. 4. Click Apply.
ADDING EXTERNAL IP ADDRESSES MANUALLY
Adding a Lighthouse instance's external IP address or addresses manually to a Lighthouse instance's configuration is an optional step. In general, these should not be changed expect by a network support engineer.
Note: IP addresses can be IPv4, IPv6 or DNS names.
To add external addresses to a Lighthouse instance's configuration:

24.06.0

Setting up Lighthouse

87

Lighthouse User Guide

1. Select > SYSTEM > Network Settings. 2. Click Add External Network Address.

3. A dialog will appear.

4. Enter the External Endpoint address.

5. Change the API Port, VPN Port, or Multi-Instance VPN Port if the ports used on the entered IP address are different from the default settings.

6. Click Add Address.

To change the order in which manually added IP addresses are sent to remote nodes:

1. Use the

icons to change the order in which the IP addresses are listed.

2. Click Apply.

If external IP addresses are manually added to a Lighthouse configuration, these addresses are sent to a remote node during enrollment. If no external IP address is manually added, default external IP addresses are used.

The external IP addresses are sent to a remote node during Enrollment in the order configured.

LIGHTHOUSE SSL CERTIFICATE

Lighthouse ships with a private SSL Certificate that encrypts communications between it and the browser. Most browsers will display a warning message when first trying to access Lighthouse.

Note: If you plan to use the Lighthouse Multiple Instance feature, the certificate will be used on all instances. In this case, we recommend using a wildcard certificate.

To examine this certificate or generate a new Certificate Signing Request: 1. Select > SERVICES > HTTPS Certificate. 2. The details of the Current SSL Certificate appear.

24.06.0

Setting up Lighthouse

88

Lighthouse User Guide
3. Below this listing is a New Signing Request form, which can be used to generate a new SSL certificate.
SET THE LIGHTHOUSE INTERNAL CLOCK
Lighthouse and Node system times need to be in sync. Enrollment can fail if there is a significant difference between the Lighthouse and the node. It is recommended that you use an NTP server to automatically manage date and time. If using multiple instances, configure the time zone for the secondary instances before adding them as secondary instance. The only way to change the time zone after adding a secondary instance is to use the CLI.
MANUAL CONFIGURATION
To manually select the time zone: 1. Select > SYSTEM > Time Settings. Timezone options are displayed. 2. Select the Lighthouse instance's timezone from the Time Zone drop-down list. 3. Click Apply.
AUTOMATIC CONFIGURATION
To set time automatically:
Note: It is highly recommended that you use a NTP Server to automatically manage date and time.
1. Select > SYSTEM > Time Settings. 2. Click AUTOMATIC to display options. 3. Select Enabled.

24.06.0

Setting up Lighthouse

89

Lighthouse User Guide
4. Click Add server. 5. Enter a working NTP Server address in the NTP Servers field. 6. Click Apply.
SETTING UP NETWORKING REQUIREMENTS
This section outlines the basic steps to setup networking requirements for Lighthouse including: l Lighthouse Session Settings l MTU of the Lighthouse VPN tunnel l Network connection l SNMP Manager Settings l SNMP Service l Cellular Health Settings l Lighthouse MIBs l Smart Management Fabric
EXAMINE OR MODIFY THE LIGHTHOUSE SESSION SETTINGS
To modify Web and CLI session settings: 1. Select > SYSTEM > Session Settings. 2. Enter the Web Session Timeout: This value can be set from 1 to 1440 minutes. 3. Enter the CLI Session Timeout: This value can be set from 1 to 1440 minutes or set it to 0 to
disable the timeout. Changes take effect the next time a user logs in via the CLI. 4. If required, select Enabled for Alternate API Port Status. This port is set to 8443. Enabling
this API allows users who are using NAT for the Lighthouse to expose an external port publicly only for nodes that are attempting to enroll to the Lighthouse, and not for the other functionality

24.06.0

Setting up Lighthouse

90

Lighthouse User Guide
available from the REST API. After this option is disabled, all endpoints should be accessible as per normal usage.
EXAMINE OR CHANGE LIGHTHOUSE VPN NETWORK SETTINGS
The VPN network ranges for Lighthouse VPN (LHVPN) and Smart Management Fabric can be set up or modified. To setup the Lighthouse VPN: 1. Select > SERVICES > Lighthouse VPN. 2. Under the VPN NETWORK RANGE section:
a. Enter the Address Space: The range to be used for the VPN.
Note: The Address Space must be in the IPv4 Private Address Space, subnet must have enough space for the existing Enrolled Nodes to Lighthouse, cannot overlap with an existing subnet across lighthouse and the base address for the network range.
b. Enter the CIDR Subnet Mask: The Classless Inter-Domain Routing notation for the subnet mask for the VPN network.
c. Calculated Node Capacity: An auto-calculated field with the total number of usable nodes. d. Enter the Tunnel MTU: The MTU is the size, in bytes, of the largest packet supported by a
network layer protocol, including both headers and data. 3. Under the SMART MANAGEMENT FABRIC NETWORK RANGE section:
a. Enter the Address Space. b. Enter CIDR Subnet Mask. c. Calculated Node Capacity: An auto-calculated field with the total number of usable nodes. d. Smart Management Fabric MTU: an auto-calculated field, the Smart Management Fabric
MTU is based on a fixed offset off the LHVPN MTU.

24.06.0

Setting up Lighthouse

91

Lighthouse User Guide
NETWORK CONNECTIONS
VIEWING NETWORK CONNECTIONS AVAILABLE
To see the network connections available to Lighthouse: 1. Select > SYSTEM > Network Interfaces. 2. The NETWORK INTERFACES page displays. EDITING A NETWORK INTERFACE
To edit a network interface:
Note: Editing the network settings may break connectivity. 1. Select > SYSTEM > Network Interfaces. 2. The NETWORK INTERFACES page displays. 3. Click on the interface Name link within the grid. 4. The UPDATE dialog display. 5. Make the desired changes. 6. Click Update Interface.
Note: Do not change the Connection Type of default network interfaces. If a default interface is not required, edit the interface and select Disabled.
If default-static and default-DHCP are changed to the same configuration method (that is, if both are set to Static assignment or both are set to DHCP) neither interface works.

24.06.0

Setting up Lighthouse

92

Lighthouse User Guide
CELLULAR HEALTH REPORTING
Administrative users can control the cellular health reporting settings under > SERVICES > Cell Health Reporting. When cell health checks are enabled, the network carrier, IMEI, IMSI and ICCID of the downstream SIM being utilized are part of the information that is displayed in Lighthouse for managed nodes. If a managed node has the modem disabled/off, an appropriate status is shown in Lighthouse for the node.
ENABLING CELL HEALTH REPORTING
To enable Cell Health Reporting: 1. Select > SERVICES > Cell Health Reporting. 2. Select Enabled. 3. Set the Signal Quality Ranges to report. Click and drag the range handles to the range value
corresponding to: Bad, Moderate and Good. 4. Set the Frequency that Lighthouse will check the signal quality. 5. Set whether to enable the Cell Connectivity Test to get a complete cell health report.
Note: This will cause cell data consumption.
6. Click Apply.
LIGHTHOUSE MIBS
Lighthouse Management Information Bases (MIBs) can be found in /usr/share/snmp/mibs/.

24.06.0

Setting up Lighthouse

93

Lighthouse User Guide
Lighthouse can be configured to expose managed node information such as node name, node model number, node port label, license status, etc. via SNMP. The MIBs turn the SNMP data into text that is more readable to human readers. GENERIC INFORMATION ABOUT LIGHTHOUSE VERSION AND NODES COUNT
AVAILABLE INFORMATION FOR AN ENROLLED OPENGEAR NODE ogLhNodesTable:

24.06.0

Setting up Lighthouse

94

AVAILABLE INFORMATION FOR AN ENROLLED THIRD-PARTY NODE

Lighthouse User Guide

AVAILABLE LICENSING INFORMATION

AVAILABLE ENROLLED NODE CELLULAR HEALTH INFORMATION
ogLhNodeCellularHealth
OTHER SNMP COMMANDS To retrieve Lighthouse specific information use SNMP commands such as:

24.06.0

Setting up Lighthouse

95

Lighthouse User Guide
l snmpwalk l snmpget
EXAMPLES OF LIGHTHOUSE MIB QUERIES USING SNMP
Walk through the entire ogLighthouseMib using name:
snmpwalk -m ALL -v1 -c public 192.168.1.1 ogLighthouseMib snmpwalk -m ALL -M /usr/share/snmp/mibs -v1 -c public 192.168.1.1 ogLighthouseMib
Walk through the entire ogLighthouseMib using the OID directly:
snmpwalk -m ALL -M /usr/share/snmp/mibs -v1 -c public 192.168.1.1 1.3.6.1.4.1.25049.18.1
Get the total nodes enrolled in Lighthouse:
snmpget -m ALL -v1 -c public 192.168.1.1 ogLhNodesTotal.0 snmpwalk -m ALL -v1 -c public 192.168.1.1 ogLhNodesTotal
Get serial number with enrolled node having VPN address 192.168.128.2:
snmpwalk -m ALL -v1 -c public 192.168.1.1 ogLhNodeSerialNumber.192.168.128.2 snmpget -m ALL -v1 -c public 192.168.1.1 ogLhNodeSerialNumber.192.168.128.2
Get cellular health for all enrolled nodes:
snmpwalk -m ALL -c public -v 1 192.168.124.143 ogLhNodeCellularHealth OG-LIGHTHOUSE-MIB::ogLhNodeCellularHealth.192.168.128.2 = INTEGER: good(4) OG-LIGHTHOUSE-MIB::ogLhNodeCellularHealth.192.168.128.3 = INTEGER: good(4) OG-LIGHTHOUSE-MIB::ogLhNodeCellularHealth.192.168.128.4 = INTEGER: bad(2) OG-LIGHTHOUSE-MIB::ogLhNodeCellularHealth.192.168.128.5 = INTEGER: unknown(0) OG-LIGHTHOUSE-MIB::ogLhNodeCellularHealth.192.168.128.6 = INTEGER: bad(2)

24.06.0

Setting up Lighthouse

96

Lighthouse User Guide
SETTING UP MULTIPLE INSTANCES OF LIGHTHOUSE
This chapter discusses the licensing, setup, configuration, promoting and disconnecting of secondary instances, and upgrading of a multiple instance Lighthouse.

The multiple instance functionality allows you to set up secondary or dependent instances of Lighthouse that automatically receive updates from a primary Lighthouse instance and maintains connections to all its remote nodes.
Secondary instances are read-only. They may be used to view Lighthouse information specific to that instance using ogconfig-cli, and to connect via pmshell.

24.06.0

Setting up Lighthouse

97

Lighthouse User Guide
Configuration changes must be performed on the primary instance, which will then update the information displayed on the secondary instance.
SETTING UP MULTI INSTANCE
Lighthouse supports up to 10 secondary instances for each primary Lighthouse instance. A Lighthouse with multiple instance support requires multiple separate subnets for Lighthouse VPN connections: l Between each instance and its nodes l Between the primary and secondary instance Lighthouses.
Note: Each subnet must not overlap any subnet in use by another Lighthouse instance.
Before you attempt to set up a multiple instance: l Start with what will be the primary instance and one or more Lighthouse instances to act as
secondary. All instances must have the same version of Lighthouse. l Configure the networking information for each instance (hostname, external endpoints, network
addresses, REST API port). l Configure the time settings of each instance. l Ensure you have a subscription active on your primary Lighthouse.
STEPS TO SETUP MULTI INSTANCE
To set up Multi Instance on the primary Lighthouse: 1. On the primary Lighthouse, select > MULTI INSTANCE > Secondary Lighthouses. 2. Click Add Secondary Lighthouse. 3. Enter the Description for the Lighthouse.

24.06.0

Setting up Lighthouse

98

Lighthouse User Guide
4. Enter the Network Address: accepts either the current IP Address or hostname. 5. Enter the Network Port for HTTPS connections. 6. Enter the Username. 7. Enter the Password. 8. Provide the VPN NETWORK RANGE details:
l Address Space: enter a valid, unused network subnet to use as the secondary lhvpn address range.
l CIDR Subnet Mask.
Note: Lighthouse will display the Calculated Node Capacity based on the values entered reflecting the addressable nodes based on the network.
Note: The secondary Lighthouse instance must be able to reach the primary instance on UDP Port 1195.
9. Provide the SMART MANAGEMENT FABRIC RANGE details if the secondary lighthouse is to be discoverable on the Smart Management Fabric: l Address Space l CIDR Subnet Mask
Note: Lighthouse will display the Calculated Node Capacity based on the values entered reflecting the addressable nodes based on the network.

24.06.0

Setting up Lighthouse

99

Lighthouse User Guide

10. Click Apply.
ENABLING ALTERNATE REST API PORTS
If you are planning to use the alternate REST API ports, you will need to make sure this option is enabled on both the primary and secondary Lighthouse servers, prior to enrollment of secondaries. Lighthouse will prevent the enrollment of a secondary Lighthouse instance if there is a mismatch in these settings. If this occurs, the message "Lighthouse is using Alternate API port" will be displayed on the secondary Lighthouse page. To fix the issue, either: l Enable the Alternate REST API port on both Lighthouse servers, or l Disable the Alternate REST API port on both Lighthouse servers, then delete the failed
Lighthouse Enrollment and try again.
CONFIGURING THE ALTERNATE REST API
The Alternate REST API Port is configured as follows: 1. Select > SYSTEM > Session Settings. 2. For Alternate API Port Status, select Enabled. 3. Click Apply.
Note: Additional enrollment-only REST API port is 8443.
CONFIGURING SUBNETS FOR A MULTIPLE INSTANCE LIGHTHOUSE
A Lighthouse with multiple instance support requires multiple separate subnets for Lighthouse VPN connections:

24.06.0

Setting up Lighthouse

100

Lighthouse User Guide
l Between each instance and its nodes l Between the primary and secondary Lighthouses.
Note: Each subnet must not overlap any subnet in use by another Lighthouse instance.
CONFIGURING THE SUBNETS
To configure the subnet between the primary Lighthouse and its nodes: 1. Select > MULTI INSTANCE > Multi Instance VPN on the primary Lighthouse. 2. The MULTI INSTANCE VPN page displays. 3. Enter the Address Space. 4. Enter the CIDR Subnet Mask.
Note: The Calculated Address Capacity is a calculated field and displays the addressable nodes based on the network.
CONFIGURING SECONDARY INSTANCES
To configure the subnet between each secondary Lighthouse and its node: 1. Select > MULTI INSTANCE > Secondary Lighthouses on the primary Lighthouse. 2. The SECONDARY LIGHTHOUSES page displays. 3. Click on the name of the secondary Lighthouse to edit. 4. The EDIT SECONDARY LIGHTHOUSE page displays. 5. Under the VPN NETWORK RANGE section:

24.06.0

Setting up Lighthouse

101

a. Update the Address Space. b. Update the CIDR Subnet Mask.

Lighthouse User Guide

Note: The Calculated Node capacity is a calculated field and displays the addressable nodes based on the network.

6. If the secondary lighthouse is to be discoverable on the Smart Management Fabric , under the SMART MANAGEMENT FABRIC RANGE section: a. Update the Address Space.

Note: The CIDR Subnet Mask is a calculated field.

Note: The Calculated Node capacity is a calculated field and displays the addressable nodes based on the network.

CONFIGURING SECONDARY INSTANCE INFORMATION PRIOR TO ENROLLMENT
Other information that is specific to the secondary Lighthouse should be configured before enrolling but can be modified on the primary Lighthouse via ogconfig-cli. Instance specific information includes: l Hostname l Time zone.

24.06.0

Setting up Lighthouse

102

Lighthouse User Guide
l Networking. l External interfaces.
Note: The instance specific information is available on both the primary and secondary Lighthouses but it is read-only on the secondary Lighthouse.
Configurations of all Lighthouse instances are stored in lighthouse_configurations. These can be viewed via ogconfig-cli. The primary instance will have a value of Primary for its role, and secondary instances have the value Secondary. The following is an example of the ogconfig-cli session:
root@lighthouse:~# ogconfig-cli ogcfg> print lighthouse_configurations[0].role lighthouse_configurations[0].role (string): 'Primary' ogcfg> print lighthouse_configurations[1].role lighthouse_configurations[0].role (string): 'Secondary'
Alternatively, the command /usr/bin/is_secondary will output n for a primary Lighthouse or y for a secondary Lighthouse. To update the hostname of the secondary Lighthouse, run the following commands on the primary Lighthouse:
ogconfig-cli set lighthouse_configurations[1].hostname new_name push
UNENROLLING A SECONDARY INSTANCE
To unenroll a secondary Lighthouse instances from the primary Lighthouse:

24.06.0

Setting up Lighthouse

103

Lighthouse User Guide
1. Click > MULTI INSTANCE > Secondary Lighthouses. 2. Select the Instance Name. 3. Click Unenroll Instance in the top right of the page. 4. A confirmation message will display. 5. Click Confirm.
PROMOTING A SECONDARY INSTANCE
When a primary Lighthouse is no longer reachable, a secondary Lighthouse instance can be promoted to primary. The new primary can then be used to set up a secondary Lighthouse if required.
Caution: This should only be performed if the primary Lighthouse has no chance of returning, the procedure is not reversible and will break all node connections with the previous primary instance. The previous primary instance must be factory reset before it can be used again.
To promote a secondary instance to primary, login as root or run with sudo privileges on the secondary instance via console or ssh and run:
>sudo promote-secondary-lighthouse
Remove all dead connections from node side using the node's web UI. The Promotion tool deletes connection between primary and dependent instance but does not touch node connections. The new primary can then be used to enroll a secondary Lighthouse if required.
Note: If the previous primary becomes accessible again, it will not be able to connect to its enrolled nodes or the previous secondary Lighthouses.

24.06.0

Setting up Lighthouse

104

Lighthouse User Guide
l All scheduled firmware upgrades are cancelled in the event of a secondary Lighthouse promotion, and will need to be rescheduled.
l Firmware files are not replicated among the multiple instance cluster and must be re-uploaded to the new primary after promotion.
ENABLE ALERTING AND MONITORING
Administrative users can configure the Simple Network Management Protocol (SNMP) Manager settings and multiple external servers to export the syslog to via TCP or UDP. The SNMP Manager allows SNMP TRAP/INFORM messages to be sent from Lighthouse to a configured server any time a node connection status is changed. Lighthouse supports both v1/v2 and v3 SNMP versions, which can be running at the same time. The SNMP service is not enabled by default. The SNMP service starts after it has been configured correctly. If the user does not provide an Engine ID, an auto-generated ID will be used. Lighthouse Health statistics (load/uptime/memory usage, etc.) can be retrieved.
SNMP MANAGER SETTINGS
ENABLING SNMP MANAGER
1. Select > SERVICES > Alerting and Monitoring. 2. Select Enabled to enable the SNMP Manager. 3. For Manager Protocol, select UDP, or UDP over IPv6, TCP, or TCP over IPv6. 4. Enter the Manager Address to receive SNMP messages. 5. Enter the Manager Port, the TCP/UDP port number to send SNMP messages to. 6. Select the SNMP protocol Version:v1 or v2c or v3.
Depending on the selected SNMP Version, complete the following steps. For v1:

24.06.0

Setting up Lighthouse

105

Lighthouse User Guide
1. Enter the SNMP Community to use for messages. For v2c:
1. Select TRAP or INFORM as the SNMP Message Type. 2. Enter the SNMP Community to use for messages. For v3: 1. Choose TRAP or INFORM as the SNMP Message Type.
a. If TRAP is selected, specify an optional Engine ID for sending an SNMP TRAP message
Note: If left blank, the auto-generated Engine ID from the SNMP Service will be used. An Engine ID is not needed for an SNMP INFORM message.
2. Enter the SNMP v3 Engine ID and desired Configure SNMP Manager Settings. 3. Enter the Username to send the messages as, select the Authentication Protocol,
either MD5 or SHA, and enter the SNMP user's Authentication Password. 4. Choose a Privacy Protocol, either MD5 or SHA. 5. Enter a Privacy Password. 7. Under the SNMP Message Settings section, set the events to trigger a TRAP/INFORM notification by checking a combination of: l Node Connection Status: send an SNMP notification when a node connects or disconnects. l Secondary Replication Status: send an SNMP notification when problems occurs with database replication on secondary Lighthouse. l Node Cellular Health Status: to use Cellular Health Status change traps. 8. Click Apply. For information on Structure of notifications for Opengear nodes, refer to OG-LIGHTHOUSEMIB.mib.

24.06.0

Setting up Lighthouse

106

Lighthouse User Guide
SNMP SERVICE SETTINGS
ENABLING THE SNMP SERVICE 1. Select > SERVICES > Alerting and Monitoring. 2. Select the SNMP SERVICE tab. 3. Select the TCP/IP Protocol from UDP or TCP. 4. Enter the Location. 5. Enter the Contact. 6. Set the SNMP Version the service will support by checking a combination of the following:
l v1/v2 l v3 7. If v1/v2 is checked configure the settings under the SNMP V1 & V2C section: a. Enter the Read-Only Community. b. Enter the Read-Write Community. 8. If v3 is checked configure the settings under the SNMP V3 section: a. Enter the Engine ID. Override the automatically generated SNMPv3 Engine.
Note: If not specified, an Engine ID will be automatically generated using Network Interface details.
b. Select the Security Level: No Security, Authentication, Authentication and Encryption.
Tip: The SNMP v3 security level Authentication and Encryption is recommended.
For No Security: i. Enter the Read Only Username

24.06.0

Setting up Lighthouse

107

For Authentication: i. Enter the Read Only Username ii. Select the Authentication Protocol: MD5 or SHA iii. Enter and confirm the Authentication Password
For Authentication and Encryption: 1. Enter the Read Onlhy Username 2. Select the Authentication Protocol: MD5 or SHA 3. Enter and confirm the Authentication Password 4. Select the Privacy Protocol: DES or AES 5. Enter and confirm the Privacy Password. 9. Click Apply.
SYSLOG SERVER MANAGEMENT
VIEW THE CONFIGURED SYSLOG SERVERS
1. Select > SERVICES > Alerting and Monitoring. 2. Select the SYSLOG tab.
ADD A NEW SYSLOG SERVER
1. Select > SERVICES > Alerting and Monitoring. 2. Select the SYSLOG tab. 3. Click the New Syslog Server button. 4. The CREATE NEW SYSLOG SERVER dialog will display.

24.06.0

Setting up Lighthouse

Lighthouse User Guide
108

Lighthouse User Guide
5. Enter the Server Address. 6. Select the Protocol: UDP or TCP. 7. Enter the Port.
Note: For UDP the default port is 514. For TCP the default port is 601.
8. Click Create Syslog server.
MODIFY A SYSLOG SERVER 1. Select > SERVICES > Alerting and Monitoring. 2. Select the SYSLOG tab. 3. Locate and click the SERVER ADDRESS of the server to modify from the grid. 4. The UPDATE dialog will display. 5. Modify the details as required. 6. Click Update Syslog server.
DELETE A SYSLOG SERVER
To enable the SNMP Manager: 1. Select > SERVICES > Alerting and Monitoring. 2. Select the SYSLOG tab. 3. Locate and click the SERVER ADDRESS of the server to modify from the grid. 4. Click Delete. 5. The DELETE SYSLOG SERVER confirmation dialog displays. 6. Click Delete.

24.06.0

Setting up Lighthouse

109

Lighthouse User Guide
ENABLE SMART MANAGEMENT FABRIC
Smart Management Fabric represents an advanced functionality designed to offer heightened flexibility and accessibility to network and IT professionals throughout the network fabric. It empowers them by facilitating effective orchestration and management through the management network. As Smart Management Fabric expands its reachability through the utilization of OSPF and the integration of Opengear nodes and Lighthouse for establishing new paths, it is crucial to acknowledge the potential risk of overexposing the network, which could lead to bypassing Layer 2 or Layer 3 access control measures. While the communication between the Lighthouse and OpenGear nodes, such as OM, is safeguarded through a VPN connection, and the OSPF configuration is carefully restricted and secured, there exists a potential risk when devices like routers and switches under customer autonomy are configured within the OSPF process without adequate diligence. To address and mitigate these risks, the following strategies are recommended: l Conduct a meticulous examination of networks participating in OSPF advertisement, with a
suggestion to implement passive interfaces. l Execute comprehensive testing and verification to ensure that no routing occurs among
networks not involved in Smart Management Fabric. l Verify the activation of OSPF authentication to augment network security. Smart Management Fabric uses dynamic link state routing to allow IP connectivity to IT resources that are on connected IPv4 networks that are downstream from the lighthouse: l via SSH, https (GUI), SPs/BMCs (iLO, iDRAC, etc.). l via commonly used automation tools such as RDP, Ansible, Python, vCenter.

24.06.0

Setting up Lighthouse

110

Lighthouse User Guide
To implement Smart Management Fabric an Automation Edition subscription is required, as well as a supported (23.10 firmware and up) Opengear console server such as Operations Manager.

Note: Smart Management Fabric is advanced functionality that utilizes dynamic routing protocols. It is crucial to acknowledge the potential risk of overexposing your network.
Enabling Smart Management Fabric
After deploying the Lighthouse, to set up Smart Management Fabric to create an internal network area between Lighthouse and the console servers: 1. Log in to the Lighthouse web UI as a Lighthouse Administrator or the root user. 2. From the menu, select > SERVICES > Smart Management Fabric.

24.06.0

Setting up Lighthouse

111

Lighthouse User Guide
3. Select Enabled. 4. Enter the Internal Area ID for the backbone area for the internal network. The area is a logical
collection of internal networks, routers, and links with the same area identification. 5. Click Apply. To ensure the Smart Management Fabric stays up to date, these are the following scenarios that would require an additional push of configuration after the initial setup: l Any changes made to Smart Management Fabric VPN subnets for the Primary or Multi Instance
Lighthouses. l A new Multi-Instance Lighthouse is added that needed to be apart of the Smart Management
Fabric network. l Any changes to the Lighthouse VPN for the Primary or Multi Instance Lighthouse that may
include: l Any subnet changes. l Any changes to MTU for a specific node.
SMART MANAGEMENT FABRIC - A SAMPLE DEPLOYMENT
In this sample, the devices on two separate networks, can connect via Lighthouse, when Smart Management Fabric is enabled.

24.06.0

Setting up Lighthouse

112

Lighthouse User Guide

USING SMART MANAGEMENT FABRIC
To set up Lighthouse as the router for a deployment: 1. Configure the Address space. 2. Enable Smart Management Fabric and provide the internal area id. 3. Configure the Smart Management Fabric templates for the nodes.

24.06.0

Setting up Lighthouse

113

Lighthouse User Guide
SMART MANAGEMENT FABRIC AND NETOPS INTERACTIONS
The Smart Management Fabric feature can be used with the following NetOps features with some caveats related to the following: l IP Access. l Secure Provisioning.
Note: Automation Gateway is not compatible with Smart Management Fabric.
IP ACCESS
The IP Access Subnet Address is not unique and is present on every IP Access enabled node. This will cause routing issues for the Smart Management Fabric if there are multiple IP Access enabled nodes.
SECURE PROVISIONING
The default Smart Management Fabric subnet range conflicts with the Secure Provisioning subnet range, however either change the Smart Management Fabric subnet range before enabling secure provisioning, or change the Secure Provisioning Subnet range before it is deployed.
SECURE PROVISIONING CONFIGURATION
The Secure Provisioning Subnet is not unique by default so if the default is used on more than one Smart Management Fabric node then it will effectively not be able to route to those Secure Provisioning connected devices. Customize the Secure Provisioning Subnet by setting a static IPv4 address on the Node's LAN interface before deploying Secure Provisioning. Secure Provisioning will then inherit the subnet range from a static IPv4 address on the node's LAN interface address.

24.06.0

Setting up Lighthouse

114

Lighthouse User Guide
MANAGING LIGHTHOUSE
This section describes how to manage Lighthouse to monitor and manage your network.
MANAGING SUBSCRIPTIONS
Lighthouse has a flexible, simplified subscription model that allows you to add extended functionality if required.
Note: Contact sales@opengear.com with a request for the type of subscription, including the number of nodes you wish to apply the subscription to. You will receive an encrypted .zip file named subscription.zip.
VIEWING SUBSCRIPTIONS
1. Select > SYSTEM > Subscriptions. 2. The SUBSCRIPTIONS page displays. 3. The page displays the SUBSCRIPTIONS tab providing information on your subscriptions
including the type of subscriptions, number of assigned out of the total nodes available, subscription status and the number of days before expiry.
VIEWING SUBSCRIPTION ASSIGNMENTS
1. Select > SYSTEM > Subscriptions. 2. The SUBSCRIPTIONS page displays. 3. Select the SUBSCRIPTION ASSIGNMENT tab. 4. The page displays a gird of nodes with the respective subscription assigned.
Note: Node Filter and Search controls are available.

24.06.0

Managing Lighthouse

115

Lighthouse User Guide
SUBSCRIPTION TIERS
The subscriptions available are: l The Enterprise Edition Subscription provides base functionality to enroll, monitor, and manage
nodes. l The Enterprise Automation Edition provides base functionality plus the advanced feature sets:
l Smart Management Fabric. l Connected Resource Gateway. l Automation Gateway. l Secure Provisioning. You can apply the extra functionality to selected nodes only, giving you the flexibility to use different subscriptions for different nodes. Subscription licensing is clearly displayed on the UI. Users can see the active subscriptions, the node count supported, assigned nodes, and time left on the subscription.
ADDING A NEW SUBSCRIPTION TO LIGHTHOUSE
1. Select > SYSTEM > Subscriptions. 2. Click Add Subscription for the applicable subscription tier. 3. The NEW SUBSCRIPTION dialog displays. 4. Click Choose file and select the required zip file. 5. Click Apply.
ASSIGNING SUBSCRIPTIONS TO NODES
Users can reassign nodes to different subscriptions in order to optimize Automation Edition features on their network.

24.06.0

Managing Lighthouse

116

Lighthouse User Guide
For example, if the user: l Previously had two license tiers, but only paid to renew one license tier l Purchased an Automation Edition license for the first time, and wants the extra functionality on
some of their nodes l Wants to swap which nodes have access to the extra functionality available in an Automation
Edition license
ASSIGNING A SINGLE NODE TO A SUBSCRIPTION
To assign a single node to a subscription: 1. Select > SYSTEM > Subscriptions. 2. Select the SUBSCRIPTION ASSIGNMENT tab. 3. To assign a subscription to a node click the Assign subscription to node button in the
right hand column the desired node. 4. The ASSIGN SUBSCRIPTIONS dialog displays showing details of the node in the left panel
and subscription options in the right panel. 5. Select from the available subscription options presented in the right panel. 6. Click Confirm Assignment.
ASSIGNING MULTIPLE NODES TO A SUBSCRIPTION
To assign multiple node to a subscription: 1. Select > SYSTEM > Subscriptions. 2. Select the SUBSCRIPTION ASSIGNMENT tab. 3. Select the node(s) to add to a subscription by selecting the checkbox in the left column. 4. The Update Subscriptions button is displayed above the table.

24.06.0

Managing Lighthouse

117

Lighthouse User Guide
5. Click Update Subscriptions. 6. The ASSIGN SUBSCRIPTIONS dialog displays showing details of the node in the left panel
and subscription options in the right panel. 7. Select from the available subscription options presented in the right panel. 8. Click Confirm Assignment.
Note: If a node that is assigned to the Automation Edition and has Smart Management Fabric configured is reassigned to an Enterprise Edition, the disable Smart Management Fabric template will automatically be pushed to that node and it will no longer be apart of the Smart Management Fabric network.
Tip: Another way of removing a node from a subscription is to unenroll the node. The subscription will then become available to be assigned to another node.
UPDATING A SUBSCRIPTION TO LIGHTHOUSE
1. Select > SYSTEM > Subscriptions. 2. Click Update Subscription for the applicable subscription tier. 3. The NEW SUBSCRIPTION dialog displays. 4. Click Choose file and select the required zip file. 5. Click Apply.
UPGRADING LIGHTHOUSE OVERVIEW
Lighthouse can be upgraded using a .lh_upg image file. Note the following conditions: l AWS requires .aws.lh_upg and Microsoft Azure requires .azure.lh_upg. All other
platforms use the standard .lh_upg file.

24.06.0

Managing Lighthouse

118

Lighthouse User Guide
l Incremental upgrades to Lighthouse using lh_upg files are only supported from 20.Q3.x and not earlier releases.
Note: Upgrades do not overwrite existing configurations or user files, however it is recommended that you perform a Configuration Backup before you upgrade a Lighthouse.
After the upgrade is complete, the Lighthouse instance reboots. It is unavailable during the reboot process.
ABOUT THE UPGRADE PROCESS
Lighthouse performs the following high-level steps to upgrade to the new version: 1. Validates the upgrade image, and takes a backup of the current root filesystem and snapshot of
data volume 2. Reboots into the new root filesystem (from the upgrade image) 3. Performs data migrations and system re-configurations 4. Commits the changes on success, or reverts on failure 5. For Multiple Instance only, after a successful Primary upgrade: After a 10 minute delay,
secondary instances are automatically upgraded in sequence. Lighthouse uses LVM snapshots to manage storage during upgrade and data migration. If a failure occurs, the snapshot is used to revert the system to its previous state. In regard to software versions, Lighthouse must be upgraded in succession. For example, to upgrade to a version that is several releases newer than your current release, you will need to install all the major releases in between to install the newest one.

24.06.0

Managing Lighthouse

119

Lighthouse User Guide
PREPARE TO UPGRADE LIGHTHOUSE
While upgrading Lighthouse is a simple process, the following tasks are best practices to ensure a successful upgrade: l Read the release notes, in particular any known issues or special requirements for the new
version l Provide a sufficiently large maintenance window to start and complete the upgrade. Larger
networks and more complex configurations will take more time. You can run q-stat to check the job queue status. l Download the correct upgrade image. l The current release can be found here: Opengear FTP l Archived releases are available here: Archives Opengear FTP l Verify the image integrity by checking against SHASUMS. For example, on Linux:
$ sha1sum lighthouse-24.06.0.lh_upg 0f52c30a212566030a1742b6e3d5bf9316d89abd lighthouse-24.06.0.lh_upg
l Before starting the upgrade, generate a Technical Support Report. This can assist Opengear support with diagnosing upgrade issues.
l Use the df command to display disk usage by filesystem:
root@lighthouse:~# df /mnt/data/

24.06.0

Managing Lighthouse

120

Lighthouse User Guide
l Ensure that you have enough disk space in /mnt/data. If you have less than 20% disk space available, clean up unnecessary files, or add disk space. If disk space is added to the primary instance, add additional space all secondary instances also.
l Take a Configuration Backup on the Primary Lighthouse. This can be used to restore the system in the event of failure during upgrade.
l Do not make any configuration changes during the upgrade process (includes secondary upgrades).
l Consider taking a Virtual Machine backup. If the Lighthouse storage has been increased (by adding additional physical volumes to LVM) then these must be included in the backup, and all storage volumes must be in sync.
l You can also consider running some technical checks before starting the upgrade to check job queues, memory, temporary filesystem (tmpfs), database integrity, and multiple instance status.
UPGRADING LIGHTHOUSE
UPGRADING A PRIMARY LIGHTHOUSE
To upgrade a primary Lighthouse: 1. Select > SYSTEM > System Upgrade. 2. Select the Upgrade Method, either Fetch image from HTTP/HTTPS Server or Upload
Image. l To upgrade via Fetch image from HTTP/HTTPS Server, enter the URL for the system
image in the Image URL text-entry field. l To upgrade via Upload Image, navigate to the directory containing the appropriate upgrade
image file and drag and drop the image onto the target page section or click select file to open a dialog.

24.06.0

Managing Lighthouse

121

Lighthouse User Guide
Note: To upgrade to a version that is several releases newer than your current release, you will need to install all the major releases in between before the latest one. 3. Click Perform Upgrade. Once the upgrade has started, the System Upgrade page displays feedback as to the state of the process.
Caution: The Advanced Options section should only be used as part of an Opengear Support call.
UPGRADING MULTI INSTANCE LIGHTHOUSE
Note: The upgrade must be performed through the Primary Lighthouse instance.
When the primary Lighthouse is updated, any secondary instance Lighthouses will be updated after the primary has successfully booted. Secondary Lighthouse upgrades are performed in parallel (not in a queue) to speed up the overall process.
Note: If any Lighthouse fails to successfully upgrade along the way, the upgrade will stop.
Before a multiple instance upgrade is attempted, compatibility and status checks are performed on primary/secondary instances to pre-empt possible failure points. Where there are multiple instances of Lighthouse, when a system upgrade is being performed the status of secondary instances is flagged in the > SYSTEM > System Upgrade page. During a system upgrade, notification/status elements are flagged in the following scenarios:

24.06.0

Managing Lighthouse

122

Lighthouse User Guide
l When an upgrade is attempted, a pass/fail notification on the instance. l When an upgrade is attempted on a secondary instance, a pass/fail notification on the
associated primary instance. Note: Information about the upgrade progress and status is visible by navigating to the Jobs page.
UPGRADING LIGHTHOUSE VIA THE CLI
Lighthouse includes a shell-based tool -- sysflash -- that allows a user with administrative privileges to upgrade the instance's system from the local terminal.
Note: Before using sysflash, we recommend that you check available disk space when manually uploading .lh upgrade files. We also suggest you use /mnt/nvram as the path.
UPGRADE VIA LOCAL TERMINAL
To upgrade Lighthouse instance's system using the Lighthouse local terminal: 1. Select Terminal. 2. At the [hostname] login: prompt, enter an administrator username and press Return. 3. At the Password: prompt, enter the administrator's password and press Return. 4. To use sysflash with a .lh_upg file available via an HTTP or HTTP server, at the local
terminal bash shell prompt, enter a URL that it is URL encoded.
>sysflash http[s]%3A%2F%2Fdomain.tld%2Fpath%2Fto%2Ffirmware-upgrade- image.lh_ upg
5. Press Return.

24.06.0

Managing Lighthouse

123

Lighthouse User Guide
UPGRADE VIA LOCAL FILE SYSTEM
To upgrade Lighthouse with sysflash and a .lh_upg file available via the local file system: 1. Select Terminal. 2. At the [hostname] login: prompt, enter an administrator username and press Return. 3. At the Password: prompt, enter the administrator's password and press Return. 4. At the local terminal bash shell prompt enter:
>sysflash /path/to/system-upgrade-image.lh_upg
5. Press Return.
Note: sysflash includes several flags that allow for variations in the standard system upgrade process. These flags should not be used unless directed to do so by Opengear Support.
List the flags by running either of the following at a local terminal bash shell prompt: sysflash -h or sysflash --help
UPGRADE NETOPS MODULES
NetOps Modules are released independently of Lighthouse software or Operations Manager firmware. Node upgrades may be carried out through either the Lighthouse UI.

24.06.0

Managing Lighthouse

124

Lighthouse User Guide

UPGRADE VIA LIGHTHOUSE UI
1. Log in to the Lighthouse web UI with a user assigned with Netops permissions. 2. Select NetOps > NetOps Installation. 3. Select Online. 4. Click Start Online Sync.
TROUBLESHOOTING THE UPGRADE PROCESS

There are two main reason why an upgrade fails:

Migration failures

Lighthouse will return to the pre-upgrade state. An example of such a failure is malformed data in the database, which does not conform to more stringent schema checks in the new version.

System level failures

This would include environmental issues such as power loss during the upgrade. If such an issue prevented Lighthouse from rolling back to the previous state, Lighthouse may be left in an unusable state.

RECOVERING FROM A FAILED UPGRADE
If Lighthouse is in an unusable state (either as a result of upgrade problems, or any other catastrophic failure), you can: 1. Promote a secondary Lighthouse, or 2. Restore a configuration backup, or 3. Manually retry upgrade.

24.06.0

Managing Lighthouse

125

Lighthouse User Guide
PROMOTE A SECONDARY LIGHTHOUSE
This requires multiple instances of Lighthouse. If the primary Lighthouse instance is unreachable, one of the existing secondary instances can be promoted to become the new primary Lighthouse instance. The old primary Lighthouse instance should be replaced with a fresh installation of Lighthouse. This can then be enrolled as a secondary to the newly promoted primary Lighthouse
RESTORE A CONFIGURATION BACKUP
Deploy a Lighthouse instance with the version you are upgrading from. Restore the configuration backup taken before the failed upgrade.
MANUALLY RETRY UPGRADE
Manually retry via the CLI if a secondary upgrade fails. Determine the reason for the upgrade failure and resolve the issue before retrying the upgrade. Assistance from Opengear technical support may be required.
Troubleshooting a Failed Secondary Lighthouse Upgrade
Note: The CLI interface commands have maintained references to unbound instances. Within the Lighthouse user interface, dependent instances have been renamed to Secondary Lighthouses.
To retry the upgrade for a secondary Lighthouse, first list the instance and identify the IDs of the secondary lighthouses that need to be retried by running the retry_dependent_upgrades list command.

24.06.0

Managing Lighthouse

126

Lighthouse User Guide
retry_dependent_upgrades list command will list all the secondary lighthouses and their current status, as in the example below:
root@lighthouse:~# retry_dependent_upgrades list ID UUID Hostname Firmware Version Fw Status Lighthouse Status 2 lighthouse_configurations-2 lighthouse-2 22.11.2 not updated UpgradeFailed 3 lighthouse_configurations-3 lighthouse-3 24.02.0 updated Enrolled 4 lighthouse_configurations-4 lighthouse-4 22.11.2 not updated UpgradeFailed
In the example above, the Lighthouses with IDs 2 and 4 have failed to upgrade (note that the "Enrolled" status is the desired status). To re-trigger an upgrade for those lighthouses run the following command. Ensure that the lighthouse IDs are comma separated:
retry_dependent_upgrades trigger -l 2,4
The method above is the recommended way but there is a shortcut to re-trigger all failed secondary upgrades by running the command below:
retry_dependent_upgrades trigger --failed
Note: Only one secondary will upgrade at a time.
You should be able to view the secondary upgrade progress in the primary Lighthouse UI as you would for a normal upgrade.
Contact Support
In the unlikely event that Lighthouse does not automatically recover, or your troubleshooting efforts fail, contact Opengear support for advice with the following information available to share:

24.06.0

Managing Lighthouse

127

Lighthouse User Guide
l If your instance is usable, download a Technical Support Report (from the Help menu). l The configuration backup taken before the upgrade process.
CONFIGURATION BACKUP
Before performing a factory reset or system upgrade, you may want to backup the current Lighthouse configuration. To do so: 1. Select > SYSTEM > Backup, Restore and Reset. 2. Specify additional User Files you also wish to include in the backup. This is optional and
entered one file or directory per line. 3. Specify whether to Encrypt Backup. To enable:
a. Select Enabled. b. Enter and confirm a password. 4. Click Download Backup and save this file. The filename consists of a timestamp and lh_bak extension, for example: lighthouse-20190710100325.lh_bak
CONFIGURATION RESTORE
To restore the configuration and user files: 1. Select > SYSTEM > Backup, Restore and Reset. 2. Select CONFIGURATION RESTORE. 3. Navigate to the directory containing the appropriate configuration image file and drag and drop
the file onto the target page section or click select file to open a dialog. Supported files: .lh_ bak. 4. Enter the Backup Password if the configuration was encrypted. 5. Click Restore Backup. 6. The CONFIGURATION RESTORE CONFIRMATION dialog displays.

24.06.0

Managing Lighthouse

128

Lighthouse User Guide

7. Click Yes. 8. Lighthouse will restore the backup and any included user files and restart.
Considerations If Using Multiple Instances

Lighthouse Version

Consideration

BEFORE 23.04.1

Existing dependent Lighthouse instances will not be synced with the primary, and will need to be deleted and re-enrolled again.

23.04.1 AND LATER

The newly restored primary should re-establish contact with the existing dependent instances. The databases may be out of sync at first, but will be re-synced automatically.

SHUT DOWN OR RESTART LIGHTHOUSE
The following sections describe the process to shut down or restart Lighthouse. This includes finding instance version, returning to factory setting, and shutting down or restarting a running version of Lighthouse.
FINDING THE CURRENT LIGHTHOUSE INSTANCE VERSION
There are several ways to find the current Lighthouse version: l Displayed under the logo in the top left of the display. l Locating within the Lighthouse UI in the instance details. l Via the local Lighthouse shell.

24.06.0

Managing Lighthouse

129

Lighthouse User Guide
VERSION INFORMATION WITHIN THE LIGHTHOUSE UI
1. Select . 2. The information panel expands.
VERSION INFORMATION VIA THE LOCAL SHELL
1. Select Terminal. 2. At the [hostname] login: prompt, enter an administrator username and press Return. 3. At the Password: prompt, enter the administrator's password and press Return. 4. At the bash shell prompt, enter cat /etc/version and press Return.
The current Lighthouse instance's version is returned to STD OUT. For example: root@lighthouse:~# cat /etc/version 2022.Q1.0
Note: The procedure above uses the Web UI to reach the Lighthouse Local Terminal. This is not the only way to reach the Lighthouse shell and cat /etc/version works in any circumstance where an administrator has access to the Lighthouse shell. For example, many of the Virtual Machine Manager applications that can run a Lighthouse instance offer virtual console access. If this is available and an administrator logs in to the Lighthouse shell via this console, the command string works as expected.
OTHER INFORMATION SOURCES
Two other command strings can be useful when specifics about a particular Lighthouse instance are needed. Both these commands can be run by an administrator with access to a running Lighthouse instance's bash shell. First is cat /etc/sw*. This command concatenates the following four files to STD OUT:

24.06.0

Managing Lighthouse

130

Lighthouse User Guide
/etc/sw_product /etc/sw_variant /etc/sw_vendor /etc/sw_version
For example:
# cat /etc/sw* lighthouse release opengear 2022.Q1.0
Second is cat /etc/issue. /etc/issue is a standard *nix text file which contains system information for presenting before the system's login prompt. On a Lighthouse instance, /etc/issue contains the vendor and Lighthouse product version.
# cat /etc/issue Opengear Lighthouse 2022.Q1.0 \n \l
SHUT DOWN A RUNNING LIGHTHOUSE INSTANCE
1. Select Terminal. 2. At the [hostname] login: prompt, enter an administrator username and press Return. 3. At the Password: prompt, enter the administrator's password and press Return. 4. Enter the command shutdown now and press Return. 5. The Lighthouse instance shuts down.

24.06.0

Managing Lighthouse

131

Lighthouse User Guide
RESTARTING A RUNNING LIGHTHOUSE INSTANCE
1. Select Terminal. 2. At the [hostname] login: prompt, enter an administrator username and press Return. 3. At the Password: prompt, enter the administrator's password and press Return. 4. At the prompt enter one of the following commands:
l reboot and press Return, or l shutdown -r now and press Return. 5. The Lighthouse instance shuts down and reboots.
RETURNING A LIGHTHOUSE INSTANCE TO FACTORY SETTINGS
At some stage, you may need to return to the factory settings. You can do this either through the UI or by running a shell script if you have root access.
Note: During this process, the current Lighthouse configuration will be overwritten and user files will be deleted. If you wish, you can create a backup of the configuration and any desired user files.
RESTORING FACTORY SETTINGS
To return a Lighthouse instance to its factory settings using the Lighthouse UI: 1. Login to the Lighthouse as root.
Note: Other users, even those with full administrative privileges, do not have the permissions required to reset the Lighthouse VM to its factory settings. 2. Select > SYSTEM > Backup, Restore and Reset.

24.06.0

Managing Lighthouse

132

3. Select the FACTORY RESET tab. 4. Read and understand the warning presented. 5. To proceed type YES in the confirmation field. 6. Click Reset Lighthouse.

Lighthouse User Guide

MONITOR JOBS
You can keep track of jobs in Lighthouse which are scheduled, running, or have run.
VIEW CURRENT OR SCHEDULED JOBS
1. Select Jobs. 2. The JOBS page displays defaulted to the CURRENT tab. 3. To display jobs that have completed, select the ENDED tab 4. Use the Filter Jobs control to refine the jobs displayed. 5. To view the details of a job, select the link in the Job Type column. The job details dialog will display.

24.06.0

Managing Lighthouse

133

Lighthouse User Guide
CONFIGURING LIGHTHOUSE
Lighthouse can be customized as required, by the creation of users and user Groups, to enable Smart Management Fabric, for authentication, and to enable network traffic mirroring.
MANAGING TEMPLATES
Templates are a centralized way of changing the configuration for enrolled Opengear device nodes by pushing predefined configuration templates to selected nodes. The following are the types of config templates to create and manage: l Authentication l Scripts l Smart Management Fabric l Users &Groups Other templates that can be pushed around: l NetOps Modules l Port Logging Both have predefined templates to deploy as required.
MANAGE AUTHENTICATION TEMPLATES
Only users assigned to the Lighthouse Administrator role can access Node Tools > Config Templates > Authentication Templates and manage authentication templates.
CREATE A NEW AUTHENTICATION TEMPLATE
Note: Only Lighthouse Administrators can create authentication templates.

24.06.0

Configuring Lighthouse

134

Lighthouse User Guide
1. Select Node tools > Config Templates. 2. The CONFIG TEMPLATES page displays. 3. Click New Config Template. 4. The PICK A CONFIG TYPE selection options expand. 5. Select Authentication. 6. The ADD AUTHENTICATION TEMPLATE page displays. 7. Enter a Name and Description for a template in the Template Details section. 8. Select Pre Populate to populate the template fields with the current Lighthouse remote
authentication settings. 9. Select a desired Scheme:
l Local Users Only l Radius
a. Enter the Remote authentication server Address and Port. b. If required, click Add Authentication Server to add a server. c. If required, click Add Accounting Server to add a server. d. Enter the Server Password and Confirm Password. l TACACS+ a. Enter the Remote authentication server Address and Port. b. If required, click Add Authentication Server to add a server. c. Select the TACACS+ login method used to authenticate to the server. Defaults to PAP.
To use DES encrypted passwords, select Login d. Enter the Server Password and Confirm Password. e. Enter the TACACS+ service to authenticate with. This determines which set of attributes
are returned by the server. Defaults to "raccess"

24.06.0

Configuring Lighthouse

135

Lighthouse User Guide
l LDAP a. Enter the Remote authentication server Address and Port. b. If required, click Add Authentication Server to add a server. c. If required, enter LDAP Base DN details. The distinguished name of the search base. For example: dc=my-company,dc=com. d. If required, enter LDAP Bind DN details. The distinguished name to bind to the server with. The default is to bind anonymously. e. If required, enter Bind DN Password and Confirm Password f. If required, enter LDAP Username attribute details. The LDAP attribute that corresponds to the login name of the user (commonly "sAMAccountName" for Active Directory, and "uid" for OpenLDAP). g. If required, enter LDAP group membership attribute details. h. Check Ignore Referrals to disregard LDAP referrals to other servers (Only applied to OM Devices). i. Select the SSL protocol. j. Check Ignore SSL certificate errors so errors encountered when accessing LDAPS servers will be ignored. k. Select and upload the CA certificate to validate LDAPS servers.
10. Click Save Template.
Note: When an authentication template is pushed to a node, the authentication settings at that node are replaced by the authentication settings defined in the authentication template.
Note: The authentication templates do not support the full list of settings that the Opengear devices support. However, templates can be applied, and then additional settings configured manually.

24.06.0

Configuring Lighthouse

136

Lighthouse User Guide
EDIT AN AUTHENTICATION TEMPLATE
1. Select Node tools > Config Templates. 2. The CONFIG TEMPLATES page displays. 3. The AUTHENTICATION tab is selected. 4. Select the name of the template to be modified. 5. The EDIT AUTHENTICATION TEMPLATE page displays. 6. Make required changes. 7. Click Save Template.
DELETE AN AUTHENTICATION TEMPLATE
1. Select Node tools > Config Templates. 2. The CONFIG TEMPLATES page displays. 3. The AUTHENTICATION tab is selected. 4. Select the name of the template to be deleted. 5. The EDIT AUTHENTICATION TEMPLATE page displays. 6. Click Delete Template. 7. A confirmation dialog displays. 8. Click Delete.
MANAGE SCRIPT TEMPLATES
Script Templates allow the user to upload arbitrary shell scripts to be run on a node. For example, a script may set additional configuration settings not available in other templates or store additional files onto the node such as certificates. The uploaded script must:

24.06.0

Configuring Lighthouse

137

Lighthouse User Guide
l Have a .sh extension. l Be less than 1MB in size. Other than those, there are no other restrictions on the script file to be uploaded. Once saved, the template stores the size and SHA1 checksum of the script. This can be used to verify the script contents of the template once saved. To apply script templates, the selected nodes need to be running firmware version 4.1.1 or later.
CREATE A NEW SCRIPT TEMPLATE
Note: Only Lighthouse Administrators can create script templates.
1. Select Node tools > Config Templates. 2. The CONFIG TEMPLATES page displays. 3. Click New Config Template. 4. The PICK A CONFIG TYPE selection options expand. 5. Select Scripts. 6. The ADD SCRIPT TEMPLATE page displays. 7. Enter a Name and Description for the template. 8. Enter the Script timeout. This is the time to wait (in minutes) for the execution of the script.
After timeout is reached, script will be stopped. 9. Select and upload the script file. Supported files: .sh 10. Click Save Template.
Note: Script checksum and Script size are displayed after the template with uploaded script is saved.

24.06.0

Configuring Lighthouse

138

Lighthouse User Guide
EDIT A SCRIPT TEMPLATE
1. Select Node tools > Config Templates. 2. The CONFIG TEMPLATES page displays. 3. Select the SCRIPT tab. 4. Select the name of the template to be modified. 5. The EDIT SCRIPT TEMPLATE page displays. 6. Make required changes. 7. Click Save Template.
DELETE A SCRIPT TEMPLATE
1. Select Node tools > Config Templates. 2. The CONFIG TEMPLATES page displays. 3. Select the SCRIPT tab. 4. Select the name of the template to be deleted. 5. The EDIT AUTHENTICATION TEMPLATE page displays. 6. Click Delete Template. 7. A confirmation dialog displays. 8. Click Delete.
MANAGE SMART MANAGEMENT FABRIC TEMPLATES
Smart Management Fabric allows you to create an enterprise grade Open Shortest Path First (OSPF) solution for network connectivity, configuration and troubleshooting devices connected to supported nodes on Lighthouse, wherever they may be.

24.06.0

Configuring Lighthouse

139

Lighthouse User Guide
Caution: Smart Management Fabric is an advanced feature. Prior to roll out, it is recommended to ensure its compliance with your enterprise security posture.

Smart Management Fabric uses dynamic link state routing to allow IP connectivity to IT resources regardless of whether the connection is either: l Physically, via USB, serial ports that are configured with IP addresses l Virtually, via SSH, https (GUI), SPs/BMCs (iLO, iDRAC, etc.) l Via commonly used automation tools such as RDP, Ansible, Python, vCenter Smart Management Fabric templates allow OSPF to be run on a node. For example, a template may set network addresses, subnet masks and authentication methods. To apply Smart Management Fabric templates, the selected nodes must: l Be a supported Opengear appliance l Be running firmware version 23.10 or later.

24.06.0

Configuring Lighthouse

140

Lighthouse User Guide
Note: A user can override the smart management fabric configuration by using the command line interface tool.
CREATE A SMART MANAGEMENT FABRIC TEMPLATE
1. Select Node tools > Config Templates. 2. The CONFIG TEMPLATES page displays. 3. Click New Config Template. 4. The PICK A CONFIG TYPE selection options expand. 5. Select Smart Management Fabric. 6. The ADD SMART MANAGEMENT FABRIC TEMPLATE page displays. 7. Enter the Name, Description of the template. 8. Check the applicable Routing Options:
l Check Redistribute Connected to redistribute directly connected routes to all routers in the attached Routing Information Protocol (RIP) domain.
l Check Redistribute Kernel to share the static routes on the devices 9. Check Enable Masquerading for all interfaces to override individual masquerading settings
on interfaces. 10. Select the OSPF Configuration Method. Select one of the following to send link-state
advertisements on one of following: l Interface - to advertise the OSPF on the whole interface l Network - to advertise the OSPF on a selected network 11. Select the OPSF Configuration Method.

24.06.0

Configuring Lighthouse

141

Lighthouse User Guide
l Select Interface to advertise OSPF on the whole interface. a. Click Add Interface. b. The ADD INTERFACE dialog displays. c. Enter the Interface Name. This must match the name of the interface on the device. d. Check the Masquerade Interface to show that traffic from this interface appears to come directly from the supported node to other devices in the subnet. e. Check the Passive Interface if routes are not to be propagated to the network it is on. f. Enter the link Cost used in OSPF route calculations which indicates the overhead required to send packets across the specified interface. g. Select the Authentication Method MD5, Clear Text or No Authentication.
Note: For MD5 at least one key is required. Click Add Digest Key to enter the key details.
l Select Network to define which networks should be advertised. a. Click Add Network. b. Enter the Address, Subnet Mask, and OPSF Area. c. Click Add Interface. d. The ADD INTERFACE dialog displays. e. Enter the Interface Name. This must match the name of the interface on the device. f. Check the Masquerade Interface to show that traffic from this interface appears to come directly from the supported node to other devices in the subnet. g. Check the Passive Interface if routes are not to be propagated to the network it is on. h. Enter the link Cost used in OSPF route calculations which indicates the overhead required to send packets across the specified interface. i. Select the Authentication Method MD5, Clear Text or No Authentication.

24.06.0

Configuring Lighthouse

142

Lighthouse User Guide
Note: For MD5 at least one key is required. Click Add Digest Key to enter the key details. 12. Click Save Template.
VALIDATING SMART MANAGEMENT FABRIC TEMPLATES
To check that the Smart Management Template has been applied and to verify that OSPF is running and configured, login to Lighthouse and Appliances CLI. Run the commands below to validate that the Smart Management Fabric template has been properly applied:
vtysh -c "show running-config" vtysh -c " sh ip ospf neigh" -c " sh ip ospf route"
The templated OSPF/SMF values will display, for example:

EDIT A SMART MANAGEMENT FABRIC TEMPLATE
1. Select Node tools > Config Templates. 2. The CONFIG TEMPLATES page displays.

24.06.0

Configuring Lighthouse

143

Lighthouse User Guide
3. Select the SMART MANAGEMENT FABRIC tab. 4. Select the name of the template to be modified. 5. The EDIT SMART MANAGEMENT FABRIC TEMPLATE page displays. 6. Make required changes. 7. Click Update Template.
Caution: Firewall rules will be added to the nodes to allow OSPF traffic.
Note: You cannot edit the system Disable Smart Management Fabric template.
DELETE A SMART MANAGEMENT FABRIC TEMPLATE
1. Select Node tools > Config Templates. 2. The CONFIG TEMPLATES page displays. 3. Select the SMART MANAGEMENT FABRIC tab. 4. Select the name of the template to be deleted. 5. The EDIT SMART MANAGEMENT FABRIC TEMPLATE page displays. 6. Click Delete Template. 7. A confirmation dialog displays. 8. Click Delete.
Note: You cannot delete the system Disable Smart Management Fabric template.
MANAGE USER AND GROUP TEMPLATES
To navigate to the page:

24.06.0

Configuring Lighthouse

144

Lighthouse User Guide
1. Select Node Tools > Config Templates. 2. Select the USERS AND GROUPS tab. Each template contains a list of user-defined groups and/or individual users. Each group has a defined role which determines what privileges group members have. User roles are defined by the groups they are a member of.
Note: Each template must contain at least one group.
The available group roles are: l Node Administrator: maps to the administrator role on the nodes. l Node User: maps to the ports user role and the pmshell role on the nodes. Ports access can be
restricted if required.
CREATE A NEW USER AND GROUP TEMPLATE
1. Select Node tools > Config Templates. 2. The CONFIG TEMPLATES page displays. 3. Click New Config Template. 4. The PICK A CONFIG TYPE selection options expand. 5. Select Users & Groups. 6. The ADD USERS AND GROUPS TEMPLATE page displays. 7. Enter a Name and Description for the template. 8. Set the group list.
Note: Groups provided in the list will replace any user defined groups on the node.

24.06.0

Configuring Lighthouse

145

Lighthouse User Guide
a. Click Add Group. b. The ADD GROUP dialog displays. c. Enter the Group Name. d. Enter the Description. e. Select the Role either Node Administrator or Node User. f. For the role Node User check the Restrict accessible Serial Ports to enter the Permitted
Serial Ports Range. Ranges use the format start-finish eg., 1,3-5,8 g. Click Add Group 9. Set the user list.
Note: Users provided in this list will replace any user defined users on the node.
a. Click Add User. b. The ADD USER dialog displays. c. Enter the User Name. d. Enter the Description. e. Enter the Password and Passsword Confirmation. f. Check the Group Name(s) to select the Group Membershipt g. Click Add User 10. Click Save Template.
Note:When a Users and Groups template is pushed to a node, all custom groups on that node are replaced by groups defined in the template. If no users are in the new template, existing users will remain on the node. To push users, the selected nodes need to be running firmware version 4.3.0 or later.

24.06.0

Configuring Lighthouse

146

EDIT A USERS AND GROUPS TEMPLATE
EDIT A USERS AND GROUP TEMPLATE
1. Select Node tools > Config Templates. 2. The CONFIG TEMPLATES page displays. 3. Select the USERS AND GROUPS tab. 4. Select the name of the template to be modified. 5. The EDIT USERS AND GROUPS TEMPLATE page displays. 6. Make required changes. 7. Click Save Template.
DELETE A GROUP FROM A TEMPLATE
1. Select Node tools > Config Templates. 2. The CONFIG TEMPLATES page displays. 3. Select the USERS AND GROUPS tab. 4. Select the name of the template to be modified. 5. The EDIT USERS AND GROUPS TEMPLATE page displays. 6. Select the group name from the SET GROUP LIST section. 7. The UPDATE GROUP dialog displays. 8. Click Delete. 9. Click Save Template.

Lighthouse User Guide

24.06.0

Configuring Lighthouse

147

DELETE A USER FROM A TEMPLATE
1. Select Node tools > Config Templates. 2. The CONFIG TEMPLATES page displays. 3. Select the USERS AND GROUPS tab. 4. Select the name of the template to be modified. 5. The EDIT USERS AND GROUPS TEMPLATE page displays. 6. Select the username from the SET USER LIST section. 7. The UPDATE USER dialog displays. 8. Click Delete. 9. Click Save Template.
DELETE A USERS AND GROUPS TEMPLATE
1. Select Node tools > Config Templates. 2. The CONFIG TEMPLATES page displays. 3. Select the USERS AND GROUPS tab. 4. Select the name of the template to be deleted. 5. The EDIT USERS AND GROUPS TEMPLATE page displays. 6. Click Delete Template. 7. A confirmation dialog displays. 8. Click Delete.

Lighthouse User Guide

24.06.0

Configuring Lighthouse

148

Lighthouse User Guide
DELETING USERS OR GROUPS FROM A TEMPLATE
Note: To save the template, the system requires a minimum of either one Group or one User added.
DELETE A GROUP FROM A TEMPLATE
1. To modify a template by deleting a group, select Node Tools > Config Templates from the main menu. The CONFIG TEMPLATE dashboard displays.
2. Select USERS AND GROUPS tab. 3. Select the template to be modified. The EDIT USERS AND GROUPS TEMPLATE page displays. 4. Select the group to be deleted from the SET GROUP LIST section by clicking the name of the group.
The UPDATE GROUP dialog displays. 5. >Click Delete button. The group is deleted. 6. Click Save Template to save the changes.
DELETE A USER FROM A TEMPLATE 1. To modify a template by deleting a group, select Node Tools > Config Templates from the
main menu. The CONFIG TEMPLATE dashboard displays. 2. Select USERS AND GROUPS tab. 3. Select the user to be deleted from the SET USER LIST section by clicking the username. The
UPDATE GROUP dialog displays 4. Select the user to be deleted. The UPDATE USER dialog displays 5. Click Delete button. The user is deleted. 6. Click Save Template to save the changes.

24.06.0

Configuring Lighthouse

149

Lighthouse User Guide
PUSH TEMPLATES
Users with Lighthouse Administrator privileges (that is, users with the Lighthouse Administrator role or users who are members of groups with the Lighthouse Administrator role) can access Node TOOLS > Config Templates and push templates affecting nodes in node filters linked to their role. The following types of templates can be applied to selected nodes: l Authentication l Users and Groups l Script l Netops Module Activation l Port Logging l Smart Management Fabric Lighthouse Administrators can manually apply the Netops modules of Secure Provisioning, Automation Gateway, or IP Access to the suitable Opengear Console Server node.
PUSH A TEMPLATE
The process to push templates consists of four stages, each one a step in the overall wizard: 1. Select a template. 2. Select the target nodes. 3. Run the Pre-flight Test. This test run simulates what happens if the template is pushed to the
selected nodes. 4. Push the template.

24.06.0

Configuring Lighthouse

150

Lighthouse User Guide
SELECT A TEMPLATE 1. Select Node Tools > Config Templates. 2. The CONFIG TEMPLATES page displays. 3. Select a template config type tab:
l AUTHENTICATION l NETOPS MODULES l PORT LOGGING l SCRIPT l SMART MANAGEMENT FABRIC l USERS AND GROUPS 4. For the desired template click the Push template icon on the right of the row. 5. The PUSHING TEMPLATE page displays.
SELECT THE TARGET NODES
1. Select the target nodes by clicking the check boxes next to them.
Note: Third-party nodes are not supported for template execution.
RUN PRE-FLIGHT TEST
1. Click Run Pre-Flight Test. 2. After all nodes finish pre-flight, the Pre-flight Status goes green and the Push Configuration button
becomes active.

24.06.0

Configuring Lighthouse

151

Lighthouse User Guide
PUSH THE TEMPLATE
1. Click Push Configuration. 2. Confirm the TEMPLATE RUN STATUS per node as displayed in the column. 3. Confirm the PUSH STATUS per node as displayed in the column. 4. Click Exit to Config Templates.
MANUALLY APPLY NETOPS MODULES VIA TEMPLATE
1. Select Node Tools > Config Templates. 2. The CONFIG TEMPLATES page displays. 3. Select the NETOPS MODULES tab. 4. The Secure Provisioning, IP Access, and Automation Gateway templates display. 5. For the desired template click the Push template icon on the right of the row. 6. The PUSHING TEMPLATE page displays. 7. Select the desired nodes by clicking the check boxes next to them.
Note: Only applicable Console Servers for the module display during this node selection step.
8. Click Run Pre-Flight Test. The test status is displayed in the PREFLIGHTSTATUScolumn for the node.
9. When pre-flight is complete, click Push Configuration.
CONFIGURATION AND TECHNICAL SUPPORT REPORTS
Lighthouse can generate a technical support report that includes Lighthouse configuration information and the current system log for the Lighthouse VM.

24.06.0

Configuring Lighthouse

152

Lighthouse User Guide
The support technician may ask for this report if you contact Opengear Technical Support.
GENERATE A SUPPORT REPORT VIA THE LIGHTHOUSE INTERFACE
1. Select to expand the help menu. 2. Select Generate Technical Support Report. 3. The help menu updates to display the following message:
Report is being generated. Download will start automatically. 4. The generation completes and the help menu updates to display the following message:
Report Downloaded Successfully.
GENERATE A SUPPORT REPORT VIA THE LOCAL TERMINAL
1. Select Terminal. 2. A local terminal window displays. 3. At the [hostname] login: prompt, enter an administrator username and press Return. 4. At the password: prompt, enter the administrator's password and press Return. 5. At the bash shell prompt, enter: support-report -z > /tmp/support.zip and press
Return The -z switch generates the same combined file produced by the download support report link noted in the Lighthouse UI specific procedure.
Note: In the example above, the redirect saves the generated zip file to /tmp/support.zip. However, be aware that the /tmp directory is deleted during a reboot, so the file might be saved to a different location.

24.06.0

Configuring Lighthouse

153

Lighthouse User Guide
Following are two options for copying the file from Lighthouse: 1. Use SCP from a Mac or Windows client. As scp only requires ssh access, no additional
configuration is required on Lighthouse for this to work.
$ scp root@192.168.0.2:/tmp/support.zip . root@192.168.0.2's password: support.zip 100% 321 604.0KB/s 00:00
Note: For Windows users, WinSCP on Win10 also works.
2. Use the FTP client on Lighthouse to copy the file to an FTP server. Passive mode must be used for this to work.
root@LH5-UK-Lab:/tmp# ftp ftp> open 192.168.0.216 Connected to 192.168.0.216. 220 im7200-demo-uk FTP server (GNU inetutils 1.4.1) ready. Name (192.168.0.216:root): fred 331 Password required for fred. Password: 230- *** Opengear UK Demo IM7216 *** 230 User fred logged in. Remote system type is UNIX. Using binary mode to transfer files. ftp> passive Passive mode on. ftp> bin 200 Type set to I. ftp> put support.zip 227 Entering Passive Mode (192,168,0,216,208,166) 150 Opening BINARY mode data connection for 'support.zip'. 226 Transfer complete. 4132664 bytes sent in 0.128 seconds (32262492 bytes/s) ftp> quit 221 Goodbye.

24.06.0

Configuring Lighthouse

154

Lighthouse User Guide
CONFIGURING LIGHTHOUSE FOR NETWORK TRAFFIC MIRRORING
Lighthouse can be integrated with a user's enterprise Intrusion Detection System (IDS) for realtime detection of security events in their network infrastructure.

Lighthouse allows users to configure the network traffic tap feature via the command line interface. The traffic_mirroring command:
l Mirrors all network traffic over the encrypted OpenVPN tunnel between Lighthouse and the Opengear supported appliances, and forwards all network traffic as decrypted packets to a

24.06.0

Configuring Lighthouse

155

Lighthouse User Guide
configurable endpoint. The endpoint is expected to be a "gateway" IP address of an external device that is routable from Lighthouse. l Preserves the original UDP and TCP/IP header information while mirroring (so that the IDS can
reassemble TCP streams and inspect the payload).
Note: Traffic mirroring is only supported on TCP and UDP.
l Provides an option to add a configurable VLAN tag to the Ethernet header. l Works with multiple instances. Only users with sudo access on the primary Lighthouse CLI (for example, via the admin group) can enable or disable traffic mirroring. Users must: l Ensure that the traffic is routed to the required destination in their enterprise network l Ensure that their firewall rules allow traffic mirroring.
Note: All functionality is available only via the Lighthouse CLI. There is no UI or REST API interface for network traffic mirroring feature. For detailed CLI usage see traffic_ mirroring --help.
CONFIGURING NETWORK TRAFFIC MIRRORING FOR MULTIPLE INSTANCES
Network traffic mirroring can configured for multiple instances of Lighthouse. It can mirror traffic between Lighthouses, and between a node and a dependent Lighthouse. If new dependent Lighthouses are added to a network that is mirroring traffic, they must be reconfigured for network traffic mirroring.

24.06.0

Configuring Lighthouse

156

Lighthouse User Guide
Note: All CLI configuration, including enabling and disabling, must be run on the primary Lighthouse. A dependent Lighthouse can only run the --test and --status arguments.
Users can specify different settings for each Lighthouse. For example: l A dependent Lighthouse can have a different VLAN ID (or no VLAN ID), and a different
destination IP l A dependent Lighthouse can be set to only mirror node traffic, and not multi-instance traffic.
This is useful because the primary is already mirroring that traffic l You can enable or disable network traffic mirroring per instance.
Note: All newly enrolled secondary Lighthouse instances have network traffic mirroring disabled by default.
TROUBLESHOOTING NETWORK TRAFFIC MIRRORING
It is possible that there may be momentary periods of up to a few seconds where traffic is not being mirrored. For example mirroring outages of a few seconds can occur during: l Configuration if changes are being made to the VPN subnet or firewall l The Lighthouse boot process.
To ensure that traffic monitoring is uninterrupted, avoid rapid changes to configuration and repeated reboots of Lighthouse.

24.06.0

Configuring Lighthouse

157

Lighthouse User Guide
WORKING WITH LIGHTHOUSE NODES
After Lighthouse has been installed and configured, enroll a small set of nodes, then create a set of tags and node filters that allow nodes access to be filtered to the correct subset of users. Once these nodes are installed, test access to the node's Web UI and serial ports. Node Filters, Port Filters and Resource Filters can be associated with a group, this will restrict the group to only have access to those resources which match the filter. Note that these filters intersect for ports and nodes, if you give a user access to a node but access to the first port on every node, they will only be able to access the first port on that node, and they won't be able to access the first port on any other nodes.If no filter is assigned and the user has permissions to access the object in question ("Connected Resource Gateway" for resources and "Node and Devices (Base) for Nodes and Ports) then the user will have access to all objects. Those permissions are disabled by default when you create a new role.
ENROLLMENT BUNDLES
An Enrollment Bundle stores provisioning information, allowing for bulk enrollment and manipulation of remote nodes. Applying an Enrollment Bundle during enrollment allows tags to be associated with nodes when they're first enrolled. This is useful for larger roll outs where many nodes are deployed with similar configuration and responsibilities. If relevant Node Filters have been set up, newly enrolled nodes are immediately visible for the relevant users to configure and use. Associating templates with an Enrollment Bundle allows you to run a set of templates on a node, after it has been enrolled.
ASSIGNING SUBSCRIPTIONS TO A BUNDLE
l Every bundle is associated with a subscription. l If you only have one subscription, it will be selected automatically.

24.06.0

Working with Lighthouse Nodes

158

Lighthouse User Guide
l If you have both an Enterprise Edition and Automation Edition subscription, then you will need to select which will be used for nodes in the bundle. Automation Edition provides all the capabilities of Enterprise Edition, plus the ability to use Automation Gateway, Secure Provision, Smart Management Fabric and Connected Resource Gateway.
CREATING AN ENROLLMENT BUNDLE
1. Select Node Tools > Enrollment Bundles. 2. Click the Add Enrollment Bundle button. 3. The New Enrollment Bundle Details page displays. 4. Enter a Name and Token for the bundle in the respective fields. 5. (Optional) Select the Auto-approve node checkbox.
When this is checked, a device configured using this enrollment bundle is not placed in pending mode during the enrollment process. Instead, it is automatically approved for enrollment. 6. Under Subscription Selection select either: Lighthouse Enterprise Edition or Lighthouse Enterprise Automation. Where only one subscription is available, this will be selected for you 7. Under the BUNDLE TAGS section, select / create the tags to apply to any nodes that enroll using this enrollment bundle. a. Click Add Tag. b. Select the tag and the value from the dropdown lists or enter a new tag key and value in the
fields. 8. Under the BUNDLE TEMPLATES section, select the templates to apply to any nodes that
enroll using this Enrollment bundle. To add a template:

24.06.0

Working with Lighthouse Nodes

159

Lighthouse User Guide
a. Click Add Templates. b. The CHOOSE TEMPLATES dialog displays. c. Select the templates to add. d. Click Add. To remove a template: a. Click the icon for the individual template.
Note: The templates in the table are executed in the order they appear. The templates can be reordered using the icons.
Caution: Template push operations stop if one template fails.
9. Under the NETOPS MODULES section, select the NetOps modules to automatically activate for any supported nodes. To add a bundle: a. Click Add Module. b. The CHOOSE MODULE dialog displays. c. Select the desired NetOps Module from the list. d. Click Add. To remove a bundle: a. Click the icon for the individual bundle.
Note: The modules in the table are executed in the order they appear. The modules can be reordered by using the icons.
Caution: Module push operations stop if one template fails.

24.06.0

Working with Lighthouse Nodes

160

Lighthouse User Guide
10. Click Apply.
STRUCTURE OF AN ENROLLMENT BUNDLE FILE
An enrollment bundle file, manifest.og, contains a series of field-value pairs that an unconfigured device can use to configure itself. Options that can be set in manifest.og include new firmware, custom configuration scripts, OPG config files, and Lighthouse Enrollment details. By default, manifest.og includes the following field-value pairs (with example values):
address=192.168.88.20 api_port=4443 bundle=bne-dc password=secret
Custom field-value pairs can be added manually. The field names are potential field names for a real-world, customized file, but the values following each field name are examples: script=configure_ports.sh image=acm7000-3.16.6.image external_endpoints=192.168.1.2:4444,192.168.1.3:4445
MANAGE THE ENROLLMENT SETTINGS
1. Select Node Tools > Enrollment Settings. 2. The ENROLLMENT SETTINGS page displays. 3. Enter the Enrollment Token for nodes to request enrollment. 4. Select the Default Subscription for call home node enrollments. The available nodes are
displayed against the subscriptions.

24.06.0

Working with Lighthouse Nodes

161

Lighthouse User Guide
5. Optionally click Download to download the manifest .og file. 6. Click Apply.
ENROLLING NODES
Enrolling nodes is the process of connecting nodes to Lighthouse to make them available for access, monitoring, and management. A node is a device that can be enrolled with Lighthouse, allowing it to be accessed, managed, and monitored. You can enroll nodes in the following ways: l From the Lighthouse Web UI. l From the Node Web UI. l USB drive. l Mass Enrollment using Zero Touch Provisioning (ZTP). l Automatic enrollment of appliances as managed through the preference settings in the
Lighthouse Service Portal (LSP). The Lighthouse Service Portal is part of the Opengear Customer Portal.
Note: OPERATIONS MANAGER support may be partial for earlier releases, which may currently involve mass node enrollment using ZTP and enrollment via USB drive. However, all template types are supported.
Credentials must be provided to authenticate either the Lighthouse during Enrollment via the Lighthouse WebUI, or the node during the other Enrollment scenarios. Lighthouse uses OpenVPN tunnels secured with certificate authentication to connect the Lighthouse instance and remote nodes. For the connections to work properly, the clocks/times between the Lighthouse instance and each remote node server need to be synchronized. During

24.06.0

Working with Lighthouse Nodes

162

Lighthouse User Guide
the enrollment process when a new remote node is being added, if that node is not using NTP (Network Time Protocol) to synchronize its time, the node will check the HTTP Date header sent by Lighthouse in the enrollment request. The remote node will then set its own local system clock to match the time shown in that HTTP Date header from Lighthouse. This ensures the new remote node has its time matched to the Lighthouse before the VPN tunnel is established, preventing potential time sync issues between the tunnel endpoints. If a remote node is relying on an NTP server to set its own time, it still checks the HTTP Date header sent by Lighthouse to affect the time synchronization but does not set its local time to that of the Lighthouse instance. When enrolling via Lighthouse, an administration username and password for the node must be provided. When enrolling via the node, an Enrollment token must be provided. A default Enrollment token can be set by selecting Node Tools > Enrollment Settings from the menu and individual tokens set per Enrollment bundle. Enrollment is a two-step process: 1. After enrollment begins, nodes receive their Enrollment package, and establish a VPN
connection to Lighthouse. 2. The node is now in the Pending state and needs to be Approved before the node is available for
access, management, or monitoring.
Note: This second step can be skipped by selecting the Auto-approve node checkbox when configuring an Enrollment bundle.
ENROLLMENT VIA THE LIGHTHOUSE WEB UI
Note: Enrollment via Lighthouse Web UI only works if the node is reachable from Lighthouse.

24.06.0

Working with Lighthouse Nodes

163

Lighthouse User Guide

To enroll a node: 1. Select Enroll Node in the header pane. 2. The ENROLL NODES dialog is displayed. 3. Select the Product Type. 4. Enter the Network Address. 5. Enter the Username, and Password of the node being enrolled.

Note: The Username and Password fields are for the login credentials required by the remote node being enrolled, not the login credentials used to login to the Lighthouse instance.

6. Select the Subscription Type. Each type shows the number of available subscriptions:

l Enterprise Edition.

l Automation Edition.

7. If required, you can also select to Auto-approve node and/or Run pre-enrollment connectivity check.

8. Click Enroll Node.
9. Once enrolled, the console server's details are removed from the and added to the Nodes > ENROLLED tab.

Nodes > PENDING tab

ENROLLMENT VIA THE NODE WEB UI

Note: If a node is behind a firewall, Lighthouse cannot initiate enrollment.

24.06.0

Working with Lighthouse Nodes

164

Lighthouse User Guide

FROM THE NODE WEB UI

1. Select Nodes. 2. For the enrolled node, click

Web Access UI from the right column.

3. Enter credentials and login.

4. Select Serial & Network > LIGHTHOUSE.

5. Enter the Server Address of Lighthouse (which can be hostname, FQDN, or IP address).

6. Optionally, enter the Server Port.

7. Enter the Enrollment Bundle (if a specific bundle is being used), and the Enrollment Token (either the global token or the bundle-specific token).

8. Select Apply Settings.

9. The enrollment process begins. 10. Once enrolled, the node displays in the Lighthouse Web UI under the
tab, with a Status of Approval. 11. Click the Approve Node icon in the right hand column.

Nodes > PENDING

Note: Steps 10 and 11 are only applicable if Auto Approve is not Enabled in the Enrollment Bundle.

ENROLLING NODES VIA OM, ACM, CM, AND IM WEB UI
Nodes can be enrolled from other UIs such as the Operations Manager (OM).

24.06.0

Working with Lighthouse Nodes

165

Lighthouse User Guide
ENROLLING VIA OM, CM8XXX WEB UI
Nodes can be enrolled into a Lighthouse instance on OPERATIONS MANAGER Web UI using the CONFIGURE > LIGHTHOUSE ENROLLMENT menu item and the lhvpn-callhome command. More details are available in the related Opengear appliance manuals.
ENROLLING VIA ACM AND IM WEB UI
On the Web UI, select Serial & Network > Lighthouse to open the Request Enrollment with Lighthouse Server page.
ENROLLMENT VIA USB DRIVE
An unconfigured device can be enrolled using a USB drive loaded with an enrollment bundle.
DOWNLOAD THE ENROLLMENT BUNDLE 1. Select Node Tools > Enrollment Bundles. 2. A list of existing Enrollment Bundles displays. 3. On the row of the required bundle, click the icon to download . 4. Depending on the browser's configuration, a manifest.og file either downloads to the local
system or displays a dialog asking to specify where to download the file. ENROLLMENT VIA USB
1. Copy manifest.og to the root directory on a USB drive. 2. Plug the USB drive into an unconfigured and powered-down device. 3. Power the device up.

24.06.0

Working with Lighthouse Nodes

166

Lighthouse User Guide
4. On first boot, the device searches for the file -- manifest.og -- on any USB drives attached to the device and configures the device based on its contents.
MASS ENROLLMENT USING ZTP
For mass node enrollments using ZTP, three new custom DHCP fields are handled by ZTP scripts. These fields contain the URL, Bundle Name and Enrollment Password used in an enrollment which is kicked off after all other ZTP handling is completed. If a reboot is required because of a config file being provided the enrollment starts after the reboot. Otherwise it happens immediately. Here is a sample configuration file for the ISC DHCP Server:
option space opengear code width 1 length width 1; option opengear.config-url code 1 = text; option opengear.firmware-url code 2 = text; option opengear.enroll-url code 3 = text; option opengear.enroll-bundle code 4 = text; option opengear.enroll-password code 5 = text; class "opengear-config-over-dhcp-test" { match if option vendor-class-identifier ~~ "^Opengear/"; vendor-option-space opengear; option opengear.config-url "http://192.168.88.1/config.xml"; option opengear.enroll-url "192.168.88.20"; option opengear.enroll-bundle ""; option opengear.enroll-password "default"; }

24.06.0

Working with Lighthouse Nodes

167

Lighthouse User Guide
Note: The maximum amount of data allowable as DHCP options is 1200 bytes, including all overhead inherent in the structuring of this data. Individual options are limited to 255 characters.
MANAGING NODES
After a node has been enrolled, you can connect to it directly, either to monitor it, or to run commands on it, multiple nodes can be selected. Lighthouse allows you to manage all nodes. Nodes displays the status and number of all the ports on Lighthouse, which you have permissions to view/edit.
VIEW ALL NODES
1. Select Nodes. 2. The NODES page displays defaulted to the ENROLLED tab. 3. To display nodes with an enrollment that has been initiated, select the PENDING tab.
FILTER NODES
1. Select Nodes. 2. The NODES page displays. 3. Following options are available:
l Filter Nodes: create and save a new filter or select / edit an existing filter. l Enter a search term to filter the results. The AND operator is used if more than one search
term is entered. To enter a multi word search phrase, enclose them in double quotes.

24.06.0

Working with Lighthouse Nodes

168

ASSIGN OR REMOVE A NODE TAG
Note: The following steps apply to enrolled nodes only.
1. Select Nodes. 2. The NODES page displays. 3. Click the Edit Node Tags icon. 4. The ADD/EDIT TAGS dialog displays. 5. Following actions are available:
l Create a new tag a. Click Create new tag. b. A new row displays. c. Select a tag name. d. Select a tag value
l Remove an assigned tag a. Select Remove tag for the specific tag. b. The tag is removed from the list.
6. Click Apply.
APPROVING PENDING NODES
1. Select Nodes. 2. Select the PENDING tab. 3. Perform either of the following steps:

Lighthouse User Guide

24.06.0

Working with Lighthouse Nodes

169

Lighthouse User Guide
a. Individually: use the icon located in the right hand column to apply the action. b. Multiple: use the 'checkboxes' to multi-select nodes and select Approve Selected. 4. A Nodes approved message will display.
UNENROLLING NODES
FOR A NODE THAT HAS BEEN ENROLLED 1. Select Nodes. 2. Use the 'checkboxes' to select the node(s). 3. Select Unenroll Selected. 4. A confirmation dialog will display. 5. Click Remove.
FOR A NODE THAT IS PENDING APPROVAL 1. Select Nodes. 2. Select the PENDING tab. 3. Perform either of the following steps:
a. Individually: use the icon located in the right hand column to apply the action. b. Multiple: use the 'checkboxes' to multi-select nodes and select Unenroll Selected. 4. A confirmation dialog will display. 5. Click Remove.
CONNECT TO THE WEB-MANAGEMENT INTERFACE OF A NODE
After a node has been enrolled, you can connect to the enrolled node's web-management interface.

24.06.0

Working with Lighthouse Nodes

170

Lighthouse User Guide

CONNECT FROM THE DASHBOARD
1. Select Dashboard. 2. The NODES grid will be displayed defaulted to the DISCONNECTED tab. 3. Select the CONNECTED tab. 4. You can click the Access Web UI icon on the right of a connected node to access the Web
UI of the node. 5. The web-based login for that node loads. 6. Enter credentials and login.
Tip: A message displays at the bottom of the browser and provides a link to return to Lighthouse.

Note: The appearance of the Web UI depends on which device you have added.

CONNECT FROM THE NODES PAGE

You can access the WEB UI from the ENROLLED grid. For the desired node, select the icon

from the right hand column.

1. Select Nodes.

2. The NODES page will be displayed defaulted to the ENROLLED tab.

3. Select the CONNECTED tab.

4. You can click the UI of the node.

Access Web UI icon on the right of a connected node to access the Web

5. The web-based login for that node loads.

6. Enter credentials and login.

24.06.0

Working with Lighthouse Nodes

171

Lighthouse User Guide
CONNECTING TO A NODE'S SERIAL PORTS
You can connect to the enrolled node's serial ports via the Console Gateway option on the user interface if required. This allows the user to directly connect to any devices that are connected to the serial ports of the selected node.
FROM THE NODES PAGE 1. Select Nodes. 2. Use the Filter Nodes options to limit the displayed nodes. 3. Select the node name to display the Node Details page. 4. The PORTS tab displays all the configured and unconfigured ports on the node. 5. Use the Web Terminal Access or SSH icons on a particular port to access it.
FROM THE PORTS PAGE 1. Select Ports. 2. A page displays all the ports on the connected nodes. 3. Find the port by using the Filter Ports or Filter Nodes options to restrict the listed resources
within enrolled nodes. 4. Use the Web Terminal Access or SSH icons on a particular port to access it.
CONNECTING VIA SSH AND CHANGING THE DELIMITER CHARACTER
When connecting with SSH, some web browsers associate the colon character with delimiting the protocol at the beginning of a URI so they don't pass these auto-generated URIs correctly. To work around this, the default delimiter character can be changed. To change this character:

24.06.0

Working with Lighthouse Nodes

172

Lighthouse User Guide
1. Select > SERVICES > Console Gateway. 2. Enter a delimited character in the Console Gateway Port Delimiter. The carat, ^, is the most
common alternative.
Note: The auto-generated link default delimiter is ':'. URI syntax ssh://username:console-server-name:port-number@lighthouse-ip-address
3. Select the Console Gateway SSH Address to choose an address from which to SSH.
Note: The list of available addresses contains the current network interfaces and external network addresses. The value defaults to net1:dhcp if it exists and net1:static otherwise. The additional external addresses can be added to this list using the > SYSTEM> Network Settings page.
EXAMPLE SSH SESSION
$ ssh adminuser:serial@lighthouse-name-or-ip-here 1: cm71xx Connect to remote > 1 1: Cisco Console 2: Port 2 Connect to port > 1 router#
CONNECT VIA THE WEB TERMINAL
To provide easy console port access, Lighthouse includes a HTML5 Web Terminal. The HTML5 Web Terminal includes native cut, copy and paste support.

24.06.0

Working with Lighthouse Nodes

173

Lighthouse User Guide

CONNECT VIA THE WEB TERMINAL

1. Locate the particular port from the Nodes or the 2. Click the Web Terminal Access. 3. The WEB TERMINAL page displays. 4. Use alt-x to return to navigation.

Ports page.

SELECTING NODES USING SHELL-BASED TOOLS

There are a number of ways to select nodes, also known as console servers, as targets on which to run a command. These can be used multiple times, or together, to select a range of console servers:

SELECT NODES

Select individually by name, address, Lighthouse VPN address, config index or smart group (as per --list- nodes output):

node-command --node-name BNE-R01-IM4248 node-command --node-address 192.168.0.33 node-command --node-index nodes-1 node-command --smartgroup="model-acm"
To select all nodes:

node-command --all

24.06.0

Working with Lighthouse Nodes

174

Lighthouse User Guide
RUNNING COMMANDS ON SELECTED NODES
Once nodes are selected, the commands to be run for each can be given. These are run on each managed node in parallel. Any command which can be run from a node shell can be run on each managed node.
Note:All commands are run as root.
For example, to check the version on two specific, configured nodes, selecting one by name and the other by index, run the following command:
node-command --node-name BNE-R01-ACM7004-5 --node-index nodes-2 cat /etc/version
When using non-trivial selection arguments, check which target nodes have been selected on the initial command pass by using the --list-nodes switch rather than the final command.
UPGRADE NODES VIA THE UI
When you need to upgrade nodes to the latest firmware, for example, for security fixes, use the Lighthouse UI to upgrade up to 5000 connected nodes per task. You can upgrade nodes either immediately or at a scheduled time, outside normal business hours. From the main menu, select Node Tools > Firmware Upgrade. Completed jobs with the nodes selected can be duplicated so as to allow easy sequential upgrades. Nodes that failed to upgrade can be re-scheduled. Upon opening the FIRMWARE UPGRADE page there are two tabs accessible, plus a Schedule Upgrade button, these are:

24.06.0

Working with Lighthouse Nodes

175

Lighthouse User Guide
l Upgrade Tasks: l A filtered dashboard where you can view scheduled, in progress and completed tasks and see their status.
l File Manager: l An area that allows upgrade files to be uploaded and a table that displays previously uploaded files.
l Node Firmware Upgrade scheduling wizard: l This is where you can set up and schedule firmware upgrades. The wizard is accessed by clicking on the + button in the Upgrade Tasks tab.
Completed jobs with the nodes selected can be duplicated so as to allow easy sequential upgrades. Nodes that failed to upgrade can be re-scheduled.
FIRMWARE FILES
Before you upgrade, ensure you have access to the required firmware file.
UPLOADING A FIRMWARE FILE
Navigate to Node Tools > Firmware Upgrade. Use the File Manager tab to upload one file at a time.
Note: Only one file may be uploaded at a time using the upload tool. If multiple files are selected and placed in the drag and drop field, only the last file that was selected will be uploaded.
1. Select the File Manager tab in the Firmware Upgrade page. 2. Either click `select file' to select the file. Or

24.06.0

Working with Lighthouse Nodes

176

Lighthouse User Guide
3. Drag and drop the file into the upload area. The file will start uploading and progress displayed in the panel.
In-progress uploads can be cancelled by clicking the button. The upload will be cancelled if you close the website or if the HTTPS connection to Lighthouse is closed.
DELETE A FIRMWARE FILE To delete a firmware file, navigate to Node Tools > Firmware Upgrade. Use the Delete tool on the File Manager tab to delete one file at a time. To delete a firmware file that is no longer needed: 1. Select the File Manager tab on the Firmware Upgrade UI page. 2. Click the Delete button next to the firmware file you wish to delete. 3. Click the Remove button on the Confirm Node Firmware Deletion message box.
Note: If the selected firmware file is required by an ongoing or upcoming firmware upgrade task, an error message displays and the file is not deleted.
NODE UPGRADE TASKS
To upgrade a node you will need to set up a task. CREATE AN UPGRADE TASK The Node Upgrade UI is available in the Web UI under Node Tools > Node Firmware Upgrade. Use the UPGRADE TASKS tab to

24.06.0

Working with Lighthouse Nodes

177

Lighthouse User Guide
l Upgrade a node l Schedule a node upgrade l Upload a new firmware file To upgrade a node use the task information table: 1. Click the Schedule Upgrade button (+) to schedule an upgrade (or start one immediately). 2. The Node Firmware Upgrade wizard displays. Enter a name for the upgrade task. 3. Click the Select File button in the SELECT FIRMWARE pane. The Select Firmware list
displays. 4. Select the firmware or upload new firmware for the upgrade task. Click Select Firmware
button. Note that in the next step you must select the nodes to be upgraded with the firmware. 5. The list of available and compatible nodes display in the Select Nodes pane. Note the
messages in the Select Firmware pane. You can also use the Filter Nodes list to find the exact nodes you wish to upgrade.
Note:Compatible nodes that have already been scheduled for an upgrade cannot be selected, these are visible in the list but appear greyed-out. Nodes that are not compatible with the firmware file will not be listed.
6. Select the node/s. Click Next - Schedule Upgrade button. The page displays the Start Time pane and the nodes scheduled for upgrade.
7. Select the Start time as either Immediately after creation for immediate start, or, Set time. For Set Time, enter the Scheduled time Date and Time.
Note:The scheduled time is always in UTC.
8. Use the Allow/Disallow toggle to choose whether nodes can upgrade in failover mode or not.

24.06.0

Working with Lighthouse Nodes

178

Lighthouse User Guide
9. Click Next ­ Review and Confirm to go to the review screen. Check the schedule details are correct.
Note:To change schedule details, click Back ­ Schedule Upgrade, all data local data will be preserved while you change parameters on previous screens.
10. Select Confirm, and type Yes at the prompt, then click Confirm to create the task. If successful, a message displays that the task has been created.
CANCEL AN UPGRADE TASK
You can cancel a task that has not yet completed the upgrade. To cancel an upgrade task: 1. Select Node Tools > Firmware Upgrade. 2. In the task list, select the task name you wish you cancel, the Task Details screen displays. 3. Click the X button (top-right) to cancel the task.
Note:You cannot cancel upgrade tasks that have already been completed.
Limitations: l Do not cancel an upgrade job just as it is about to begin, for example, 10 seconds before or
after the start time. l If an upgrade is cancelled while in progress, only nodes that have not yet been upgraded will be
cancelled.

24.06.0

Working with Lighthouse Nodes

179

Lighthouse User Guide
COPY A SCHEDULED TASK
You can copy a scheduled task in order to create a new upgrade task. The new upgrade task will use the nodes that were selected for the original task you are copying, for example to add or remove nodes from the list. You can also select different firmware or use the same firmware for the list of nodes.
Note:For a task to be copied, the task must have already run or been cancelled, and display an Upgrade Status of Completed.
1. Navigate to the Node Firmware Upgrade Home screen. The Node Upgrade UI is available in the Web UI under Node Tools > Firmware Upgrade.
2. Select the task you wish you copy, by clicking the task name in the task table. 3. Click the Copy button to copy the task. 4. A new task is created with the same nodes.
DELETE AN UPGRADE TASK
Upgrades cannot be permanently deleted as they can offer a valuable insight into the health of the nodes when problem-solving and provide the version path that they have traversed over their lifetime. If the number of jobs is becoming unmanageable, or jobs need to be deleted for security measures, the support team will be able to advise on how to remove/clear them.
RETRY AN UPGRADE TASK
If an upgrade task fails, you can retry the node upgrades, provided the firmware file is still available.

24.06.0

Working with Lighthouse Nodes

180

Lighthouse User Guide
1. Navigate to the Node Firmware Upgrade Home screen. The Node Upgrade UI is available in the Web UI under Node Tools> Firmware Upgrade.
2. Select the task you wish you retry, by clicking the task name in the task table. You can filter the task list by using the Completed with Errors filter.
3. In the task detail screen, click the Repeat task button.
Note:If the relative Firmware file has been deleted, the Repeat task button is disabled.
4. The Firmware Upgrade page displays.
NODE UPGRADE RUNTIME BEHAVIOUR
The following describes the behavior of the Node Upgrade tool while performing routine upgrade tasks.
Note: If the connection to the node is interrupted during the upgrade, the upgrade may be cancelled and will fail unless the upgrade was in the final stages and had no need for further interaction with Lighthouse. In this scenario Lighthouse may still report the node upgrade as failed if it was unable to confirm that the upgrade succeeded due to the node being disconnected during the validation period. Failure to upgrade one node does not affect other nodes in the upgrade job.
PROMOTING A SECONDARY INSTANCE TO PRIMARY
l All scheduled upgrades are cancelled when a secondary node is promoted to be the new primary node.
l Firmware files are not replicated among the multiple instance cluster and must be re- uploaded to the new primary after promotion.

24.06.0

Working with Lighthouse Nodes

181

Lighthouse User Guide
SKIPPING VERSIONS
If a node is scheduled to be upgraded from 21.03 directly to 22.01 (skipping 21.Q4), it will upgrade the node even if it has been manually upgraded to 21.04 before the scheduled upgrade starts.
Note:Lighthouse does not check or validate the version jumps for nodes, so there is a risk that the upgrade could fail if major versions are being skipped. Skipping versions is not recommended or supported, however, it is not disallowed.
TIME ZONES
Node upgrades can only be initiated or scheduled by an operator with administrator credentials while logged in at the primary lighthouse. The scheduling of the node upgrade is based on the time zone of the primary lighthouse. If the time zone of the primary lighthouse is changed before a scheduled upgrade starts, the schedule time will be based upon the new time zone. This may result in jobs not running at all, being skipped, ignored, or otherwise running at unpredictable times.
Note: It is recommended that you avoid changing the system time of lighthouse, or its time zone, while jobs are scheduled.
OFFLINE NODES
If a node is offline or otherwise unreachable at the time of upgrade, the node will be skipped. If the node is offline there is a one minute buffer before the scheduled upgrade is skipped and Lighthouse will report the node with a failed to upgrade status.

24.06.0

Working with Lighthouse Nodes

182

Lighthouse User Guide
LIGHTHOUSE AVAILABILITY AND STABILITY
Lighthouse must be online and fully booted (preferably for at least a few minutes) before the upgrade starts. It is good practice to have Lighthouse online for a few hours before a node upgrade. This ensures that all the nodes that will be upgraded have re-established their connection and allows time to troubleshoot any issues. Do not attempt to change major Lighthouse settings, especially those involving the network or time zone, when an upgrade is underway or imminent. Do not conduct multiple major operations on nodes simultaneously, for example, do not apply templates to the node while it is being upgraded. Do not login to a node and change settings moments before an upgrade occurs.
Note: If Lighthouse is offline when a scheduled upgrade is due to start, the upgrade will not be run.
OPERATIONS NOT SUPPORTED
There are several operations that are not supported as part of the Lighthouse Node upgrade process.
UNENROLLING NODES AT UPGRADE
Unenrolling nodes as they are being upgraded is not supported as this could result in unexpected behaviour.

24.06.0

Working with Lighthouse Nodes

183

Lighthouse User Guide
DOWNGRADING VERSIONS
Lighthouse does not allow downgrading of nodes, nor does it allow upgrading to an identical version. The node upgrade will skip nodes that are at the upgrade version or later, for example, if upgrading from version 21.03 to 21.04, it will ignore any nodes that are already at 21.04 or 22.01.
BACKING UP NODES
Administrative users can enable automatic node backup. Up to 10 backups can be stored on a rolling basis.
Note: Node backup requires node firmware 4.6 or later.
To set up node backup: 1. Select > SERVICES > Node Backup. 2. Select Enabled to turn on this service. 3. Under the Storage section, select the Number of stored backups you wish to keep. 4. In Retention period after unenrollment select None, Days or Forever. 5. Enter the Location you wish to store the backup files. The default is /mnt/nvram/. 6. Click Validate to make sure the location exists and has enough space to store them. 7. Under SCHEDULING configure the Start time and cadence of the backups.
a. For the Start time, choose either Immediately or choose Set Time to open editable Date and Time fields.
b. Choose how often you wish to Repeat the backup by selecting either One Time Only or Interval and configuring the settings.
8. Click Apply.

24.06.0

Working with Lighthouse Nodes

184

Lighthouse User Guide
Note: You can modify these options by returning to > SERVICES > Node Backup at any time.
MANAGING PORTS
Lighthouse allows you to manage all ports connected to nodes. Ports displays the status and number of all the ports on Lighthouse, which you have permissions to view/edit.
VIEW PORTS FOR ALL NODES
1. Select Ports. 2. The Ports page displays.
VIEW PORT INFORMATION FOR A NODE
1. Select Ports. 2. Select the NODE NAME for a associated with the port. 3. The ports management page will display.
FILTER PORTS
1. Select Ports. 2. The PORTS page displays. 3. Following options are available:
l Filter Ports: create and save a new filter or select / edit an existing filter. l Filter Nodes: create and save a new filter or select / edit an existing filter. l Predefined filters: Show All, Configured Ports, Unconfigured Ports

24.06.0

Working with Lighthouse Nodes

185

Lighthouse User Guide
l Enter a search term to filter the results. The AND operator is used if more than one search term is entered. To enter a multi word search phrase, enclose them in double quotes.
CREATE, ASSIGN OR REMOVE A TAG
1. Select Ports.
Note: The following steps can also be performed by accessing port information from the Nodes page.
2. The Ports page displays. 3. Click the Add/Edit Tags icon. 4. The ADD/EDIT TAGS dialog displays. 5. Following actions are available:
l Create a new tag a. Click Create new tag. b. A new row displays. c. Enter a tag name.
l Assign an existing tag a. Click Select existing tag. b. A new row displays with the option to select an existing tag. c. Select the tag name.
l Remove an assigned tag a. Select Remove tag. b. The tag is removed from the list.
6. Click Update Tags.

24.06.0

Working with Lighthouse Nodes

186

Lighthouse User Guide
7. The CONFIRM CHANGES dialog displays. 8. Click Confirm.
ACCESSING PORT LOGS
The node will need to have been configured to display logs, and the user will have Logging > Port Logging access granted in the permissions set. Either Full Access or Read Only.
ACCESSING PORT LOGS FROM THE NODES PAGE
1. Select Nodes. 2. Select the NODE NAME for a node which has been enrolled and configured. 3. The ports management page will display. 4. Select the LOGS tab. 5. Select the PORT from the list. 6. Filter the list as required:
l Specify the date range. l Search for a log with a particular text using Filter Log Contents. 7. You can also download the displayed logs, or open a new window to view the logs in more detail.
ACCESSING PORT LOGS FROM THE PORTS PAGE
1. Select Ports. 2. Select the NODE NAME for a node which has been enrolled and configured. 3. The ports management page will display. 4. Select the LOGS tab. 5. Select the PORT from the list.

24.06.0

Working with Lighthouse Nodes

187

Lighthouse User Guide
6. Filter the list as required: l Specify the date range. l Search for a log with a particular text using Filter Log Contents.
7. You can also download the displayed logs, or open a new window to view the logs in more detail.
Tip: You can also access the logs via the web terminal and SSH access for a configured device. To view the logs in more detail download the displayed logs, or open a new window.
MANAGE RESOURCES
Lighthouse allows users to manage resources connected to enrolled nodes that have implemented Smart Management Fabric so that resources can avail of client-less network access. The Smart Management Fabric network can be leveraged to allow users to manually add resources that exist on those networks. Users can specify 3 proxy methods through Lighthouse to provide client-less network access via: l HTTP. l HTTPS. l SSH.
Note: To proxy via HTTP or HTTPS to a resource, Lighthouse must be accessed through a Domain.
Note: Resources can only be used in a Lighthouse that has an Automation Edition subscription. However users can delete and view a resource if they downgrade to an Enterprise Edition subscription.

24.06.0

Working with Lighthouse Nodes

188

Lighthouse User Guide
Operations to manage resources are on the Resources page. As a reminder you will need the Connected Resource Gateway permissions set to Full Access as found under the Advanced Features in the Operation Permission table.
VIEW RESOURCES
1. Select Resources. 2. The RESOURCES page displays.
FILTER RESOURCES
1. Select Resources. 2. The RESOURCES page displays. 3. Following options are available:
l Filter Resources: create and save a new filter or select / edit an existing filter. l Connectivity: Any Status, Connected, Disconnected.
l Connected: at least one proxy protocol can be connected. l Disconnected: all proxy protocols are disconnected. l Enter a search term to filter the results. The AND operator is used if more than one search term is entered. To enter a multi word search phrase, enclose them in double quotes.
CREATE, ASSIGN OR REMOVE A RESOURCE TAG
1. Select Resources. 2. The RESOURCES page displays. 3. Select the name of resource from the grid. 4. The EDIT RESOURCE dialog displays. 5. Under the TAGS section of the dialog, following actions are available:

24.06.0

Working with Lighthouse Nodes

189

Lighthouse User Guide
l Create a new tag a. Click Create new tag. b. A new row displays. c. Enter a tag name.
l Assign an existing tag a. Click Select existing tag. b. A new row displays with the option to select an existing tag. c. Select the tag name.
l Remove an assigned tag a. Select Remove tag. b. The tag is removed from the list.
6. Click Update Resource.
CONNECT TO A RESOURCE
1. Select Resources. 2. The RESOURCES page displays. 3. For a connected resource select an icon in the actions column to access via:
l HTTP l HTTPS l SSH

24.06.0

Working with Lighthouse Nodes

190

Lighthouse User Guide

Note: For SSH connections Lighthouse will not know the username for the target resource. When selecting SSH, a modal will appear to update the Target Resource Username. You may leave it blank and the user will be prompted to enter the Username when using SSH. This field will default to the Username of the current login session.

For an IP connection there are 3 different states that the connection can be within. The state can be seen when hovering over each one of the proxy access button for each resource.

Connection State

Description

Pending

When a resource is added for the first time, the state will come back as pending.

Connected

When Lighthouse can validate the connectivity via that specific protocol on the specified port, the hover state will display a timestamp of when the last time it was validated.

Failure

When Lighthouse can not validate the connectivity via that specific protocol on the specified port.

LOGGING
Connected Resource Gateway logging can be found in a file located in /var/log called crg.log. This file captures the following information: l If a Lighthouse user is granted access to a resource via HTTP, HTTPS or SSH. l If a Lighthouse user is rejected access to a resource due to Connected Resource Gateway
permission being set to Deny. l Unauthenticated users that try to access a resource are sent to an NGINX error page, which is
captured in the existing NGINX access logs.

24.06.0

Working with Lighthouse Nodes

191

Lighthouse User Guide
ADD A NEW RESOURCE
Note: A user with role permissions including Full Access set for Advanced Features > Connected Resource Gateway can add a new resource.
To add a new resource: 1. Select Resources. 2. The RESOURCES page displays. 3. Click the New Resource button. 4. The NEW RESOURCE dialog displays. 5. Enter a Name and Network Address. 6. Select the service from HTTP, HTTPS or SSH and the port number or that service. For
example, 80 is the default port for the HTTP service. 7. Under the TAGS section create, assign or remove a resource tag. 8. Click Add Resource.
BULK ADDITION OF RESOURCES
The Lighthouse UI does not allow bulk addition of resources and is performed one at a time through the UI. Users can use the REST APIs to add multiple resources into the catalog. Refer to the /smf_resources/bulk POST request.
EDIT A RESOURCE
1. Select Resources. 2. The RESOURCES page displays.

24.06.0

Working with Lighthouse Nodes

192

Lighthouse User Guide
3. Click the Resource Name of the resource. 4. The EDIT RESOURCE dialog displays. 5. Edit the fields as required. 6. Under the TAGS section create, assign or remove a resource tag. 7. Click Update Resource.
BULK UPDATE OF RESOURCES
The Lighthouse UI does not allow bulk updating of resources and is performed one at a time through the UI. Users can use the REST APIs to update multiple resources into the catalog. Refer to the /smf_resources/bulk PUT request.
DELETE A RESOURCE
1. Select Resources. 2. The RESOURCES page displays. 3. Click the Resource Name of the resource. 4. The EDIT RESOURCE dialog displays. 5. Click the Delete button. 6. A confirmation message displays. 7. Click Delete. 8. The resource will be deleted and a success notification displays.
BULK DELETION OF RESOURCES
1. Select Resources. 2. The RESOURCES page displays. 3. Select the checkbox for each resource to delete.

24.06.0

Working with Lighthouse Nodes

193

4. Click the Delete Selected button. 5. A confirmation message displays. 6. Click Delete. 7. The resource(s) will be deleted and a success notification displays.

Lighthouse User Guide

24.06.0

Working with Lighthouse Nodes

194

Lighthouse User Guide
MANAGING FILTERS AND TAGS
To provide clear and customized access to nodes, Lighthouse uses search expressions called filters which allow properties and user-supplied tags, consisting of a name and value, to be compiled into a search expression. These filters can be applied to Nodes, Ports and Resources. Lighthouse also supports the management of customized tags that can be applied to Nodes, Ports and Resources. These tags can be applied within the custom filters.
MANAGING FILTERS
VIEWING FILTERS
To view a list of filters available: 1. Select > FILTERS AND TAGS > Filters. 2. The FILTERS page displays defaulted to the NODE FILTERS tab.
a. Select the NODE FILTERS tab to display a grid of available filters that can be applied when viewing the Nodes page.
b. Select the PORT FILTERS tab to display a grid of available filters that can be applied when viewing the Ports page.
c. Select the RESOURCE FILTERS tab to display a grid of available filters that can be applied when viewing the Resources page.

24.06.0

Managing Filters and Tags

195

Lighthouse User Guide
MANAGING NODE FILTERS
CREATE A NODE FILTER
CREATE FROM THE FILTER MANAGEMENT PAGE
1. Select > FILTERS AND TAGS > Filters. 2. Click the New Filter button. 3. The PICK A FILTER TYPE selection displays. 4. Select Node Filter. 5. The NEW NODE FILTER dialog displays. 6. Enter a Node Filter Name . 7. For each filter criteria:
a. Select the Field to search from. b. Select the Operator. c. Enter the Value matched on. 8. To enter additional search parameters, click Add Criteria. 9. The option to select the Boolean operator (AND / OR) is displayed. The default selected option is AND. 1. Select AND if the filter must match all values. 2. Select OR if one or the other values must match. 10. Enter the additional details in the Field to search, Operator and Value fields.
Note: Click the icon to remove additional search parameters as necessary.
11. Click Add Filter.

24.06.0

Managing Filters and Tags

196

Lighthouse User Guide
CREATE FROM THE NODE FILTER CONTROL
1. Select Nodes. 2. Click the Filter Nodes control. 3. Click the Select Node Filter control. 4. Select New Node Filter. 5. The filter criteria section displays. 6. Enter the criteria. 7. To enter additional search parameters, click Add Criteria. 8. Either:
1. Apply without saving. a. Click Apply. b. The filter control is also updated to show Filter Nodes: New Node Filter * indicating a filter has been applied but has not been saved.
2. Save the filter. a. Click the Save node filter icon. b. The SAVE NODE FILTER dialog displays. c. Enter the Node Filter Name. d. Review / update the filter criteria. e. Click Save and Apply. f. The filter control updated to show Filter Nodes: <Name of Filter> indicating a filter has been applied.
Note: This is available on the Nodes > PENDING tab as well.

24.06.0

Managing Filters and Tags

197

Lighthouse User Guide
EDIT A NODE FILTER
EDIT FROM THE FILTER MANAGEMENT PAGE
1. Select > FILTERS AND TAGS > Filters. 2. Click the Name of a node filter. 3. The EDIT NODE FILTER dialog displays. 4. Update the name and/or the filter criteria. 5. Click Update Filter.
EDIT FROM THE NODE FILTER CONTROL
1. Select Nodes. 2. Click the Filter Nodes control. 3. Click the Select Node Filter control. 4. Select the filter to edit. 5. Click the Edit node filter icon. 6. The EDIT NODE FILTER dialog displays. 7. Update the name and/or the filter criteria. 8. Click Save and Apply. 9. The filter control is updated to show Filter Nodes: <Name of Filter> indicating a filter has been
applied.

24.06.0

Managing Filters and Tags

198

DELETE A NODE FILTER
DELETE FROM THE FILTER MANAGEMENT PAGE
1. Select > FILTERS AND TAGS > Filters. 2. Click the Name of a node filter. 3. The EDIT NODE FILTER dialog displays. 4. Click Delete. 5. A message to confirm the action displays. 6. Click Delete. 7. The filter will be deleted and a success notification displays.
DELETE FROM THE NODE FILTER CONTROL
1. Select Nodes. 2. Click the Filter Nodes control. 3. Click the Select Node Filter control. 4. Select the filter to edit. 5. Click the Edit node filter icon. 6. The EDIT NODE FILTER dialog displays. 7. Click Delete. 8. A message to confirm the action displays. 9. Click Delete. 10. The filter will be deleted and a success notification displays.

Lighthouse User Guide

24.06.0

Managing Filters and Tags

199

Lighthouse User Guide
MANAGING PORT FILTERS
CREATE A PORT FILTER
CREATE FROM THE FILTER MANAGEMENT PAGE
1. Select > FILTERS AND TAGS > Filters. 2. Click the New Filter button. 3. The PICK A FILTER TYPE selection displays. 4. Select Port Filter. 5. The NEW PORT FILTER dialog displays. 6. Enter a Name . 7. For each filter criteria:
a. Select the Field to search from. b. Select the Operator. c. Enter the Value matched on. 8. To enter additional search parameters, click Add Criteria. 9. The option to select the Boolean operator (AND / OR) is displayed. The default selected option is AND. 1. Select AND if the filter must match all values. 2. Select OR if one or the other values must match. 10. Enter the additional details in the Field to search, Operator and Value fields.
Note: Click the icon to remove additional search parameters as necessary.
11. Click Add Filter.

24.06.0

Managing Filters and Tags

200

Lighthouse User Guide
CREATE FROM THE PORT FILTER CONTROL
1. Select Ports. 2. Click the Filter Ports control. 3. Click the Select Port Filter control. 4. Select New Port Filter. 5. The filter criteria section displays. 6. Enter the criteria. 7. To enter additional search parameters, click Add Criteria. 8. Either:
1. Apply without saving. a. Click Apply. b. The filter control is also updated to show Filter Ports: New Port Filter * indicating a filter has been applied but has not been saved.
2. Save the filter. a. Click the Save port filter icon. b. The SAVE PORT FILTER dialog displays. c. Enter the Port Filter Name. d. Review / update the filter criteria. e. Click Save and Apply. f. The filter control is updated to show Filter Ports: <Name of Filter> indicating a filter has been applied.

24.06.0

Managing Filters and Tags

201

Lighthouse User Guide
EDIT A PORT FILTER
EDIT FROM THE FILTER MANAGEMENT PAGE
1. Select > FILTERS AND TAGS > Filters. 2. Select the PORT FILTERS tab. 3. Click the Name of a port filter. 4. The EDIT PORT FILTER dialog displays. 5. Update the name and/or the filter criteria. 6. Click Update Filter.
EDIT FROM THE PORT FILTER CONTROL
1. Select Ports. 2. Click the Filter Ports control. 3. Click the Select Port Filter control. 4. Select the filter to edit. 5. Click the Edit port filter icon. 6. The EDIT PORT FILTER dialog displays. 7. Update the name and/or the filter criteria. 8. Click Save and Apply. 9. The filter control is updated to show Filter Nodes: <Name of Filter> indicating a filter has been
applied.

24.06.0

Managing Filters and Tags

202

DELETE A PORT FILTER
DELETE FROM THE FILTER MANAGEMENT PAGE
1. Select > FILTERS AND TAGS > Filters. 2. Select the PORT FILTERS tab. 3. Click the Name of a port filter. 4. The EDIT PORT FILTER dialog displays. 5. Click Delete. 6. A message to confirm the action displays. 7. Click Delete. 8. The filter will be deleted and a success notification displays.
DELETE FROM THE PORT FILTER CONTROL
1. Select Ports. 2. Click the Filter Ports control. 3. Click the Select Port Filter control. 4. Select the filter to edit. 5. Click the Edit port filter icon. 6. The EDIT PORT FILTER dialog displays. 7. Click Delete. 8. A message to confirm the action displays. 9. Click Delete. 10. The filter will be deleted and a success notification displays.

24.06.0

Managing Filters and Tags

Lighthouse User Guide
203

Lighthouse User Guide
MANAGING RESOURCE FILTERS
CREATE A RESOURCE FILTER
CREATE FROM THE FILTER MANAGEMENT PAGE
1. Select > FILTERS AND TAGS > Filters. 2. Click the New Filter button. 3. The PICK A FILTER TYPE selection displays. 4. Select Resource Filter. 5. The NEW RESOURCE FILTER dialog displays. 6. Enter a Name . 7. For each filter criteria:
a. Select the Field to search from. b. Select the Operator. c. Enter the Value matched on. 8. To enter additional search parameters, click Add Criteria. 9. The option to select the Boolean operator (AND / OR) is displayed. The default selected option is AND. 1. Select AND if the filter must match all values. 2. Select OR if one or the other values must match. 10. Enter the additional details in the Field to search, Operator and Value fields.
Note: Click the icon to remove additional search parameters as necessary.
11. Click Add Filter.

24.06.0

Managing Filters and Tags

204

Lighthouse User Guide
CREATE FROM THE RESOURCE FILTER CONTROL
1. Select Resources. 2. Click the Filter Resources control. 3. Click the Select Resource Filter control. 4. Select New Resource Filter. 5. The filter criteria section displays. 6. Enter the criteria. 7. To enter additional search parameters, click Add Criteria. 8. Either:
1. Apply without saving. a. Click Apply. b. The filter control is also updated to show Filter Resources: New Resource Filter * indicating a filter has been applied but has not been saved.
2. Save the filter. a. Click the Save resource filter icon. b. The SAVE RESOURCE FILTER dialog displays. c. Enter the Resource Filter Name. d. Review / update the filter criteria. e. Click Save and Apply. f. The filter control is updated to show Filter Resources: <Name of Filter> indicating a filter has been applied.

24.06.0

Managing Filters and Tags

205

Lighthouse User Guide
EDIT A RESOURCE FILTER
EDIT FROM THE FILTER MANAGEMENT PAGE
1. Select > FILTERS AND TAGS > Filters. 2. Select the RESOURCE FILTERS tab. 3. Click the Name of a resource filter. 4. The EDIT RESOURCE FILTER dialog displays. 5. Update the name and/or the filter criteria. 6. Click Update Filter.
EDIT FROM THE RESOURCE FILTER CONTROL
1. Select Resources. 2. Click the Filter Resources control. 3. Click the Select Resource Filter control. 4. Select the filter to edit. 5. Click the Edit resource filter icon. 6. The EDIT RESOURCE FILTER dialog displays. 7. Update the name and/or the filter criteria. 8. Click Save and Apply. 9. The filter control is updated to show Filter Resources: <Name of Filter> indicating a filter has
been applied.

24.06.0

Managing Filters and Tags

206

DELETE A RESOURCE FILTER
DELETE FROM THE FILTER MANAGEMENT PAGE
1. Select > FILTERS AND TAGS > Filters. 2. Select the RESOURCE FILTERS tab. 3. Click the Name of a resource filter. 4. The EDIT RESOURCE FILTER dialog displays. 5. Click Delete. 6. A message to confirm the action displays. 7. Click Delete. 8. The filter will be deleted and a success notification displays.
DELETE FROM THE RESOURCE FILTER CONTROL
1. Select Resources. 2. Click the Filter Resources control. 3. Click the Select Resource Filter control. 4. Select the filter to edit. 5. Click the Edit resource filter icon. 6. The EDIT RESOURCE FILTER dialog displays. 7. Click Delete. 8. A message to confirm the action displays. 9. Click Delete. 10. The filter will be deleted and a success notification displays.

24.06.0

Managing Filters and Tags

Lighthouse User Guide
207

Lighthouse User Guide
MANAGING TAGS
Lighthouse has two types of tags l Node Tags: can be assigned to a node, and consist of a name and a value l Resource Tags: can be assigned to Ports and Resources, and consist of only a name. Both types of tags can be used in filters. Lighthouse has Node Filters, Port Filters and Resource Filters. These filters can be used to filter results on the Nodes, Ports and Resources pages, and control access to these objects by assigning the filter to a user group.
VIEWING TAGS
The Tags page displays the status and number of all the resources on Lighthouse, which you have permissions to view/edit. To view a list of tags available: 1. Select > FILTERS AND TAGS > Tags.
l The NODE TAGS tab displays a grid of available node tags. l The RESOURCE TAGS tab displays a grid of available resource tags.
MANAGE NODE TAGS
CREATE A NEW NODE TAG
CREATE FROM THE TAGS MANAGEMENT PAGE 1. Select > FILTERS AND TAGS > Tags. 2. Click the New Tag button. 3. The PICK A TAG TYPE selection displays.

24.06.0

Managing Filters and Tags

208

4. Select Node Tag. 5. The NEW NODE TAG dialog displays. 6. Enter a Name . 7. Enter a Value . 8. For multiple values, click the Add Value button and enter. 9. Click Add Tag.
EDIT A NODE TAG
EDIT FROM THE TAGS MANAGEMENT PAGE
1. Select > FILTERS AND TAGS > Tags. 2. Click the Name of a node tag. 3. The EDIT NODE TAG dialog displays. 4. Update the Name and/or Values. 5. To add additional values, click the Add Value button and enter. 6. To remove any values click the icon. 7. Click Update Tag.
DELETE A NODE TAG
DELETE FROM THE TAGS MANAGEMENT PAGE
1. Select > FILTERS AND TAGS > Tags. 2. Click the Name of a node tag. 3. The EDIT NODE TAG dialog displays. 4. Click Delete.

24.06.0

Managing Filters and Tags

Lighthouse User Guide
209

Lighthouse User Guide
5. A confirm message displays. Click Delete. 6. The tag will be deleted and a success notification displays.
MANAGE RESOURCE TAGS
CREATE A NEW RESOURCE TAG
FROM THE TAGS MANAGEMENT PAGE 1. Select > FILTERS AND TAGS > Tags. 2. Select RESOURCE TAGS tab. 3. Click the New Tag button. 4. The PICK A TAG TYPE selection displays. 5. Select Resource Tag. 6. The NEW RESOURCE TAG dialog displays. 7. Enter a Name.
Note: Add more than one name at a time by separating each name with a comma. 8. Click the Add Tag button.
EDIT A RESOURCE TAG
EDIT FROM THE TAGS MANAGEMENT PAGE 1. Select > FILTERS AND TAGS > Tags. 2. Select the RESOURCE TAGS tab. 3. Click the Name of a resource tag.

24.06.0

Managing Filters and Tags

210

4. The EDIT RESOURCE TAG dialog displays. 5. Update Name. 6. Click Update Tag.
DELETE A RESOURCE TAG
DELETE FROM THE TAGS MANAGEMENT PAGE
1. Select > FILTERS AND TAGS > Tags. 2. Select the RESOURCE TAGS tab. 3. Click the Name of a resource tag. 4. The EDIT RESOURCE TAG dialog displays. 5. Click Delete. 6. A confirm message displays. 7. Click Delete. 8. The tag will be deleted and a success notification displays.

Lighthouse User Guide

24.06.0

Managing Filters and Tags

211

Lighthouse User Guide

MANAGING LIGHTHOUSE USERS

Lighthouse supports locally defined users, and remote users who are authenticated and authorized by Authentication Authorization Accounting (AAA) systems such as LDAP, Radius and TACACs+. Group membership can either be defined locally for local users or defined on the AAA server. Groups that are assigned by the AAA servers must still exist locally.
ROLE DESCRIPTION

Users must be members of one or more groups. Each group has a role assigned to it which controls the level of access that group members have to the system.
The predefined system roles are:

Role

Description

LighthouseAdmin

The Lighthouse Administrator role is assigned to groups whose members need to manage and maintain Lighthouse. Members have access to all data on the Lighthouse system and create and manage custom groups with custom permission sets.

NodeAdmin

The Node Administrator role is assigned to groups that need to manage and maintain a set of Nodes. Each group with the Node Administrator role must have an associated Node Filters which is evaluated to define the set of nodes that the group members have access to.

NodeUser

The Node User role is assigned to groups that need to access a set of nodes. Each group with the Node User role must have an associated Node Filters which is evaluated to define the set of nodes that the group members have access to. Optionally, access to the resources can be limited by associating the saved Resource Filter with the Node User role.

Reporter

The Reporter role is assigned to groups that need just read only access across the system permission sets.

24.06.0

Managing Lighthouse Users

212

Lighthouse User Guide
MANAGING USER GROUPS
User groups are used to grant permissions to users that are assigned to them. To add permissions to a user group, you must create a role and then assign that role to the group. For certain actions, such as accessing a port or a resource, the access of users in the group can be limited by associating filters with the group. Users will only have access to objects that are matched by their associated filters. l A user may be a member of multiple groups, the permissions from those groups add to get the
permissions of the user. l Group membership can either be defined locally for local users or defined on the AAA server.
Groups that are assigned by the AAA servers must still exist locally.
CREATE A USER GROUP
1. Select > USERS & ACCOUNTS > Groups and Roles. 2. The GROUPS AND ROLES page displays. 3. Click Add User Group to the right of the page filter control. 4. The NEW GROUP page displays. 5. Select Enabled to enable group. 6. Enter a group Name and Description.
Note: Group Name is case sensitive. It can contain numbers and some alphanumeric characters. When using remote authentication, characters from a user's remote groups that are not allowed on Lighthouse are converted to underscores during authentication. Local groups can be created that take that into account, allowing the authentication to continue.
7. Under the ACCESS CONTROLS section:

24.06.0

Managing Lighthouse Users

213

Lighthouse User Guide
a. Select a filter from the By Node Filter control to restrict access to nodes that match the selected filter. Not selecting a node filter will give users access to all nodes.
b. Select a filter from the By Port Filter control to restrict access to ports that match the selected filter. Not selecting a port filter will give users access to all ports.
c. Select a filter from the By Resource Filter control to restrict access to resources that match the selected filter. Not selecting a resource filter will give users access to all resources.
8. Under the ROLES section, manage the roles assigned to the group. l To add a role: a. Click Add Role. b. The ADD ROLES dialog displays. c. With the checkboxes, check the roles to add. d. Select the role name to view the details of the role and the operation permissions associated with the role. Click < Back to return to the ADD ROLES dialog. e. Click Add. l To remove a role: a. Click the icon for the role. b. The role is removed. l Each role has specific operation permissions associated with it and CLI (Command Line Interface) access levels for Console Shell Access Level, Shell Access, and PM Shell Access. l Click View details to see the information for each group
1. Review the PERMISSIONS SUMMARY section. This section displays how CLI permissions are derived based on the selected roles.
2. Review the OPERATION PERMISSIONS section. This section displays how operation permissions are derived based on the selected roles.

24.06.0

Managing Lighthouse Users

214

Lighthouse User Guide

3. Click Apply.
AVAILABLE ROLES:

Role

Description

Lighthouse Administrator

Members of groups with this role have Full access to all nodes resources. The following applies to the group filters:
l The filters are set to All Nodes and Port Filter set to All Ports. This cannot be changed.
l Conversely if a group's node filter is All Nodes and Port Filter is All Ports you can not set the group's role Lighthouse Administrator.

Note: When a new group is given the Lighthouse Administrator role, members of the group have access to the sudo command. Groups or users with the Lighthouse Administrator role are added to the admin group, which is in the list of allowed sudoers. On first boot of a new Lighthouse instance, the root user is the only member of the admin group and the only user with sudo access.

NodeAdmin
NodeUser Lighthouse Reporter

Has no shell access. Has Read Only access to Netops Modules, all Nodes & Configuration Operations, Cell Health, Node Filters, Tags, and Jobs
Has PM Shell access. Has Read Only access to Nodes & Devices (Base) and Tags.
Has no shell access. Has Read Only access to all Operations.

24.06.0

Managing Lighthouse Users

215

Lighthouse User Guide
CREATE A USER GROUP FROM AN EXISTING GROUP
1. Select > USERS & ACCOUNTS > Groups and Roles. 2. The GROUPS AND ROLES page displays. 3. From the USER GROUPS tab, select the name of the group to use as a template. 4. The VIEW USER GROUP page displays. 5. Click Use as Template. 6. The NEW GROUP page displays populating the form with values from the group selected with
the exception of the name. 7. Enter the new group Name. 8. Review and modify as required. 9. Click Apply.
EDIT A USER GROUP
1. Select > USERS & ACCOUNTS > Groups and Roles. 2. The GROUPS AND ROLES page displays. 3. Select the ROLES tab. 4. Select the name of the role to use as a template. 5. The VIEW ROLE page displays. 6. Click Edit. 7. The EDITING role page displays. 8. Review and modify the details as required. 9. Click Apply.

24.06.0

Managing Lighthouse Users

216

Lighthouse User Guide

Note: The netgrp group is inherited as the primary group for all remote AAA users who are not defined locally on Lighthouse. By default, netgrp is disabled - it must be enabled to take effect for remote AAA users.

DELETE A GROUP
1. Select > USERS & ACCOUNTS > Groups and Roles. 2. The GROUPS AND ROLES page displays. 3. From the USER GROUPS tab, select the name of the group to use as a template. 4. The VIEW USER GROUP page displays. 5. Click Delete Group. 6. The CONFIRM GROUP DELETION dialog displays. 7. Click Delete.
MANAGING ROLES
A user is added to a user group for which one or many roles are assigned. Roles are used to configure the level of permissions to the CLI and the set of features a user has access to.
CLI PERMISSIONS REFERENCE

Permission

Options

Description

Console Shell Access Level

Admin | Standard | Disabled

Ability to connect to nodes' command lines via Lighthouse's SSH.
Standard allows access the node's console with the same username as the lighthouse user, if the user has an existing user

24.06.0

Managing Lighthouse Users

217

Lighthouse User Guide

Permission
Shell Access PM Shell Access

Options

Description

account of the same name on the node. The user will be asked for the password of their account on the node whilst connecting.
Admin will access the node's console as the node's root user. Lighthouse will authenticate the connection to the node using it's own ssh key, the user will not have to enter a password.

Enabled | Disabled

Ability to access Lighthouse's command line as an administrator.

Enabled | Disabled

Ability to connect to serial ports via SSH.

OPERATION PERMISSIONS REFERENCE

Feature Set

Feature

Description

Actions Logging

Events Subscriptions Port Logging
Syslog

Ability to enable or disable if events are used to generate notifications.
Ability to manage third-party access to events.
Currently allows access to delete port logs through the API. Other port logging functionality is currently available through the CLI on Lighthouse. Any additional API port logging functionality will be accessible via this permission.
Allows managing the system syslog settings through the /system/logging endpoint, currently this functionality is not available via the UI. There is another permission (Services > Syslog) which allows the user to setup remote syslog servers for Lighthouse to send logs to.

24.06.0

Managing Lighthouse Users

218

Lighthouse User Guide

Feature Set

Feature

Description

Netops

Netops Modules

Allows configuring Netops modules, this includes the ability to use each module, set each module to always deploy, and redeploy modules. Installing and updating the modules is handled under the Services > NetOps permission.

Advanced Features

Smart Management Fabric

Allows enabling Smart Management Fabric on Lighthouse and setting the internal area ID.
Enabling this permission requires "Multiple Instance".
Enabling Smart Management Fabric on the nodes requires the Nodes and Configuration > Template Push permission.
Configuring the Smart Management Fabric Network Range on the Lighthouse VPN, requires "Full Access" on Services > LHVPN.

Connected Resource Gateway

Allows managing resources through Connected Resource Gateway. In order to read or change tags on resources, you will need the appropriate level on Tags. In order to read or change resource filters, you will need the appropriate level on Filters.

Nodes and Configuration

Nodes and Devices (Base)

Access to dashboard, nodes, ports, node enrollment and node web UI.
Read Only will allow you to view nodes and ports, make searches for ports, and view node and port filters.
Full Access will allow you to do Lighthouse driven node enrollments, and approve nodes that are in a pending state. You can also unenroll nodes.

Nodes and Devices (Advanced)

Extends Nodes and Devices (Base) permissions.
Read Only allows access to cell health information, and node connection information.

24.06.0

Managing Lighthouse Users

219

Lighthouse User Guide

Feature Set

Feature

Description

Service Settings

Nodes and Firmware Management Template Push LHVPN Cell Health Console Gateway Date & Time HTTPS Netops
Node Backup Session Settings SNMP SSH

Full Access allows for changing the subscription associated with a node Ability to manage node firmware uploads and schedule node upgrades. Ability to push templates to nodes and manage templates.
Ability to install Netops modules and modify local Netops repositories.

24.06.0

Managing Lighthouse Users

220

Lighthouse User Guide

Feature Set Filters and Tags System
User and Permissions

Feature

Description

Syslog

Bundles

Ability to manage bundles.

Filters

Allows for the management and use of filters.

Tags

Allows for the management and use of tags.

Admin and Subscriptions

Ability to manage access settings for Lighthouse and manage subscription details.

Backup and Restore

Jobs

Multi-instance

Ability to manage multi-instance settings and control state of instances

Network Interfaces

Ability to manage network interface settings

System Upgrade and Reset

Authentication

Ability to manage authentication settings including methods of authentication, policy and restrictions.

Group and Roles

Ability to create and edit roles and groups, but not the ability to assign them to users.

Users

Ability to view and manage users, including creation and removal of users.

24.06.0

Managing Lighthouse Users

221

Lighthouse User Guide
CREATE A ROLE
1. Select > USERS & ACCOUNTS > Groups and Roles. 2. The GROUPS AND ROLES page displays. 3. Select the ROLES tab. 4. Click Add User Role on right of the page filter control. 5. The NEW ROLE page displays. 6. Enter a role Name and Description. 7. Modify the CLI PERMISSIONS. Select Enabled or Disabled for each of the following:
l Console Shell Access: Ability to connect to nodes' command lines via Lighthouse's SSH. l Shell Access: Ability to access Lighthouse's command line as administrator. l PM Shell Access: Ability to connect to serial ports via SSH. 8. Modify the OPERATION PERMISSIONS to specify the access level for each feature (FULL ACCESS | READ ONLY | DENY). a. Click to expand the FEATURE SET b. For the FEATURE select the access level to apply for the role.
Note: The default access level is set to DENY.
9. Click Apply.
TO CREATE A NEW ROLE FROM AN EXISTING ROLE:
A new role can also be based on an existing role with the Use as template link on the upper right of a role's detail page.

24.06.0

Managing Lighthouse Users

222

Lighthouse User Guide
1. Select > USERS & ACCOUNTS > Groups and Roles. 2. The GROUPS and ROLES dashboard will display defaulted to the USER GROUPS tab. 3. Click the ROLES tab. 4. Select the role you wish to copy from the list. 5. Click Use as template. 6. The Create Role tab displays with all the settings of the existing role. Make changes if
necessary. 7. Click Save Role to create the new role.
CREATE A ROLE FROM AN EXISTING ROLE
1. Select > USERS & ACCOUNTS > Groups and Roles. 2. The GROUPS AND ROLES page displays. 3. Select the ROLES tab. 4. Select the name of the role to use as a template. 5. The VIEW ROLE page displays. 6. Click Use as Template. 7. The NEW ROLE page displays populating the form with values from the role selected with the
exception of the name. 8. Enter the new role Name. 9. Review and modify as required. 10. Click Apply.

24.06.0

Managing Lighthouse Users

223

EDIT A ROLE
1. Select > USERS & ACCOUNTS > Groups and Roles. 2. The GROUPS AND ROLES page displays. 3. Select the ROLES tab. 4. Select the name of the role to use as a template. 5. The VIEW ROLE page displays. 6. Click Edit. 7. The EDITING role page displays. 8. Review and modify the details as required. 9. Click Apply.
DELETE A ROLE
1. Select > USERS & ACCOUNTS > Groups and Roles. 2. The GROUPS AND ROLES page displays. 3. Select the ROLES tab. 4. Select the name of the role to use as a template. 5. The VIEW ROLE page displays. 6. Click Delete Role. 7. The CONFIRM ROLE DELETION dialog displays. 8. Click Delete.

Lighthouse User Guide

24.06.0

Managing Lighthouse Users

224

Lighthouse User Guide

MANAGING USERS
You can create new users, edit existing users, delete users and alter groups and permissions. Users can be either local users or remote users, in both instances you must understand how users must be authenticated.
AUTHENTICATION MODES

Authentication

Password And Group Source

Notes

Local

Authentication: Local only; Groups: Local

All users must exist locally before they can log in.

[AAA] - Radius - Tacacs+ - Ldap
Local[AAA] - LocalRadius - LocalTacacs+ - LocalLdap

Authentication: the username/password provided by the user is ONLY tested against the [AAA] server. Groups: Union of the user's local groups and their [AAA] groups.
If the user didn't exist locally and successfully authenticated via [AAA], the user is also added to the netgrp group.

If there is a local user with the same username as the [AAA] user and that user tries to login with the local password, login will be denied UNLESS the local password is the SAME as the remote password, that is, the remote password is used to login.
If the [AAA] server is unreachable, the only user that can authenticate locally is root.

Authentication: The username/password provided by the user is first tested locally and if local authentication fails then the [AAA] server is used. Groups: Union of the user's local groups and their [AAA] groups.
If the user didn't exist locally and successfully authenticated via [AAA], then the user is also added to the netgrp group.

Basically, the user can log in with either their local password (if the user exists locally) or their [AAA] password (if the user exists in the [AAA] server). The main point is that the username/password is tested locally first and if it fails, [AAA] auth is attempted with the same username and password.

24.06.0

Managing Lighthouse Users

225

Lighthouse User Guide

Authentication [AAA]Local - RadiusLocal - Tacacs+Local - LdapLocal
[AAA]DownLocal - RadiusDownLocal - Tacacs+DownLocal - LdapDownLocal

Password And Group Source

Notes

Authentication: The username/password provided by the user is first tested by the [AAA] server and if [AAA] authentication fails then the credentials are tested locally. Groups: Union of the user's local groups and their [AAA] groups.
If the user didn't exist locally and successfully authenticated via [AAA], then the user is also added to the netgrp group.

Basically, the user can log in with either their local password (if the user exists locally) or their [AAA] password (if the user exists in the [AAA] server). The main point is that the username/password is tested by [AAA] first and if it fails, local auth is attempted with the same username and password.

Authentication: Local authentication is ONLY used if the [AAA] server is unreachable. Otherwise [AAA] authentication is always used. Groups: Union of the user's local groups and their [AAA] groups. If the user didn't exist locally and successfully authenticated via [AAA], then the user is also added to the netgrp group.

This should behave exactly the same as the [AAA] mode until the [AAA] server is unreachable at which point, local authentication is attempted.

Note: The root user can be authenticated by AAA but it will always try local auth for the root user first.
CREATE A LOCAL USER
1. Select > Local Users. 2. The LOCAL USERS page displays. 3. Click Add User. 4. The NEW USER page displays. 5. Select the User Status.

24.06.0

Managing Lighthouse Users

226

Lighthouse User Guide
6. Enter a Username
Note: Username must only contain lowercase letters, numbers and _ . -
7. Enter a Description. 8. Enable or disable the Remote Password Only feature.
l Select Enabled for Remote Password Only to use external AAA server for password. l Select Disabled for Remote Password Only to create password for the user.
a. Enter the Password. b. Re-enter to Confirm Password. 9. To add a SSH Key: a. Click Add SSH Authentication Key. b. The ADD SSH AUTHENTICATION KEY dialog displays. c. Enter the SSH public key for the user. d. Click Add Key. 10. Under the GROUPS section, manage the user groups the user will be assigned. a. Click Add Group, b. The ADD GROUPS dialog displays. c. With the checkboxes, check groups to add the user to. d. Select the role name to view the details of the role and the operation permissions associated with the role. Click < Back to return to the ADD ROLES dialog. e. Click Add. 11. Review the PERMISSIONS SUMMARY section. This section displays how permissions are derived based on the selected roles for both CLI and OPERATION permissions. 12. Click Apply.

24.06.0

Managing Lighthouse Users

227

Lighthouse User Guide
CREATE USER EVENT LOGS
When a new user is created, an entry is added to the syslog indicating the new user's name, the user that performed the operation, database queries, and the time that it occurred:
2020-05-22T16:22:46.490627+01:00 localhost rest_api_log[62]: GET 200 (root | 192.168.1.230) - /api/v3.5/users?page=1&per_page=10 RESPONSE={'users': [{'username': 'root', 'description': 'System wide SuperUser account', 'enabled': True, 'id': 'users-1', 'no_password': False, 'expired': False, 'locked_out': False, 'rights': {'delete': True, 'modify': True}, 'groups': ['groups-2']}, {'username': 'fred', 'description': 'fred', 'enabled': True, 'id': 'users-2', 'no_ password': False, 'expired': False, 'locked_out': False, 'rights': {'delete': True, 'modify': True}, 'groups': ['groups-2']}], 'meta': {'total_pages': 1}}
If the created user is set to disabled, the configurator_users message does not appear as they have not been added to the passwords file. The syslog can be accessed from Lighthouse by clicking > Generate Technical Support Report.
EDIT A USER
1. Select > USERS & ACCOUNTS > Local Users. 2. The LOCAL USERS page displays. 3. Select the name of the user to edit. 4. The EDIT USER page displays. 5. Review and modify the details as required. 6. Click Apply.

24.06.0

Managing Lighthouse Users

228

Lighthouse User Guide
Note: Disabled users cannot login to Lighthouse using either the Web-based interface or via shell-based logins (that is sshusername-disabled@lighthouse-name-or-ip). The user and the /home/username-disabled directory still exist in the Lighthouse VM file system.
DISABLE A USER
DISABLE A ROOT USER
Caution: Make sure that another user exists that is in a group that has the Lighthouse Administrator role.
1. Select > USERS & ACCOUNTS > Local Users. 2. The LOCAL USERS page displays. 3. Click the Disable User icon button in the Actions section for the root user. 4. A confirmation dialog displays with the following message:
Warning This may prevent configuration of the system. Make sure another user exists that is in a group that has the "Lighthouse Administrator" role, before proceeding with this action.
5. Click Confirm. To re- enable the root user, login as another user with Lighthouse Administrator role and enable access for root user from Actions section on Users page.

24.06.0

Managing Lighthouse Users

229

Lighthouse User Guide
An Identity Provider (IdP) stores and manages users' digital identities An IdP may check user identities via username-password combinations and other factors, or it may simply provide a list of user identities that another service provider (like an SSO) checks. An IdP can authenticate any entity connected to a network or a system, including computers and other devices.
DISABLE A SINGLE USER
1. Select > USERS & ACCOUNTS > Local Users. 2. The LOCAL USERS page displays. 3. Click the Disable User icon in the Actions section for the user. 4. A confirmation dialog displays. 5. Click Confirm.
DISABLE MULTIPLE USERS
1. Select > USERS & ACCOUNTS > Local Users. 2. The LOCAL USERS page displays. 3. Check the users you wish to disable. 4. Click Disable User from the menu above the user grid. 5. A confirmation dialog displays. 6. Click Confirm.

24.06.0

Managing Lighthouse Users

230

Lighthouse User Guide
ENABLE A USER
ENABLE A ROOT USER
Note: To re- enable the root user, login as another user with Lighthouse Administrator role and enable access for root user from Actions section on Users page. 1. Select > USERS & ACCOUNTS > Local Users. 2. The LOCAL USERS page displays. 3. Click the Disable User icon in the Actions section for the root user. 4. A confirmation dialog displays with the following message: 5. Click Confirm. ENABLE A SINGLE USER 1. Select > USERS & ACCOUNTS > Local Users. 2. The LOCAL USERS page displays. 3. Click the Enable User in the Actions section for the user. 4. A confirmation dialog displays. 5. Click Confirm.
DELETE A USER
TO DELETE A SINGLE USER 1. Select > USERS & ACCOUNTS > Local Users. 2. The LOCAL USERS page displays.

24.06.0

Managing Lighthouse Users

231

Lighthouse User Guide
3. Click the Delete User icon in the Actions section of the user. 4. A confirmation dialog displays. 5. Click Confirm. 6. The user is permanently deleted.
DELETE MULTIPLE USERS
1. Select > USERS & ACCOUNTS > Local Users. 2. The LOCAL USERS page displays. 3. Check the users you wish to disable. 4. Click Delete Users from the menu above the user grid. 5. A confirmation dialog displays. 6. Click Confirm. 7. The users are permanently deleted.
UNLOCK A USER
For a user that fails the login restrictions policy and has become locked out, a notification will display with the following message:
Error Your account has been locked out. Please try again later or contact your administrator.
An administrator can unlock the account with the following steps: 1. Select > USERS & ACCOUNTS > Local Users. 2. The LOCAL USERS page displays. 3. Click the Unlock User icon in the Actions section for the locked user.

24.06.0

Managing Lighthouse Users

232

Lighthouse User Guide
4. The UNLOCK USER confirmation dialog displays. 5. Click Confirm.
EXPIRE A USER PASSWORD
EXPIRING A USER PASSWORD
You can set a user password to expire. The next time this user logs in, the user will be required to change the password. 1. Select > USERS & ACCOUNTS > Local Users. 2. The LOCAL USERS page displays. 3. Click the Expire Password icon in the Actions section for the locked user. 4. The EXPIRE PASSWORD confirmation dialog displays. 5. Click Confirm.
RESTORE A USER PASSWORD 1. Select > USERS & ACCOUNTS > Local Users. 2. The LOCAL USERS page displays. 3. Click the Restore Password icon in the Actions section for the user with a password set to expired. 4. The RESTORE PASSWORD confirmation dialog displays. 5. Click Confirm.
MANAGE LOCAL AUTHENTICATION POLICY
An Identity Provider (IdP) stores and manages users' digital identities. An IdP may check user identities via username-password combinations and other factors, or it may simply provide a list of user identities that another service provider (like an SSO) checks.

24.06.0

Managing Lighthouse Users

233

Lighthouse User Guide
An IdP can authenticate any entity connected to a network or a system, including computers and other devices. Lighthouse Administrators can set Password Policies to ensure that users set secure passwords.
Note: All password fields in Lighthouse are write-only. They accept data from the clipboard or pasteboard but do not pass data out.
SETTING THE PASSWORD POLICY
1. Select > USERS & ACCOUNTS > Local Authentication Policy. 2. The LOCAL AUTHENTICATION POLICY page displays. 3. Select Enabled to enable the password policy. 4. Modify the PASSWORD REQUIREMENTS. Check to enable one or more of the following
options: l Minimum password length. Enter a value from 1 to 128. l Require at least one capital letter. l Require at least one number. l Require at least one symbol. l Disallow username in password. l Prevent password reuse. Select Always or Days and set the number of days between reuse. l Set password expiry. Set the number of days until passwords expire. At next login, the user
will need to reset the password. 5. Click Apply.

24.06.0

Managing Lighthouse Users

234

Lighthouse User Guide
SETTING THE LOGIN RESTRICTIONS
Login restrictions can be applied by administrator users to prevent unauthorized login attempts via the UI and REST API.
Caution: Enabling login restrictions can cause the system to be inaccessible in an emergency
1. Select > USERS & ACCOUNTS > Local Authentication Policy. 2. The LOCAL AUTHENTICATION POLICY page displays. 3. Select the LOGIN RESTRICTIONS tab. 4. Select Enabled to enable the login restriction policy. 5. Enter a value for Maximum attempts to set the number of attempts a user can enter an
incorrect password before being locked out. 6. Enter a value for Lockout period to set the number of minutes until a user can try to login again
after reaching maximum incorrect login attempts. 7. Click Apply.
CONFIGURING AUTHENTICATION
Lighthouse supports three Authentication Authorization and Accounting (AAA) systems: l LDAP (Active Directory and OpenLDAP) l RADIUS l TACACS+ Authentication works much the same with each, but group membership retrieval varies. The following sections detail the configuration settings for each provider and explain how group membership retrieval works.

24.06.0

Managing Lighthouse Users

235

Lighthouse User Guide
LDAP CONFIGURATION
1. Select > USERS & ACCOUNTS > Remote Authentication. 2. The REMOTE AUTHENTICATION page displays. 3. From the Scheme options, select LDAP. 4. Select the desired Mode:
l LDAPDownLocal l LDAP Mode l LocalLDAP l LDAPLocal 5. Enter the Address and optionally the Port of the remote authentication server to query. The port setting defaults to LDAP/LDAPS standard ports if not entered.
Note: Click Add Authentication Server to add multiple servers. The LDAP subsystem queries them in a round-robin fashion.
6. Enter the LDAP Base DN that corresponds to the LDAP system being queried. For example, if a user's distinguished name is cn=John Doe,dc=Users,dc=ACME,dc=com, the LDAP Base DN is dc=ACME,dc=com
7. Enter the LDAP Bind DN. This is the distinguished name of a user with privileges on the LDAP system to perform the lookups required for retrieving the username of the users, and a list of the groups they are members of.
8. Enter and confirm the Bind DN Password for the binding user. 9. Enter the LDAP username attribute. This depends on the underlying LDAP system. Use
sAMAccountName for Active Directory systems, and uid for OpenLDAP based systems. 10. Enter the LDAP group membership attribute. This is only needed for Active Directory and is
generally memberOf.

24.06.0

Managing Lighthouse Users

236

Lighthouse User Guide
11. If desired, check Ignore referrals option. When checked, LDAP will not follow referrals to other remote authentication servers when logging users in to Lighthouse. If multiple remote authentication servers exist on the network, checking this option may improve login times.
12. Under the SSL section, choose the desired Server protocol. a. LDAP over SSL preferred: this will attempt LDAPS before trying LDAP without SSL b. LDAP (no SSL) only: non-SSL LDAP is always used c. LDAP over SSL only: LDAP over SSL is always used
13. Check Ignore SSL certificate errors to ignore any SSL certificate errors encountered when accessing LDAPS servers. If this option is checked, a certificate file uploaded will not be used.
14. To UPLOAD CERTIFICATE FILE to validate LDAPS servers, navigate to the directory containing the appropriate upgrade image file and drag and drop the image onto the target page section or click select file to open a dialog.
Note: Supported files: .crt, .cer, .ca-bundle, .p7b, .p7c, .p7s, .pem, .txt
15. Click Apply.
RADIUS CONFIGURATION
1. Select > USERS & ACCOUNTS > Remote Authentication. 2. The REMOTE AUTHENTICATION page displays. 3. From the Scheme options, select Radius. 4. Choose the desired Mode:
l RADIUSDownLocal l RADIUS Mode l LocalRADIUS l RADIUSLocal

24.06.0

Managing Lighthouse Users

237

Lighthouse User Guide
5. Enter the Address and optionally the Port of the Remote Authentication Server to query. The default port is 1812. Note: Click Add Authentication Server to add multiple servers.
6. Enter the Address and optionally the Port of the Remote Accounting Server to send accounting information to. The default port is 1813. Note: Click Add Accounting Server to add multiple servers.
7. Enter and confirm the Server Password also known as the RADIUS Secret. 8. Click Apply. To provide group membership, RADIUS needs to be configured to provide a list of group names via the Framed-Filter-Id attribute. The following configuration snippet shows how this can be configured for FreeRADIUS: operator1 Auth-Type := System Framed-Filter-ID = ":group_name=west_ coast_admin,east_coast_user:"
Note: The Framed-Filter-ID attribute must be delimited by the colon character.
TACACS+ CONFIGURATION
1. Select > USERS & ACCOUNTS > Remote Authentication. 2. The REMOTE AUTHENTICATION page displays. 3. From the TACACS+ options, select Radius

24.06.0

Managing Lighthouse Users

238

Lighthouse User Guide
4. Choose the required Mode: l TACACS+DownLocal: l TACACS+Mode l LocalTACACS+ l TACACS+Local
5. Enter the Address and optionally the Port of the Remote Authentication Server to query. The default port is 49.
Note: Click Add Authentication Server to add multiple servers. The TACACS+ subsystem queries them in a round-robin fashion.
6. Select the Login Methodto set the method used to authenticate to the server. Defaults to PAP. To use DES encrypted passwords, select Login
7. Enter and confirm the Server Password, also known as the TACACS+ Secret. 8. Enter the TACACS+ service. This determines which set of attributes are returned by the
server. Defaults to "raccess". 9. Click Apply. To provide group membership, TACACS+ needs to be configured to provide a list of group names. The following configuration snippet shows how this can be configured for a tac_plus server:
user = operator1 { service = raccess { groupname = west_coast_admin,east_cost_user }
}

24.06.0

Managing Lighthouse Users

239

Lighthouse User Guide
To do this with Cisco ACS, see Setting up permissions with Cisco ACS 5 and TACACS+ on the Opengear Help Desk.
CONFIGURING SSH AUTHENTICATION
SSH authentication security settings for all users across all Lighthouses is managed under > USERS & ACCOUNTS > SSH Authentication.
CONFIGURE SSH AUTHENTICATION
1. Select > USERS & ACCOUNTS > SSH Authentication. 2. The SSH AUTHENTICATION SETTINGS page displays. 3. Select Enabled for SSH Password Authentication to allow using a password for
SSH connections for all users, including the root user.
Note: With Lighthouse version 24.06.0 and later, by default any AWS Lighthouse instance created will have this setting disabled. This setting affects every user account. l If disabled, Lighthouse users must use a SSH key to authenticate SSH connections to
Lighthouse. This can be set under > USERS & ACCOUNTS > Local Users and then configuring per user. l If enabled, then SSH Authentication will be authenticated via their password.
4. Select Enabled for SSH connection as Root User to allow the root user to SSH into Lighthouse.

24.06.0

Managing Lighthouse Users

240

Lighthouse User Guide
Note: With Lighthouse version 24.06.0 and later, by default any AWS Lighthouse instance created will have this setting disabled. This setting only affects the root user. l If disabled the root user will not be able to use SSH to connect to a Lighthouse
Instance. l If enabled, the root user still needs to be enabled as well and is done by navigating to
> USERS & ACCOUNTS > Local Users and select Enabled for the root user.
5. Click Apply.
SAML CONFIG FOR SSO
SAML is the framework used to integrate applications with identity providers for single sign-on (SSO). This is mostly (if not completely) reflected when a user logs in and authenticates with their IdP or is already logged in (if they have already authenticated with their identity provider prior to accessing Lighthouse). Lighthouse supports the independent, concurrent use of both SAML and AAA authentication. SAML authentication is independent of, and does not interact with, other authentication methods.
Note: For release 2024.06 SAML is only supported for authentication to the lighthouse Web GUI.
When SAML is configured and enabled, users can authenticate to the Lighthouse Web GUI either through SAML or another configured authentication mechanism such as Local or AAA. Users can SSH only via the other configured authentication mechanism (Local or AAA) if Remote Authentication is configured. The default authentication is Local, with Lighthouse using locally defined users and groups. If AAA (TACACS, RADIUS or LDAP) Remote Authentication is configured, this will be used for Web GUI and SSH login authentication to Lighthouse (except for root which is always locally authenticated).

24.06.0

Managing Lighthouse Users

241

Lighthouse User Guide
Users are authenticated against AAA server(s) with group membership returned to Lighthouse, which is used to determine user roles and permissions. AAA Remote Authentication can support 2FA/MFA, depending on the AAA server capabilities. Lighthouse's SAML integrates with the following identity providers: l OKTA l Azure Active Directory (Azure AD) l One Login l Auth0
Note: In the following instructions, any text in braces {} for example, {main lighthouse address} needs to be substituted with the value for your environment.
Common values you will need are: {main lighthouse address} - The address (without the protocol or path) most users use to connect to your primary lighthouse's web interface. e.g. lighthouse.example.com or 192.168.1.10 {provider} - Each IdP implements the spec slightly differently. Lighthouse needs to know which style to expect to handle these differences. If your IdP is not one of our officially supported IdPs, try configuring Lighthouse using the generic provider option as the most widely applicable. (You could also try using our other explicit IdP options but these often expect provider specific intricacies).
GENERIC IDP SETUP
This section describes how to integrate Lighthouse with your generic Identity Provider (IdP) Application.

24.06.0

Managing Lighthouse Users

242

Lighthouse User Guide
In case Lighthouse's supported IdPs do not include your identity provider, use the Generic IdP setup. This has been made as general as possible to meet expectations of all IdPs in the market today.
Note: You must have your user groups setup in Lighthouse prior creating & assigning them via the IdP. See the example in step 6 of the Okta configuration later in this topic.
Note: The {provider} in the steps must exactly match one of our provider strings that is, generic, okta, azure_ad, onelogin.
1. Create an application integration for "Lighthouse" in your IdP 2. Set ACS or consumer URL as https://{main lighthouse
address}/api/v3.7/sessions/saml/sso/{provider} 3. Set the Allowed SSO URLs or Allowed redirect URLs or ACS URL Validator to include or
match the /saml/sso/ URL for each address of each of your Lighthouses that you want users to be able to login from. Example:
https://{main lighthouse address}/api/v3.7/sessions/saml/sso/{provider} https://{main lighthouse ip address}/api/v3.7/sessions/saml/sso/{provider} https://{secondary lighthouse address}/api/v3.7/sessions/saml/sso/{provider}
Depending on your IdP you may need to include the /saml/sp_init/ URLs.
https://{main lighthouse address}/api/v3.7/sessions/saml/sso/{provider} https://{main lighthouse address}/api/v3.7/sessions/saml/sp_init/{provider} https://{main lighthouse ip address}/api/v3.7/sessions/saml/sso/{provider} https://{main lighthouse ip address}/api/v3.7/sessions/saml/sp_init/{provider}

24.06.0

Managing Lighthouse Users

243

Lighthouse User Guide
https://{secondary lighthouse address}/api/v3.7/sessions/saml/sso/{provider} https://{secondary lighthouse address}/api/v3.7/sessions/saml/sp_init/ {provider}
4. Set the Service Provider EntityID or Audience as lighthouse-{provider} 5. If your service provider requires you to configure the Recipient and only allows a single value
and you run multiple Lighthouses or access Lighthouse via multiple addresses, then either: l Set the recipient as lighthouse-{provider} and use the onelogin option as your
provider configuration, or l create a separate application integration per Lighthouse if you only access each via a single
address . 6. If your IdP has the option, set the initiator to the Service Provider, set your IdP to sign the
Assertion for SAML.
GENERIC IDP SAML ATTRIBUTE
You will also need to configure your IdP to send an additional attribute LH_Groups as part of the SAML response. In most IdPs this is done by adding an Attribute Statement or Parameter configuration in your application integration. This parameter should be set as a multi-value parameter, that is, multiple values should be provided by multiple duplicative either Attribute Value tags or Attribute tags in the SAML assertion. We recommend setting the value of this attribute to be populated with the names of the user's Roles (or Groups) in your IdP. This method allows you to create roles in your IdP with the same names as the user groups on your Lighthouse that can be assigned in your IdP to grant users that level of access to Lighthouse.

24.06.0

Managing Lighthouse Users

244

Lighthouse User Guide
Alternatively, you can populate the LH Groups attribute with the names of the Lighthouse user groups the user should be granted by any other mechanism that your IdP provides, that is, custom user properties.
Note: Your IdP can populate the LH_Groups attribute to place users in any Lighthouse user group except Lighthouse's default admin group. You can allow users to login with admin privileges by simply creating another user group in Lighthouse with the admin role and assigning the matching role/group in your IdP to the user (that is, populate LH_Groups to include its value).
LIGHTHOUSE IDP SETUP
You will need to export an IdP metadata xml file for your Lighthouse application integration from your IdP. If your IdP requires that requests be signed by the Service Provider then you will also need to provide an x509 certificate & private key in .pem format (either exported from your IdP or created locally then configured in your IdP). 1. Upload your IdP metadata XML (and if required certificate & private key) to your primary
Lighthouse i.e. scp. 2. Use the saml-idp-metadata command to configure each Lighthouse individually. Each
Lighthouse is configured individually with the same or a different metadata xml (and certificate + key).
Note: The commands to configure each Lighthouse individually, all must be run from your primary Lighthouse.
# Example: Configuring a Multi-Instance Lighthouse for Okta IdP # List initial lighthouse configurations (i.e. none) saml-idp-metadata list # Configure Primary lighthouse

24.06.0

Managing Lighthouse Users

245

Lighthouse User Guide
saml-idp-metadata create \ --metadata metadata.xml \ --provider okta \ --lh-id 1 #Configure Secondary lighthouse saml-idp-metadata create \ --metadata metadata.xml \ --provider okta \ --lh-id 2 # List lighthouse configurations (i.e. both lighthouses configured) saml-idp-metadata list
EXAMPLES OF SPECIFIC IDP SETUPS
The following are examples of how you could configure officially supported IdPs. They are based on the generic setup and the IdP's configuration options as of 10/2021.
OKTA EXAMPLE - CREATE AN APPLICATION
You need to create an application that Okta will be doing authentication on behalf of.
Note: You must know the addresses of your Lighthouses before creating the application.
1. In the Okta web console go to Applications - > Applications. a. Click Create App Integration. b. Select SAML 2.0.
2. Give the application a name: for example, Lighthouse and click Next.

24.06.0

Managing Lighthouse Users

246

Lighthouse User Guide
3. For the Single sign on URL enter: https://{main lighthouse address}/api/v3.7/sessions/saml/sso/okta a. Select: Use this for Recipient URL and Destination URL b. Fill out the Other Requestable SSO URLs with the SSO URLs for every Lighthouse address that you want to be able to sign in with, that is, IP addresses and DNS address for both your primary and secondary Lighthouses.
Example: https://{main lighthouse ip}/api/v3.7/sessions/saml/sso/okta https://{secondary lighthouse address}/api/v3.7/sessions/saml/sso/okta https://{secondary lighthouse ip}/api/v3.7/sessions/saml/sso/okta
4. For the Audience URI (SP Entity ID) enter lighthouse-okta 5. Set Name ID format to email. 6. Set to email. 7. There are many ways you could configure Okta to populate the LH_Groups attribute, our
recommended way is to populate it from and manage it via the user's Okta groups: a. Add a Group Attribute Statement:
i. Name: LH_Groups. ii. Name Format: Basic. iii. Filter: Matches Regex .* 8. Click Next and finish.
IDP METADATA
1. Open your Okta application. 2. Go to More Actions > SAML Metadata. This is the metadata xml file that you will need to
configure lighthouse.

24.06.0

Managing Lighthouse Users

247

Lighthouse User Guide
CONFIGURE LIGHTHOUSE
1. Copy the Identity Provider metadata XML to your primary Lighthouse. 2. Using saml-idp-metadata on your primary Lighthouse, configure each of your Lighthouses
to use your IdP. For example:
saml-idp-metadata -p {root password} creaUser groupste -m /path/to/okta_ metadata.xml -P okta -n "My Okta display name" -l {LH id number}
GROUPS SETUP
After this initial setup, you will be able to login as a SAML user. If you do not already have your own setup in Lighthouse: 1. Login to Lighthouse as a local user (or any non-SAML user) i.e. root. 2. Create the User groups with the Roles and permission that you desire. 3. In Okta go to Directory > Groups. 4. Click Add Group. 5. Enter the Group name that matches a Group name on lighthouse. 6. Open your new group. 7. Go to Manage Apps. 8. Search for your lighthouse app and click Assign. 9. Click Done. 10. Go to Manage People. 11. Search for and click on the users you wish to add to the group.

24.06.0

Managing Lighthouse Users

248

Lighthouse User Guide
The assigned users are now able to login to Lighthouse with the permission levels which that group grants them.
ONELOGIN EXAMPLE - CREATE AN APPLICATION
You need to create an application that Onelogin will be doing authentication on behalf of. 1. Go to Applications > Add App > Search for and choose SAML Custom Connector
(Advanced). 2. Name your connector, that is, Lighthouse. 3. In the Configuration tab for your new app:
a. Set Audience (EntityID) to lighthouse-onelogin. b. Set Recipient to lighthouse-onelogin. c. Set ACS (Consumer) URL to: https://{main lighthouse address}/ap-
i/v3.7/sessions/saml/sso/onelogin. d. Set ACS (Consumer) URL Validator to a regex expression that matches only all your
Lighthouses' SSO addresses (IP & DNS for Primary & Secondary Lighthouses). i. Ensure it begins with ^ and ends with $ to match the whole URL. ii. Recommended pattern:
^https:\/\/ {lighthouse addresses} \/api\/v3\.7\/sessions\/saml\/sso\/onelogin$. iii. For example to allow Onelogin login for Lighthouse addresses 192.168.1.10 and lighthouse.example.com , you could use the following: (note the additional () around your hostnames and the | separating them: ^https:\/\/ (192\.168\.1\.10|lighthouse\.example\.com)\/api\/v3\.7\/sessions\ /saml\/sso\/onelogin$.

24.06.0

Managing Lighthouse Users

249

Lighthouse User Guide
e. Set Login URL to https://{main lighthouse address}/api/v3.7/sessions/saml/sp_ init/onelogin.
f. Set SAML initiator to Service Provider. g. Set SAML signature element to Assertion. 4. The recommended method to populate LH_Groups is with Onelogin Roles. a. Go to Parameters then click Add. b. Set Field Name to LH_Groups. c. Check Include in SAML assertion. d. Check Multi-value parameter. e. Click Save. f. Set Default value to User Roles. g. If you intend on filtering the Roles that are sent to lighthouse (using a Rule) set no
transform otherwise set semicolon delimited. l An example Rule to filter roles:
o "Set LH_Groups in" for each role with a value that matches LH_.*.
h. Save the parameter. 5. Save the connector.
IDP METADATA
1. Open your Onelogin application. 2. Go to More Actions > SAML Metadata. This is the metadata xml file that you will need to
configure lighthouse.

24.06.0

Managing Lighthouse Users

250

Lighthouse User Guide
CONFIGURE LIGHTHOUSE
1. Copy the metadata xml to your primary lighthouse. 2. Using saml-idp-metadata on your primary lighthouse, configure each of your lighthouses
to use your IdP., For example saml-idp-metadata -p {root password} create -m /path/to/metadata.xml -P onelogin -n "My Onelogin display name" -l {LH id number}
ROLES SETUP
After this initial setup, you will be able to login as a SAML user. If you do not already have your own User Groups setup in Lighthouse: 1. Login to Lighthouse as a local user (or any non-SAML user) for example, root. 2. Create the User Groups with the Roles and Permissions that you desire. 3. In Onelogin Go to Users > Roles. 4. Click New Role.
a. Set the Role's name to match the lighthouse group you want it to map to. b. Select your Lighthouse app to associate the role with. c. Click Save. 5. Open the newly created role. 6. Go to the Users tab on the left. 7. Search for and add your users or create a mapping to automatically add multiple users. 8. Click Save. a. If you used a mapping then go to Users > Mappings and run Reapply All Mappings. 9. Click Done

24.06.0

Managing Lighthouse Users

251

Lighthouse User Guide
The assigned users are now able to login to Lighthouse with the permission levels that the Onelogin Role/Lighthouse group grants them.
AZURE EXAMPLE - ACTIVE DIRECTORY
Lighthouse can be added as an Enterprise application to Azure Active Directory. This example uses "App roles" to grant users permissions. To create an Application (Enterprise applications) 1. Go to Azure Active Directory. 2. Go to Enterprise applications. 3. Click New Application. 4. Click Create your own application. 5. Select Integrate any other application you don't find in the gallery (Non-gallery). 6. Name your Application, for example, Lighthouse, then click Create. 7. Click Properties:
a. Set Assignment required to Yes. b. Set Enabled for users to sign-in to Yes. c. Click Save. 8. Go to Single sign-on: a. Select SAML. b. Edit Basic Configuration:
i. Add an Entity Id lighthouse-azure_ad and set it as default. ii. In Reply URL (Assertion Consumer Service URL) add the SSO URL for each address of
each Lighthouse that you want to be able to sign in on, i.e. IP addresses and DNS address for both your primary and secondary Lighthouses. https://{primary lighthouse

24.06.0

Managing Lighthouse Users

252

Lighthouse User Guide
address}/api/v3.7/sessions/saml/sso/azure_ad https://{primary lighthouse IP address}/api/v3.7/sessions/saml/sso/azure_ad https://{secondary lighthouse address}/api/v3.7/sessions/saml/sso/azure_ad https://{secondary lighthouse IP address}/api/v3.7/sessions/saml/sso/azure_ad. iii. Set Sign on URL to https://{main lighthouse address}/api/v3.7/sessions/saml/sp_init/azure_ad. iv. Click Save. c. Edit Attributes & Claims: i. Remove the default claims from Additional claims. ii. Click Add new claim and enter: l Name: LH_Groups l Source Attributes: user.assignedroles
IDP METADATA
1. Go to the Azure Active Directory. 2. Go to Enterprise applications and open your application. 3. Go to Single sign-on. 4. Navigate to 3. SAML Signing Certificate and find and download Federation Metadata
XML.
CONFIGURE LIGHTHOUSE
1. Copy the Federation metadata XML to your primary Lighthouse. 2. Using saml-idp-metadata on your primary lighthouse, configure each of your lighthouses
to use your IdP as follows: For example, saml-idp-metadata -p {root password} create -m

24.06.0

Managing Lighthouse Users

253

Lighthouse User Guide
/path/to/metadata.xml -P azure_ad -n "My Azure display name" -l {LH id number}.
APP ROLES SETUP
After this initial setup, you will be able to login as a SAML user. If you do not already have your own User groups setup in Lighthouse, you can set them up as follows: 1. Login to Lighthouse as a local user (or any non-SAML user) i.e. root. 2. Create the User groups with the Roles and permission required. See Add app roles and get them from a token - Microsoft identity platform for up to date documentation on how to create and assign App Roles. 1. Go to Azure Active Directory. 2. Go to App registrations. 3. Open your app (Use the All Applications tab to see Enterprise apps). 4. Go to App Roles. 5. Click Create App Role.
a. Set the value to match your usergroup on Lighthouse. b. Set Allowed member types to Both (Users/Groups + Applications). c. Set the other fields as required. 6. Go to Azure Active Directory. a. Go to Enterprise applications. b. Open your App, that is, Lighthouse. c. Go to Users and groups. d. Click Add user/group. e. Select a user and one of your App roles then click Assign.

24.06.0

Managing Lighthouse Users

254

Lighthouse User Guide
The assigned users are now able to login to Lighthouse with the permission levels which that App Role/Lighthouse group grants them.
CONFIGURE AUTH0 FOR IDP
Lighthouse can be added as an Enterprise application to AUTH0. This example uses "App roles" to grant users permissions.
CREATE AN APPLICATION (ENTERPRISE APPLICATIONS)
1. Go to Auth0. 2. Go to Applications > Application. 3. Click Create application.
a. Select Regular Web Application. b. Name the application, for example, Lighthouse. 4. Go to Settings tab. a. Select SAML. b. Set Application Login URI to:
https://{main lighthouse address}/api/v3.7/sessions/saml/sp_init/auth0
c. In Allowed Callback URLs add each address for each Lighthouse that you wish to allow users to sign-in via (that is, IP, hostname, dns for both primary and secondary).
https://{primary lighthouse address}/api/v3.7/sessions/saml/sso/auth0 https://{primary lighthouse IP address}/api/v3.7/sessions/saml/sso/auth0 https://{secondary lighthouse address}/api/v3.7/sessions/saml/sso/auth0 https://{secondary lighthouse IP address}/api/v3.7/sessions/saml/sso/auth0
d. Click Save.

24.06.0

Managing Lighthouse Users

255

Lighthouse User Guide
5. Go to the Addons tab: a. Click SAML2. b. Go to the SAML settings tab. c. Set the Settings json to:
{ "audience": "lighthouse-auth0", "mappings": { "roles": "LH_Groups" }, "passthroughClaimsWithNoMapping": true, "mapUnknownClaimsAsIs": true, "nameIdentifierFormat": "urn:oasis:names:tc:SAML:1.1:nameidformat:emailAddress", "nameIdentifierProbes": [ "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress" ] }
d. Click either Enable or Save. 6. Go to Auth Pipeline. 7. Go to Rules. 8. Click Create.
a. Select empty rule template. b. Name it appropriately, for example, Map roles to SAML user property. c. Set the script to:

24.06.0

Managing Lighthouse Users

256

Lighthouse User Guide
function mapSamlAttributes(user, context, callback) { user.roles = (context.authorization || {}).roles; callback(null, user, context); }
9. Click Save.
CONFIGURE AUTH0 METADATA FOR IDP
To download IdP metadata: 1. Go to Auth0. 2. Go to Application > Applications. 3. Open your Lighthouse application. 4. Go to Addons. 5. Go to SAML. 6. Go to Usage. 7. Click the Identity Provider Metadata download. A file named metadata.xml downloads to your preferred directory Configure each Lighthouse to use Auth0 IdP with the metadata file: 1. Copy the downloaded metadata.XML file to your primary Lighthouse. 2. Use the saml-idp-metadata file on your primary Lighthouse, configure each of your
Lighthouses to use your IdP with this command: saml-idp-metadata -p {root password} create -m /path/to/metadata.xml -P auth0 -n "My Auth0 display name" -l {LH id number}

24.06.0

Managing Lighthouse Users

257

Lighthouse User Guide
CONFIGURE AUTH0 FOR IDP
After you have added Lighthouse as an Enterprise application to AUTH0, you need to use the App roles feature to grant users permissions to use IdP. After this initial setup, you will be able to login as a SAML user. 1. If you do not already have your own Usergroups setup in Lighthouse:
a. Login to Lighthouse as a local user (or any non-SAML user) for example, root. b. Create the User groups with the required Roles and permission. 2. Go to Auth0. 3. Go to User Management. 4. Go to Roles. 5. Click Create Role. 6. Enter the Role name that matches a Lighthouse group name. 7. Open your Role. 8. Go to the Users tab. 9. Click Add Users. a. Assign the role to the appropriate users. 10. The assigned users are now able to login to Lighthouse with the permission levels granted by the Auth0 Role/Lighthouse group.
LIMITATIONS OF SAML CONFIGURATION
IDP METADATA CERTIFICATE EXPIRY
The Identity Provider (IdP) metadata XML file that you exported to configure Lighthouse contains a certificate that is used to authenticate that the SAML response came from your IdP.

24.06.0

Managing Lighthouse Users

258

Lighthouse User Guide
Different IdPs have different expiry periods for these certificates, consult your IdP's documentation to find their expiry period. When your IdP's certificate expires you will need to regenerate it then re-export your IdP metadata and update your Lighthouse configurations. If your IdP supports sending expiry notifications to your admin, we recommend you enable these notifications.
MAKING CHANGES TO USER PERMISSIONS
When you change the permissions assigned to a Lighthouse user in your IdP (via LH_Groups SAML attribute), the changes will not take effect until the user logs out and back into Lighthouse. If you need to quickly restrict a user's access, consider altering the permissions of or deleting that user's user groups on Lighthouse. You can also set a low Web Session Timeout.
SAML SSO USER GROUPS
The LH_Groups attribute can be used to place SSO users in any Lighthouse user group except Lighthouse's default admin group. You can allow users to login with admin privileges by simply creating another user group in Lighthouse with the admin role and assigning the matching role/group in your IdP to the user (i.e. populate LH_Groups to include its value).
SAML SSO USERS
SAML Users can only be managed in your IdP and will not appear under Lighthouse User Management. SAML users have no access to either Web terminal or SSH functionality via the Lighthouse web interface.

24.06.0

Managing Lighthouse Users

259

Lighthouse User Guide

ADVANCED FUNCTIONALITY

NetOps modules leverage Opengear's remote presence and proximity to infrastructure by allowing software applications to run directly on top of the out-of-band management fabric. The NeSountOps modules enable automation of the configuration and operation of network infrastructure in data center and remote edge locations.
WHAT IS A NETOPS MODULE

NetOps Modules are software components that enable automation of specific operational scenarios (for example, network device provisioning), deployed as Docker containers. The modules become active on Lighthouse when a module license is installed and can then be manually or automatically activated on nodes.
LICENSING

NetOps modules require a Lighthouse with appropriate licensing and modules to be uploaded and active. You will also need at least one node enrolled and able to use these modules.

Lighthouse Edition

Secure Provisioning*

IP Access*

Automation Gateway

Lighthouse Enterprise

Lighthouse Enterprise: Automation Edition

* The Smart Management Fabric feature can be used with these NetOps modules with some caveats.

24.06.0

Advanced Functionality

260

Lighthouse User Guide
MANAGING NETOPS MODULES
The management of NetOps modules is accessed from the NetOps menu.
NETOPS PLATFORM SECURITY
The NetOps Automation platform uses a combination of advanced hardware and software security features to provide end-to-end security and resilience against network breach, fault or failure. All communications between Lighthouse and nodes are tunneled inside Lighthouse VPN, using strong ciphers and automated certificate authentication and revocation. Nodes such as the OM and CM8100 contain a TPM chip, which verifies the authenticity of the OM system software, its configuration, and NetOps Module code and data ­ any unauthorized tampering will render the appliance inoperable. These nodes are physically hardened to resist tampering ­ attempts to physically to access storage media will render the appliance inoperable With a built-in cellular capability nodes with the TPM chip provide a secure WAN uplink in the event of network outage, DOS, or during initial network turn-up at a remote location.
CHANGING DOCKER IP RANGES
Docker powers the NetOps platform within Lighthouse. By default, Docker and NetOps utilize the 172.17.0.0/16 and 172.18.0.0/16 subnets. This has the potential to cause collisions inside of some networks. To avoid this, you can change these settings. To update Dockers subnet, you need to alter 2 parameters, Docker's default subnet and the NetOps modules subnet. To do so: 1. Login to the Lighthouse shell CLI as a Lighthouse Administrator or the root user 2. Ascertain the number of running containers to ensure you select an appropriate subnet size:

24.06.0

Advanced Functionality

261

Lighthouse User Guide
sudo docker ps -q | wc -l
3. Open a config CLI session on the Lighthouse Server and run the following to enter configuration management:
ogconfig-cli
4. Set the IP Range of the Docker subnet in CIDR format:
set services.nom.default_subnet "10.123.17.1/24"
5. Set the IP Range of the NetOps subnet in CIDR format:
set services.nom.netops_subnet "10.123.18.0/24"
6. Push the config to become the running config:
push
7. Exit the configuration management:
exit
8. Restart Docker:
sudo /etc/init.d/docker.init restart
9. Restart the NetOps Module(s):
sudo /etc/init.d/docker.init reset

24.06.0

Advanced Functionality

262

Lighthouse User Guide
Note: The network mask selected for these subnets limits the maximum number of containers that can run on Lighthouse. NetOps currently runs up to approximately 10 containers.
NETOPS MODULE INSTALLATION
PERFORM NETOPS INSTALLATION FROM AN ONLINE REPOSITORY 1. Select NetOps > NetOps Installation. 2. The NETOPS INSTALLATION page displays defaulted to the ONLINE tab. 3. Enter the Repository address the container registry that hosts NetOps modules 4. Click Start Online Sync to start the process. 5. A progress message displays:
NetOps online sync in progress
6. The sync completes and the following message displays:
NetOps online sync completed
PERFORM NETOPS INSTALLATION FROM AN OFFLINE REPOSITORY
If Lighthouse is deployed on a network where outbound access to the Docker Hub repository is not permitted or not available, use the NetOps offline installer. The offline installer file can be downloaded from this link: offline installer file. 1. Select NetOps > NetOps Installation. 2. The NETOPS INSTALLATION page displays. 3. Select the OFFLINE tab.

24.06.0

Advanced Functionality

263

Lighthouse User Guide
4. Drag and drop or select a file directly to upload.
Note: Supported files: .tar.gz
5. Click Upload to start the process.
PERFORM NETOPS INSTALLATION FROM AN OFFLINE REPOSITORY VIA CLI
1. Copy the offline installer to Lighthouse using scp, WinScp or similar, into the /mnt/nvram directory.
2. Log in to Lighthouse shell CLI as a Lighthouse Administrator and run:
gzip -d </mnt/nvram/netops_modules_*.tar.gz | nom update && rm /mnt/nvram/netops_modules_*.tar.gz
3. Deploy the upgrade to nodes: a. Log in to the Lighthouse web UI as a Lighthouse Administrator or the root user. b. Select NetOps > Manage NetOps Modules. c. The MANAGE NETOPS MODULES page displays. d. Confirm the module version. e. Click Redeploy. f. A progress message displays:
Module activation is in progress Module activation may take several minutes
g. The deployment completes and the following message displays:
Success Module synchronization complete

24.06.0

Advanced Functionality

264

Lighthouse User Guide
INSTALL MODULES FROM THE CLI
1. Log in to the Lighthouse CLI as root.
Note: Optionally, log in as a Lighthouse Administrator and become root with: sudo -i
2. Run the following procedure replacing root and default with a Lighthouse Administrator or root credentials:
USERNAME=root PASSWORD=default /etc/scripts/netops_sync_handler token=$(curl -k -L -d '{"username":"'$USERNAME'","password":"'$PASSWORD'"}' "https://127.0.0.1/api/v3.0/sessions/" | python -c 'import sys, json; print json.load(sys.stdin)["session"]') curl -k -L -H "Content-Type: application/json" -H "Authorization: Token $token" "https://127.0.0.1/api/v3.0/netops/modules/dop/redeploy"
ACTIVATE A NETOPS MODULE
The NetOps module license is installed on Lighthouse and contains a preset number of available node activations. Each supported node that is activated for the NetOps module provisioning, consumes an available activation. Lighthouse itself does not consume an activation. Installing the NetOps module license automatically activates the module on Lighthouse, at which point the NetOps Automation platform deploys the central module software components, including the module's UI, to Lighthouse. The process of automatically or manually activating a NetOps Module on a node deploys the remote module software components to that node, securely over Lighthouse VPN.

24.06.0

Advanced Functionality

265

Lighthouse User Guide
PREPARATION
1. Install the Lighthouse VM and ensure it is running. 2. Login to the Lighthouse web UI as root or a Lighthouse Administrator. 3. Install the Lighthouse node subscription (SKU OGLH) under > SYSTEM > Subscriptions.
PROCEDURE 1. Ensure you have a valid NetOps Module licence installed under > SYSTEM >
Subscriptions.
Note: The Enterprise Edition license includes the IP Access module. The Automation Edition license includes IP Access, Secure Provisioning, and Automation Gateway.
2. It will take a few minutes for the module to activate on Lighthouse. View the progress under NetOps > Manage NetOps Modules.
Nodes may now be automatically activated for the module as they enroll, or manually activated after enrollment.
'ALWAYS ACTIVATE' MODE ON ALL NODES (AUTOMATIC)
In the Always Activate mode, NetOps automatically activates the NetOps Module on all nodes, provided a license is present and activations are available. All nodes are activated for the module as they enroll.
PROCEDURE 1. Select NetOps > Manage NetOps Modules. 2. The MANAGE NETOPS MODULES page displays.

24.06.0

Advanced Functionality

266

Lighthouse User Guide
3. Under Always Activate, select ENABLED as required for the module: l SECURE PROVISIONING l IP ACCESS l AUTOMATION GATEWAY
4. Click Apply. To activate a new node, enroll the node into Lighthouse.
ACTIVATE NETOPS ON SELECTED NODES (AUTOMATIC)
You may selectively activate the module on a subset of nodes using Enrollment Bundles. Only nodes enroling using one of these bundles will be automatically activated.
PROCEDURE
5. Select NetOps > Manage NetOps Modules. 6. The MANAGE NETOPS MODULES page displays. 7. Under Always Activate, select DISABLED as required for the module:
l SECURE PROVISIONING l IP ACCESS l AUTOMATION GATEWAY 8. Click Apply. 9. Select Node Tools > Enrollment Bundles. 10. The ENROLLMENT BUNDLES dashboard displays. 11. Click Add Enrollment Bundle to add a new bundle (you may also edit an existing bundle). 12. The NEW ENROLLMENT BUNDLE page displays. 13. Enter the details and choose whether or not to Auto-Approve enrollment.

24.06.0

Advanced Functionality

267

Lighthouse User Guide
14. Under the NETOPS SECTION select Add Module. 15. The CHOOSE MODULE dialog is displayed. 16. Select the module from the drop-down. 17. Click Apply.
Note: Lighthouse-initiated manual enrollment (for example, clicking the Add Node button in the Lighthouse web UI) does not support bundles, you must use a node-initiated enrollment method.
ACTIVATE THE NETOPS MODULE ON NODES (MANUAL)
To activate nodes manually after enrollment, the process is performed across three phases: l Select Nodes l Pre-Flight Test l Push
SELECT NODES
1. Ensure the Always Activate option is DISABLED and applied for each module on the NetOps > Manage NetOps Modules dashboard.
2. Select Node Tools > Config Templates. 3. The CONFIG TEMPLATES dashboard is displayed defaulted to the AUTHENTICATION tab. 4. Select the NETOPS MODULES tab. 5. Select the Push Template from the actions available on the module. 6. The PUSHING TEMPLATE page displays. 7. Check the NODE ID to push the template to.

24.06.0

Advanced Functionality

268

Lighthouse User Guide
PRE-FLIGHT TEST 8. Click Run Pre-Flight Test. 9. The page displays the current Pre-Flight Status per node. PUSH 10. On successful completion of the Pre-Flight Test, select Push Configuration. 11. The page displays the current Push Status per node.
Note: Under the NetOps licensing arrangement, once a node is activated for the NetOps Module, the activation is consumed by and locked to that node. Unenrolling the node returns the activation to the available pool. Under NetOps subscription arrangements, it would be counted towards the node assignment of the subscription.
DEACTIVATE (REMOVE) A NETOPS MODULE
DEACTIVATE AND REMOVE A NETOPS MODULE VIA THE API Use the following API call to Lighthouse:
DELETE /api/v3/netops/modules/module_id/nodes/node_id
where: l module_id is one of dop (Secure Provisioning), IP Access, or ag (Automation Gateway). l node_id is the internal node ID, for example, nodes-1

24.06.0

Advanced Functionality

269

Lighthouse User Guide
DEACTIVATE AND REMOVE NETOPS MODULES VIA CLI
1. Log in to the Lighthouse CLI shell as root or a Lighthouse Administrator user. 2. Determine the node's node ID by running:
node-info --list
3. Update the highlighted fields with your username, password, the node ID and modules to deactivate, then run the following:
LH_USERNAME="root" LH_PASSWORD="default" NODE_ID="nodes-1" MODULES_TO_DEACTIVATE="dop ag sdi"
token=$(curl -k -L -d '{"username":"'$LH_USERNAME'","password":"'$LH_ PASSWORD'"}' https://127.0.0.1/api/v1/sessions/ | cut -f10 -d'"')
for module_id in $MODULES_TO_DEACTIVATE; do curl -k -L -X DELETE -H "Authorization: Token $token"
https://127.0.0.1/api/v3/netops/modules/${module_id}/nodes/$NODE_ID done
SECURE PROVISIONING
Secure Provisioning for NetOps is a configuration storage, distribution and provisioning system. It does not generate, test or validate device configuration. Instead, it is focused on provisioning remote resources with user-supplied configuration and device OS images, automatically, remotely and securely, no matter where those devices are and no matter what the state of the network is.

24.06.0

Advanced Functionality

270

Lighthouse User Guide
The Secure Provisioning license is installed on Lighthouse and contains a preset number of available node activations. Each node activated for Secure Provisioning consumes an available activation; Lighthouse itself does not consume an activation. Using Secure Provisioning for NetOps, network turn up no longer requires network engineering staff to perform initial configuration tasks on site, even when there is no existing LAN or WAN in place. Remote hands rack, stack and cable the infrastructure, then Secure Provisioning for NetOps Automation automates the rest of the turn up process. The Secure Provisioning module leverages these technologies: l ZTP (Zero Touch Provisioning): The process by which resources in their unconfigured state
request and are delivered initial setup resources over the local management network l Human-readable YAML language: Provides simplified configuration of resource ZTP
configuration parameters l Git source control: resource resources such as initial configuration files and OS images are
automatically stored in a versioned, auditable repository l Ansible automation framework: Automatically propagates device resources and configures on-
site ZTP services The Secure Provisioning module combines a centrally orchestrated, vendor-neutral ZTP service with on-site node LAN and WAN connectivity, to automate the provisioning process end to end.
SECURE PROVISIONING CONFIGURATION MANAGEMENT
Secure Provisioning always applies device configuration in its entirety and does not support applying config patches or deltas to a provisioned device (for example, adding a few lines to running config, to enable a specific feature).

24.06.0

Advanced Functionality

271

Lighthouse User Guide

STATELESS FILE MANAGEMENT

Secure Provisioning supports a DevOps-style approach which collapses initial provisioning, disaster recovery and ongoing maintenance workflows into the one workflow:
Using this approach, the config patch is applied in Lighthouse to the central configuration template via git, which renders the configuration file in its entirety and pushes to the OM node. The device is factory reset and pulls the new configuration as if it were being provisioned for the first time.

Pros

Cons

Eliminates config drift.

Requires a longer maintenance window as the device is reset and reboots.

Enforces config reproducibility.

Patches cannot be applied to running configuration.

Central audit trail of all configuration changes.

Disaster recovery becomes as simple as resetting all devices to reprovision.

STATEFUL DEVICE MANAGEMENT GATEWAY
The NetOps Automation platform provides a management fabric from remote devices to your central management network via Lighthouse VPN and/or the cellular WWAN. There are many tools and protocols purpose-built for stateful configuration management, such as Cisco NSO and SolarWinds NCM, and NETCONF and gRPC (OpenConfig). NetOps can be leveraged by these tools as a secure, resilient management path, both extending their reach to the out-of-band management network, and ensuring reachability during outages.

24.06.0

Advanced Functionality

272

Lighthouse User Guide
HOW SECURE PROVISIONING WORKS
The Secure Provisioning feature centrally orchestrates the distribution of resource configuration files and firmware images, and the node provisioning (ZTP) services required to deliver the files to resources. Secure Provisioning is configured by defining the resources to provision resources with, and defining how these resources should be distributed around your network. l Device Resource Bundles contain the files needed to provision one or many resources:
l Configuration File, Script File and/or Image Files. l Each Resource Bundle has a defined Device Type. l When a Resource Bundle is distributed to a node, any ZTP request matching the Device
Type are provisioned with the bundled resources. l This may be restricted to specific devices by specifying one or more device MAC Addresses
(range and reverse match supported) or Serial Numbers (not supported by all vendors). l Resource Distribution policies are defined by Node Inventory Lists:
l Static Node Inventory List - a predefined, static list of nodes to distribute to. l Dynamic Node Inventory List - evaluates a Node Filters each time resources are distributed.
Tip: The Dynamic Node Inventory List allows you automatically tag certain nodes with Enrollment Bundles, for example, by region or site class, to help automate resource distribution to newly enrolled nodes in that region.
Device Resource Bundle and Resource Distribution configuration are supplied to Lighthouse using the web UI or CLI (git) method. The Web UI configuration method creates an underlying YAML configuration the same as created using the git method, it is effectively a front end to the git method.

24.06.0

Advanced Functionality

273

Lighthouse User Guide
A git push to the Lighthouse repository, or clicking the UI Push Now/Push Resources button triggers a resource push: l A git post-commit hook triggers an Ansible playbook on Lighthouse. l The playbook copies resources down to nodes, securely over Lighthouse VPN. l The playbook start or restarts ZTP services on nodes.
SUPPORT FOR SECURE PROVISIONING
Opengear OM2200 and OM1200 nodes may be activated as Secure Provisioning nodes. Opengear ACM7000 or IM7200 nodes may also be activated as provisioning nodes, however not all features are available and there are some caveats to be aware of. Features that are not available of ACM7000/IM7200 nodes: l Secure boot and physical tamper resistance. l Encryption of device resource files at rest. l Centralized ZTP status logging. l Device configuration templating. l Ordered provisioning. l Post-provisioning scripts. Other ACM7000/IM7200 caveats: l Secure Provisioning takes control of node DHCP, NTP, DNS services and overwrites system
configuration. l Secure Provisioning overwrites node Management LAN configuration.

24.06.0

Advanced Functionality

274

Lighthouse User Guide
VENDOR RESOURCES SUPPORTED BY SECURE PROVISIONING
Secure Provisioning is vendor-neutral, with support for a broad range of network devices from multiple vendors. The ZTP process used to provision devices is not standardized, and each vendor OS implements ZTP differently ­ for example, using differing DHCP options, or requiring an intermediary script to load files. With Secure Provisioning, you upload configuration and/or firmware image files to create Resource Bundles, then select the vendor profile for that Resource Bundle. This automatically generates the vendor-appropriate ZTP configuration, simplifying the delivery of resources to target devices. Secure Provisioning currently has built-in support for provisioning devices from these vendors: l Cisco (IOS, IOS XR, IOS XE, NX-OS) l Juniper l Arista l HPE/Aruba l Huawei l Cumulus l Pica8 l Opengear Advanced users may add support for additional devices using custom DHCP configuration.
CONNECT TO A TARGET DEVICE
1. Connect a supported resource's management NIC directly to the node. 2. If the node has a built-in Ethernet switch, connect the device to any switch port.

24.06.0

Advanced Functionality

275

Lighthouse User Guide
3. Otherwise, connect the device directly to the node's NET2 Ethernet, or via an intermediary management switch.
4. Power on the resource. 5. Ensure the resource is in ZTP mode, this typically requires the device to have its configuration
erased/reset to factory defaults.
LOCAL NETWORK SERVICES PROVIDED BY NODES
In addition to zero touch provisioning (ZTP) services, the local node runs local services required to act as a bootstrap management LAN and secure WAN for resources from day zero onwards. When responding to a BOOTP/DHCP provisioning request from a device, the Operations Manager node hands out its own local address as a: l Default Gateway l DNS Server l NTP Server l SYSLOG Server
DEFAULT GATEWAY
Devices trying to reach to destinations on the central LAN that Lighthouse resides on are securely routed over Lighthouse VPN. This allows devices to reach, for example, central NMS for monitoring, and central configuration systems for final service provisioning. Requests to other remote destinations are masqueraded behind and routed out the node's built-in cellular WWAN, allowing devices to reach cloud provisioning services. Note that device requests are masqueraded to Lighthouse's central IP and will appear to be originating from Lighthouse to hosts on the central LAN.

24.06.0

Advanced Functionality

276

Lighthouse User Guide
All traffic between remote node network and the central Lighthouse network is securely tunneled inside Lighthouse VPN.
DNS SERVER
DNS lookups from devices are securely proxied through Lighthouse VPN to the central DNS server(s) used by Lighthouse, allowing devices to resolve central hosts from day one.
NTP SERVER
The NTP Server allows devices to set accurate time on first boot, for example, for certificate verification and generation. By default, the node's NTP service uses its local hardware clock as time source.
SYSLOG SERVER
The Syslog Server relays messages to a central LogZilla instance (this is an optional extra module). This allows log collection from day zero, and analysis of the device ZTP process itself.
SECURE PROVISIONING CONFIGURATION
All system configuration is performed via Lighthouse. The configuration necessary to provision a device consists two elements. The basic steps to configure Secure Provisioning are: l Create Device Resource Bundles and upload resource files (for example, configuration files or
scripts, firmware images) to Lighthouse. l Define Node Inventories to distribute the resources to specific nodes, where they will become
available for devices to request for provisioning.

24.06.0

Advanced Functionality

277

Lighthouse User Guide
DEVICE RESOURCE BUNDLE
A Device Resource Bundle contains the resource files, such as, a configuration file and OS upgrade image that are loaded via ZTP (DHCP + TFTP/HTTP) onto the resource. This may be a full, final configuration, or a baseline configuration to allow the resource to become managed by an upstream configuration service. As each vendor's ZTP process is slightly different, Device Resource Bundles allow you to select the Device Type. This generates the appropriate ZTP server configuration (DHCP options), any necessary intermediary provisioning scripts and enables device-specific ZTP features, such as serial number matching. By default, Device Resource Bundles are targeted to all resources of the selected Device Type. Bundles may be targeted to specific resources by specifying one or more device MAC addresses (including range and reverse match), or in some case by specifying one or more device serial numbers.
NODE INVENTORY
A Node Inventory is a static or dynamic list of nodes and a corresponding list of Device Resource Bundles. This defines how Device Resource Bundles are distributed around your network. Resource Bundles may be distributed using one of two methods: l Push to a static list of nodes, selected individually by node ID l Push to a dynamic list of nodes, linked to a Lighthouse Node Filters of nodes
Note: You may combine distribution methods.

24.06.0

Advanced Functionality

278

Lighthouse User Guide
CREATE A DEVICE CONFIGURATION
To provision a resource, you must supply device resources. Device resources consist of an initial configuration file for the device to install, and optionally an operating system image for the device to upgrade itself with. Device resource file formats are specific to the target vendor. Secure Provisioning for NetOps Automation provisions these files, but does not generate them.
EXAMPLE CONFIGURATION FILES l A trivial Arista initial configuration file may look like:
demo_arista.cfg

24.06.0

Advanced Functionality

279

Lighthouse User Guide

l Example 2: trivial Cisco IOS XR initial configuration may look like: Cisco IOS XR initial configuration

24.06.0

Advanced Functionality

280

Lighthouse User Guide

CLI BASED WORKFLOW
Advanced automation users may choose to manage device resources and resource distribution with direct access to the central file repository on Lighthouse. All necessary resource and configuration files are uploaded to Lighthouse using the Secure Copy protocol such as scp, WinScp or similar - or advanced users may prefer to use git directly.

24.06.0

Advanced Functionality

281

Lighthouse User Guide
If you have adopted DevOps-style configuration management using your own source repository (such as git, Mercurial or Subversion) and/or configuration deployment using continuous integration (such as Jenkins or GitLab), this interface also provides a convenient way to hook the Opengear system into these tools and workflows. For example, a configuration commit in the upstream system could automatically proliferate to the Lighthouse file repository, and then in turn to the downstream nodes. Note that changes pushed to nodes via the Lighthouse UI or API will override those made by direct repository access, therefore UI- based or CLI-based workflows should be considered mutually exclusive modes of operation.
CREATE CONFIGURATION YAML
The first step is to assign resource files to specific device types (collectively known as device resources), and to assign device resources to be deployed to specific nodes.
Tip: The web UI provides a convenient way to start provisioning resources without needing to be fully familiar with YAML or git. The generated YAML files that controls resource bundling and distributions is located on Lighthouse, inside the central-dop container. You can view it by running the following command: sudo docker exec -it central-dop cat /srv/central-ui/root/config.yml | less
Use a YAML file to bundle device resources, and control the distribution of device resources from Lighthouse to the nodes. Procedure 1. Create a new directory or folder of your choosing, for example: nom-prov. 2. Inside the nom-prov directory, create a new directory or folder called: downloads.

24.06.0

Advanced Functionality

282

Lighthouse User Guide
3. In the nom-prov directory, create a file with the .yml or.yaml extension, using the following format:
NOM-PROV.YML
device_resources: demo_arista: device_type: arista config_file: 'demo_arista.cfg' image_file: 'arista_eos.swi'
node_inventory: MyNodes: static: - nodes-1
deployment: MyNodes: - demo_arista
Note: Indentation is meaningful in YAML, and you must use space characters not tabs to indent.
The device_resources list groups and assigns resource files to particular device types (i.e. resource bundles). 4. Choose an identifier for each resource bundle item, for example demo_arista. 5. For each item, you must provide the device_type, as well as well as one or more resources, i.e.
config_file or image_file.

24.06.0

Advanced Functionality

283

Lighthouse User Guide
l device_type matches this device resource item to all devices from the specified vendor ­ it may be one of the following: Cisco, Cisco_xe, Cisco_xr, Cisco_nx, Juniper, Arista, Aruba, Huawei, Cumulus, Pica, Opengear.
l config_file is the initial configuration file for the device to load via ZTP, as present in the downloads directory.
l image_file is the initial software image for the device to load via ZTP, as present in the downloads directory.
Note: HPE/Aruba devices do not support the image upgrade via ZTP.
The Cisco Autoinstall process does not support image upgrade via ZTP, to automate image upgrade you must supply a TCL script file rather than a configuration file.
l mac_address optionally target this bundle at the listed MAC address(es), which may be specified in full, using a wildcard (for example, 00:10:FA:C2:BF:*), or negated to exclude from the match (for example, !01:23:45:67:89:AB)
l serial_number optionally target this bundle at the listed serial number(s) Device resource items are then assigned to nodes using the deployment and optionally the node_inventory lists. See Node Inventory for an overview of available distribution methods. The node_inventory list defines groups of nodes. Choose an identifier for each inventory, for example:. branchinventory_ or labinventory_ .
DEFINE A STATIC INVENTORY:
1. Create a list named static. 2. List nodes by node ID, for example, nodes-1. 3. You can view node IDs by running the following command on Lighthouse: node-info --all

24.06.0

Advanced Functionality

284

Lighthouse User Guide
DEFINE A DYNAMIC INVENTORY:
1. Create a Lighthouse Node Filters. 2. Create a key named smartgroup with a value of the Node Filters name, this Node Filters
search is dynamically evaluated to a list of nodes each time resources are pushed The deployment list assigns device resources to the node inventories defined above, or all nodes. l Deployment identifiers correspond to node_inventory identifiers, for example,
branchinventory_. l Assign device resources by listing device resource items, for example, demo_arista. l You may have multiple device resources per deployment. A more comprehensive YAML file may look like: more-devices.yml
device_resources: access_switch: device_type: juniper config_file: 'jn-switch35.config' image_file: 'jinstall-ex-4200-13.2R1.1-domestic-signed.tgz' mac_address: - '00:00:0c:15:c0:*' - '!00:00:0c:15:c0:99' branch_router: serial_number: - 'SAD15300D4W' - 'FOC1749N1BD' - 'AVJ18163A52' config_file: 'branch_xr.cfg' device_type: cisco_xr

24.06.0

Advanced Functionality

285

Lighthouse User Guide

demo_arista: device_type: arista config_file: 'demo_arista.cfg' image_file: 'arista_eos.swi'
node_inventory: branch_inventory: static: - nodes-1 - nodes-2 - nodes-10 lab_inventory: smartgroup: LabNodes
deployment: lab_inventory: - demo_arista - access_switch branch_inventory: - branch_router - access_switch
HOW UI FIELDS CORRESPOND TO THE YAML FILE (EXAMPLE)
The following example YAML file contains line-by-line comments (blue text) denoting the UI page or field above each corresponding YAML element:
# CONFIGURE NODES > Secure Provisioning > Device Resources device_resources:
# Device Resource Details > Name

24.06.0

Advanced Functionality

286

Lighthouse User Guide

access_switch: # Device Resource Details > Device Type device_type: juniper # Device Resource Details > Configuration File config_file: 'jn-switch35.config' # Device Resource Details > Image File image_file: 'jinstall-ex-4200-13.2R1.1-domestic-signed.tgz' # Device Resource Details > MAC Addresses mac_address: - '00:00:0c:15:c0:*' - '!00:00:0c:15:c0:99'
# Device Resource Details > Provision After provision_after: - branch_router
# Device Resource Details > Name branch_router: # Device Resource Details > Device Type device_type: cisco_xr # Device Resource Details > Serial Numbers serial_number: - 'SAD15300D4W' - 'FOC1749N1BD' - 'AVJ18163A52' # Device Resource Details > Configuration File config_file: 'branch_xr.cfg'
# Device Resource Details > Name demo_arista: # Device Resource Details > Device Type

24.06.0

Advanced Functionality

287

Lighthouse User Guide

device_type: arista # Device Resource Details > Configuration File config_file: 'demo_arista.cfg.j2' # Device Resource Details > Image File image_file: 'arista_eos.swi' # Device Resource Details > Post-Provisioning Script post_provision_script: arista_fixups_over_ssh.py post_provision_script_timeout: 900 # CONFIGURE NODES > Secure Provisioning > Resource Distribution node_inventory: # Static Node Inventory List > Inventory Details > Name BranchInventory: # Inventory Details > Select Nodes static: - nodes-1 - nodes-2 - nodes-10

# Dynamic Node Inventory List > Inventory Details > Name LabInventory:
# Inventory Details > Node Filters smartgroup: LabNodes

# CONFIGURE NODES > Secure Provisioning > Resource Distribution (mostly!) deployment:

# CONFIGURE NODES > Secure Provisioning > Resource Distribution Details > Resource Push
LabInventory: - demo_arista

Inventory

24.06.0

Advanced Functionality

288

Lighthouse User Guide
- branch_router - access_switch # CONFIGURE NODES > Secure Provisioning > Resource Distribution > Inventory Details > Resource Distribution BranchInventory: - branch_router - access_switch
UPLOAD CONfiGURATION AND RESOURCES
1. Assemble device resources on your PC or laptop in preparation for upload. 2. Locate the nom-prov directory created in the previous section. 3. Copy device resources into nom-prov/downloads. Your locally assembled files will now look similar to that below:
.  nom-prov
 nom-prov.yml  downloads
 arista_eos.swi  demo_arista.cfg
You must now choose how you will upload files to the central Secure Provisioning repository, using Secure Copy(scp) or git.
OPTION A. SECURE COPY METHOD
Secure copy the entire nom-prov directory to Lighthouse port 2222, to the /srv/central-auto/ directory and authenticating as root, for example, using the scp command:

24.06.0

Advanced Functionality

289

Lighthouse User Guide

cd nom-prov scp -P 2222 -rp ./* root@192.168.0.1:/srv/central-auto/
.. where 192.168.0.1 is the IP address of Lighthouse. Secure Provisioning now automatically propagates the device resources to the nodes specified by the YAML, it automatically configures and starts or restarts ZTP services on the nodes. At this point, target device will begin the ZTP process and become provisioned.
OPTION B. GIT METHOD
Advanced users may choose to access the Secure Provisioning git repository on Lighthouse directly, rather than using scp. This has the advantage of supporting commit messages and integrate with upstream git or other continuous integration systems. Example commands to initialize the repository for the first time:
ssh-copy-id root@192.168.0.1 cd nom-prov git init git remote add origin ssh://root@192.168.0.1:2222/srv/central git add -A git commit -a -m "Initial commit of ZTP resources" git push origin master
where 192.168.0.1 is the IP address of Lighthouse. Once the repository has been initialized, subsequent users can operate on it using the clone command:
ssh-copy-id root@192.168.0.1 git clone ssh://root@192.168.0.1:2222/srv/central nom-prov cd nom-prov

24.06.0

Advanced Functionality

290

Lighthouse User Guide
echo >> nom-prov.yml git commit -a -m "Whitespace change for testing, please ignore" git push origin master
where 192.168.0.1 is the IP address of Lighthouse.
ADDITIONAL RESOURCE FILES AND DEVICE TYPE FILES
You may also provide additional resource files that are not explicitly part of Device Resource Bundles, for example, final configuration files that may be conditionally fetched and applied by the device's primary ZTP script. You may also extend Secure Provisioning to support additional device types by providing ISC DHCP configuration snippets, for example: new-vendor.conf
class "new-vendor-class" { match if (option vendor-class-identifier = "new-vendor"; option bootfile-name "new-vendor.cfg";
}
Additional files must be placed in the subdirectory named after the Node Inventory they will be deployed to. Within this subdirectory, files must be placed in the following: l Resource files such as device configuration or image files are placed in the downloads
directory. l Advanced: DHCP snippets may be placed in the dhcpd directory. Directly added files are pushed together with YAML-generated files to the nodes. An example local directory structure is shown below with a YAML config file from the earlier example, as well as manual new-vendor files added to the my_inventory directory:

24.06.0

Advanced Functionality

291

Lighthouse User Guide
.  nom-prov  nom-prov.yml  downloads   demo_arista.cfg   cumulus_interfaces   cumulus_setup.sh   arista_eos.swi  my_inventory  downloads   new-vendor.cfg  dhcpd  new-vendor.conf
The files are uploaded to the central Secure Provisioning repository, using Secure Copy or git, in the same way as the earlier example.
CONFIGURE DEVICE RESOURCES VIA ZTP
There are two factors that determine which resources are delivered to which devices via ZTP: l Device resource bundle matching. l Resource distribution.
DEVICE RESOURCE BUNDLE MATCHING
As well as containing resource files themselves, each Resource Bundle itself has a few extra parameters: device vendor, device MAC address(es) and device serial number(s) (not supported by all vendors). Of these, only the device vendor is mandatory.

24.06.0

Advanced Functionality

292

Lighthouse User Guide
When a resource broadcasts a BOOTP/DHCP request to initiate ZTP, it advertises its vendor ID string, MAC address, and in some cases serial number. These values are compared to the values in each Resource Bundle contained on the local node. If there's a match, the local node provisions the device with the resource files in the matching bundle.
RESOURCE DISTRIBUTION
Node Inventories are used to selectively control which Resource Bundles are pushed to which nodes. A node will only respond to a BOOTP/DHCP request on its local network if a matched Resource Bundle has been pushed to it. Note that resources are not distributed any nodes by default.
BASELINE VS FINAL DEVICE CONFIGURATION
Broadly speaking, there are two approaches to secure provisioning using ZTP. You may use strict matching and distribution settings to provision specific devices with unique, final configurations. Alternatively, you may use laxer matching and wider distribution settings to provision many devices with a baseline configuration, for example, "just enough configuration" to route to a central production configuration system for final configuration and service provisioning. You may also combine the two approaches, for example, use a reverse MAC address match to opt a specific device or devices out of an otherwise general, baseline configuration.

24.06.0

Advanced Functionality

293

Lighthouse User Guide
RUN A SCRIPT ON A NEWLY PROVISIONED DEVICE
Note: Post-provisioning scripting is an advanced feature only supported by Operations Manager nodes.
It is possible to upload a script and associated with a device Resource Bundle, to be run by remote Operations Manager node once a resource is considered provisioned. A device is considered to be in a provisioned state once has downloaded all of the files in the Resource Bundle it is being provisioned with. The script may be uploaded and associated via the UI during Resource Bundle creation using the Post-Provisioning Script option, or via git/scp and the CLI based workflow. Scripts may be implemented in bash, Python 2 or Python 3, and must start with a shebang ­ i.e. the first line must be one of:
#!/bin/bash
#!/usr/bin/env python2
#!/usr/bin/env python3
l Scripts are run in a monitored background processes in the Secure Provisioning container (remote-dop) on the node.
l Scripts have a default 15 minute timeout, this can be manually configured in the YAML config (post_provision_script_timeout).
l Scripts may login to target device via the network using SSH key auth where nom_remote_ ssh_pub_key has been injected into the device config, or using username/password with the sshpass command.

24.06.0

Advanced Functionality

294

Lighthouse User Guide
MONITOR THE ZTP PROGRESS OF A RESOURCE
The current provisioning state of resources can be monitored via syslog on the Operations Manager (local devices only) or Lighthouse (all devices). Each Secure Provisioning syslog message contains a prefix identifying the MAC address of the device being provisioned, similar to:
[NetOps-DOP device="01:23:45:67:89:AB"]
For example, here are sample messages showing an Opengear ACM7004 device being provisioned:
[NetOps-DOP device="00:13:C6:EF:00:08"] Received DHCP request from device with vendor ID Opengear/ACM7004-5-LMR [NetOps-DOP device="00:13:C6:EF:00:08"] Assigned DHCP address of 10.0.0.2 to device [NetOps-DOP device="00:13:C6:EF:00:08"] Provisioning device with resource bundle my\_acm7004 [NetOps-DOP device="00:13:C6:EF:00:08"] Device retrieved resource file /files/acm7004-5-4.3.1.flash via HTTP/HTTPS
Syslog can be viewed from the CLI by running:
tail -F /var/log/messages | grep NetOps-DOP
WAN GATEWAY SERVICES
In addition to LAN provisioning, the node can utilize its built-in cellular connection to act as a WAN gateway and provide a proxy to essential services for devices on day one. The node's DHCP server hands out the node's address as:

24.06.0

Advanced Functionality

295

Lighthouse User Guide

Server NTP server DNS server Syslog server Default gateway

Description
This is a local service, synced to the node's system clock.
DNS lookups by devices are relayed via Lighthouse VPN, to the DNS server that Lighthouse is configured to use.
Note that incoming syslog messages are dropped unless LogZilla for NetOps Automation has been activated.
When the node is configured in cellular router mode (i.e. with forwarding and masquerading enabled), devices can route to external services, for example, to enroll with third-party management systems for additional configuration.

ADVANCED OPTIONS

USING VARIABLES IN CONFIGURATION FILE TEMPLATES

In addition to static files, you may create templated ZTP configuration or script files. This is useful if your file needs to reference site- specific values such as an assigned IP addresses.
Any file uploaded via the web UI, or into the downloads directly with a file suffix of .j2 (Jinja2) will be automatically templated. The .j2 suffix is stripped when serving templated files to devices.

Advanced Variable

Description

Example

{{ nom_remote_server }}

Address of provisioning interface on the node.

10.0.0.1

{{ nom_remote_interface }}

Name of provisioning interface

net2

on the node .

24.06.0

Advanced Functionality

296

Advanced Variable {{ nom_remote_netmask }} {{ nomremotenetmaskcidr }} {{ nom_remote_ntp_server }} {{ nom_remote_dns_server }} {{ nom_device_ipv4_address }} {{ nomremotesshpubkey }}
{ nom_device_hostname }} { nom_device_mac_address }}

Lighthouse User Guide

Description

Example

Netmask of provisioning interface on the node (and netmask assigned in DHCP offers).

255.255.255.0

CIDR format netmask (prefix

24

length) of provisioning interface

on the node

Address of NTP server assigned in DHCP offers (same as nom_ remote_server)

10.0.0.1

Address of DNS server assigned in DHCP offers (same as nom_ remote_server)

10.0.0.1

This feature is only supported by Operations Manager nodes. DHCP address assigned to target device.

10.0.0.13

Public part of an auto-generated SSH keypair on the remote node, which may be injected into device config to pre- authenticate the node for any post-provisioning activities.

This feature is only supported by Operations Manager nodes.Hostname advertised by target device.

router

MAC Address of target device.This feature is only supported by Operations Manager nodes.]

00:12:34:56:78:9A

24.06.0

Advanced Functionality

297

Lighthouse User Guide
For example, a basic Cumulus templated provisioning script may look like: cumulus_setup.sh.j2
#!/bin/bash curl tftp://{{nom_remote_server}}/cumulus_interfaces > /etc/network/interfaces
POST-PROVISIONING SCRIPTS
Note: This feature is only supported by Operations Manager nodes.
It is possible to upload a script and associated with a device Resource Bundle, to be run by remote Operations Manager node once a resource is considered provisioned. A device is considered to be in a provisioned state once has downloaded all of the files in the Resource Bundle it is being provisioned with. The script may be uploaded and associated via the UI during Resource Bundle creation using the Post-Provisioning Script option, or checked-in to the downloads directly via git/scp and specified in the YAML configuration for the device Resource Bundle:
demo_arista: device_type: arista config_file: 'demo_arista.cfg' image_file: 'arista_eos.swi' post_provision_script: arista_fixups_over_ssh.py post_provision_script_timeout: 900
Scripts may be implemented in bash, Python 2 or Python 3, and must start with a shebang ­ i.e. the first line must be one of:

24.06.0

Advanced Functionality

298

Lighthouse User Guide
#!/bin/bash #!/usr/bin/env python2 #!/usr/bin/env python3
Notes: l Scripts are run in a monitored background processes in the Secure Provisioning container
(remote-dop) on the node l Scripts have a default 15 minute timeout, this can be manually configured in the YAML config
(postprovisionscripttimeout_) l Scripts may login to target device via the network using SSH key auth where
nomremotesshpubkey has been injected into the device config (see Templated resource above), or using username/password with the sshpass command.
ORDERED PROVISIONING
Note:This feature is only supported by Operations Manager nodes.
The Provision After option allows you to create basic dependency chains, to enforce the order in which devices are provisioned. In certain scenarios it may be advantageous to control the order in which devices are provisioned, for example: l Ensure security infrastructure is provisioned ahead of systems that may other become
inadvertently exposed on the network. l Bring the production WAN up early to allow devices to provision services in-band, saving
cellular data. l Disallow local user access to the LAN until the network is fully up and running. When a secondary Resource Bundle has the Provision After option set, the node will not respond to ZTP requests for these resources until all required dependencies have been met.

24.06.0

Advanced Functionality

299

Lighthouse User Guide

The Provision After property lists of one or more other, required Resource Bundles. Each required Resource Bundle creates a dependency that at least one device has been provisioned using the required bundle. If multiples of a particular required device must be provisioned before a secondary device, simply specify the dependency multiple times in the list. You may configure this via the UI during Resource Bundle creation using the Provision After option, or directly via git/scp in the YAML configuration for the device Resource Bundle:
access_switch: device_type: juniper config_file: 'jn-switch35.config' image_file: 'jinstall-ex-4200-13.2R1.1-domestic-signed.tgz' provision_after: - branch_router

TROUBLESHOOTING SECURE PROVISIONING

SECURE PROVISIONING CONSISTS OF SEVERAL DOCKER CONTAINERS

Container central-dop dop-ui
remote-dop

Description
The container runs on Lighthouse, hosting git repository.
The container runs on Lighthouse, serving the Secure Provisioning web UI.
The container runs on Operations Manager nodes, running DHCP and TFTP/HTTP ZTP services.

24.06.0

Advanced Functionality

300

Lighthouse User Guide

Additionally, the deployment container runs on Lighthouse, orchestrates new module installation on Lighthouse and nodes.
TROUBLESHOOTING COMMANDS FOR NETOPS MODULES

Command

Description

docker ps

View running Docker containers.

docker exec -ti container-name bash

Spawn a bash shell inside a container.

docker logs container-name

View logs of a container.

docker exec -ti deployment ansible-playbook -vvv /ansible/dop_2.0.0.yml

Manually run module deployment in verbose mode, on Lighthouse.

etc/scripts/post-receive

Manually push ZTP resources from Lighthouse to Operations Manager nodes (inside central-dop container).

/etc/scripts/netops_ui_handler

If the Lighthouse UI fails to display after an upgrade, it's possible a NetOps UI component is failing to load and may be able to recover by running this command.

IP ACCESS
The Lighthouse IP Access feature allows an engineer to reach hosts on a remote site via an OpenVPN client through Lighthouse, over the Lighthouse VPN fabric, without physically traveling to the site. If IP Access is enabled for Lighthouse, it can be managed from using NetOps > IP Access on the Lighthouse web UI menu.

24.06.0

Advanced Functionality

301

Lighthouse User Guide
IP Access adds client VPN capability to Lighthouse. Network engineers, firewall and server administrators can launch a VPN client connection to Lighthouse, be authenticated, and then automatically connected to the remote site management network. The client PC has a secure VPN tunnel to the remote equipment the user needs to work on, providing the same TCP/IP access they would get if they travelled to the site and plugged into the management LAN. The client can then access target devices on the remote network directly by their usual IP addresses and network ports. Requests from the client are masqueraded behind the node's IP address, so no additional routing configuration is required on the target devices.
CONNECTIVITY
By default, IP Access connects the client to the Management LAN of the Opengear appliance, or the interfaces in the LAN zone for the OM Series. A route for the directly attached subnet, plus any static routes configured on that interface (but never the default route) are also pushed automatically to the OpenVPN client.

24.06.0

Advanced Functionality

302

Lighthouse User Guide
In the diagram, the client PC has a virtual tunnel interface with a route to the yellow management network, and the user can access any target IP devices on the yellow network using their real IP addresses. The basic configuration of this feature is: l Activate the IP Access NetOps module ­ this starts the OpenVPN service in a Docker container
on Lighthouse. l Activate the IP Access NetOps module on each node you wish to use for IP Access ­ this
installs a remote connector service to allow the IP Access bridge to be created. l Generate a certificate and export an associated OpenVPN client configuration file. l Import the configuration into your preferred OpenVPN client. The basic operation of this feature is: l Connect the tunnel ­ this starts a connection to Lighthouse on UDP port 8194. l Authenticate when prompted using your Lighthouse credentials, appending the node name to
your Lighthouse username ­ client certificate authentication is automatic, this is a second factor of authentication. l Wait a moment for the connection to complete ­ this builds the GRE bridge between the client and pushes routes to the node's remote network(s). While connected, the client can access IP addresses on the node's remote network(s) LAN directly, for example, by using the ping command or by typing them into the browser address bar.
NODES SUPPORTED BY IP ACCESS
Opengear OM1200, OM2200, CM8100, ACM7000 and IM7200 nodes may be activated as IP Access nodes, to allow IP Access to their directly connected remote networks via Lighthouse.
Note: Other vendors/models are not currently supported.

24.06.0

Advanced Functionality

303

Lighthouse User Guide
To view the available nodes supported by IP Access: 1. Select NetOps > IP Access. 2. The IP ACCESS page displays. 3. Select the NODE ACCESS tab.
ADVANCED OPTIONS
The Advanced options of the IP Access page enable you to set a number of features, including setting expiry of certificates lifetime, changing default connection routes and enabling policies. IP Access connects the client to the Management LAN or LAN zone by default, which is intended for deployments where the target devices are connected to those interfaces. If the Opengear appliances are deployed into a different or more complex network environment, then there are some advanced options that the Lighthouse administrator can use to control the IP Access connectivity, and these are described below.
CONNECTING TO WAN ZONE
By default, IP access connects the client to the management LAN zone. To enable IP Access for the WAN zone: 1. Select NetOps > IP Access. 2. The IP Access page displays. 3. Select the ADVANCED OPTIONS tab. 4. Select the Push Wired WAN Routes checkbox to push routes for nodes' wired WAN interface to
clients. 5. Click Apply.
Note: This is a global configuration and will affect all node that are enabled for IP Access.

24.06.0

Advanced Functionality

304

Lighthouse User Guide
In this case, the customer must have deployed Opengear appliances with the Network Interface (NET1) connected to the management network or facing target devices, and it results in IP Access connecting the client to the WAN (NET1) interface on OGCS.
NETWORK ACCESS POLICIES FOR OPERATIONS MANAGER
In a more complex deployment, Opengear appliances may be connected to multiple networks or virtual networks (VLANs), and in these cases it is often important to be able to control which of these networks each authenticated IP Access user is able to access. This feature is only supported on Operations Manager or OM Series appliances, which support the zone-based firewall, designed to work with multiple VLANs and the optional built-in Ethernet switch with layer-3 capable ports. This flexibility and control is very useful, especially for customers who have a number of separate management networks (or VLANs) for different administrative teams. The Network Access Policy mechanism on Lighthouse provides a way to dynamically map IP Access users, based on their group membership, to the firewall zone(s) that they can access on the Nodes. Each firewall zone is a collection of network interfaces which is configured on each Opengear appliance or Node. Firewall zones are used to provide policy abstraction by logical zone names ­ the physical or virtual interfaces on each Node may vary by site, but the zone names must stay consistent. It is recommended that zones and names are planned out in advance of implementation. A firewall zone is a collection of network interfaces which is configured on each Opengear appliance or Node in Lighthouse terminology. The Network Access Policy mechanism on Lighthouse provides a way to map users, based on their group membership, to the firewall zone(s) that they can access on the Nodes.

24.06.0

Advanced Functionality

305

Lighthouse User Guide
UNDERSTANDING ACCESS POLICIES
Putting it all together, when a user authenticates to Lighthouse, they are mapped into one or more group(s), which map into firewall zone(s), which allow authenticated users to reach the appropriate network interfaces(s), including switch ports or VLANs, via IP Access. For example, users who belong to the security group may get mapped into the secops (security operations) zone. On each OM appliance, the appropriate switch port(s) and/or VLAN(s) for security operations should be configured to be in the secops zone. Similarly, users in the server group may get mapped into the serverops zone, and again on the OM appliances the appropriate interfaces can be configured to be part of the serverops zone. The result is that members of the security group get IP Access to the networks in the secops zone, and members of the server group get IP Access to the networks in the serverops zone, for each node that they connect to.
SETTING UP NETWORK ACCESS POLICIES
To enable this feature: 1. Select NetOps > IP Access from the main menu. 2. The IP ACCESS page displays. 3. Select the ADVANCED OPTIONS tab. 4. Check Network Access Policies for Operations Manager Enabled. 5. Click Apply.
TO SET ACCESS POLICIES
Note: A policy must be configured for each group whose members will use IP Access.

24.06.0

Advanced Functionality

306

Lighthouse User Guide
1. Select NetOps > IP Access from the main menu. 2. The IP ACCESS page displays. 3. Select the NETWORK ACCESS POLICIES tab.
Note: The group to zone mapping column ZONES is empty by default.
4. Select the GROUP to view details. 5. The Group Details page is displayed. 6. Click on + Add Zone to add one or more firewall zones for this group. 7. Select the firewall zone and click Add. 8. TheNETWORK ACCESS POLICIES tab now displays the group with the Firewall zone.
TROUBLESHOOTING IP ACCESS
The most effective way to troubleshoot IP Access is to view the logs.
VIEW THE DOCKER LOGS
Run the following command on Lighthouse, either as root or with sudo (for non-root admins):
sudo docker logs -t central-sdi
The logs for the central-sdi Docker container, which controls client IP Access display.
2022-10-03T10:03:19.051579136Z INFO:root:[NetOps-SDI node="nodes-36" username="maverick"] VPN client authenticated 2022-10-03T10:03:19.094313762Z 2.29.37.12:65437 TLS: Username/Password authentication succeeded for username 'maverick123:OM1208-UK2' 2022-10-03T10:03:19.422971278Z 2.29.37.12:65437 Control Channel: TLSv1.3, cipher TLSv1.3 TLS_AES_256_GCM_SHA384, peer certificate: 2048 bit RSA, signature: RSA-

24.06.0

Advanced Functionality

307

Lighthouse User Guide
SHA256 2022-10-03T10:03:19.422999989Z 2.29.37.12:65437 [LH5-UK3-22] Peer Connection Initiated with [AF_INET]2.29.37.12:65437 2022-10-03T10:03:22.000300953Z INFO:root:[NetOps-SDI node="nodes-36" username="maverick123"] VPN client connected with IP 172.31.0.8 netmask 255.255.0.0 2022-10-03T10:03:22.084275387Z LH5-UK3-22/2.29.37.12:65437 OPTIONS IMPORT: reading client specific options from: /tmp/openvpn_cc_3aa5d19c3ea09b3bbac56f6bacf7b6e.tmp 2022-10-03T10:03:22.084324213Z LH5-UK3-22/2.29.37.12:65437 Data Channel: using negotiated cipher 'AES-256-GCM' 2022-10-03T10:03:22.084332293Z LH5-UK3-22/2.29.37.12:65437 Outgoing Data Channel: Cipher 'AES-256-GCM' initialized with 256 bit key 2022-10-03T10:03:22.084337215Z LH5-UK3-22/2.29.37.12:65437 Incoming Data Channel: Cipher 'AES-256-GCM' initialized with 256 bit key 2022-10-03T10:03:22.084342034Z LH5-UK3-22/2.29.37.12:65437 SENT CONTROL [LH5-UK322]: 'PUSH_REPLY,ping 10,ping-restart 120,route 192.168.2.0 255.255.255.0 172.31.0.1 1,ifconfig 172.31.0.8 255.255.0.0,peer-id 0,cipher AES-256-GCM' (status=1) 2022-10-03T10:03:22.084950386Z LH5-UK3-22/2.29.37.12:65437 PUSH: Received control message: 'PUSH_REQUEST' 2022-10-03T10:03:22.085204467Z LH5-UK3-22/2.29.37.12:65437 PUSH: Received control message: 'PUSH_REQUEST' 2022-10-03T10:03:22.085220316Z LH5-UK3-22/2.29.37.12:65437 PUSH: Received control message: 'PUSH_REQUEST' 2022-10-03T10:03:22.432350278Z LH5-UK3-22/2.29.37.12:65437 PUSH: Received control message: 'PUSH_REQUEST' 2022-10-03T10:03:23.120616769Z INFO:root:[NetOps-SDI node="nodes-36" username="maverick"] VPN client identified by MAC c6:87:ca:4a:3b:2c

24.06.0

Advanced Functionality

308

Lighthouse User Guide
Note the PUSH_REPLY line above shows that the IP Access client has been pushed the route to the network 192.168.2.0/24 which in this case is the interface on this Node in the firewall zone that the user was mapped into. (Unfortunately, the firewall zones are not listed in this log output). If there are errors with authentication, then they will show up here.
USING THE ROUTING TABLE
When troubleshooting IP Access it is useful to look at the routing table on the target Node to make sure that routes to the target networks are installed. If the interface is down, for example, then the route is not present and will not be pushed to the client. The following commands can be used to display the routing table on the target OM Series Node: l route l ip route Displaying the Routing table with the route command:
root@OM1208-UK2:~# route Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface default _gateway 0.0.0.0 UG 110000001 0 0 net1 5.5.5.0 0.0.0.0 255.255.255.0 U 0 0 0 sw0p8 172.17.0.0 0.0.0.0 255.255.0.0 U 0 0 0 docker0 172.31.0.0 0.0.0.0 255.255.0.0 U 0 0 0 ipa-br0 192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 net2 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 net1 192.168.2.0 0.0.0.0 255.255.255.0 U 0 0 0 sw0p2 192.168.128.0 0.0.0.0 255.255.224.0 U 0 0 0 tun0 root@OM1208-UK2:~# root@OM1208-UK2:~# ip route default via 192.168.1.1 dev net1 proto static metric 110000001

24.06.0

Advanced Functionality

309

Lighthouse User Guide
5.5.5.0/24 dev sw0p8 proto kernel scope link src 5.5.5.5 172.17.0.0/16 dev docker0 proto kernel scope link src 172.17.0.1 linkdown 172.31.0.0/16 dev ipa-br0 proto kernel scope link src 172.31.0.1 192.168.0.0/24 dev net2 proto kernel scope link src 192.168.0.48 192.168.1.0/24 dev net1 proto kernel scope link src 192.168.1.48 192.168.2.0/24 dev sw0p2 proto kernel scope link src 192.168.2.8 192.168.128.0/19 dev tun0 proto kernel scope link src 192.168.128.6 root@OM1208-UK2:~#
The ip command output is useful as it shows the interface IP address of the OM, which should be reachable via IP Access as long as that interface is up. Other standard network troubleshooting techniques can be used from the Node. For example testing the ability to ping a target device, or using curl if it has an http or https interface. Example:
ping 192.168.2.4 curl -k https://192.168.2.4/
AUTOMATION GATEWAY
Opengear allows you to set up your network using automation tools. Automation Gateway allows Lighthouse users and automation code to discover and manage IPbased management interfaces via the Opengear management system, with the same level of simplicity and efficiency as if they were serial consoles. Resources like firewalls and servers may present an IP-based management interface in addition to (or sometimes instead of) the traditional serial or USB console port. This interface may serve a web-based GUI, VNC or RDP based KVM, SSH-based CLI and/or a programmable network API like RESTful HTTPS. The device itself may be physical or virtual.

24.06.0

Advanced Functionality

310

Lighthouse User Guide
By their nature, the IP-based management interfaces are more dynamic (for example, they may change IP address), varied (for example, protocols vary from device to device) and harder to reach (for example, on an un-routable private network). The Automation Gateway module addresses the challenges of discovering, auditing and connecting to IP-based management services in a distributed, heterogeneous network. It is available on Operations Manager product lines, OM120x and OM22xx.
DIFFERENCES BETWEEN IP ACCESS AND AUTOMATION GATEWAY
The IP Access module provides the IP Access feature and the Automation Gateway module provides the Automation Gateway feature. These two features are similar in that they both allow Lighthouse users to access network services on remote resources, however they accomplish this in different ways. One way to think about it is that IP Access transports the user to the remote network, whereas Automation Gateway transports a specific remote network service to user.
IP ACCESS
Using IP Access, the user must establish a VPN tunnel from their computer to Lighthouse, which then provides them with a routed connection to the entire network(s) connected to the remote node. Once the tunnel is up, the user can access any network service on any network device by their standard management IP addresses.
AUTOMATION GATEWAY
Using the Automation Gateway feature, the user clicks through their existing Lighthouse browser session to access HTTP/HTTPS web GUI services of specific devices that have been discovered by the remote node. Access is limited to these services only, and the connections are proxied via Lighthouse's central address ­ so no client or network reconfiguration is required.

24.06.0

Advanced Functionality

311

Lighthouse User Guide
HOW TO USE AUTOMATION GATEWAY
Using Automation Gateway, Lighthouse users can connect to the web UI of a remote physical & virtual resource such as a firewall, lights-out server or SD-WAN appliance. Access is proxied via Lighthouse VPN via a remote node, allowing simply, point & click access to what may be an otherwise unreachable remote device.
TO ACTIVATE THE AUTOMATION GATEWAY ON AN ENROLLED NODE
Note:To perform these steps, a Lighthouse web UI as a user with at least NetOps Modules: Read Only permission, and at least Nodes & Devices (Base): Read Only permission for the activated node.
1. Select NetOps > Automation Gateway from the main menu. 2. The AUTOMATION GATEWAY page displays. 3. In the FILTER BY menu, select HTTPS or HTTP from the Services drop down. 4. Locate the remote device by hostname or IP address.
Tip: If many remote devices have been discovered, use the FILTER BY menu to search by full or partial device hostname or IP address.
5. To initiate an Automation Gateway session, click the device's web UI icon. 6. You are now connected the web UI of the remote device
Note: While an Automation Gateway session is active, all new browser tabs and windows that connect to Lighthouse are proxied through to the remote device web UI.
7. To close the Automation Gateway session, click the link at the bottom of the device web UI:

24.06.0

Advanced Functionality

312

Lighthouse User Guide
This system is being accessed via Lighthouse - click here to return to Lighthouse
CONNECT WITH REST/HTTP/HTTPS APIS
Automation Gateway allows central automation code to reach the HTTP/S API services running on devices on remote networks. For more details refer to the latest documentation: l https://ftp.opengear.com/download/documentation/api/lighthouse/ This is accomplished by modifying the request to add the X-Ip-Access-Auth HTTP header to your API request, and substituting the device's remote IP with Lighthouse's central IP. Requests containing the header are reverse proxied via Lighthouse then via an Operations Manager node that is local to the remote device. The example Python (3.5+) code below illustrates this. Note that this code is primarily for illustrative purposes with no error handling or modularity, for clarity & brevity. The device being accessed in this example is an HP ILO's Redfish REST API service.
#!/usr/bin/env python3 # Example code showing how to reach a remote device REST API via Opengear # Lighthouse Automation Gateway -> Operations Manager node -> device # # This code is primarily for illustrative purposes with no error handling # or modularity, for clarity & brevity
import requests import json import base64
# Authenticate to Lighthouse

24.06.0

Advanced Functionality

313

Lighthouse User Guide

lighthouse_address = '192.168.67.20' lighthouse_account = 'root' lighthouse_password = 'default'
data = { 'username': lighthouse_account, 'password': lighthouse_password } r = requests.post('https://%s/api/v3.7/sessions/' %
lighthouse_address, data=json.dumps(data), verify=False) lh_token = json.loads(r.text)['session']
print('Authenticated to Lighthouse, token %s' % lh_token)
lh_headers = { 'Authorization': 'Token ' + lh_token }
# Find the node that is local to the remote device's API service
device_address = '10.0.0.71' # Equivalent to the UI fields under CONFIGURE > device_service = 'https' # AUTOMATION GATEWAY > Devices > Filter By
r = requests.get('https://%s/api/v3.7/nom/ag/devices?ip=%s&service=%s' % (lighthouse_address, device_address, device_service), headers=lh_headers, verify=False)
j = json.loads(r.text)
print(json.dumps(j, indent=4))
for _device in j['devices']: for _host in _device['hosts']: for _service in _host['services']: if _service['nmap']['name'] != device_service:

24.06.0

Advanced Functionality

314

Lighthouse User Guide

continue for _avail in _service['availability']:
node_id = _avail['id'] print('Service available via %s' % node_id) break
# Generate Automation Gateway token
data = { 'session': lh_token, 'request_type': 'new', 'url': 'https://%s' % device_address, 'node': node_id }
r = requests.post('https://%s/api/v3.7/nom/ag/auth_tokens' % lighthouse_address, data=json.dumps(data), headers=lh_headers, verify=False)
j = json.loads(r.text) ag_token = j['token']
print('Automation Gateway token is %s' % ag_token)
ag_headers = { 'X-Ip-Access-Auth': ag_token }
# Now we can query the device API using the Lighthouse address, by including # the access token in the request headers
# The remaining code is specific to the device being accessed. this example # hits a Redfish-compliant REST API
device_username = 'baz' device_password = 'foobarfoobar' device_auth = base64.b64encode(('%s:%s' %
(device_username, device_password)).encode('utf-8')).decode('utf-8') device_headers = { 'Authorization': 'Basic %s' %

24.06.0

Advanced Functionality

315

Lighthouse User Guide
device_auth, 'Content-Type': 'application/json' }
# Add the access token to whatever headers you'd usually use to talk to the # device's native API -- this header will be stripped by Automation Gateway
_headers = { **ag_headers, **device_headers }
r = requests.get('https://%s/redfish/v1/systems/1/' % lighthouse_address, headers=_headers, verify=False)
j = json.loads(r.text) print(json.dumps(j, indent=4))
AUTOMATION GATEWAY SERVICE DISCOVERY
Automation Gateway discovery process can take a varied amount of time to complete, entirely based on the size of your scannable network. Services discovered by Automation Gateway are listed in the Lighthouse web UI, under NetOps > Automation Gateway. The discovery process can be restarted using the Rescan Devices button on the NetOps > Automation Gateway page. When an HTTP or HTTPS service has been discovered, it may also be accessed via this page. When a node has been activated for Automation Gateway, it begins to discover remote services. The discovery process is initiated by Lighthouse, and runs every 10 minutes. Each time the discovery process is initiated, the node runs an nmap script scan against all IPv4 connections belonging to the node's LAN firewall zone.
Note: Large logical networks with address space larger than 254 hosts (i.e. with a minimum netmask of /24 or 255.255.255.0) are excluded from the scan.

24.06.0

Advanced Functionality

316

Lighthouse User Guide
The nmap scan runs the default (non-intrusive) suite of nmap NSE scripts. These can be listed by running the following command on a node that has been activated for Automation Gateway:
sudo docker exec ag-remote cat /usr/share/nmap/scripts/script.db | awk -F\" '/"default"/ { print $2 }'
ACCESSING MULTIPLE VLANS OR PORTS
There are several ways a user can access multiple target networks, virtual networks (VLANs) or physical ports.
GROUP MEMBERSHIPS
A user may belong to multiple groups, in which case they will have access to the sum of the zones mapped to those groups, in the same way port access works for Console Gateway and Node Filters matching. Note that this works regardless of Local or Remote user authentication on Lighthouse; user authorization (which determines access to Nodes and resources, and now firewall zones) is always derived from group membership.
FIREWALL ZONES
In the NetOps > IP Access dashboard under the NETWORK ACCESS POLICIES tab, each group can be configured to have access to one or more firewall zones. Some groups can be configured to have access to no zones, some to just one zone, and other groups to have access to multiple zones.
MULTIPLE LAYER 3 NETWORK CONNECTIONS
On each Node a layer 3 network connection or "conn" is required on the OM to communicate with other hosts on a network or VLAN. Multiple conns on each OM can be mapped into the same firewall zone. This may be used to provide access to multiple switch ports, though it is perhaps

24.06.0

Advanced Functionality

317

Lighthouse User Guide
more likely that those switch ports would be configured in a bridge group if they are all part of the same LAN, and the bridge group only requires a single layer 3 conn. If multiple LANs or virtual LANs (VLANs) are managed by the same team, then it may make sense to combine them into the same firewall zone. Warning: The supported appliance's firewall will allow traffic to pass between interfaces in the same firewall zone, so to maintain security, multiple "separate" management VLANs should not be configured in the same zone, but should each have its own zone. If required, one of the mechanisms above can be used to allow user access to multiple zones and therefore to multiple "separate" VLANs.

24.06.0

Advanced Functionality

318

Lighthouse User Guide
COMMAND LINE TOOLS
Lighthouse includes a web-based terminal. To access this bash shell instance: 1. Select Terminal. 2. A login prompt displays 3. Enter an administrator's username and press Return. 4. A password: prompt displays. Enter the administrator's password and press Return. 5. A bash shell prompt displays. This shell supports most standard bash commands and also supports copy-and-paste to and from the terminal.

24.06.0

Command Line Tools

319

Lighthouse User Guide
CERT_MANAGE
Caution: Running cert_manage run may cause nodes to temporarily disconnect from Lighthouse, and/or secondary Lighthouse instances to temporarily disconnect from the primary.
Caution: The certificate manager may take a while to complete. If running manually, do not interrupt the process.
Caution: Renewing a CA certificate will result in each node being updated with the new CA details. A status summary of these update jobs can be shown using cert_manage status.
It is recommended that these be allowed to complete before using cert_manage run to make further changes. If renewing the CA and Lighthouse VPN certificates, the certificate processing will occur on separate scheduled runs to avoid a limitation where the Lighthouse VPN certificate is renewed before all nodes are informed of the CA renewal.
If the Lighthouse VPN certificate renewal is forced too early, any nodes that did not receive the CA renewal notification will be disconnected and will need to be re-enrolled into Lighthouse.

Command

Description

cert_manage

l The cert_manage CLI tool can only be run on a primary lighthouse, by a root user. A lighthouse user may sudo to assume root permissions.

24.06.0

Command Line Tools

320

Command

Lighthouse User Guide
Description
l This tool cannot be run on a secondary Lighthouse. l The cert_manage tool is not tied to a specific license or subscription. l Certificate renewal jobs are scheduled using cron to run at 1am (Lighthouse time),
every day. An administrator may choose to update the frequency of the cron job under /etc/cron.d/rotate_certificates.cron.

Syntax cert_manage [-h] [--config CONFIG_URI] {run,renew,show,status,validity,offset,logs}

Option -h | --help --config CONFIG_URI

Description Display usage information and exit. Config file for lipy.

Sub-Command run

Description Process certificates due for renewal (current time > renewal time) and rotate them.

24.06.0

Command Line Tools

321

Lighthouse User Guide

Sub-Command renew
show status validity offset
logs

Description
Schedule certificates for early renewal. Updates the renewal time of specified certificates to current time. The next certificate manager run will renew them. This will happen overnight or can be triggered using the run command
Show certificate or default value information. Display information for all specified certificates, or it can display the default values that are used for newly created certificates.
Show status summary including job status.
Set default validity period for new certificates.
Set renewal offset period in days to update the delta between expiry and renewal time for the specified certificates. The renewal period is calculated from the certificate expiry date using the offset.
Prints the last 20 logs from the log file /var/log/cert_manager.log.

SUB-COMMAND :: RUN
Syntax cert_manage run [-h] [--dry-run]

24.06.0

Command Line Tools

322

Option -h | --help --dry-run

Description Display usage information and exit. Lists affected certificates.

Lighthouse User Guide

SUB-COMMAND :: RENEW
Syntax
cert_manage renew [-h] (--cn COMMON_NAMES [COMMON_NAMES ...] | --ca | --nodes | -all-clients) [--dry-run]

Option

Description

-h | --help

Display usage information and exit.

--cn COMMON_NAMES [COMMON_ NAMES ...]

Specify certificates by Common Name.

--ca

Certificate Authority certificate.

--nodes

Certificates for all enrolled nodes.

--all-clients

All existing client certificates.

--dry-run

Lists affected certificates without executing the action.

24.06.0

Command Line Tools

323

Lighthouse User Guide

SUB-COMMAND :: SHOW
Syntax
cert_manage show [-h] (--cn COMMON_NAMES [COMMON_NAMES ...] | --ca | --nodes | -all-clients | --defaults)

Option

Description

-h | --help

Display usage information and exit.

--cn COMMON_NAMES [COMMON_ NAMES ...]

Specify certificates by Common Name.

--ca

Certificate Authority certificate.

--nodes

Certificates for all enrolled nodes.

--all-clients

All existing client certificates.

--defaults

Show certificate defaults.

24.06.0

Command Line Tools

324

Lighthouse User Guide
SUB-COMMAND :: VALIDITY
Syntax cert_manage validity [-h] --days NUM_DAYS (--default-client | --default-ca) [--dryrun]

Option -h | --help --days NUM_DAYS --default-client --default-ca dry-run

Description Display usage information and exit. Number of days from current time. Specify the default value for new client certificates. Specify the default value for new CA certificates. Lists affected certificates without executing the action.

SUB-COMMAND :: OFFSET
Syntax
cert_manage offset [-h] --days NUM_DAYS (--cn COMMON_NAMES [COMMON_NAMES ...] | --ca | --nodes | --all-clients | --default-client | --default-ca) [--dry-run]

24.06.0

Command Line Tools

325

Lighthouse User Guide

Option

Description

-h | --help

Display usage information and exit.

--days NUM_DAYS

Number of days from expiry.

--cn COMMON_NAMES [COMMON_ NAMES ...]

Specify certificates by Common Name.

--ca

Certificate Authority certificate.

--nodes

Certificates for all enrolled nodes.

--all-clients

All existing client certificates.

--default-client

Specify the default value for new client certificates.

--default-ca

Specify the default value for new CA certificates.

dry-run

Lists affected certificates without executing the action.

SUB-COMMAND :: LOGS
Syntax cert_manage logs [-h]

24.06.0

Command Line Tools

326

Option -h | --help

Description Display usage information and exit.

Lighthouse User Guide

24.06.0

Command Line Tools

327

CRON

Lighthouse User Guide

Command crontab

Description
The cron service can be used to schedule file execution at specific times. The server daemon executes commands at specified dates and times based on the entries in the cron jobs table. The service can be managed via the /etc/init.d/crond interface, and the cron tables managed via crontab.

Syntax crontab [options] file crontab [options] crontab -n [hostname]

Option -u <user> -e

Description
Define user.
Edit user's crontab. l Each line can contain one command to run. l The following format is used: minute hour day-of-month month day-of-

24.06.0

Command Line Tools

328

Option
-l -r -i -n <host> -c -x <mask>

Description week command.
l When finished, save and close the crontab file. List user's crontab. Delete user's crontab. Prompt before deleting. Set host in cluster to run users' crontabs. Get host in cluster to run users' crontabs. Enable debugging.

Lighthouse User Guide

Related Command /etc/init.d/crond start /etc/init.d/crond stop /etc/init.d/crond restart /etc/init.d/crond status

Description To start the crond service. To stop the crond service. To restart the crond service. To verify the current crond status.

24.06.0

Command Line Tools

329

MASS_ENROLL_NODES

Command mass_enroll_nodes

Description A tool to enroll nodes.

Lighthouse User Guide

Syntax
mass_enroll_nodes [-h] [--lh-address LH_ADDRESS] [--dry-run] [--insecure] [--autoapprove] [--preflight] --lh_username LH_USERNAME --lh_password LH_PASSWORD --node_ addresses NODE_ADDRESSES --node_username NODE_USERNAME --node_password NODE_PASSWORD

Required

Option -h

Alternate Syntax --help

-a <LH_ADDRESS>

--lh-address <LH_ ADDRESS>

-d

--dry-run

-i

--insecure

Description
Display usage information and exit.
The address of the Lighthouse to enroll nodes to (default=localhost).
Don't actually enroll anything - just list the nodes that would be enrolled.
Don't verify https cer-

24.06.0

Command Line Tools

330

Lighthouse User Guide

Required

Option

Alternate Syntax

-x

--auto-approve

y

--preflight

Y

-u <LH_USERNAME>

--lh_username <LH_

USERNAME>

Y

-p <LH_PASSWORD>

--lh_password <LH_

PASSWORD>

Y

-n <NODE_

ADDRESSES>

--node_addresses <NODE_ADDRESSES>

Y

-U <NODE_USERNAME>

--node_username

<NODE_USERNAME>

Y

-P <NODE_PASSWORD>

--node_password

<NODE_PASSWORD>

Description
tificates. This is only recommended for localhost.
Automatically approve nodes when they reply.
Run the preflight enrollment check.
The username of a Lighthouse root/admin user.
The password of a Lighthouse root/admin user.
A comma-separated list of opengear node addresses. They must all have the same username/password.
The username for all of the nodes to be enrolled.
The password for all of the nodes to be enrolled.

24.06.0

Command Line Tools

331

MASS_UNENROLL_NODES

Command mass_unenroll_nodes

Description A tool to unenroll nodes.

Lighthouse User Guide

Syntax
mass_unenroll_nodes [-h] [--lh-address LH_ADDRESS] [--dry-run] [--verbose] [--insecure] --lh-username LH_USERNAME --lh-password LH_PASSWORD (--all | --never-seen | -approved | --connected | --disconnected | --pending | --pending-connected | -pending-disconnected)

Required

Option -h

-a <LH_ADDRESS>

-d

Alternate Syntax

Description

--help

Display usage information and exit.

--lh-address <LH_ADDRESS>

The address of the Lighthouse to unenroll nodes to (default=localhost).

--dry-run

Don't actually delete anything - just list the nodes that would be deleted.

24.06.0

Command Line Tools

332

Required

Option -v

-i

Y

-u <LH_USERNAME>

Y

-p <LH_PASSWORD>

--all --never-seen

--approved

--connected

--disconnected

--pending

--pending-connected

Lighthouse User Guide

Alternate Syntax

Description

--verbose

List the number of nodes in each state.

--insecure

Don't verify https certificates. This is only recommended for localhost.

--lh_username <LH_USERNAME>

The username of a Lighthouse root/admin user.

--lh_password <LH_PASSWORD>

The password of a Lighthouse root/admin user.

Unenroll all nodes.

Unenroll nodes that have never been seen.

Unenroll all approved nodes.

Unenroll all connected nodes.

Unenroll all disconnected nodes.

Unenroll all nodes that are pending.

Unenroll nodes that are

24.06.0

Command Line Tools

333

Required

Option

--pending-disconnected

Lighthouse User Guide

Alternate Syntax

Description
pending, and connected.
Unenroll nodes that are pending, but disconnected.

Note: The following options are related to the unenrollment strategy and only one option to be selected when entering the command:
(--all | --never-seen | --approved | --connected | --disconnected | --pending | -pending-connected | --pending-disconnected)

24.06.0

Command Line Tools

334

NODE-COMMAND

Lighthouse User Guide

Command node-command

Description A shell-based tool for pulling more detailed information from console servers.

Syntax node-command [options] command

Option -h -l

Alternate Syntax --help
--list-nodes

-i <ID> -n <name> -a <address>

--node-id=ID
--node-name=name
--node-addresss=address

Description Display usage information and exit. List all nodes matching query, or all nodes if none selected. Select node by config ID. Select node by name. Select node by VPN address.

24.06.0

Command Line Tools

335

Option -g <name> -A -C -P -D -d -p -q -b -c -s
-e
--

Alternate Syntax --smartgroup=name --all --connected> --pending --disconnected --disable-fslog --par=num --quiet --batch --copy-file --source-file
--exact

Lighthouse User Guide
Description Select nodes by the smart group they resolve to. Select all available nodes. Select all connected nodes. Select all pending nodes. Select all disconnected nodes. Disable logging to file system. Number of parallel processes to run at a time. Suppress command output. Suppress node-command output. Copy a file to the node(s). The file to copy to the node(s). Required if --copyfile is specified. Run the command exactly as entered. Avoids quoting problems caused by shell interpretation. Use this to stop argument parsing. This allows arguments that node-command understands to be passed to commands on the node. eg. node-command [options] -- command [args]

24.06.0

Command Line Tools

336

NODE-INFO

Lighthouse User Guide

Command node-info

Description A shell-based tool for pulling more detailed information from console servers.

Syntax node-info [options]

Option -h -l

Alternate Syntax --help
--list-nodes

-i <ID> -n <name> -a <address> -g <name>

--node-id=ID --node-name=name --node-address=address --smartgroup=name

Description Display usage information and exit. List all nodes matching query, or all nodes if none selected. Select node by config ID. Select node by name. Select node by VPN address. Select nodes by the smart group they resolve to.

24.06.0

Command Line Tools

337

Option -A -C -P -D

Alternate Syntax --all --connected> --pending --disconnected

Lighthouse User Guide
Description Select all available nodes. Select all connected nodes. Select all pending nodes. Select all disconnected nodes.

EXAMPLE
$ node-info -A BNE-R01-ACM7004-5
address: 192.168.128.2 id: nodes-1 ssh port: 22 description: Brisbane Rack 1 Enrollment status: Enrolled connection status: Connected BNE-R02-IM7216 address: 192.168.128.3 id: nodes-2 ssh port: 22 description: Brisbane Rack 2 Enrollment status: Enrolled connection status: Connected

24.06.0

Command Line Tools

338

NODE-UPGRADE

Lighthouse User Guide

Command node-upgrade

Description
A tool for running firmware upgrades on multiple managed console servers with a single command and returns the results in tabular form to stdout.

Syntax
node-upgrade [-h] [-q | -b | -V | -D] [-l] [-I] [-n NODE_NAME] [-i NODE_ID] [-a NODE_ADDRESS] [-A] [-p {ACM500X,ACM550X,ACM700X,ACM70045,CM71XX,CM7196,IM42XX,IM72XX,OMXXXX,CM81XX}] [-g {Enrolled Nodes 2,Connected Nodes,Disconnected Nodes 2,Cell Health Sim Issues,Cell Health Connectivity Check Failed,retester,Good Health,SamTestFilter,JW Test}] (-f FIRMWARE_DIR | -F FIRMWARE_ FILE) [-v VERSION]

Option -h -q -b -V

Alternate Syntax --help --quiet --batch --verbose

Description Display usage information and exit. Suppress log messages. DEPRECATED: use --quiet instead. Display logs generated while upgrading.

24.06.0

Command Line Tools

339

Lighthouse User Guide

Option

Alternate Syntax

Description

-D

--debug

Display detailed log messages, implies --verbose.

-l

--list-nodes

Display nodes and their upgradeable paths without executing

upgrade.

-I

--ignore-ver-

Ignore firmware version warnings for upgrade.

sion

-f <directory>

--firmware-dir <directory>

The directory of the firmware files(s). This is the directory node-upgrade looks to for the firmware image used as the source for all the firmware upgrade attempts.

-F <path>

--firmware-file <path>

The path to the firmware image to use for upgrade.

-v <version>

--version <version>

The firmware version to upgrade to.

-n <name>

--node-namee=<name>

Select a specific node by its name, this option may be used multiple times.

-i <id>

--node-id <id>

Select a specific node by its ID, this option may be used multiple times.

-a <address>

--node-address <address>

Select a specific node by its Lighthouse VPN address, this option may be used multiple times.

-A

--all

Select all nodes. All other node selection options are ignored

if used at the same time.

-p <family>

--product <family>

Select node by product family where values available are: {ACM500X,ACM550X,ACM700X,ACM7004-

24.06.0

Command Line Tools

340

Option -g <name>

Lighthouse User Guide

Alternate Syntax
--smartgroup <name>

Description
5,CM71XX,CM7196,IM42XX,IM72XX,OMXXXX,CM81XX}
Select nodes by smartgroup. When using along side -product, 'product' and 'smartgroup' are used with an 'AND' operator.

EXIT STATUS

Exit Status

Description

0

Command exited normally

1

Invalid parameter

2

Unknown argument

OUTPUT MESSAGES
Result SUCCESS FileNotFoundError

Causes Node upgrade succeeded. No upgrade file found matching provided device family or version.

24.06.0

Command Line Tools

341

Result UpgradeError IncompatibleFirmwareError

Lighthouse User Guide
Causes Device already has same or higher firmware version or network connection lost. Firmware file provided does not match the product family.

EXAMPLE
# node-upgrade --all --firmware-dir /mnt/data/nvram/latest-firmware/ --version 4.11.0
NODE (UUID) MODEL FAMILY ADDRESS VERSION RESULT --------------------------------------------------------------------------------------cm7116-2 (nodes-4) CM7116-2 CM71XX 192.168.128.5 4.11.0 SUCCESS im7208-2 (nodes-6) IM7208-2 IM72XX 192.168.128.7 4.10.0 SUCCESS cm7196a-2 (nodes-5) CM7196A-2 CM7196 192.168.128.6 4.10.0 SUCCESS acm7004-2 (nodes-2) ACM7004-2 ACM700X 192.168.128.3 4.11.0 SUCCESS acm5508-2 (nodes-1) ACM5508-2 ACM550X 192.168.128.2 4.1.1u2 SUCCESS acm7004-5 (nodes-3) ACM7004-5 ACM7004-5 192.168.128.4 4.11.0 SUCCESS om2216-l (nodes-8) OM2216-L OMXXXX 192.168.128.9 21.Q2.1 FileNotFoundError om1208-8e (nodes-7) OM1208-8E OMXXXX 192.168.128.8 21.Q2.1 FileNotFoundError
Note: The information in the output shows the device version prior to upgrade.

24.06.0

Command Line Tools

342

SUPPORT-REPORT

Lighthouse User Guide

Command support-report

Description
Tool to generate a Lighthouse support report. This program should be run as super-user. All output is sent to stdout, and should be redirected to a file if required.

Syntax support-report [-h] [--zip] [--content-config CONTENT] [--config CONFIG_URI]

Option -h -z
-c CONTENT

Long Option

Description

--help

Display usage information and exit.

--zip

Create .zip archive, containing even more logs, config, and information.

--content-config CONTENT

Override default content (YAML) configuration file.

--config CONFIG_URI

Config file for lipy.

24.06.0

Command Line Tools

343

EXAMPLE
support-report -z > report.zip

Lighthouse User Guide

24.06.0

Command Line Tools

344

SYSFLASH

Lighthouse User Guide

Command sysflash

Description
Is a shell-based tool for upgrading a Lighthouse instance's system .Sysflash will warn you if you do not have enough available space to upgrade to, though this is unlikely as space is reserved specifically for the upgrade process.

Syntax sysflash [options] (filename|URL)

Option -V -I -m -v -o

Long Option

Description

--vendor <vendor>

Override vendor (currently opengear).

--no-version-check

Do not check software version for upgradability.

--no-migration

Do not migrate current config. Start fresh.

--verbose

Increase verbosity (may repeat).

--no-boot-once

Do not modify bootloader (implies --no-reboot).

24.06.0

Command Line Tools

345

Option -r

Long Option --no-reboot filename|URL

-h

--help

Lighthouse User Guide
Description Do not reboot after upgrading.
Location of the upgrade image: filename- path to system image .lg_upg. Filename cannot include spaces. URL- percent-encoded or quoted URL to firmware image .lg_upg
Display usage information and exit.

24.06.0

Command Line Tools

346

TRAFFIC_MIRRORING

Lighthouse User Guide

Command traffic_mirroring

Description
Is a tool that allows network administrators to set up an integration with their enterprise Intrusion Detection System (IDS). Network Traffic Mirroring can only be configured by a network administrator with sudo access and is available only through a command line interface.

Syntax
traffic_mirroring [-h] [--config CONFIG_URI] [--enable | --disable | --status | -test] [--instance-id INSTANCE_ID] [--destination-ip DESTINATION_IP] [--vlan-id VLAN_ ID] [--mirror-smf] [--ignore-multi-instance]

Option -h | --help --config <CONFIG_URI> --enable --disable

Description Display usage information and exit. Config file for lipy. Enable traffic mirroring. Disable network traffic mirroring.

24.06.0

Command Line Tools

347

Lighthouse User Guide

Option --status --test
--instance-id <INSTANCE_ ID> --destination-ip <DESTINATION_IP>
--vlan-id <VLAN_ID>
--mirror-smf
--ignore-multi-instance

Description
Get the current status of the traffic mirroring config. Can be executed on a secondary Lighthouse.
Test the setup by sending a single ping on each VPN and attempt to confirm that the current setup is valid, and the correct rules and interfaces exist, and the destination IP is reachable. Execute on a secondary Lighthouse to check if the network traffic mirroring is in use.
The instance ID of the Lighthouse for which to manage traffic mirroring. If omitted, all Lighthouses will be affected.
The destination IP where mirrored traffic will be sent to (e.g: Intrusion Detection System). Because mirrored traffic preserves the original source/destination IP address, this IP should be on the same subnet as Lighthouse, or it may not be possible to get the MAC address to route the traffic to the destination.
The VLAN ID to use for traffic mirroring. This will result in a new vlantagged interface called 'mirror' being created, where ALL traffic to the destination IP will be routed through, even traffic that is not created by traffic mirroring (e.g. ping, ssh).
Mirror traffic for the Smart Management Fabric (SMF). SMF traffic is encapsulated in a Wireguard VPN tunnel within the OpenVPN tunnel that connects nodes together. Thus, to mirror the correct data for this tunnel, it must be handled twice. Reminder: The amount of traffic sent from Lighthouse is already doubled by enabling traffic mirroring. If this is enabled, then SMF traffic will be tripled (instead of doubled), and all other non-SMF traffic will still be doubled. This may result in huge amounts of traffic being sent by Lighthouse, as SMF can route traffic from many hosts, and the traffic might be bouncing multiple times (e.g. From a node, to LH, to a secondary LH, to another node). Be careful, and please assess how you are planning to use SMF, and if you are capable of handling the network load.
Do not mirror traffic between multi-instance Lighthouses. Only mirror traffic between Lighthouse and nodes.

24.06.0

Command Line Tools

348

Lighthouse User Guide
EXAMPLE :: ENABLE
root@lighthouse:~# traffic_mirroring --enable --destination-ip 10.97.100.1 --vlanid 100 Configuring for Primary Lighthouse instance (Instance ID: 1). Confirming that Traffic Mirroring is set up... Traffic Mirroring successfully enabled.
EXAMPLE :: STATUS
root@lighthouse:~# traffic_mirroring --status Primary Lighthouse 1 has traffic mirroring enabled. Mirroring Node VPN (tun0) -> 10.97.100.1 (VLAN 100) Mirroring Multi Instance VPN (tun1) -> 10.97.100.1 (VLAN 100)
EXAMPLE :: TEST
root@lighthouse:~# traffic_mirroring --test Preparing to test Node VPN (tun0) interface. Pinging address '192.168.128.2' on interface 'tun0'. Preparing to test Multi Instance VPN (tun1) interface. Pinging address '172.16.1.2' on interface 'tun1'. Test complete. The pings sent across the VPN's should have been mirrored.
EXAMPLE :: DISABLE
root@lighthouse:~# traffic_mirroring --disable Traffic Mirroring disabled.

24.06.0

Command Line Tools

349

Lighthouse User Guide

GLOSSARY

Terms used in this guide to define Lighthouse elements and concepts are listed below.

Term

Definition

AUTHDOWNLOCAL (RADIUS/LDAP/TACAS)

When AUTHDOWNLOCAL authentication option is selected, if remote authentication fails because the user does not exist on the remote AAA server, the user is denied access.

AUTHLOCAL (RADIUS/LDAP/TACAS)

When AUTHLOCAL authentication option is selected, if remote authentication fails because the user does not exist on the remote AAA server, Lighthouse tries to authenticate the user using a local account.

CELLULAR HEALTH

Status of the cellular connection of a node.

CONNECTED RESOURCE GATEWAY

A catalog of resources that are within the Smart Management Fabric discovered networks with support for clientless network access to resources via either SSH, HTTP, or HTTPS proxy services.

DARK MODE

Changes the user interface to display mostly dark colors, reducing the light emitted by device screens.

DOCKER

An open platform for developing, shipping, and running applications. Docker enables you to separate your applications from your infrastructure so you can deliver software quickly. Docker powers the NetOps platform within the Lighthouse product.

ENROLLMENT

Connecting a node to Lighthouse.

ENROLLMENT BUNDLE

Used to assign a number of tags to a set of nodes when they are enrolled. During Enrollment, the bundle is specified using its name,

24.06.0

Glossary

350

ENROLLED NODE ENROLLMENT TOKEN INSTANCE INTRUSION DETECTION SYSTEM LIGHT MODE LIGHTHOUSE LIGHTHOUSE ENTERPRISE LIGHTHOUSE VPN LOCALAUTH (RADIUS/LDAP/AAA) MANAGED DEVICE

Lighthouse User Guide
and a bundle-specific Enrollment token.
>A Node that has been connected to Lighthouse and is ready for use.
A password that authorizes the node with Lighthouse. Used when performing Node-based, or ZTP Enrollment.
A single running Lighthouse.
An Intrusion Detection System (IDS) is a network security technology built for detecting vulnerability exploits against a target application.
Changes the user interface to display mostly light colors. This is the default UI setting.
System for accessing, managing and monitoring Opengear console servers.
Offers an elevated centralized management solution with additional functionality. It supports growing trends such as edge computing and SD-WAN with High Availability and Remote IP Access.
The OpenVPN based connections that the Lighthouse instance has with the nodes it is managing.
When LOCALAUTH authentication option is selected, if local authentication fails, Lighthouse tries to authenticate the user using a remote AAA server.
A device that is managed via a node through a serial, USB, or network connection.

24.06.0

Glossary

351

Lighthouse User Guide

MULTIPLE INSTANCE NODE OSPF
PASSWORD POLICY PENDING NODE
PRIMARY INSTANCE REMOTE LOGGING/REMOTE SYSLOG REPLICATION

Access nodes through multiple Lighthouse instances at the same time.
A device that can be enrolled with Lighthouse, allowing it to be accessed, managed, and monitored. Currently, Opengear console servers are supported on a standard license, with support for other vendors Console Servers available as an add-on.
OSPF (Open Shortest Path First) is an interior gateway protocol used to distribute routing information within a single autonomous system. It is based on link-state technology. OSPF routers exchange link-state information with their neighbors to build a complete map of the network topology. This information is used to calculate the shortest path to each destination using Dijkstra's algorithm. OSPF supports multiple paths of equal cost and can load balance traffic across these paths.
Administrative users can define rules for Lighthouse user passwords including length, types of characters, reuse, and expiration period.
A node that has been connected to Lighthouse and has been configured with a VPN Tunnel, but which has not yet been approved for access, monitoring, or management. The approval operation can be automated by configuring Lighthouse to auto- approve nodes.
The main instance of Lighthouse used for updating configuration and node enrollment.
The ability to send logs to a remote server, for the offsite storage and review of logs.
Automatic copying of the primary Lighthouse database to any connected dependent instances. Replication ensures that these instances mirror the same information and maintains connections to the same nodes.

24.06.0

Glossary

352

Lighthouse User Guide

ROLE SECONDARY/DEPENDENT INSTANCES SMART GROUP
SMART MANAGEMENT FABRIC TAG

A set of access rights for a particular group. Three roles are defined within Lighthouse: Lighthouse Administrator, Node Administrator, and Node User.
Redundant instances of Lighthouse that are used to access Lighthouse information and connected nodes.
Dynamic filter used to search for particular nodes, or for defining the access rights of a group of users. Smart Groups use node properties, as well as tags defined by users.
With Lighthouse 24.06 onwards, Smart Groups are now renamed to Node Filters within the Lighthouse UI. However, Smart Groups retain their naming within the CLI and API.
Smart Management Fabric (SMF) is a turnkey management network overlay that uses dynamic routing to allow IP connectivity to IT resources regardless of whether these are connected via USB, serial, SSH, HTTPS (GUI), SPs/BMCs (iLO, iDRAC, etc.), RDP, Ansible, Python, vCenter or other commonly used technologies.
User-defined attribute and value that is assigned to one or more nodes or ports. Tags are used when creating Smart Groups for filtering views or access to nodes and ports.

24.06.0

Glossary

353


madbuild