Video Screencast Help

Are VCS commands executed on all nodes

Created: 14 Sep 2013 | 7 comments

Moved from post "vcs upgrade" as a separate issue:

When a resource is added from one vcs node with: haconf -makerw hagrp -add groupw hares -add diskgroup haconf -dump -makero Then all the above commands are executed on all vcs nodes.right?had from every vcs nodes using gab knows that now should to execute the above commands. when a new node join to an vcs then all the information regarding nodes,resource group so on are loaded into memory from the remote vcs nodes.right? tnx so much, marius

Operating Systems:

Comments 7 CommentsJump to latest comment

mikebounds's picture

The command issued on one node will result in the config copy held in memory being updated on all nodes, so that all nodes have the same in-memory config containing the newly added resource.

When a new node joins, the config is read from memory from the other nodes.

Mike

UK Symantec Consultant in VCS, GCO, SF, VVR, VxAT on Solaris, AIX, HP-ux, Linux & Windows

If this post has answered your question then please click on "Mark as solution" link below

tanislavm's picture

Hi Mike,

Fine but in the same time the main.cf from every local system disk is updated on every node being executed in every node commands like hares -modify , haconf -makerw,so on.right?

tnx a lot,
marius

mikebounds's picture

When you run" hares -modify", the main.cf on local system disk is not updated, even on the node you run it on.  When you run "haconf -makerw" - the in-memory contents of the VCS config is written to local disk - i.e main.cf and *types.cf.

Mike

UK Symantec Consultant in VCS, GCO, SF, VVR, VxAT on Solaris, AIX, HP-ux, Linux & Windows

If this post has answered your question then please click on "Mark as solution" link below

tanislavm's picture

Hi Mike,

Only a thing.
When a node join to a vcs,and the service which normally runs on this node,runs on a different node in vcs,then after the content of memory from other nodes loads in memory of this node,this node will check if the service is started on other node.So base on this information this node will not start now the service.right?

tnx a lot,
marius

mikebounds's picture

Correct

UK Symantec Consultant in VCS, GCO, SF, VVR, VxAT on Solaris, AIX, HP-ux, Linux & Windows

If this post has answered your question then please click on "Mark as solution" link below

g_lee's picture

correction to post above ( https://www-secure.symantec.com/connect/forums/are... )

haconf -makerw only changes the config to read-write mode.

The config is only written to disk once you issue haconf -dump [-makero]

per man page: https://sort.symantec.com/public/documents/sfha/5....

-makerw

Change VCS to read-write mode, after which changes to the configuration can be made while VCS is running. The configuration must be written back to disk by specifying the -dump option. Otherwise, when VCS stops and restarts later the configuration changes are not effective.

If this post has helped you, please vote or mark as solution