<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://petersap.nl/SybaseWiki/index.php?action=history&amp;feed=atom&amp;title=Multi_Site_Availiability_setup</id>
		<title>Multi Site Availiability setup - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://petersap.nl/SybaseWiki/index.php?action=history&amp;feed=atom&amp;title=Multi_Site_Availiability_setup"/>
		<link rel="alternate" type="text/html" href="http://petersap.nl/SybaseWiki/index.php?title=Multi_Site_Availiability_setup&amp;action=history"/>
		<updated>2026-04-04T20:55:03Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.24.2</generator>

	<entry>
		<id>http://petersap.nl/SybaseWiki/index.php?title=Multi_Site_Availiability_setup&amp;diff=1586&amp;oldid=prev</id>
		<title>Psap at 20:33, 21 March 2007</title>
		<link rel="alternate" type="text/html" href="http://petersap.nl/SybaseWiki/index.php?title=Multi_Site_Availiability_setup&amp;diff=1586&amp;oldid=prev"/>
				<updated>2007-03-21T20:33:58Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 20:33, 21 March 2007&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 44:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 44:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;That's all.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;That's all.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:RepServer]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key website-mw_:diff:version:1.11a:oldid:1585:newid:1586 --&gt;
&lt;/table&gt;</summary>
		<author><name>Psap</name></author>	</entry>

	<entry>
		<id>http://petersap.nl/SybaseWiki/index.php?title=Multi_Site_Availiability_setup&amp;diff=1585&amp;oldid=prev</id>
		<title>Psap at 20:32, 21 March 2007</title>
		<link rel="alternate" type="text/html" href="http://petersap.nl/SybaseWiki/index.php?title=Multi_Site_Availiability_setup&amp;diff=1585&amp;oldid=prev"/>
				<updated>2007-03-21T20:32:10Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Most warm standby applications are used in a High Availability environment: when one server is down, the data should be available on a second server. When Multi Site Availability is used, replication can be performed to a third server. This server can then be used for e.g. a separate reporting environment. Below you will find the commands to create such an environment.&lt;br /&gt;
Warning: it cannot be used when there is activity on the logical connection.&lt;br /&gt;
&lt;br /&gt;
==Create a maintenance user on the ASE==&lt;br /&gt;
When you want to materialize the database with dump and load you have to make sure that the suid of the new login matches the suid of the maintenance user on the other servers.&lt;br /&gt;
&lt;br /&gt;
 sp_addlogin &amp;quot;&amp;lt;maintenance_user&amp;gt;&amp;quot;,&amp;quot;&amp;lt;maintenance_user_password&amp;gt;&amp;quot;&lt;br /&gt;
 go&lt;br /&gt;
 grant role replication_role to &amp;quot;&amp;lt;maintenance_user&amp;gt;&amp;quot;&lt;br /&gt;
 go&lt;br /&gt;
 -- check the value of the suid&lt;br /&gt;
 select suser_id(&amp;quot;&amp;lt;maintenance_user&amp;gt;&amp;quot;)&lt;br /&gt;
 go&lt;br /&gt;
 use &amp;lt;database&amp;gt;&lt;br /&gt;
 go&lt;br /&gt;
 sp_addalias &amp;quot;&amp;lt;maintenance_user&amp;gt;&amp;quot;,&amp;quot;dbo&amp;quot;&lt;br /&gt;
 go&lt;br /&gt;
&lt;br /&gt;
==Create a database replication definition==&lt;br /&gt;
&lt;br /&gt;
 create database replication definition &amp;lt;rep_def&amp;gt;&lt;br /&gt;
 with primary at &amp;lt;active_server&amp;gt;.&amp;lt;database&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Prepare the database==&lt;br /&gt;
&lt;br /&gt;
Load the script rs_install_replicate located in the $SYBASE/$SYBASE_REP/scripts directory into the database.&lt;br /&gt;
&lt;br /&gt;
==Create a connection to the database==&lt;br /&gt;
&lt;br /&gt;
 create connection to &amp;lt;server&amp;gt;.&amp;lt;database&amp;gt;&lt;br /&gt;
 set error class to rs_sqlserver_error_class&lt;br /&gt;
 set function string class to rs_sqlserver_function_class&lt;br /&gt;
 set username to &amp;lt;maintenance_user&amp;gt;&lt;br /&gt;
 set password to &amp;lt;maintenance_user_password&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Subscribe to the replication definition==&lt;br /&gt;
When you create the subscription, the new database should be in sync (materialized) with the database on the logical connection.&lt;br /&gt;
&lt;br /&gt;
 create subscription &amp;lt;subscription_name&amp;gt;&lt;br /&gt;
 for database replication definition &amp;lt;rep_def&amp;gt;&lt;br /&gt;
 with primary at &amp;lt;active_server&amp;gt;.&amp;lt;database&amp;gt;&lt;br /&gt;
 with replicate at &amp;lt;server&amp;gt;.&amp;lt;database&amp;gt;&lt;br /&gt;
 without materialization&lt;br /&gt;
&lt;br /&gt;
That's all.&lt;/div&gt;</summary>
		<author><name>Psap</name></author>	</entry>

	</feed>