Forum Index  ViceVersa HOME         FAQ and Knowledge Base

 FAQForum FAQ   SearchSearch Forum  RegisterRegister 
 ProfileProfile   Log inLog in 

Checking VV replication state

 
Post new topic   Reply to topic     Forum Index -> Support
Author Message
Guest






PostPosted: Thu Jan 07, 2010 2:20 pm    Post subject: Checking VV replication state Reply with quote

Hi all,

I have VV running to sync configuration data files between two servers.

Now assume an automated server shutdown procedure, where an application shuts down, and writes an updated config file to memorize its last state. I must ensure that VV replicates this file before the shutdown procedure continues and eventually terminates the ViceVersa process and the operating system.

ViceVersa is configured to run in the background (VVLauncher installed as a service), Replicate on file change, use the Volume Shadow Copy provider.

I am looking for a programmatic way to either

- trigger a ViceVersa replication one last time and get a status back as soon as all files have been successfully replicated, so I can now shut down the server

or

- have ViceVersa check the status of source and target server and report back a state where I can see whether there are file replications pending

Having one of those mechanisms enables me to write my shutdown process so I can either trigger a replication and wait until it went through, or poll the replication state until it says that everything is replicated. Either mechanism would give me what I want.

How can I achieve this?

Thanks

Armin.
Back to top
TGRMN Software
Site Admin


Joined: 10 Jan 2005
Posts: 8759

PostPosted: Fri Jan 08, 2010 1:44 am    Post subject: Reply with quote

Hello

You could create a script that shuts down the application, which then runs a ViceVersa profile (using the command line) and which finally shuts down the server.

thanks
_________________
--
TGRMN Software Support
http://www.tgrmn.com
http://www.compareandmerge.com
Back to top
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> Support All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © phpBB Group
Copyright © TGRMN Software. TGRMN Software products: