Zahid,
Suggested reading:
Veritas Volume Replicator 5.0MP3 Linux Administrator's guide -> Transferring the Primary
https://sort.symantec.com/public/documents/sf/5.0MP3/linux/html/vvr_admin/ch08.htm
or https://d1mj3xqaoh14j0.cloudfront.net/public/documents/sf/5.0MP3/linux/pdf/vvr_admin.pdf (p239)
Particularly the sections:
Taking over from an original Primary (p247)
https://sort.symantec.com/public/documents/sf/5.0MP3/linux/html/vvr_admin/ch08s03.htm
--------------------
The takeover procedure involves transferring the Primary role from an original Primary to a Secondary. When the original Primary fails or is destroyed because of a disaster, the takeover procedure enables you to convert a consistent Secondary to a Primary. The takeover of a Primary role by a Secondary is useful when the Primary experiences unscheduled downtimes or is destroyed because of a disaster.
--------------------
Failing back to the original Primary (p255)
https://sort.symantec.com/public/documents/sf/5.0MP3/linux/html/vvr_admin/ch08s04.htm
--------------------
After an unexpected failure, a failed Primary host might start up to find that one of its Secondaries has been promoted to a Primary by a takeover. This happens when a Secondary of this Primary has taken over the Primary role because of the unexpected outage on this Primary. The process of transferring the role of the Primary back to this original Primary is called failback.
--------------------
Also: Veritas Cluster Server Agents for Veritas Volume Replicator Configuration Guide (5.0MP3 Linux)
https://sort.symantec.com/public/documents/sf/5.0MP3/linux/html/vvr_agents_config/index.html
https://d1mj3xqaoh14j0.cloudfront.net/public/documents/sf/5.0MP3/linux/pdf/vvr_agents_config.pdf
(probably start at Overview of how to configure VVR in a VCS environment, and work from there)
For other versions/platforms, as always, look for the relevant documents on http://sort.symantec.com/documents - the concepts / overall procedures are basically the same though.