0% found this document useful (0 votes)
88 views11 pages

Running Open Ha Cluster With Virtualbox: Combining Technologies To Work

This document discusses running an Open HA cluster using VirtualBox. It provides benefits like low costs and easy setup. Requirements include a laptop with at least 3GB RAM and 80GB disk. A minimal physical cluster is configured with two VirtualBox guest OS instances using heartbeats, weak membership, and shared storage. Features like weak membership, quorum server, and HA ZFS are demonstrated live using a Toshiba laptop, OpenSolaris, and VirtualBox. References for more information are also provided.

Uploaded by

Antonio Scala
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
88 views11 pages

Running Open Ha Cluster With Virtualbox: Combining Technologies To Work

This document discusses running an Open HA cluster using VirtualBox. It provides benefits like low costs and easy setup. Requirements include a laptop with at least 3GB RAM and 80GB disk. A minimal physical cluster is configured with two VirtualBox guest OS instances using heartbeats, weak membership, and shared storage. Features like weak membership, quorum server, and HA ZFS are demonstrated live using a Toshiba laptop, OpenSolaris, and VirtualBox. References for more information are also provided.

Uploaded by

Antonio Scala
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 11

Running Open HA Cluster with

VirtualBox
Combining technologies to work

Thorsten Früauf
Technical Lead Project Colorado

31st May 2009,


San Francisco, California, USA
Agenda
Benefits
Requirements
Description of the configuration
Features and Technologies used
Live Demo with Tips & Tricks
References

2
Benefits
Low costs
Easy to setup, fast to deploy
Mobility
Development and test environment in one go
Easy to manage multiple versions (OS, cluster)
Open Source
Great for training, demos and show cases
For developers, admins and field engineers
3
Requirements
Laptop (or any other x86/x64 based system)
at least 3GB main memory
at least 80 GB disk space
dual core CPU useful
OpenSolaris 2009.06 runs on it (→ HCL)
Network connection to the OpenSolaris repository
(or to a mirror)

4
Minimal physical Cluster
IPS package Heartbeats
over VNICs external ping
repositories targets
Weak
Membership

Monitoring

HA Failover Service

Application failover
local Storage ● IP address failover
exported as iSCSI ● HA ZFS failover
targets
Failover ZFS File
system mirroring
iSCSI targets

5
Network Configuration

Laptop VirtualBox guest


vorlon os-ohac-1
OpenSolaris 2009.06 OpenSolaris 2009.06
vnic12 e1000g0

vnic14 e1000g1 clprivnet0

e1000g0 NAT vnic11 etherstub1


VirtualBox guest
os-ohac-2
OpenSolaris 2009.06
vnic15 e1000g1 clprivnet0

vnic13 e1000g0

6
Storage Laptop vorlon

VBox Guest VBox Guest


Configuration os-ohac-1
Mirrored
os-ohac-2

Zpool

iSCSI traffic over iSCSI iSCSI


clprivnet Initiator Initiator

iSCSI iSCSI
Target Target

Local Local
rpool rpool
Disk Disk

OS-b111b-OHAC-b10-1.vdi

OS-b111b-OHAC-b10-2.vdi

OS-OHAC-1-localdisk.vdi OS-OHAC-2-localdisk.vdi 7
Useful Features in the virtual world
Weak Membership COMSTAR / iSCSI
Software Quorum IPsec
Quorum Server Crossbow
Optional Fencing IPS
HA ZFS VirtualBox

8
Live Demo
Toshiba M10
4 GB main memory
160 GB hard disk
OpenSolaris 2009.06
Open HA Cluster 2009.06
VirtualBox 2.2.2

9
References
White Paper: Open HA Cluster on OpenSolaris
http://opensolaris.org/os/project/colorado/files/Whitepaper-
OpenHAClusterOnOpenSolaris-external.pdf

Project Colorado:
http://opensolaris.org/os/project/colorado/

Solaris Cluster Blog


http://blogs.sun.com/SC

Other Cluster ↔ VirtualBox use-cases:


http://blogs.sun.com/mramcha/entry/followup_solaris_cluster_on_a
http://www.sun.com/bigadmin/jsp/descFile.jsp?url=descAll/building_a_solaris_
http://blogs.sun.com/Hartmut/entry/sc3_2_1_06_under

10
Thank You!
Questions?
Thorsten Früauf
[email protected]
http://blogs.sun.com/tf

31st May 2009,


San Francisco, California, USA

You might also like