Sonatype Nexus Professional



Similar documents
NeXUS REPOSITORY managers

Agenda. Enterprise Application Performance Factors. Current form of Enterprise Applications. Factors to Application Performance.

StruxureWare TM Data Center Expert

EMC DATA DOMAIN OPERATING SYSTEM

EMC DATA DOMAIN OPERATING SYSTEM

QNAP in vsphere Environment

Distribution One Server Requirements

Deploying and Optimizing SQL Server for Virtual Machines

DeployStudio Server Quick Install

How To Backup A Virtualized Environment

(Scale Out NAS System)

29/07/2010. Copyright 2010 Hewlett-Packard Development Company, L.P.

STORAGE CENTER. The Industry s Only SAN with Automated Tiered Storage STORAGE CENTER

Windows Server Performance Monitoring

InterWorx Clustering Guide. by InterWorx LLC

Moving Virtual Storage to the Cloud

Managing your Red Hat Enterprise Linux guests with RHN Satellite

Global Server Load Balancing

Selling Virtual Private Servers. A guide to positioning and selling VPS to your customers with Heart Internet

Establishing Environmental Best Practices. Brendan Flamer.co.nz/spag/

SAN/iQ Remote Copy Networking Requirements OPEN iscsi SANs 1

High Performance Computing. Course Notes High Performance Storage

Hyper-V over SMB Remote File Storage support in Windows Server 8 Hyper-V. Jose Barreto Principal Program Manager Microsoft Corporation

The Benefits of Utilizing a Repository Manager

Virtual Server and Storage Provisioning Service. Service Description

Storage Sync for Hyper-V. Installation Guide for Microsoft Hyper-V

Deploying F5 BIG-IP Virtual Editions in a Hyper-Converged Infrastructure

Cloud Gateway. Agenda. Cloud concepts Gateway concepts My work. Monica Stebbins

Moving Virtual Storage to the Cloud. Guidelines for Hosters Who Want to Enhance Their Cloud Offerings with Cloud Storage

Panorama PANORAMA. Panorama provides centralized policy and device management over a network of Palo Alto Networks next-generation firewalls.

High Availability and Clustering

ENTERPRISE STORAGE WITH THE FUTURE BUILT IN

Deployment Guide. How to prepare your environment for an OnApp Cloud deployment.

TECHNICAL PAPER. Veeam Backup & Replication with Nimble Storage

Introduction 1 Performance on Hosted Server 1. Benchmarks 2. System Requirements 7 Load Balancing 7

Minimum Hardware Configurations for EMC Documentum Archive Services for SAP Practical Sizing Guide

All-Flash Arrays Weren t Built for Dynamic Environments. Here s Why... This whitepaper is based on content originally posted at

10GbE Ethernet for Transfer Speeds of Over 1150MB/s

Integration in Practice

Cisco Active Network Abstraction Gateway High Availability Solution

E4 UNIFIED STORAGE powered by Syneto

Remote PC Guide Series - Volume 1

NEC Corporation of America Intro to High Availability / Fault Tolerant Solutions

Best Practices for Virtualised SharePoint

WHITEPAPER: Understanding Pillar Axiom Data Protection Options

Managing the Real Cost of On-Demand Enterprise Cloud Services with Chargeback Models

Overview of I/O Performance and RAID in an RDBMS Environment. By: Edward Whalen Performance Tuning Corporation

Westek Technology Snapshot and HA iscsi Replication Suite

Configuration Guide: Best Practices with HP Storage and Veeam

Drobo How-To Guide. Use a Drobo iscsi Array as a Target for Veeam Backups

Datto Whitepaper: Business Continuity Built from the Ground Up. Business Continuity Built from the Ground Up THE ONLY CONTINUITY

Silver Peak Virtual Appliances

VMware vsphere Design. 2nd Edition

THE CLOUD STORAGE ARGUMENT

Stratusphere Solutions

DATA PROGRESSION. The Industry s Only SAN with Automated. Tiered Storage STORAGE CENTER DATA PROGRESSION

