bsa best practices webinars distributed installations · advanced repeaters based on marimba...

27
Sean Berry Customer Engineering BSA Best Practices Webinars Distributed Installations

Upload: others

Post on 04-Jun-2020

0 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: BSA Best Practices Webinars Distributed Installations · Advanced Repeaters Based on Marimba technology Features:-Bandwidth Control-Partial transfers Requirements:-Access back to

Sean BerryCustomer Engineering

BSA Best Practices WebinarsDistributed Installations

Page 2: BSA Best Practices Webinars Distributed Installations · Advanced Repeaters Based on Marimba technology Features:-Bandwidth Control-Partial transfers Requirements:-Access back to

© Copyright 5/11/2013 BMC Software, Inc 2

Overview

Use Cases

Repeaters

Repositories

Proxies

Agenda

Page 3: BSA Best Practices Webinars Distributed Installations · Advanced Repeaters Based on Marimba technology Features:-Bandwidth Control-Partial transfers Requirements:-Access back to

Overview

Page 4: BSA Best Practices Webinars Distributed Installations · Advanced Repeaters Based on Marimba technology Features:-Bandwidth Control-Partial transfers Requirements:-Access back to

© Copyright 5/11/2013 BMC Software, Inc 4

Use Cases

Provisioning - Large payloads that don’t change

Software Deployment- Software installed many times

File / Directory Deployment- Large files

Content Deployment at scale- Web content or many many files

Patch Remediation

Page 5: BSA Best Practices Webinars Distributed Installations · Advanced Repeaters Based on Marimba technology Features:-Bandwidth Control-Partial transfers Requirements:-Access back to

© Copyright 5/11/2013 BMC Software, Inc 5

Distributed Data Center Challenges

Network bandwidth/latency between data centers

Firewalls to prevent/manage internet access

Air‐gapped environments

Overlapping IP networks, Service Provider‐managed networks- Multiple customers, same IP networks- Remote networks- Low‐bandwidth “management” networks

Large (1.5GB+) software packages & patch clusters

Page 6: BSA Best Practices Webinars Distributed Installations · Advanced Repeaters Based on Marimba technology Features:-Bandwidth Control-Partial transfers Requirements:-Access back to

© Copyright 5/11/2013 BMC Software, Inc 6

Where do I configure this?

Page 7: BSA Best Practices Webinars Distributed Installations · Advanced Repeaters Based on Marimba technology Features:-Bandwidth Control-Partial transfers Requirements:-Access back to

Repeaters

Page 8: BSA Best Practices Webinars Distributed Installations · Advanced Repeaters Based on Marimba technology Features:-Bandwidth Control-Partial transfers Requirements:-Access back to

© Copyright 5/11/2013 BMC Software, Inc 8

Repeater Overview

Typical Use Case:- Multiple data centers, typical remote DC has >100 servers, often 1000 or more

- Bandwidth between data centers is not always super‐fast- Software / Patch / Large file deployments

Requires:- Indirect Staging checkbox- Repeater Routing Rules

Page 9: BSA Best Practices Webinars Distributed Installations · Advanced Repeaters Based on Marimba technology Features:-Bandwidth Control-Partial transfers Requirements:-Access back to

© Copyright 5/11/2013 BMC Software, Inc 9

BMC Server Automation (BladeLogic)Repeaters for Remote Networks

CONSOLE

MID

TIER

NODES

Page 10: BSA Best Practices Webinars Distributed Installations · Advanced Repeaters Based on Marimba technology Features:-Bandwidth Control-Partial transfers Requirements:-Access back to

© Copyright 5/11/2013 BMC Software, Inc 10

Job Types

Uses Repeaters:- File Deploy Job- BLPackage (BL)Deploy Job- Software Deploy Job- Compliance Remediation (but not Compliance Audit/Analysis)- Provisioning (deploy jobs)

Doesn’t use Repeaters:- Patching (can’t use Advanced Repeaters)- Snapshot / Audit- Compliant (audit)- Provisioning (initial)

Page 11: BSA Best Practices Webinars Distributed Installations · Advanced Repeaters Based on Marimba technology Features:-Bandwidth Control-Partial transfers Requirements:-Access back to

© Copyright 5/11/2013 BMC Software, Inc 11

Standard Repeaters

Requirements:- NSH installed (install NSH/RSCD vs. just RSCD on UNIX)- 5‐10GB disk space- Reasonable local network performance- Routing Rules

Data flow- App ‐> Repeater ‐> Target

Repeater‐related property commonly used

Typical Routing Rules- By network- By data center

Page 12: BSA Best Practices Webinars Distributed Installations · Advanced Repeaters Based on Marimba technology Features:-Bandwidth Control-Partial transfers Requirements:-Access back to

© Copyright 5/11/2013 BMC Software, Inc 12

Standard Repeater Data Flow

Job ‐> Staging phase

If “Indirect Staging” is checked, and a Repeater Routing Rule is in effect, the Repeater will be used.

App server copies file(s) from file server to Repeater’s staging directory if needed.  (once per Repeater)

Files copy from Repeater staging area to the target server(s).

Job ‐> Commit phase completes same as for a “direct‐staged” deploy.

Page 13: BSA Best Practices Webinars Distributed Installations · Advanced Repeaters Based on Marimba technology Features:-Bandwidth Control-Partial transfers Requirements:-Access back to

© Copyright 5/11/2013 BMC Software, Inc 13

Advanced Repeaters

Based on Marimba technology

Features:- Bandwidth Control- Partial transfers

Requirements:- Access back to core infrastructure- Must be able to resolve DNS name of Advanced File Server- Adv. File Server standup

Config Process:- Stand up AFS- Add AR- Create Routing Rule- Test!

Includes Standard Repeater functionality

Not usable for Patching as of 8.3

Page 14: BSA Best Practices Webinars Distributed Installations · Advanced Repeaters Based on Marimba technology Features:-Bandwidth Control-Partial transfers Requirements:-Access back to

Proxies

Page 15: BSA Best Practices Webinars Distributed Installations · Advanced Repeaters Based on Marimba technology Features:-Bandwidth Control-Partial transfers Requirements:-Access back to

© Copyright 5/11/2013 BMC Software, Inc 15

Proxy Overview

Typical Use Cases:- Any time direct network access isn’t available- “Getting through the fence” / Transiting a gateway- Not for use in true “air‐gapped” environments

Application proxies (SOCKS/HTTP/NSH) vs. “transparent” proxies

Page 16: BSA Best Practices Webinars Distributed Installations · Advanced Repeaters Based on Marimba technology Features:-Bandwidth Control-Partial transfers Requirements:-Access back to

© Copyright 5/11/2013 BMC Software, Inc 16

HTTP Proxy

HTTP- Patch Metadata & Payloads- SQUID, NTLM, NTLMv2- May require explicit hostnames- Offline downloaders

Page 17: BSA Best Practices Webinars Distributed Installations · Advanced Repeaters Based on Marimba technology Features:-Bandwidth Control-Partial transfers Requirements:-Access back to

© Copyright 5/11/2013 BMC Software, Inc 17

SOCKS Proxy

Overlapping IP address networks

SOCKS Demo https://communities.bmc.com/community/bmcdn/bmc_service_automation/server_configuration_automation_bladelogic/blog/2012/11/30/how‐to‐use‐socks‐proxies‐with‐bsa‐to‐deal‐with‐firewalls‐and‐overlapping‐ip‐ranges

Routing rules, proxy rules.  

Page 18: BSA Best Practices Webinars Distributed Installations · Advanced Repeaters Based on Marimba technology Features:-Bandwidth Control-Partial transfers Requirements:-Access back to

© Copyright 5/11/2013 BMC Software, Inc 18

BMC Server Automation (BladeLogic)SOCKS Proxy for Restricted Networks

CONSOLE

MID

TIER

NODES

Page 19: BSA Best Practices Webinars Distributed Installations · Advanced Repeaters Based on Marimba technology Features:-Bandwidth Control-Partial transfers Requirements:-Access back to

© Copyright 5/11/2013 BMC Software, Inc 19

NSH Proxy

NSH- Security tool used to audit & manage direct access to servers- Exports syntax (including subnet)

Logging

Access Control

Appservers ‐> NSH Proxy

Bastion Hosts

Page 20: BSA Best Practices Webinars Distributed Installations · Advanced Repeaters Based on Marimba technology Features:-Bandwidth Control-Partial transfers Requirements:-Access back to

Repositories

