?
Solved

Veritas Cluster Question

Posted on 2013-11-03
4
Medium Priority
?
441 Views
Last Modified: 2013-11-06
I have a question regarding verits cluster,  in the main.cf, we put as this  so when service group starts, it will start on node1.

SystemList = {  node1=1, node2=1, node3=2 }


If  the service group is failover  node2 and if if it fauled on node2,  how do we know where that service group was running?

Basically, how do we find where service group was running except the default node.
0
Comment
Question by:mokkan
  • 2
  • 2
4 Comments
 
LVL 20

Expert Comment

by:simon3270
ID: 39621529
hastatus will show the current location of the service group (for example, for ClusterService the current node is node2, the line with "ONLINE").
[root@node1 ~]# hastatus -sum

-- SYSTEM STATE
-- System               State                Frozen

A  node1                RUNNING              0
A  node2                RUNNING              0

-- GROUP STATE
-- Group           System               Probed     AutoDisabled    State

B  ClusterService  node1                Y          N               OFFLINE
B  ClusterService  node2                Y          N               ONLINE
[root@node1 ~]# 

Open in new window

0
 

Author Comment

by:mokkan
ID: 39621539
You are right. How do I find where that service group was running before?
0
 
LVL 20

Accepted Solution

by:
simon3270 earned 2000 total points
ID: 39621918
I think you are going to have to look in the VC logs.

For example,
    halog -cache
on my system writes a lot of log entries, inclusing things like:
    VCS NOTICE V-16-1-10447 Group ClusterService is online on system node1
0
 

Author Comment

by:mokkan
ID: 39628394
ah ok thank a lot.
0

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Question has a verified solution.

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

Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
I have written articles previously comparing SARDU and YUMI.  I also included a couple of lines about Easy2boot (easy2boot.com).  I have now been using, and enjoying easy2boot as my sole multiboot utility for some years and realize that it deserves …
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…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Suggested Courses
Course of the Month4 days, 16 hours left to enroll

601 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