Simplified Forwarder Deployment and Deployment Server Techniques



Similar documents
Splunk Apps for Monitoring Microso< Based Infrastructure

Moxa Device Manager 2.3 User s Manual

Moxa Device Manager 2.0 User s Guide

SOA Software API Gateway Appliance 7.1.x Administration Guide

Deploying the Splunk App for Microso> Exchange

Deploying Splunk on Amazon Web Services

Installation documentation for Ulteo Open Virtual Desktop

Ulteo Open Virtual Desktop Installation

Deployment Best PracHces for Splunk Apps Monitoring MicrosoK- based Infrastructure

VMware vcenter Log Insight Getting Started Guide

Red Hat System Administration 1(RH124) is Designed for IT Professionals who are new to Linux.

Installing buzztouch Self Hosted

In Depth with Deployment Server Sanford Owings

How To Sync Quickbooks With Qvinci.Com On A Pc Or Macbook Or Mac Book (For A Webbook) With A Flashbook (For An Ubuntu Account) With An Ipo (For Macbook) On A Mac

SEAGATE BUSINESS NAS ACCESSING THE SHELL. February 1, 2014 by Jeroen Diel IT Nerdbox

VMware vcenter Log Insight Security Guide

Intelligent Power Protector User manual extension for Microsoft Virtual architectures: Hyper-V 6.0 Manager Hyper-V Server (R1&R2)

Creating a DUO MFA Service in AWS

Dell UPS Local Node Manager USER'S GUIDE EXTENSION FOR MICROSOFT VIRTUAL ARCHITECTURES Dellups.com

qliqdirect Active Directory Guide

VMware vcenter Log Insight Security Guide

FirstClass Synchronization Services 12 Release Notes Windows Version

PingFederate. Identity Menu Builder. User Guide. Version 1.0

BIRT Application and BIRT Report Deployment Functional Specification

2 Installing Privileged User Manager 2.3

Setting up High Availability

OnCommand Performance Manager 1.1

CommandCenter Secure Gateway

EMC ViPR Controller. Version 2.4. User Interface Virtual Data Center Configuration Guide REV 01 DRAFT

FirstClass Synchronization Services Install Guide

Installing a Symantec Backup Exec Agent on a SnapScale Cluster X2 Node or SnapServer DX1 or DX2. Summary

LICENSE4J LICENSE ACTIVATION AND VALIDATION PROXY SERVER USER GUIDE

EMC VoyenceControl Integration Module. BMC Atrium Configuration Management Data Base (CMDB) Guide. version P/N REV A01

Administrator s Guide: perfsonar MDM 3.0

Security Correlation Server Backup and Recovery Guide

VMware vcenter Log Insight Administration Guide

BF2CC Daemon Linux Installation Guide

Upgrading a Single Node Cisco UCS Director Express, page 2. Supported Upgrade Paths to Cisco UCS Director Express for Big Data, Release 2.

How to Install Multicraft on a VPS or Dedicated Server (Ubuntu bit)

TAO Installation Guide v0.1. September 2012

SapphireIMS 4.0 BSM Feature Specification

SOLR INSTALLATION & CONFIGURATION GUIDE FOR USE IN THE NTER SYSTEM

Healthstone Monitoring System

Deploying Intellicus Portal on IBM WebSphere

Syncplicity On-Premise Storage Connector

CA ARCserve Replication and High Availability

Wavelink Avalanche Mobility Center Linux Reference Guide

MDM Mass Configuration Tool User s Manual

EMC Documentum Connector for Microsoft SharePoint

ACS 5.x and later: Integration with Microsoft Active Directory Configuration Example

Cisco Unified CM Disaster Recovery System

EMC Data Protection Search

Automated Application Provisioning for Cloud

Configuring Apache HTTP Server as a Reverse Proxy Server for SAS 9.3 Web Applications Deployed on Oracle WebLogic Server

10972-Administering the Web Server (IIS) Role of Windows Server