Page 21: BSA Best Practices Webinars Distributed Installations · Advanced Repeaters Based on Marimba technology Features:-Bandwidth Control-Partial transfers Requirements:-Access back to

© Copyright 5/11/2013 BMC Software, Inc 21

Remote File Repositories

Typical files:- SQL Server 2008 installer: 2GB, only ~400MB used during install- Large install packages- OS with small staging directories, cf. AIX

Access Methods:- SMB- NFS- URL formations

Caveats:- DMZ- Potentially more than one package to manage

Page 22: BSA Best Practices Webinars Distributed Installations · Advanced Repeaters Based on Marimba technology Features:-Bandwidth Control-Partial transfers Requirements:-Access back to

© Copyright 5/11/2013 BMC Software, Inc 22

Patch Repositories

Provide potentially significantly faster / lower overhead access to payloads

Configure in Catalog Update Job

Local (Primary) Patch Repository

Remote Patch Repository- May use an existing share- NFS or SMB- Local network path to payloads (vs. via central data center)- May be unsuitable for DMZs or security‐sensitive environments

Page 23: BSA Best Practices Webinars Distributed Installations · Advanced Repeaters Based on Marimba technology Features:-Bandwidth Control-Partial transfers Requirements:-Access back to

© Copyright 5/11/2013 BMC Software, Inc 23

“Offline” Downloaders

Acquire Patch Content “external” to the appserver environment

Metadata & Payloads

Internet access elsewhere

Air‐gapped

Page 24: BSA Best Practices Webinars Distributed Installations · Advanced Repeaters Based on Marimba technology Features:-Bandwidth Control-Partial transfers Requirements:-Access back to

© Copyright 5/11/2013 BMC Software, Inc 24

Best Practices Webinars Home

Best Practices Webinars https://communities.bmc.com/communities/docs/DOC‐21692

Date Subject Area30 October 2012 BSA Deployment Architecture4 December 2012 Best Practices for BSA Maintenance and Cleanup8 January 2013 Demonstrating Value with BladeLogic5 February 2013 Best Practices for Patching5 March 2013 Best Practices for Compliance and Change Tracking7 May 2013 BSA for Distributed Installations: Wide Area & Service Provider  Deployment: Repeaters, Proxies and Repositories11 June 2013 BSA RBAC & Access Control: RBAC Best Practices & Use Cases9 July 2013 BSA Reporting: Use Cases, Scalability & Common Custom Reports6 Aug 2013 BSA Provisioning: Setup, Use Cases & BP10 Sep 2013 BSA Software Packaging: Custom Software, OS Platform Packages

Page 25: BSA Best Practices Webinars Distributed Installations · Advanced Repeaters Based on Marimba technology Features:-Bandwidth Control-Partial transfers Requirements:-Access back to

© Copyright 5/11/2013 BMC Software, Inc 25

Learn more at www.bmc.com

Page 26: BSA Best Practices Webinars Distributed Installations · Advanced Repeaters Based on Marimba technology Features:-Bandwidth Control-Partial transfers Requirements:-Access back to

© Copyright 5/11/2013 BMC Software, Inc 26

Page 27: BSA Best Practices Webinars Distributed Installations · Advanced Repeaters Based on Marimba technology Features:-Bandwidth Control-Partial transfers Requirements:-Access back to

© Copyright 5/11/2013 BMC Software, Inc 27

Index

Repeaters- Standard

Reduces duplicate copies over WAN links Copy once to repeater, copy many times over (faster) local link

- Advanced Bandwidth Control

Repositories- Patch Repos

Some platform dependency (Case sensitivity) Patch Helpers

- Remote File/Software “Mount at Install Time” SMB or NFS mount (show sample URLs) Potentially much faster local install No staging required, execute immediately Not usually practical for DMZs

Proxies- HTTP

Patch Metadata & Payloads SQUID, NTLM, NTLMv2 May require explicit hostnames Offline downloaders

- SOCKS https://communities.bmc.com/community/bmcdn/bmc_service_automation/server_configuration_automation_bladelogic/blog/2012/11/30/how‐to‐use‐socks‐proxies‐with‐bsa‐to‐deal‐with‐firewalls‐and‐overlapping‐ip‐ranges

- NSH Security tool used to audit & manage direct access to servers Exports syntax (including subnet)