• Embed Doc
  • Readcast
  • Collections
  • CommentGo Back
Download
 
A Guide to SQL Server 2000 Transactional and Snapshot ReplicationCopyright @ 2004 Hilary CotterAll rights reserved.No part ofthis work may be reproduced or transmitted inany form or by any means,electronic or mechanical,including photocopying,recording,or by any information storage or retrieval system,without the priorwritten permission ofthe copyright owner and the publisher.ISBN (pbk) 0-9749736-0-2Printed and bound in the United States ofAmerica 12345678910Trademark names may appear in this book.Rather than use a trademarksymbol with every occurrence ofa trademarked name,we use the names only in an editorial fashion and to the benefit ofthe trademark owner,with nointention ofinfringement ofthe trademark.All trademarks belong to theirowners.Technical Review:Mark AllisonEditor:Kevin CampbellBook Design and Production:Amy Rothstein Amy@pondproductions.comCopy Editor:Linda Devore Linda@devoreassociates.comCover Design:Wendy Reynolds Wendy@olivedesign.comIndex:Hilary CotterFor information on translations,please contactNot While the Surf’s Up Press by email:info@nwsu.com.The information in this book is distributed on an “as is”basis,without any warranty.Although every precaution has been taken in the preparation ofthiswork,neither the author nor Not While the Surf’s Up Press shall have any lia-bility to any person or entity with respect to any loss or damage caused oralleged to be caused directly or indirectly by the information contained in thiswork.The source code for this book is available to readers at http://www.nwsu.comin the Downloads section.
 
Chapter 2
Installing Replication
Let me live like a sky rocket.Let me colour the night sky for a singleinstant,burning with all ofmy being.And then burn out.— Yukio Mishima
This chapter focuses on installing replication on your SQL Server.Mostusers will only install replication on their SQL Server and then enableSubscribers.We’ll look at these two options and then look at how to set up your SQL Server to use a remote Distributor.After looking at theseoptions,we’ll look at Replication Monitor,which is the central point forreplication administration.In the process we’ll cover some ofthe moreadvanced options and settings.Following that,for those ofyou who arewizard adverse,we will look at the replication stored procedures that youcan use to carry out the same things.There are really two parts to installing replication:Configuring your SQL Server as a Publisher/Distributor or a DistributorConfiguring your SubscribersRecall from Chapter 1 that a Distributor is a SQL Server that stores anddistributes transactions from your Publisher to your Subscriber.For mostreplication solutions,your Publisher and Distributor will be on the sameserver.For high throughput replication solutions,you should look at usinga remote Distributor.
Configuring your SQL Server as a Distributor
Configuring your SQL Server as a Distributor involves running a wizardthat creates a distribution database and several jobs in the msdb database.After your distribution database is installed,you are ready to create yourpublications.Let us walk through the wizards to understand how to config-ure your server as a Distributor.The first time you configure your SQLServer as a Distributor,open up Enterprise Manager (EM),connect to yourSQL server,and on the
Tools
menu,point to
Replication,
and thenclick
Configure Publishing,Subscribers,and Distributors
(Fig.2.1).You canbypass this altogether and merely click
Create and Manage Publications
,which is what most DBAs do.
Installing Replication
37
of 00

Leave a Comment

You must be to leave a comment.
Submit
Characters: ...
You must be to leave a comment.
Submit
Characters: ...