QuickBooks Enterprise Solutions. Linux Database Server Manager Installation and Configuration Guide

IIS, FTP Server and Windows

Siebel Installation Guide for UNIX. Siebel Innovation Pack 2013 Version 8.1/8.2, Rev. A April 2014

simplify monitoring Environment Prerequisites for Installation Simplify Monitoring 11.4 (v11.4) Document Date: January

RPM Utility Software. User s Manual

Installing and Configuring DB2 10, WebSphere Application Server v8 & Maximo Asset Management

Chef Integration. Chef Integration. with IDERA s Uptime Cloud Monitor. Simple, Smart, Seamless May 10, 2013 IDERA

IBM Security QRadar SIEM Version MR1. Log Sources User Guide

Server Monitoring. AppDynamics Pro Documentation. Version Page 1

Release Notes for McAfee(R) VirusScan(R) Enterprise for Linux Version Copyright (C) 2014 McAfee, Inc. All Rights Reserved.

Click Studios. Passwordstate. Password Discovery, Reset and Validation. Requirements

VMware vcenter Log Insight Getting Started Guide

Configuring MailArchiva with Insight Server

VMware Identity Manager Connector Installation and Configuration

INSTALLING KAAZING WEBSOCKET GATEWAY - HTML5 EDITION ON AN AMAZON EC2 CLOUD SERVER

Using the vcenter Orchestrator Plug-In for Microsoft Active Directory

Quest Privilege Manager Console Installation and Configuration Guide

LAMP Quickstart for Red Hat Enterprise Linux 4

ZeroTurnaround License Server User Manual 1.4.0

Consolidated Monitoring, Analysis and Automated Remediation For Hybrid IT Infrastructures. Goliath Performance Monitor Installation Guide v11.

Oracle VM Manager Template. An Oracle White Paper February 2009

IBM Security QRadar SIEM Version MR1. Vulnerability Assessment Configuration Guide

FileMaker Server 13. FileMaker Server Help

QuickStart Guide for Client Management. Version 8.7

Oracle EXAM - 1Z Oracle Weblogic Server 11g: System Administration I. Buy Full Product.

AklaBox. The Ultimate Document Platform for your Cloud Infrastructure. Installation Guideline

Installation Guide. McAfee VirusScan Enterprise for Linux Software

Deploying the BIG-IP LTM with the Cacti Open Source Network Monitoring System

Cloud Control Panel (CCP) Installation Guide

Migrating WebEx Connect Users to Cisco Jabber

Initializing SAS Environment Manager Service Architecture Framework for SAS 9.4M2. Last revised September 26, 2014

Add User to Administrators Group using SQL Lookup Table

Virtual Appliance Setup Guide

Ex Libris Patch Instructions for Oracle 10 CPUs for Voyager Windows Servers

Rebasoft Auditor Quick Start Guide

Upgrading VMware Identity Manager Connector

Guide to deploy MyUSBOnly via Windows Logon Script Revision 1.1. Menu

Ex Libris Patch Instructions for Oracle 10 CPUs for Voyager Windows Servers

VoipSwitch Security Audit

Installation Guide. Novell Storage Manager for Active Directory. Novell Storage Manager for Active Directory Installation Guide

Online Backup Client User Manual

Upgrade your Software

Lieberman Software Corporation Enterprise Random Password Manager

Local Caching Servers (LCS) February 2015

Transcription:

Copyright 2015 Splunk Inc. Simplified Forwarder Deployment and Deployment Server Techniques Cary Pe;erborg Sr. Monitoring Eng., LDS Church

