If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Sybase > Replication Server

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-28-11, 05:12
gopalmpawar gopalmpawar is offline
Registered User
 
Join Date: May 2011
Location: Pune
Posts: 16
Replication Server

How to identify database is primary or replicated? is there any procedure?
Reply With Quote
  #2 (permalink)  
Old 06-28-11, 12:25
sybanva sybanva is offline
Registered User
 
Join Date: Aug 2010
Location: India
Posts: 23
This is simplest observation for Primary database.

Primary database always has rep agent running.

You can check , rep agent is configured for adatabase or not, by executing sp_config_rep_agent.

You can check rep agent is running for configured database as

sp_help_rep_agent "dbname","process"
go

If its reporting spid , it means rep agent is running and this database will be replicating the tables.

In two way replication, your primary and replicate both databases will be running rep agent and wrt each other you can decide primary and replicate database.

If you still have any query, please let me know. Thanks.
__________________
Thanks,
sybanva
http://sybaseblog.com
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On