Skip to content

Latest commit

 

History

History
54 lines (34 loc) · 1.92 KB

DESIGN.md

File metadata and controls

54 lines (34 loc) · 1.92 KB

AZURE_PING

Author: Radoslav Husar

Version: June 2015

Goal

Goal is to provide efficient discovery implementation for Microsoft Windows Azure environment besides options such as JDBC_PING. It is based on blob storage.

Usage

To use AZURE_PING add the implementing protocol, org.jgroups.protocols.AZURE_PING, to the stack and configure the following properties needed to authenticate and use the Azure Storage service:

  • storage_account_name - the name of the storage account
  • storage_access_key - the secret access key
  • container - the name of the container to use for PING data

To find out these values, do the following:

  1. Navigate to the Azure management portal at https://manage.windowsazure.com/
  2. Create new storage service via NEW → DATA SERVICES → STORAGE → QUICK CREATE and provide desired configuration
  3. Navigate to STORAGE → (storage account name) → MANAGE ACCESS KEYS

Described as of Azure console version June 2015.

Design

Just like other cloud-based PING protocols, the implementation is based on the original FILE_PING. All ping information is stored in the configured storage container. If a container with that name does not exist, it will be automatically created.

Within the container, ping data is stored in flat files with names constructed as: FILENAME = CLUSTER_NAME + "-" + ADDRESS

The Azure client is embedded in the protocol implementation. The client itself uses a REST client underneath.

Resources