Disclaimer During the course of this presentalon, we may make forward looking statements regarding future events or the expected performance of the company. We caulon you that such statements reflect our current expectalons and eslmates based on factors currently known to us and that actual events or results could differ materially. For important factors that may cause actual results to differ from those contained in our forward- looking statements, please review our filings with the SEC. The forward- looking statements made in the this presentalon are being made as of the Lme and date of its live presentalon. If reviewed arer its live presentalon, this presentalon may not contain current or accurate informalon. We do not assume any obligalon to update any forward looking statements we may make. In addilon, any informalon about our roadmap outlines our general product direclon and is subject to change at any Lme without nolce. It is for informalonal purposes only and shall not, be incorporated into any contract or other commitment. Splunk undertakes no obligalon either to develop the features or funclonality described or to include any such feature or funclonality in a future release. 2

My Disclaimer During the course of this presentalon, I may make references to my employer, the Church of Jesus Christ of La;er- day Saints. This should not be taken as an endorsement of Splunk or Splunk products by the LDS Church. In addilon, sorware referenced in this presentalon may be made available for download. This sorware may not be suitable for your environment. No warranty or claim of suitability is made on this sorware, and any damages incurred are not my responsibility (you take full responsibility for any damages). Care should be taken when installing any sorware. 3

Scope and Audience

Scope Simplified universal forwarder (UF) installalon By anyone with root/admin access No need to edit files Finds standard inputs automalcally InstallaLon conforms to a known standard 5

When is this method useful? Including, but not limited to, the following criteria: Many indexes (e.g. departmental indexes) Ad hoc deployment (non- ubiquitous forwarders or slow migralon) Allow non- admin installalon of UF MulLple data centers or offices Secure facility installalons of UF Add a UF to search heads and indexers to monitor local data 6

Audience: Who should be here? Splunk administrators Infrastructure operalons personnel Splunk personnel in charge of new Splunk features. J 7

About Me

Who is Cary Pe;erborg? Splunk user and administrator for 3.5 years Monitoring Engineer for 8 years Web developer for 21 years SoRware engineer for 35 years Many languages from assembly to Ruby Works for the LDS Church in Salt Lake City 9

My Employer

The Church of Jesus Christ of La;er- day Saints Based in Salt Lake City, Utah Established 1830 16 million members worldwide 9,000 servers (Family Search addilonal 12,000 servers) 2,300 UFs, 8 indexers, 6 search heads, deployment server, 2 syslog servers 11

Requirements & AssumpLons

Requirements Root access for Linux and AIX (bash) Administrator access for Windows (PowerShell) Web server for remote file access Splunk deployment server Firewalls configured properly 13

Architecture Remote User Web/CMDB Linux/Windows/AIX host Deployment Server Network Storage 14

Architecture Remote User Web/CMDB Linux/Windows/AIX host Deployment Server Network Storage 15

Architecture Remote User Web/CMDB Linux/Windows/AIX host Deployment Server Network Storage 16

Architecture Remote User Web/CMDB Linux/Windows/AIX host Deployment Server Network Storage 17

Architecture Remote User Web/CMDB Linux/Windows/AIX host Deployment Server Network Storage 18

Architecture Remote User Web/CMDB Linux/Windows/AIX host Deployment Server Network Storage 19

OpLonal Tools Recommended: Universal mount point for Linux and AIX (i.e., NFS mount) CMDB wget for Linux and AIX Access to web service to validate ConfiguraLon Items (CI) 20

About the Scripts

Script FuncLonality 1. Checks for new installalon or update 2. Verifies host as valid CI in CMDB 3. Sets the default index 4. Auto- discovers applicalons 5. Installs UF from.tar or.msi file 6. Creates the deployment server configuralon 7. Restarts UF 22

Make Your Deployment Server Do the Work

Set Up the Deployment Server clientname from deploymentclient.conf file determines: Default index ApplicaLon inputs Hostname Use a standardized deployment configuralon file instead of using the Splunk installalon archive (tar,.msi, etc.) to set the deployment server InteracLve: Windows will complain that you are not providing inputs and outputs, but this is really fine. 24

Result of install to deploymentclient.conf etc/system/local/deploymentclient.conf: [deployment-client] clientname=prod_cs_apache_lnx12345 Key: ProducLon- splunk _ index _ applicalon1 _ applicalonz _ hostname 25

