Red Hat Cluster Suite: hostname change during cluster failover / service failover

Solution Unverified - Updated -

Issue

We have been asked to support the setup of Red Hat Cluster Suite (RHCS), where the servers hostname will be changed according to the side the service is running.

The service-start-skript would do the following:

  1. change hostname (`hostname <newname>`)
  2. change /etc/hosts accordingly (`cp <some shared location>/hosts /etc/hosts`) 
  3. start the servive

Is this a supported configuration?

Environment

  • Red Hat Cluster Suite (RHCS) 5
  • Red Hat Cluster Suite (RHCS) 6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content