replication startup & shutdown, not yet working