March 22, 2011 at 4:17 am
Hi,
I will be looking after a new environment soon.
In that, i need to check if any replication, Log Shipping, Mirroring & clustering is configured or not.
I am planning to create a scripts which will give me first hand information about all the above technologies.
I was able to create script for Log Shipping and Mirroring but stucked on Replication part.
i want following information to be extracted :
Publisher Name or IP
Publisher database
Distributor's Name or IP
Distribution database
Article or Articles
Subscriber name or IP
Subscriber database
Replication Type ( Snapshot, Transactional, merge, Peer-to-peer)
Shared Folder etc. any other important .
Thanks in advance.
Chetan
March 22, 2011 at 5:41 am
Some of the information, you can get from the following:
select name, is_distributor, is_publisher, is_subscriber from sys.servers
use distribution
go
select * from MSpublications
select * from MSsubscriptions
select * from MSarticles
-- Shared folder
sp_helpdistributor
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply