Solved

Linux Cluster

Posted on 2013-12-25
9
492 Views
Last Modified: 2014-01-19
[root@node1 ~]# ccs -h node1 --getconf
Cluster.conf file specified is not a valid cluster.conf file (use -i to ignore this error)
0
Comment
Question by:ittechlab
9 Comments
 
LVL 76

Expert Comment

by:arnold
ID: 39739422
Please post your configs.

Are you initiating a setup or trying to add this node into an existing cluster?
0
 

Author Comment

by:ittechlab
ID: 39739426
[root@node1 ~]# cat /etc/cluster/cluster.conf
<?xml version="1.0"?>
<cluster config_version="13" name="rnd">
        <clusternodes>
                <clusternode name="node1.toronto.com" nodeid="1">
                        <fence>
                                <method name="xvm">
                                        <device domain="node1" name="xvm"/>
                                </method>
                        </fence>
                </clusternode>
                <clusternode name="node2.toronto.com" nodeid="2">
                        <fence>
                                <method name="xvm">
                                        <device domain="node2" name="xvm"/>
                                </method>
                        </fence>
                </clusternode>
                <clusternode name="node3.toronto.com" nodeid="3">
                        <fence>
                                <method name="xvm">
                                        <device domain="node3" name="xvm"/>
                                </method>
                        </fence>
                </clusternode>
        </clusternodes>
        <fencedevices>
                <fencedevice agent="fence_xvm" name="xvm"/>
        </fencedevices>
        <rm>
                <failoverdomains>
                        <failoverdomain name="prefer_node1" ordered="1" restricted="1">
                                <failoverdomainnode name="node1.toronto.com" priority="1"/>
                                <failoverdomainnode name="node2.toronto.com" priority="2"/>
                                <failoverdomainnode name="node3.toronto.com" priority="3"/>
                        </failoverdomain>
                </failoverdomains>
                <resources>
                        <fs device="/dev/mapper/clusterstoragep1" fsid="49557" fstype="ext4" mountpoint="/var/www/html" name="wwwfs" quick_status="on" self_fence="on"/>
                </resources>
        </rm>
</cluster>
0
 

Author Comment

by:ittechlab
ID: 39739427
[root@node1 ~]# ccs -h node1.toronto.com --lsfailoverdomain
Cluster.conf file specified is not a valid cluster.conf file (use -i to ignore this error)

[root@node1 ~]# ccs -h node1.toronto.com --lsservices
Cluster.conf file specified is not a valid cluster.conf file (use -i to ignore this error)
0
 
LVL 37

Expert Comment

by:Gerwin Jansen
ID: 39739460
Hi, what distibution and cluster software are you running?
0
Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 

Author Comment

by:ittechlab
ID: 39739467
how do i check? please let me know.
0
 

Author Comment

by:ittechlab
ID: 39739473
[root@node1 ~]# cman_tool status
Version: 6.2.0
Config Version: 13
Cluster Name: rnd
Cluster Id: 2831
Cluster Member: Yes
Cluster Generation: 44
Membership state: Cluster-Member
Nodes: 3
Expected votes: 3
Total votes: 3
Node votes: 1
Quorum: 2
Active subsystems: 9
Flags:
Ports Bound: 0 11 177
Node name: node1.toronto.com
Node ID: 1
Multicast addresses: 239.192.11.26
Node addresses: 192.168.122.10
0
 
LVL 37

Expert Comment

by:Gerwin Jansen
ID: 39739772
I mean which Linux distribution, Redhad, CentOS or? Including version, what is your goal btw?
0
 

Author Comment

by:ittechlab
ID: 39746734
Redhat
0
 
LVL 13

Accepted Solution

by:
Sandy earned 400 total points
ID: 39761770
Also please check the permission of cluster.conf, sometimes it does causes this kind of issues. Your config file seems file to me :\
0

Featured Post

Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

Join & Write a Comment

Suggested Solutions

You ever wonder how to backup Linux system files just like Windows System Restore?  Well you can use Timeshift in Linux to perform those similar action.  This tutorial will show you how to backup your system files and keep regular intervals. Note…
1. Introduction As many people are interested in Linux but not as many are interested or knowledgeable (enough) to install Linux on their system, here is a safe way to try out Linux on your existing (Windows) system. The idea is that you insta…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
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.

707 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now