This section contains the procedures to upgrade Junos Space Security Director and Log Collector.
Junos Space Security Director Release 16.2R1 is supported only on Junos Space Network Management Platform Release 16.1R2. For more information on the Network Management Platform upgrade process, see Upgrading to Junos Space Network Management Platform Release 16.1R1.
At the end of the installation, you are prompted to choose the backup tgz location to restore the previous version of the Network Management Platform release. Click N to continue with the fresh installation of the Network Management Platform.
Download the VISO image for the VM.
Download the USB image for the JA2500 appliance.
In Junos Space Security Director Release 16.2R1 a single image installs Security Director, Log Director, and the Security Director Logging and Reporting modules. Installing the Security Director Release 16.2R1, image installs all three applications. You must deploy the Log Collector and then add it to the Junos Space Network Management Platform fabric to view the log data on the Dashboard, Events and Logs, Reports, and Alerts pages.
For more information on adding Junos Space applications, see Adding a Junos Space Application.
Before you upgrade the Security Director, Log Director, and Security Director Logging and Reporting modules, you must upgrade to Junos Space Network Management Platform Release 16.1R2.
Table 1 shows the upgrade sequence if your current Security Director release is earlier than Security Director Release 15.2.
Table 1: Upgrade Sequence
Junos Space Network Management Platform Release | Security Director Release |
---|---|
15.2R1 | 15.2R1 |
15.2R2 | 15.2R2 |
16.1R1 | 16.1R1 |
16.1R2 | 16.2R1 |
Note: If you are upgrading from a previous version of Security Director, clear your browser cache before accessing the Security Director UI.
To upgrade from a previous version of Security Director to Security Director Release 16.2R1:
Upload the image using either the Upload via HTTP or Upload via SCP option.
After adding the secondary node under Administration > Fabric, you must manually perform the device load balancing.
The Job Management tab shows the upgrade status.
Note: In Junos Space Security Director Release 16.2R1, all IPS report definitions are consolidated into a single report definition called IPS Report. After upgrading Security Director to 16.2R1, IPS reports for already scheduled IPS report definitions will not be generated because, the individual IPS report definitions does not exist. You must use the consolidated IPS report.
Note: Before creating a backup of Log Collector Release 15.2R2, you must delete all the Log Collector nodes from Security Director > Administration > Logging Management > Logging Nodes.
Table 2 shows the topology difference between Log Collector Releases 15.2R2, 16.1R1, and 16.2R1 before the upgrade.
Table 2: Understanding the Topology Difference Before Upgrading
Node Type | 15.2R2 | 16.1R1 | 16.2R1 |
---|---|---|---|
All-in-One | Yes | Yes | Yes |
Log receiver | Yes | Yes | Yes |
Log storage | Yes (Log Indexer node and Log Data node) | Yes | Yes |
Query node Client node | Yes (20K eps) | No | No |
Master node Cluster Manager node | Yes (20K eps) | No | No |
Integrated | No | Yes | Yes |
In Log Collector Release 16.2R1:
To upgrade from Log Collector Release 16.1R1 to Log Collector Release 16.2R1:
elasticsearch.yml
file, located at vi/etc/elasticsearch/.The status of the upgrade is shown on the console.
Note:
Logstash
process
does not run on the log receiver node any longer. Instead the jingest
process will run.jingest
and elasticsearch
processes are
running.Upgrading Integrated Log Collector
To upgrade from integrated Log Collector Release 16.1R1 to integrated Log Collector Release 16.2R1:
The integrated Log Collector is successfully upgraded to Log Collector Release 16.2R1.
Table 3 and Table 4 provide the virtual machine (VM) configuration that is recommended for the log collection to work effectively.
Table 3: With SSD Drives
Setup | Number of Nodes (Log Receiver Nodes) | CPU (Log Receiver Nodes) | Memory (Log Receiver Nodes) | Number of Nodes (Log Storage Nodes) | CPU (Log Storage Nodes) | Memory (Log Storage Nodes) | Total Nodes |
---|---|---|---|---|---|---|---|
4K events per second (eps) | 1 | 4 | 16 GB | - | - | - | 1 |
10K eps | 1 | 8 | 32 GB | 1 | 8 | 64 GB | 2 |
20K eps | 1 | 8 | 32 GB | 2 | 8 | 64 GB | 3 |
Table 4: With Non-SSD Drives
Setup | Number of Nodes (Log Receiver Nodes) | CPU (Log Receiver Nodes) | Memory (Log Receiver Nodes) | Number of Nodes (Log Storage Nodes) | CPU (Log Storage Nodes) | Memory (Log Storage Nodes) | Total Nodes |
---|---|---|---|---|---|---|---|
3K eps | 1 | 4 | 16 GB | - | - | - | 1 |
10K eps | 1 | 8 | 32 GB | 2 | 8 | 64 GB | 3 |
20K eps | 1 | 8 | 32 GB | 3 | 8 | 64 GB | 4 |
Note: VMs with 64-GB memory provides better stability for the log collection.
Table 5 includes supported node types in which the Log Collector can be deployed.
Table 5: Log Collector Deployment Nodes
Node Type | Description |
---|---|
All-in-One node (combined deployment) |
|
Log Receiver node (Distributed deployment) | This node receives syslogs from SRX Series devices. SRX Series devices must be configured with the Log Receiver node IP address to send syslogs. Upon configuration, this node parses and forwards logs to the Log Storage Node. You must provide the IP address of the Log Storage node while configuring this node. |
Log Storage node (Distributed deployment) | This node analyzes, indexes, and stores syslogs. It receives the syslogs from Log Receiver node. |
Note: You cannot edit the settings of virtual machines using hardware version 10 or earlier, using vSphere Client version 5.5 or earlier. For more details, see VMware Knowledge Base.
The total storage required for retaining X number of days at a given eps rate is:
eps * 0.155 * X = (in GB)
For example, the storage requirement for 7 days at 500 eps is 500 * 0.155 * 7 = 542 GB, with a +20% margin. The storage space is allocated and equally distributed to the Log Indexer nodes.
Note: The logs are rolled over in the following scenarios:
Before You Begin
The prerequisites to deploy a Log Collector on a KVM server are as follows:
Note: You can deploy the Log Collector virtual appliance on a KVM server by using virtual machine clients other than VMM. However, Juniper Networks does not provide support for installing the Junos Space virtual appliance using clients other than VMM.
To deploy Log Collector virtual machine (VM) on a KVM server:
system.qcow2
and data.qcow2
files.The new VM dialog box appears and displays Steps 4 to 8.
system.qcow2
file.data.qcow2
file.qcow2
under Advanced Options.Add Log Collector Node to Security Director
To add Log Collector to Security Director, see Adding Log Collector to Security Director.
To deploy the Log Collector on an ESX server:
Note: Log Collector virtual machine (VM) contains a Virtual Appliance Management Infrastructure (VAMI) agent. The agent enables the VM to use the required server configuration from the ESX server.
A configuration script lets you choose the node type and configure the network settings.
Add Log Collector Node to Security Director
To add Log Collector to Security Director, see Adding Log Collector to Security Director.
To install the Log Collector on the JA2500 appliance using a USB flash drive, you must create a bootable USB flash drive, install the Log Collector node using the USB flash drive, and add the Log Collector node to Security Director.
Before creating a bootable USB flash drive, download and install the Rufus utility on your system.
If you are using a computer with Microsoft Windows as the operating system, follow these steps to create a bootable USB flash drive:
The Rufus window opens.
A progress bar on the Rufus page indicates the status of the bootable USB flash drive. A success message is displayed once the process completes successfully.
If you are using a computer with Linux as the operating system, follow these steps:
Note: While you can use any of the available tools, we recommend that you use the dd command in Linux to create a bootable USB drive.
Log-Collector-version.spin-number.img is the name of the downloaded Junos Space image file, and /dev/usb-drive is the name of the device drive to which your USB drive is mapped. The image file is copied to the USB drive and you are directed to the command prompt.
Note: Typically, the Backspace key is mapped to send the DEL character.
If USB KEY: CBM USB 2.0 - (USB 2.0) is not at the top of the list, follow these steps:
To add Log Collector to Security Director, see Adding Log Collector to Security Director.
The prerequisites to install the integrated Log Collector on a JA2500 appliance or virtual machine (VM) are as follows:
Note: Security Director Logging and Reporting is not supported on a JA1500 appliance.
Table 6 shows the specifications for installing the integrated Log Collector on a JA2500 appliance.
Table 6: Specifications for Installing an Integrated Log Collector on a JA2500
Component | Specification |
---|---|
Memory | 8 GB Log Collector uses 8 GB of memory of the available 32-GB system RAM. |
Disk space | 500 GB This is used from the existing JA2500 appliance disk space. |
CPU | Single core |
Note: These specifications are used internally by the integrated Log Collector on a JA2500 appliance.
Table 7 shows the specifications for installing the integrated Log Collector on Junos Space Virtual Appliance.
Table 7: Specifications for Installing an Integrated Log Collector on a VM
Component | Specification |
---|---|
Memory | 8 GB If the integrated Log Collector is running on the Junos Space VM, we recommend adding 8 GB of RAM to maintain the Junos Space performance. It uses 8 GB of system RAM from the total system RAM. |
Disk space | 500 GB Minimum 500 GB is required. You can add any amount of disk space. |
CPU | 2 CPUs of 3.20 GHz |
Note: These specifications are used internally by the integrated Log Collector running on the Junos Space Virtual Appliance.
To install the integrated Log Collector on a JA2500 appliance or virtual appliance:
[root@space-005056b40fef ~]# sh Integrated-Log-Collector-16.2.R1.xxx.sh
ERROR: Insufficient HDD size, Please upgrade
the VM HDD size to minimum 500 GB to install Log Collector
To expand the hard disk size for the Junos Space VM:
Note: Junos Space Network Management platform must be active and functioning. You must be able to log into the Junos Space Network Management Platform and Security Director user interfaces before attempting to run the integrated Log Collector setup script again.
[root@space-005056b41440 ~]# sh Integrated-Log-Collector-16.2.R1.157.sh
ERROR: Opennms is running...
Please try
to disable opennms as described below or in document and retry Log
Collector installation...
STEPS: Login to Network
Management Platform --> Administration --> Applications
Right Click on Network Management Platform --> Manage Services -->
Select Network Monitoring and click Stop
Service Status
should turn to Disabled
After OpenNMS is disabled, run the sh Integrated-Log-Collector-16.2.R1.xxx.sh command.
When the integrated Log Collector is installed on the JA2500 appliance or VM, the following message is displayed:
Shutting down system logger: [ OK ]
Starting
jingest ... jingest started.
{"log-collector-node":
{"id":376,"ip-address":"x.x.x.x","priority":0,"node-type": "INTEGRATED","cpu-usage":0,"memory-usage":0,
"fabric-id":0,"display-name": "Integrated","timestamp":0}}
Once the installation is complete, a logging node is automatically added in Administration > Logging Management > Logging Nodes.
If you have used the standard setup menu to configure Log Collector, then you can use the script described in Table 8 to reconfigure it.
“jnpr-” <TAB> [root@NWAPPLIANCE25397 ~]# jnpr- jnpr-configure-node jnpr-configure-ntp jnpr-configure-timezone jnpr-network-script healthcheckOSLC
Table 8: Description of the Log Collector Script
Script | Description |
---|---|
jnpr-configure-node | Master script for the node configuration and network settings. |
jnpr-configure-ntp | Script for NTP configuration. |
jnpr-configure-timezone | Script for time zone configuration. |
jnpr-network-script | Script for interface configuration. |
healthcheckOSLC | Script for checking the issues with logging infrastructure. |
You must deploy either Security Director Log Collector or Juniper Secure Analytics (JSA) as a log collector and then add it to Security Director to view the log data in the Dashboard, Events and Logs, Reports, and Alerts pages.
Before You Begin
To add Log Collector to Security Director:
The Add Logging Node page appears.
If you select the Log Collector type as Security Director Log Collector, then select the deployment.
The Log Collector node appears in the Logging Nodes page with the status UP.
The certificate details are displayed.
A new logging node with your configurations is added. To verify if the node is configured correctly, click Logging Management to check the status of the node.
Note: JSA node sends many maintenance logs from its own IP address to localhost (127.0.0.1). These system logs are displayed in the Event Viewer page. You can disable these maintenance logs.
To disable the maintenance logs: