APM Installation
APM Installation Overview
Juniper Address Pool Manager (APM) is an automated, centralized, container-based cloud-native application that network operators and administrators use to manage IP address resources. APM works with managed broadband network gateways (BNGs) to monitor address pools on BNGs. When the number of free addresses drops below a set threshold, the BNG raises an alarm. The alarm triggers APM to allocate unused prefixes from its global list of prefixes and provision a subset of the prefixes to the BNG as new pools.
The term BNG in this document also applies to the BNG CUPS Controller.
You can deploy APM on any hardware that meets the requirements. The following sections describe:
-
APM installation requirements
-
How to install APM
-
How to adjust APM setup parameters
APM Installation Requirements
To install APM, you need the following hardware and software:
APM Requirements
APM installs on a Kubernetes cluster comprised of physical or virtual machines (VMs). For availability, you must have at least three nodes in the cluster. APM requires the following minimal resources from the Kubernetes cluster:
Category | Details |
---|---|
Storage |
Storage Class or PVs capable of backing 100 mebibytes (MiB) RWX PVC for configuration |
Network load balancer addresses |
One for APMi |
Node port address |
One for optional CLI/SSH access |
Container/registry storage |
Container/registry storage 2.5 gibibytes (GiB) |
Worker node resource consumption (specification) |
APM resource consumption on each Worker node:
|
Jump host |
|
Node specification (minimum of 3 nodes) |
This specification establishes a cluster that can run APM as well as its companion applications such as BBE Event Collection and Visualization and BNG Controller simultaneously. Note:
To create the cluster, you can use either of the following applications:
|
Additional Requirements
The BNG is a Juniper Networks MX Series router, or a Juniper BNG CUPS Controller (BNG CUPS Controller). We recommend that the BNG is running Junos OS Release 24.2R2 or later.
For APM, confirm that you have a juniper.net user account with permissions to download the APM software package. Download and install the APM software from a machine that will not be part of the Kubernetes cluster.
Install APM
Use the procedures in this section to install APM for the first time.
Before you begin, confirm that you have met the requirements for the APM installation.
We recommend that you use a secure connection between APM and the BNG.
You have the following two options for installing APM:
-
Install APM Using the APM installation Utility—You can install APM using the APM utility, which streamlines the installation process. To use the APM utility, you must install APM on a Kubernetes cluster that is created by either BBE Cloudsetup (see BBE Cloudsetup Installation Guide) or by Red Hat OpenShift Container Platform.
-
Install APM Without Using the APM Utility—You can install APM on a preexisting Kubernetes cluster of your choice. This process is a manual process and does not use the APM utility that comes with the APM installation package.
Before starting the APM installation, make sure that you have the following information:
Required Information:
- Container registry details:
-
If you are using a BBE Cloudsetup created cluster.
-
External registry address.
-
External registry port number (usually 5000).
-
-
If you are using a Red Hat OpenShift Container Platform cluster:
-
External registry (fully qualified domain name)
-
Internal (Docker) registry address
-
Internal (Docker) registry port number
-
-
Optional Information:
- APM initial configuration file. If a configuration file is not supplied, a basic configuration file is automatically generated.
- Storage class name for permanent virtual channel (PVC) creation (default is jnpr-bbe-storage).
- PVC Size (defaults is 90 MiB).
- Archival configuration details. This is required if you are planning to mirror a
copy of the APM configuration to an external server.
-
Either the name of the SSH private key file or the name of the Kubernetes secret that is present in the jnpr-apm namespace containing the SSH private key.
-
The Secure Copy Protocol (SCP) URL of the server where the configuration file will be archived. An SCP URL takes the form of
scp://user-login@server-fqdn:server-port/absolute-file-path
(for example,scp://user@host1.mydomain.com:30443/home/user/configs/apm
.
-
- Syslog server details. This is required if you are planning to export APM logs
to an external syslog collector. Note:
If BBE Event Collection and Visualization is detected running on the target cluster, the address and port values of the ECAV deployment will be suggested as the default.
-
Syslog server address.
-
Sysylog server port number.
-
- Network load balancer details. This is required if you are planning to use a
specific network load balancer pool and address for APMi.
-
Network load balancer pool name.
-
Network load balancer pool address.
-
- APMi Details:
- Port (default is 20557)
- TLS details. You will need one of the following:
-
None (insecure)
-
Either the key and certificate files or the name of the Kubernetes secret that is present in the jnpr-apm namespace that contains the key and certificate information.
-
- Number of worker processes for the provman microservice (default is 3).
Install APM Using the APM installation Utility
You use the procedure in this section if you are installing APM on a cluster that was created by the BBE Cloudsetup utility or by Red Hat OpenShift Container Platform Console.
Start APM
Use this procedure to configure and to start APM.
Install APM Without Using the APM Utility
The instructions in this section describes the installation steps for installing APM on a preexisting Kubernetes cluster of your choice. This process is a manual process and does not use the APM utility that comes with the APM installation package.