Solved

Veritas Cluster Question

Posted on 2013-11-03
4
427 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 19

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 19

Accepted Solution

by:
simon3270 earned 500 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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Suggested Solutions

If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
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 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.

809 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