Running VirtualCenter in a Virtual Machine

Nimble Storage for VMware View VDI

Appendix A Core Concepts in SQL Server High Availability and Replication

The Microsoft Large Mailbox Vision

PANORAMA. Panorama provides centralized policy and device management over a network of Palo Alto Networks next-generation firewalls.

StarWind iscsi SAN: Configuring Global Deduplication May 2012

StruxureWare TM Center Expert. Data

HP and Mimosa Systems A system for archiving, recovery, and storage optimization white paper

Best Practices for Monitoring Databases on VMware. Dean Richards Senior DBA, Confio Software

EMC SYNCPLICITY FILE SYNC AND SHARE SOLUTION

VMware Virtual Machine File System: Technical Overview and Best Practices

Laserfiche Hardware Planning and Specifications. White Paper

RAID Utility User s Guide Instructions for setting up RAID volumes on a computer with a MacPro RAID Card or Xserve RAID Card.

Data Sheet: Storage Management Veritas CommandCentral Storage 5.1 Centralized visibility and control across heterogeneous storage environments

Outline. Introduction Virtualization Platform - Hypervisor High-level NAS Functions Applications Supported NAS models

Accenture Cloud Enterprise Services

Enterprise Edition. Hardware Requirements

HP2-K33. Selling HP Enterprise Storage Solutions Exam.

WOS Cloud. ddn.com. Personal Storage for the Enterprise. DDN Solution Brief

VMware View Design Guidelines. Russel Wilkinson, Enterprise Desktop Solutions Specialist, VMware

SAN vs. NAS: The Critical Decision

ALTIRIS Package Server

IP SAN Best Practices

Optimizing Backup and Data Protection in Virtualized Environments. January 2009

The functionality and advantages of a high-availability file server system

Introduction to Gluster. Versions 3.0.x

Nexus Professional Whitepaper. Repository Management: Stages of Adoption

Software to Simplify and Share SAN Storage Sanbolic s SAN Storage Enhancing Software Portfolio

Seagate NAS OS 4 Reviewers Guide: NAS / NAS Pro / Business Storage Rackmounts

Virtual SAN Design and Deployment Guide

High Availability Essentials

Solution for private cloud computing

VIDEO SURVEILLANCE WITH SURVEILLUS VMS AND EMC ISILON STORAGE ARRAYS

EMC Integrated Infrastructure for VMware

Acronis Backup & Recovery for Mac. Acronis Backup & Recovery & Acronis ExtremeZ-IP REFERENCE ARCHITECTURE

(Formerly Double-Take Backup)

How To Get A Storage And Data Protection Solution For Virtualization

Deduplication on SNC NAS: UI Configurations and Impact on Capacity Utilization

Scala Storage Scale-Out Clustered Storage White Paper

VMware vsphere 5.0 Boot Camp

HP LeftHand SAN Solutions

Infrastructure solution Options for

High Availability with Windows Server 2012 Release Candidate

Optimizing Large Arrays with StoneFly Storage Concentrators

Transcription:

DATASHEET Sonatype Nexus Professional Deployment Guidelines Many organizations have successfully deployed the Sonatype Nexus TM Professional (Nexus Pro) repository manager. While the system design and architecture might seem difficult at first, it s quite straightforward so long as you follow a few basic guidelines. This document provides guidance and tips we ve learned after years of helping customers successfully deploy Nexus Pro. Follow these guidelines and you ll be successful too. If you need additional help, please don t hesitate to contact us at www.sonatype.com/ contact-us. Summary of Deployment Guidelines 1. Have at least one repository manager in each location that has a CI system, a release manager or more than a handful of developers. 2. Locate the hosted repository for each project near the artifact producers. 3. Consider the underlying networking infrastructure when deciding how to configure proxy repositories. 4. You may need to make a trade off between repository control and performance. 5. Implement a highly available configuration when you need to ensure the repository is always available. 6. Utilize the enhanced proxy feature in Nexus 2.x to scale your proxy architecture. 7. Utilize either physical or virtual machines as both work well with Nexus. Detailed Deployment Guidelines Where to Locate Repository Managers The first thing to decide is where to locate repository managers. The answer depends on several factors as outlined in this section. The Types and Number of Users at Each Location: This is the primary criterion for determining repository locations. We strongly recommend locating a repository manager in each office that has a CI system, release manager or more than a handful of developers. Artifact Production The geographic dispersion of producers is important because it dictates whether you should use a federated or star pattern of hosted repositories. Each project should have one master hosted repository where artifacts are staged and deployed. Other repositories will be configured as read-only proxies of this master. The master

