Help Center User GuideGetting StartedFAQsRelease Notes
 
X
User Guide
Getting Started
FAQs
Release Notes
Contents  

Understanding the Log Collector Deployment Modes

You can deploy Log Collectors in both VM and JA2500 appliance. For easy scaling, begin with a single Log Receiver node and Log Storage node, and incrementally add Log Storage nodes as your needs expand. You can add a maximum of 1 Log receiver Node and 3 Log Storage Nodes. In case of VM environment, a single OVA image is used to deploy a Log receiver and Log storage. The image presents a configuration script after you log in. In case of JA2500 deployment, a single ISO image is used to install a Log Receiver and Log Storage. During setup, you can configure the node as either a Log Receiver or a Log Storage. At deployment, the user must select appropriate memory and CPU configuration values, as appropriate for the role of the VM.

Requirements

To use the Junos Space Security Director Logging and Reporting module, your system must meet the following prerequisites:

Specifications for Deploying a Log Collector Virtual Machine on an ESX Server

You can use Table 227 and Table 228 to decide if you require a single Log Collector or multiple Log Collectors.

Table 227 and Table 228 provide the VM configuration recommended for the log collection to work effectively. It lists the required specifications for deploying a Log Collector VM on an ESX server for various sustained EPS rates. The EPS rates shown in Table were achieved in a testing environment. Your results might differ, depending on your configuration and network environment.

Table 227: Using Solid State Drives (SSD)

Setup

Log Receiver Node

Log Storage Node

Total Nodes

Number of Nodes

CPU

Memory

Number of Nodes

CPU

Memory

4K 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 228: Using Non-Solid State Drives (SSD)

Setup

Log Receiver Node

Log Storage Node

Total Nodes

Number of Nodes

CPU

Memory

Number of Nodes

CPU

Memory

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

Log Collector Deployment Nodes

Table 229 shows different node types in which the Log Collector can be deployed.

Table 229: Log Collector Deployment Nodes

Node Type

Description

All-in-One Node (Combined deployment)

  • Both log receiver and log storage nodes run on the same VM or JA2500 appliance.
  • Supports eps of up to 3,000 with spinning disks and 4,000 with SSD drives.
  • Suitable for demos and small-scale deployments.

Log Receiver Node (Distributed deployment)

This node receives syslogs from SRX devices. SRX devices must be configured with the log receiver node IP to send syslogs. Upon configuration this node parses and forwards logs to 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 the syslogs. It receives the syslogs from log receiver node.

Note: Using vSphere Client version 5.5 and previous versions, you cannot edit the settings of virtual machines of version 10 or later versions. For more details, see VMware Knowledge Base.

Note: You can only configure the IP address of all Log Collector nodes by using the configuration script. If an IP address is configured manually, the Log Collector node cannot be added to Security Director.

Deploying Log Collector as a All-in-One Node

An all-in-one node acts both as a log receiver and log storage. In case of VM environment, a single OVA image is used to deploy a Log receiver and Log storage. The image presents a configuration script after you log in. In case of JA2500 deployment, a single ISO image is used to install a Log Receiver and Log Storage. During setup, you can configure the node as either a Log Receiver or a Log Storage.

Note: You cannot change the node type after you install the .iso image; you must reinstall the image.

In the set up given below, log receiver and log storage run on a single VM. At deployment, the user must select appropriate memory and CPU configuration values, as appropriate for the role of the VM.

Figure 43 shows the deployment example using an All-in-One node.

Figure 43: Using an All-in-One Node

Using an All-in-One Node

Deploying Multiple Log Collectors

If you have a scenario where you require more log reception capacity or events per second (EPS), you must add multiple Log Collectors. Multiple Log Collectors provide higher rates of logging and better query performance.

In case of VM environment, a single OVA image is used to deploy a log receiver node and a log storage node. The image presents a configuration script after you log in. During setup, you can configure the node as either a log receiver or log storage. At deployment, the user must select appropriate memory and CPU configuration values, as appropriate for the role of the VM or appliance.

The use of multiple Log Collectors provides the following benefits:

Note: You cannot change the node type after you install the .iso image; you must reinstall the image.

Figure 44 shows the deployment example using multiple node for up to 10K EPS.

Figure 44: Using Multiple Node for up to 10K EPS

Using Multiple Node for up to
10K EPS

Figure 45 shows the deployment example using multiple node for greater than 10K EPS.

Figure 45: Using Multiple Node for Greater than 10K EPS

Using Multiple Node for Greater
than 10K EPS

Deploying Log Collector VM on an ESX Server

Procedure

To deploy the Log Collector on an ESX Server:

  1. Download the latest Log Collector open virtual appliance (OVA) image from here.
  2. Using vSphere or vCenter, deploy the Log Collector OVA image onto the ESX server.
  3. Edit the CPU and memory as per the system requirement for the required events per second (eps).

    Note: Log Collector VM contains a Virtual Appliance Management Infrastructure (VAMI) agent. The agent allows the VM to use the configuration from the ESX server based on the server configuration.

  4. Power on the Log Collector VM.

    A configuration script lets you choose the node type and configure the network settings.

  5. Use the default credentials to log into Log Collector.
  6. Change the root password of the VM.
  7. Select one of the following node types:
    • Enter 1 to deploy Log Collector as All-in-One node.
    • Enter 2 to deploy Log Collector as a Log Receiver node.
    • Enter 3 to deploy Log Collector as Log Storage node.
  8. Configure your network settings using the same wizard.

Installing Log Collector on the JA2500 Appliance Using a USB Flash Drive

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.

Create a Bootable USB Flash Drive

Before creating a bootable USB flash drive, download and install Rufus software on your system.

Procedure

  1. Plug the USB storage device into the USB port of a laptop or PC.
  2. Download the Log collector ISO image from the download site.
  3. Create a bootable USB flash drive by performing the following steps on Microsoft Windows:

    Procedure

    1. Open Rufus software installed on your computer.

      The Rufus window opens.

    2. From the Device list, select the USB storage device.
    3. In the Format Options section, select the ISO image downloaded in Step 2. Click the open or browse icon next to the Create a bootable disk using option to select the ISO image.
    4. Click Start.

      A progress bar on the Rufus page indicates the status of the bootable USB flash drive creation. A success message is displayed once the process completes successfully.

    5. Click Exit to exit the window.
    6. Eject the USB storage device and unplug it from the computer.

      Procedure

      If you are using a computer with Linux as the operating system, do the following:

      Note: While you can use any of the available tools, it is recommended to use the dd command in Linux to create a bootable USB drive.

      1. Open a shell prompt.
      2. Use the cd command to go to the directory containing the software image file.
      3. Type [user@host ~]$ dd if=Log-collector-version.spinnumber.img of=/dev/usb-drive command to copy the image file to the USB drive and press Enter.

        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 taken to the command prompt.

      4. Eject the USB drive and unplug it from the computer.

Install Log Collector Using USB Flash Drive

Procedure

  1. Plug the USB storage device into the USB port of the JA2500 appliance.
  2. To access the JA2500 appliance boot menu, perform the following steps:

    Procedure

    1. Power on the JA2500 appliance.
    2. While the JA2500 appliance powers ON, press the key mapped to send the DEL character in the terminal emulation utility.

      Note: Typically, the Backspace key is mapped to send the DEL character.

    3. The boot menu appears after a minute or shortly after.
  3. Ensure that the USB boot is at the top of the appliance boot-priority order.

    If USB KEY: CBM USB 2.0 - (USB 2.0) is not at the top of the list, perform the following steps:

    Procedure

    1. Use the down arrow to select USB KEY:CBM USB 2.0- (USB 2.0), and use the + key to move the entry to the top of the list.
    2. Press the F4 key to save your changes and exit the BIOS setup.
  4. After Verifying the BIOS setting, power off the JA2500 appliance.
  5. Power ON the appliance again. The boot menu displays the following options:

    Procedure

    1. Install Log Collector on Juniper JA2500 Hardware.
    2. Boot from local drive.
  6. Select Install Log Collector on Juniper JA2500 Hardware.
  7. Power OFF the appliance once the installation is completed.
  8. Restart the appliance and select Boot from local drive.
  9. Use the default credentials to log in to the JA2500 appliance; username is root and password is juniper123.
  10. Change the default root password when prompted.
  11. After logging in, select the desired node type.
  12. Configure the IP address and gateway.
  13. Configure settings for the DNS name server and the NTP server.