Example serverclass.conf # apache [serverclass:forwarders_apache] whitelist.0 = *_apache_* [serverclass:forwarders_apache:app:test_apache] appfile=empty_app [serverclass:forwarders_apache:app:all_apache_inputs] 26

Example Apache inputs configuralon Set up a normal deployment app (all_apache_inputs/local/ inputs.conf) for apache, like: # these are the apache log files to monitor: [monitor:///var/log/httpd/*access*log] sourcetype=apache [monitor:///var/log/httpd/*error*log] sourcetype=apache_error 27

Example serverclass.conf # indexz default index [serverclass:z_forwarders] restartsplunkd=true whitelist.0=*_indexz_* [serverclass:z_forwarders:app:indexz_default_inputs] 28

Example default index definilon etc/deployment- apps/indexz_default_inputs/local/inputs.conf: # default indexz [default] index=indexz 29

Standardized Deployment ConfiguraLon

Deployment Zip or Tar file contents splunkforwarder/ splunkforwarder/etc/ splunkforwarder/etc/apps/ splunkforwarder/etc/apps/all_deploymentclient/ splunkforwarder/etc/apps/all_deploymentclient/local/ splunkforwarder/etc/apps/all_deploymentclient/local/app.conf splunkforwarder/etc/apps/all_deploymentclient/local/deploymentclient.conf splunkforwarder/etc/apps/all_deploymentclient/metadata/ splunkforwarder/etc/apps/all_deploymentclient/metadata/local.meta 31

etc/apps/all_deploymentclient/local/deploymentclient.conf # example deployment config (set your host and port) [deployment-client] phonehomeintervalinsecs = 300 [target-broker:deploymentserver] targeturi= splunk-deploy.your.org:9089 32

Deploying This ConfiguraLon Distribute the archive file to the installing host (part of the script) Untar or unzip the archive into the etc/apps directory On startup of Splunk this file is read in, then the deployment server is contacted for the rest of the configuralon files, including the outputs.conf, etc. The deployment server can be idenlfied by DNS or IP address, just make sure it is reachable in the same way by all hosts 33

IntegraLng with CMDB

What Is Involved? Required: CMDB API or Database with ConfiguraLon Items Custom web page that calls API or Database query Can be very simple (see the example) On Linux/AIX it can be accessed with wget On Windows not currently supported in script looking for oplons 35

Example script: cmdb.php?host=hostname <?PHP $hostname = $_GET['host']; $cmd = sprintf("echo \"select count(*) from cmdb_itsm_config_item where ci_name = '%s'\" mysql h cmdb-host -u user -ppassword cmdb", $hostname); exec ($cmd,$output); echo $output[1];?> 36

Upgrading Via the InstallaLon Scripts

UpdaLng configuralons An upgrade to using this method can be performed using this same script. Symlink the installalon script on Linux/AIX and it will do an update: ln s forwarderinstall6.sh forwarderupdate6.sh Will not install a new forwarder, just update the configuralon Useful when the forwarder is already installed, but you want to get the configuralon set up the same way. 38

Helpful suggeslons

SuggesLons, Part 1 If you want to make the fewest changes to the scripts: Make applicalons with dashes in names NOT underscores my- app instead of my_app Don t use underscores in hostnames or index names fin- legal instead of fin_legal powershell -ExecutionPolicy ByPass -File splunkinstall.ps1 40

SuggesLons, Part 2 Set up firewall rules so that you can include all hosts accesses as widely as possible Firewall ports: To deployment server (ours is 9089) To indexers (default: 9997) To web server for files access (ours is 80) 41

Watch the install

The Linux InstallaLon in AcLon! 43

Example Install Files

Where Are the Files and What Next? h;ps://app.box.com/splunkufinstallscripts The script files are going to be uploaded soon, with updates following A personal email: splunkinstaller@pe;erb.org 45

QuesLons?

THANK YOU