repository for each project is typically co-located with the producers for that project. Typically release managers and CI servers produce artifacts. Star Pattern We recommend a star pattern when all of the producers in your organization are at the same location. You ll deploy a single master repository for the entire enterprise collocated with the producers, and proxy repositories at other locations. Federated Pattern We recommend a federated pattern when you have producers at multiple locations. You ll deploy a master hosted repository at each location with producers and proxy repositories at locations with just artifact consumers. Configuring Proxy Repositories Once you ve decided where to locate repositories, the next step is to determine how to configure your proxies. This is influenced by the network infrastructure and Internet connectivity, as well as the degree of control you need to exercise over component usage. Networking Infrastructure The underlying data networking infrastructure will impact the proxy configuration. You need to be sure that it can handle the expected data traffic both between repositories and between repositories and users. If you have a star networking topology that requires all data traffic to go through a central location, then you probably will want to create a proxy repository in the central location. Remote offices will not proxy directly with each other, but rather through the intermediate proxy. On the other hand, if you have fast network connections between all your offices, then you can set up direct proxies between locations as needed without worrying about the underlying infrastructure. Internet Connectivity For maximum performance, configure the local repository manager to proxy for The Central Repository directly if the location has a direct Internet connection. On the other hand, if the location accesses the Internet over an enterprise WAN, then you will probably want to proxy The Central Repository indirectly through another repository that does have a direct Internet connection. Component Management vs. Performance The relative importance of component management versus performance will impact the proxy configuration. You ll get the best performance by locating hosted repositories closest to producers, and locally proxying all other repositories, including The Central Repository. For maximum performance, each location with an adequate Internet connection should proxy The Central Repository directly because it is globally load balanced and artifacts will be fetched from the fastest The Central Repository server based on the proxy repository s location. However, if you need to control which open source components are available to developers then you ll want to create a centrally managed proxy repository for The Central Repository. You can use the Procurement Suite along with Insight for Nexus to ensure this repository only has approved components that are free of license or security issues. Each location should have a local proxy of this controlled repository which developers will use to acquire approved open source components. High Availability When your development teams are working on mission critical projects that cannot suffer a delay, you ll want to design the architecture to ensure high availability. The architectures described in this section work best with the enhanced proxy capability available in Nexus Professional 2.x and later releases. Maven Configuration for High Availability Deploying a highly available (HA) configuration requires the use of separate URLs for reading and writing artifacts. Whether or not you plan to deploy an HA configuration immediately, we recommend configuring Maven to use different host names for the deployment URL (set in the Page 2

POM), and the repository read URL (set in either the Maven settings file or the POM). If you are not yet using an HA configuration, then you can create an alias for your repository with a CNAME record entry in your DNS. By doing this, you ll be able to move to an HA configuration later without requiring changes to your developer s Maven environment. High Availability for Reading Artifacts The following configuration ensures that components are always available for consumption using Active/ Active reads with load balancing. The release manager or CI Server continues to publish components directly to the master repository. Nexus 2 Write Nexus 3 Read Release Manager or CI Server Master R1 Figure 1. The highly available read configuration ensures artifacts are always available for consumption. You ll need two or more Nexus repository managers and a load balancer. Most users deploy 3 such servers. (Please remember that your Nexus license includes unlimited servers at no additional cost) The Nexus master contains the hosted repositories. The other two (or more) Nexus repository managers are configured as proxy repositories of the master. The load balancer sits in front of the proxy repository managers and balances the read load between them. Deployed artifacts are written directly to the hosted master repository. This configuration provides a robust solution for ensuring that artifacts are always available for reading. This is the most important function to protect as the read load typically outweighs the write load by many orders of magnitude (thousands of developers are typically reading, only a very small set are writing). High Availability for Creating Artifacts The following configuration will increase the availability of repository writes by using redundant, stand-by servers backed by a highly available file system. Repository Master Write Backup Release Manager or CI Server Backup Highly Available Storage (Customer provided) Page 3 Figure 2. The highly available write configuration ensures the repository is always available for deploying artifacts.

You ll need to configure two (or more) Nexus servers identically, sharing the same file system. Only one Nexus repository manager can be active at a time. The backup will utilize the same configuration files and point to the same repositories as the master. The file system should be highly available using an off-the-shelf solution. When fails, backup must be activated through a configuration change. An IP switch (or similar device) enables clients to continue using the same Name/IP address for the Nexus server. You can combine the two high availability approaches to create a system that provides high availability for both reads and writes. Scale Your Proxy Infrastructure with Smart Proxy Large-scale, multi-site deployments of proxy repositories may overload master repositories using the traditional proxy mechanism. Nexus Pro 2.x includes an enhanced proxy that scales to support the largest deployments by pushing component update notifications from the master repository. We recommend enabling the Smart Proxy feature when utilizing snapshot repositories. You should also ensure the timeouts are set at the default value of 1440 minutes (24 hours). This will reduce the load on your master repository while still ensuring that the most recent snapshots are available immediately around your organization. Nexus 2 London Nexus 3 Build/CI Update notifications pushed Consume New York Master R1 Nexus 4 Bangalore San Jose Figure 3. The smart proxy functionality in Nexus Pro 2.x scales for the largest proxy architectures by pushing update notifications from the master. Page 4

Virtual or Physical Machine Nexus supports both physical and virtual machines equally well as it doesn t require a lot of CPU or RAM to work effectively. At Sonatype, we ve moved all of our managed forges over to virtual machines with the following specifications: 2 CPUs 3GB RAM 400GB disk (this is completely dependent on your repository contents) RHEL 5.6 x64 (Contegix, our managed hosting service, recommends using this OS) Java 1.6 x64 with 1GB Heap The virtual disk is located on a SAN connected with iscsi over 1GBE For I/O performance, we recommend a redundant solution that maximizes disk spindles, while maintaining fault tolerance. We use RAID 50 in our SAN. A RAID 50 combines the straight block-level striping of RAID 0 with the distributed parity of RAID 5. It is a RAID 0 array striped across RAID 5 elements. It requires at least 6 drives. These systems serve requests on the order of 1,400-2,500 requests per minute. Above that, the systemntypically needs to scale up in terms of network and IO optimization. Increasing the number of CPUs and amount of RAM can typically help as well. We do not recommend using NFS to mount a virtual disk or the working folder as many customers have had trouble with locking and corrupted indexes. iscsi is working very well for us and for many of our customers. Additional assistance available in the Nexus Community at www.sonatype.org/nexus Please visit our community for easy access to support from us or your peers, product updates, insights from Nexus experts, free training and books, forums and much more. Every day, developers rely on millions of third party and open source building blocks known as components to build the software that runs our world. Sonatype ensures that only the best components are used throughout the software development lifecycle so that organizations don t have to make the tradeoff between going fast and being secure. Policy automation, ongoing monitoring and proactive alerts makes it easy to have full visibility and control of components throughout the software supply chain so that applications start secure and remain that way over time. Sonatype is privately held with investments from New Enterprise Associates (NEA), Accel Partners, Bay Partners, Hummer Winblad Venture Partners and Morgenthaler Ventures. Visit: www.sonatype.com Sonatype Inc. 8161 Maple Lawn Blvd, Suite 250 Fulton, MD 20759 1.877.866.2836 www.sonatype.com 2013. Sonatype Inc. All Rights Reserved.