Add Log Collector Node to Security Director.

Installing Integrated Log Collector on a JA2500 Appliance or Junos Space Virtual Appliance

Before You Begin

The prerequisites for installing integrated log collector on a JA2500 appliance or VM are as follows:

Note: Security Director Logging and Reporting is not supported on JA1500 appliance.

Specifications

Table 230 shows the specifications for installing the integrated Log Collector on JA2500 appliance.

Table 230: Integrated Log Collector on JA2500 Installation Specification

Component

Specification

Memory

8 GB

Log Collector uses 8GB of memory of the available 32GB system RAM.

Disk space

500 GB

This is used from the existing JA2500 appliance disk space.

CPU

Single core

Note: These specifications are internally used by the integrated Log Collector on JA2500 appliance.

Table 231 shows the specifications for installing the integrated Log Collector on Junos Space Virtual Appliance.

Table 231: Integrated Log Collector on VM Installation Specification

Component

Specification

Memory

8 GB

If Integrated Log Collector is run on the Junos Space VM, it is recommended to add 8GB of RAM to maintain the Junos Space performance. It uses 8GB of system RAM from the total system RAM.

Disk space

500 GB

Minimum 500GB is required. You can add any amount of disk space.

CPU

2 CPUs of 3.20 GHz

Note: These specifications are internally used 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:

Procedure

  1. Download the integrated Log Collector image from the download site.
  2. Copy the integrated Log Collector script to a JA2500 appliance or Virtual Appliance.
  3. Connect to the CLI of JA2500 appliance or Virtual Appliance with admin privileges.
  4. Navigate to the location where you have copied the integrated Log Collector script.
  5. Change the permission of the Chmod +x Integrated-Log-Collector-16.1.R1.xxx.sh file.
  6. Install the integrated Log Collector script using the following command: sh Integrated-Log-Collector-16.1.R1.xxx.sh.
    • The installation stops if the following error message is displayed while installing the integrated Log Collector on VM. You must expand the Network Management Platform disk size to proceed with the installation.

      [root@space-005056b40fef ~]# sh Integrated-Log-Collector-16.1.R1.157.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 Space VM:

      Procedure

      1. Add a hard disk of 500 GB capacity on the Space VM through vSphere client.
      2. Connect to the console of Junos Space, through SSH.
      3. Select Expand VM Drive Size.
      4. Enter the admin password and select to expand /var with 500GB.
      5. Once /var is expanded, you are prompted for any further HDD expansion. select No, the system reboots.

        Note: /var should have minimum of 500 GB for installation to complete.

      After the disk size is expanded, run the command sh Integrated-Log-Collector-16.1.R1.xxx.sh.

    • The installation stops if the following error message is displayed while installing integrated log collector on JA2500 appliance or VM. You must disable OpenNMS by following the steps mentioned in the error message to proceed with the installation.

      [root@space-005056b41440 ~]# sh Integrated-Log-Collector-16.1.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 command sh Integrated-Log-Collector-16.1.R1.xxx.sh.

    When integrated Log Collector installation is complete on 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.

Adding Log Collector to Security Director

Procedure

Once Log Collector is configured, you can add it to Security Director.

To add Log Collector to Security Director:

  1. From the Security Director user interface, select Administration > Logging Management > Logging Nodes, and click the plus sign (+).
  2. Provide the root credentials of the Log Collector node.
  3. Verify the corresponding job status.

    Log Collector node appears in the Logging Nodes page with the status UP.

To learn more about increasing the disk size of your VM when log files are too large, see Expanding the Size of the VM Disk for Log Collector.

To learn more about enabling vMotion and Fault tolerance logging, see Enabling vMotion and Fault tolerance logging.

To learn more about VMWare chassis cluster and fault tolerance, see vSphere Availability.

To learn more about configuring vMotion, see Creating a VMkernel port and enabling vMotion on an ESXi/ESX host and Set Up a Cluster for vMotion.

Related Documentation

Ask questions in TechWiki

Check documentation in TechLibrary

Rating by you:      
X

Additional Comments

800 characters remaining

May we contact you if necessary?

Name:
Email:

Need product assistance? Contact Juniper Support

Submit