Skip to main content
Summary This article explains how to set up a cluster in an Orbix environment.
Article Number 28204
Environment Orbix 6.3 All Supported Operating Systems
Question/Problem Description Does Orbix 6.3 support cluster environments?
How to set up a cluster in an Orbix environment?
Clarifying Information A cluster is a group of two or more machines, in which the following applies:
  • Each machine has its own hostname.
  • There is also a virtual hostname/IP address, but this is assigned to only one machine at a time.
  • A shared disk drive can be mounted by only one machine at a time.
A cluster is a means of providing failover. Software, configuration files, databases, and so on, can be stored on the shared disk. While server applications always advertise themselves using the virtual hostname.
Clustering software is used to monitor the health of software running on the active computer. If something goes wrong, a failover is made to another computer in the cluster.
Error Message
Defect/Enhancement Number
Cause
Resolution Configure a multi-homed Orbix host
On the currently active machine in the cluster, install Orbix on the shared disk, and run the following command:
itconfigure -multihome virtual-hostname
This configures Orbix services such as the locator for use on a multi-homed host.

Configure your Orbix applications as multi-homed
To use a multi-homed hostname with Orbix applications you have written, specify values for the following configuration variables in your application configuration scope:
  • policies:iiop:client_address_mode_policy:local_hostname
  • policies:iiop:server_address_mode_policy:local_hostname
This instructs your applications listening on random ports to use the specified hostname.

Write shell scripts for Orbix services and applications
  • Write shell scripts that do the following:
  • Start Orbix services and user-written Orbix server applications.
  • Stop your Orbix server applications and Orbix services.
  • Check the health of Orbix services and Orbix server applications (for example, using ps and grep).
Register your shell scripts
Finally, you must register your Orbix shell scripts with the clustering software used in your environment.

For further details please see:
Orbix Deployment Guide, chapter "Advanced Configuration and deployment"
Workaround
Notes
Attachment
Created date: 31 January 2012
Last Modified: 13 February 2013
Last Published: 12 May 2012
First Published date: 31 January 2012

#KnowledgeDocs
#Orbix