Managing V2 Backups and Application Data

V2Master | V2HighLevelDesign

Introduction

This sections describes:

  1. How application data (e.g. all application data and state) for individual V2 applications are managed
  2. How backups for individual V2 applications are managed
  3. How backups for VMs are managed

Definitions

  1. Application - An application that manages its state in a database and a set of data files

  2. VM - A virtual machine, in which supporting services and application are run

    1. One or more Applications run on a VM, limited by the capacity of the VM

  3. Host System - A hardware/software platform supporting a set of services and application VMs

    1. One or more VMs run on a Host System, limited by the capacity of the Host System

  4. Service - A host or network service that supports Applications and their underlying infrastructure (see Services)

The entire infrastructure can be scaled by adding additional VMs and Host Systems

Services

Each Host System must have:

  1. DNS server in a VM that resolves the internal names and IP address of the VMs

  2. forwarding-only DNS server that forward DNS requests to the DNS server VM

  3. rinetd daemon that forwards incoming TCP traffic to the appropriate VM based on the port number. Typically

    1. All web traffic (ports 80 and 443) is forwarded to the Reverse Proxy server

    2. Note that DNS traffic, which uses both TCP and UDP protocols, is managed by the Host System's forwarding-only DNS server
    3. If the Host System has a VM with a Puppet server then port 8140 is forwarded to it
  4. Reverse Proxy, an Apache module in a web server VM, that forward web requests to the appropriate VM based on the hostname in the HTTP request

Application Data Management

Application Directory structure

Backup Directory Structures

Application Backup Directories

VM Backup Directories

Backup Server Backup Directories

Copyright 2008-2014, SoftXS GmbH, Switzerland