Solved

Linux Cluster

Posted on 2013-12-25
9
504 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 77

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
Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

 
LVL 37

Expert Comment

by:Gerwin Jansen
ID: 39739460
Hi, what distibution and cluster software are you running?
0
 

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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

If you use Debian 6 Squeeze and you are tired of looking at the childish graphical GDM login screen that is used by default, here's an easy way to change it. If you've already tried to change it you've probably discovered that none of the old met…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

776 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