Solved

RedHat Cluster Suite question

Posted on 2012-04-06
8
562 Views
Last Modified: 2012-08-13
Hi,

Please provide a tested way to get the a node out of  RedHat Cluster Suite and then put it back.

Thanks.
0
Comment
Question by:g0all
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 3
8 Comments
 
LVL 78

Expert Comment

by:arnold
ID: 37817983
Which RedHat OS do you have 4,5,6?

Are you looking for the graphical or command line?

Graphical, you would access the GUI Cluster manager from and on the active node and delete the passive node.
0
 
LVL 1

Author Comment

by:g0all
ID: 37818429
Hi Arnold,

It's RHEL 5. I'm looking for CLI commands.
0
 
LVL 78

Accepted Solution

by:
arnold earned 500 total points
ID: 37818840
http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5/html-single/Cluster_Administration/index.html#s1-admin-manage-nodes-conga-CA

5.5.3.1. Removing a Member from a Cluster at the Command-Line
clusvcadm -r cluster_service_name -m cluster_node_name
Transfer all from the node you want to remove first
Stop all cluster related services on the node you want to remove
Disable the cluster related services from starting using chkconfig servicename off
Now to remove node
ccs_tool delnode cluster_node_name

Oops, how important is the tested part of your question as it relates to the command line described above?
Used the GUI to perform the setup/adjustments.
0
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 
LVL 1

Author Comment

by:g0all
ID: 37819419
I've had the documentation, but from my experience not sure the documentation covers everything, that's why I asked for experience.

Thing is I have to do it on production with no GUI.
0
 
LVL 78

Expert Comment

by:arnold
ID: 37819437
As long as the production system have the graphical libraries installed, you could ssh -X user@production
And the send the GUI interface through the X11 tunnel of the sash connection back to the X server on the system from which you initiate a connection.
0
 
LVL 1

Author Comment

by:g0all
ID: 37819439
Thanks arnold, but situation is much complicated. I have no X installed and cannot switch runlevels due permission issues.

I have to use what I have now, the CLI.
0
 
LVL 78

Expert Comment

by:arnold
ID: 37819454
I'm not talking about changing run levels on the production system.  How are you accessingtheoroduction system to effect the changes? Are you on console, are are you remoting in using ssh?

The ccs_tool have -c sourced isle -o outputfile delnode nodetoremove that you can test by copying the current cluster.conf to another location and then run the command  using the different location such that the live cluster.conf is not altered.  Unfortunately it sounds that you do not have a test environment where you can test this.
0
 
LVL 78

Expert Comment

by:arnold
ID: 37819649
ccs_tool help


Note that "create" on its own will not create a valid configuration file.
Fence agents and nodes will need to be added to it before handing it over
to cman.

eg:
  ccs_tool create MyCluster
  ccs_tool addfence apc fence_apc ipaddr=apc.domain.net user=apc password=apc
  ccs_tool addnode node1 -n 1 -f apc port=1
  ccs_tool addnode node2 -n 2 -f apc port=2
  ccs_tool addnode node3 -n 3 -f apc port=3
  ccs_tool addnode node4 -n 4 -f apc port=4



instead of addnode, you would use delnode and the node will be removed from the cluster.conf. file

Test this where cluster is not running as a test to see whether changes to the cluster.conf will be done.
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
lunix and unix command 21 120
Upgraded from Debian 7 to 8.7 and got black screen 20 99
Linux MD5 Hash 7 66
Exchange Server Send connector and DNS Round Robin ? 6 49
Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question