Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Below is the screen session that we saved from the initial replication setup work we did with Jeff Frost of PGX.
We got to the point where we found that there was no SSH connectivity allowed from our offsite slave to our onsite master.
This appears to be a firewall setting.
We adjourned the meeting to resolve that issue.


_dev@easproddb:~\[dev@easproddb ~]$ 
_dev@easproddb:~\[dev@easproddb ~]$ ls
[00m[01;32mbaseline_dbs.sh[00m  [00mhardcopy.0[00m  [00mmad-1_0-beta-2.backup[00m  [00mscreenlog.0[00m    [00mtypescript[00m
[00mdf-logs.txt[00m      [01;32mlogdf.sh[00m    [01;31mreplication-tools.tgz[00m  [00msfmaps.backup[00m
[m_dev@easproddb:~\[dev@easproddb ~]$ cat screenlog.0 

_dev@easproddb:~\[dev@easproddb ~]$ 
_dev@easproddb:~\[dev@easproddb ~]$ ls
[00m[01;32mbaseline_dbs.sh[00m  [00mhardcopy.0[00m  [00mmad-1_0-beta-2.backup[00m  [00mscreenlog.0[00m    [00mtypescript[00m
[00mdf-logs.txt[00m      [01;32mlogdf.sh[00m    [01;31mreplication-tools.tgz[00m  [00msfmaps.backup[00m
[m_dev@easproddb:~\[dev@easproddb ~]$ cat sc_dev@easproddb:~\[dev@easproddb ~]$ ls -l
[00mtotal 109744
-rw-rw-r-- 1 dev dev     1418 Jun  8 12:21 [01;32mbaseline_dbs.sh[00m
-rw-rw-r-- 1 dev dev   796752 Jul 18 17:43 [00mdf-logs.txt[00m
-rw-rw-r-- 1 dev dev     1376 Aug  5 13:38 [00mhardcopy.0[00m
-rwxr-xr-x 1 dev dev       78 Jul 18 14:55 [01;32mlogdf.sh[00m
-rw-rw-r-- 1 dev dev 46376665 Nov  8  2010 [00mmad-1_0-beta-2.backup[00m
-rw-r--r-- 1 dev dev     9092 Aug  5 13:37 [01;31mreplication-tools.tgz[00m
-rw-rw-r-- 1 dev dev      817 Aug  5 13:38 [00mscreenlog.0[00m
-rw-rw-r-- 1 dev dev 64997985 Feb 24 09:49 [00msfmaps.backup[00m
-rw-r--r-- 1 dev dev    17370 Jul 22 08:31 [00mtypescript[00m
[m_dev@easproddb:~\[dev@easproddb ~]$ cat hardcopy.0 
[dev@easproddb ~]$ hostname
easproddb
[dev@easproddb ~]$ echo $TERM
screen
[dev@easproddb ~]$ ls
baseline_dbs.sh  df-logs.txt  logdf.sh  mad-1_0-beta-2.backup  replication-tools.tgz  sfmaps.backup  typescript
[dev@easproddb ~]$ /sbin/ifconfig
eth0      Link encap:Ethernet  HWaddr 00:50:56:80:00:C0
          inet addr:10.250.60.196  Bcast:10.250.60.255  Mask:255.255.255.0
          inet6 addr: fe80::250:56ff:fe80:c0/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:685165 errors:0 dropped:0 overruns:0 frame:0
          TX packets:307435 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:510079531 (486.4 MiB)  TX bytes:138714899 (132.2 MiB)
          Interrupt:59 Base address:0x2000

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:367551 errors:0 dropped:0 overruns:0 frame:0
          TX packets:367551 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:436741055 (416.5 MiB)  TX bytes:436741055 (416.5 MiB)

[dev@easproddb ~]$ ls
baseline_dbs.sh  df-logs.txt  logdf.sh  mad-1_0-beta-2.backup  replication-tools.tgz  sfmaps.backup  typescript
[dev@easproddb ~]$





















_dev@easproddb:~\[dev@easproddb ~]$ ls -l
[00mtotal 109744
-rw-rw-r-- 1 dev dev     1418 Jun  8 12:21 [01;32mbaseline_dbs.sh[00m
-rw-rw-r-- 1 dev dev   796752 Jul 18 17:43 [00mdf-logs.txt[00m
-rw-rw-r-- 1 dev dev     1376 Aug  5 13:38 [00mhardcopy.0[00m
-rwxr-xr-x 1 dev dev       78 Jul 18 14:55 [01;32mlogdf.sh[00m
-rw-rw-r-- 1 dev dev 46376665 Nov  8  2010 [00mmad-1_0-beta-2.backup[00m
-rw-r--r-- 1 dev dev     9092 Aug  5 13:37 [01;31mreplication-tools.tgz[00m
-rw-rw-r-- 1 dev dev     2989 Aug  5 13:39 [00mscreenlog.0[00m
-rw-rw-r-- 1 dev dev 64997985 Feb 24 09:49 [00msfmaps.backup[00m
-rw-r--r-- 1 dev dev    17370 Jul 22 08:31 [00mtypescript[00m
[m_dev@easproddb:~\[dev@easproddb ~]$ date
Fri Aug  5 13:40:00 PDT 2011
_dev@easproddb:~\[dev@easproddb ~]$ date����ls -l
[00mtotal 109744
-rw-rw-r-- 1 dev dev     1418 Jun  8 12:21 [01;32mbaseline_dbs.sh[00m
-rw-rw-r-- 1 dev dev   796752 Jul 18 17:43 [00mdf-logs.txt[00m
-rw-rw-r-- 1 dev dev     1376 Aug  5 13:38 [00mhardcopy.0[00m
-rwxr-xr-x 1 dev dev       78 Jul 18 14:55 [01;32mlogdf.sh[00m
-rw-rw-r-- 1 dev dev 46376665 Nov  8  2010 [00mmad-1_0-beta-2.backup[00m
-rw-r--r-- 1 dev dev     9092 Aug  5 13:37 [01;31mreplication-tools.tgz[00m
-rw-rw-r-- 1 dev dev     2989 Aug  5 13:39 [00mscreenlog.0[00m
-rw-rw-r-- 1 dev dev 64997985 Feb 24 09:49 [00msfmaps.backup[00m
-rw-r--r-- 1 dev dev    17370 Jul 22 08:31 [00mtypescript[00m
[m_dev@easproddb:~\[dev@easproddb ~]$ cat hardcopy.0 
[dev@easproddb ~]$ hostname
easproddb
[dev@easproddb ~]$ echo $TERM
screen
[dev@easproddb ~]$ ls
baseline_dbs.sh  df-logs.txt  logdf.sh  mad-1_0-beta-2.backup  replication-tools.tgz  sfmaps.backup  typescript
[dev@easproddb ~]$ /sbin/ifconfig
eth0      Link encap:Ethernet  HWaddr 00:50:56:80:00:C0
          inet addr:10.250.60.196  Bcast:10.250.60.255  Mask:255.255.255.0
          inet6 addr: fe80::250:56ff:fe80:c0/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:685165 errors:0 dropped:0 overruns:0 frame:0
          TX packets:307435 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:510079531 (486.4 MiB)  TX bytes:138714899 (132.2 MiB)
          Interrupt:59 Base address:0x2000

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:367551 errors:0 dropped:0 overruns:0 frame:0
          TX packets:367551 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:436741055 (416.5 MiB)  TX bytes:436741055 (416.5 MiB)

[dev@easproddb ~]$ ls
baseline_dbs.sh  df-logs.txt  logdf.sh  mad-1_0-beta-2.backup  replication-tools.tgz  sfmaps.backup  typescript
[dev@easproddb ~]$





















_dev@easproddb:~\[dev@easproddb ~]$ ls had��[K�����[Kls -l
[00mtotal 109748
-rw-rw-r-- 1 dev dev     1418 Jun  8 12:21 [01;32mbaseline_dbs.sh[00m
-rw-rw-r-- 1 dev dev   796752 Jul 18 17:43 [00mdf-logs.txt[00m
-rw-rw-r-- 1 dev dev     1376 Aug  5 13:38 [00mhardcopy.0[00m
-rwxr-xr-x 1 dev dev       78 Jul 18 14:55 [01;32mlogdf.sh[00m
-rw-rw-r-- 1 dev dev 46376665 Nov  8  2010 [00mmad-1_0-beta-2.backup[00m
-rw-r--r-- 1 dev dev     9092 Aug  5 13:37 [01;31mreplication-tools.tgz[00m
-rw-rw-r-- 1 dev dev     5934 Aug  5 13:40 [00mscreenlog.0[00m
-rw-rw-r-- 1 dev dev 64997985 Feb 24 09:49 [00msfmaps.backup[00m
-rw-r--r-- 1 dev dev    17370 Jul 22 08:31 [00mtypescript[00m
[m_dev@easproddb:~\[dev@easproddb ~]$ cat hardcopy.0 
[dev@easproddb ~]$ hostname
easproddb
[dev@easproddb ~]$ echo $TERM
screen
[dev@easproddb ~]$ ls
baseline_dbs.sh  df-logs.txt  logdf.sh  mad-1_0-beta-2.backup  replication-tools.tgz  sfmaps.backup  typescript
[dev@easproddb ~]$ /sbin/ifconfig
eth0      Link encap:Ethernet  HWaddr 00:50:56:80:00:C0
          inet addr:10.250.60.196  Bcast:10.250.60.255  Mask:255.255.255.0
          inet6 addr: fe80::250:56ff:fe80:c0/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:685165 errors:0 dropped:0 overruns:0 frame:0
          TX packets:307435 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:510079531 (486.4 MiB)  TX bytes:138714899 (132.2 MiB)
          Interrupt:59 Base address:0x2000

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:367551 errors:0 dropped:0 overruns:0 frame:0
          TX packets:367551 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:436741055 (416.5 MiB)  TX bytes:436741055 (416.5 MiB)

[dev@easproddb ~]$ ls
baseline_dbs.sh  df-logs.txt  logdf.sh  mad-1_0-beta-2.backup  replication-tools.tgz  sfmaps.backup  typescript
[dev@easproddb ~]$





















_dev@easproddb:~\[dev@easproddb ~]$ ls screenlog.0 -l
[00m-rw-rw-r-- 1 dev dev 8125 Aug  5 13:40 [00mscreenlog.0[00m
[m_dev@easproddb:~\[dev@easproddb ~]$ less screenlog.0 
[?1049h[?1h=
[3mESC[23m_dev@easproddb:~[3mESC[23m\[dev@easproddb ~]$ 
[3mESC[23m_dev@easproddb:~[3mESC[23m\[dev@easproddb ~]$ ls
[3mESC[23m[00m[3mESC[23m[01;32mbaseline_dbs.sh[3mESC[23m[00m  [3mESC[23m[00mhardcopy.0[3mESC[23m[00m  [3mESC[23m[00mmad-1_0-beta-2.backup[3mESC[23m[00m  [3mESC[23m[00mscreenlog.0[3mESC[23m[00m    � [3mESC[23m[00mtypescript[3mESC[23m[00m
[3mESC[23m[00mdf-logs.txt[3mESC[23m[00m      [3mESC[23m[01;32mlogdf.sh[3mESC[23m[00m    [3mESC[23m[01;31mreplication-tools.tgz[3mESC[23m[00m  [3mESC[23m[00msfmaps.backup[3mESC[23m[00m
[3mESC[23m[m[3mESC[23m_dev@easproddb:~[3mESC[23m\[dev@easproddb ~]$ cat screenlog.0 
[3m^M[23m
[3mESC[23m_dev@easproddb:~[3mESC[23m\[dev@easproddb ~]$ [3m^M[23m
[3mESC[23m_dev@easproddb:~[3mESC[23m\[dev@easproddb ~]$ ls[3m^M[23m
[3mESC[23m[00m[3mESC[23m[01;32mbaseline_dbs.sh[3mESC[23m[00m  [3mESC[23m[00mhardcopy.0[3mESC[23m[00m  [3mESC[23m[00mmad-1_0-beta-2.backup[3mESC[23m[00m  [3mESC[23m[00mscreenlog.0[3mESC[23m[00m    � [3mESC[23m[00mtypescript[3mESC[23m[00m[3m^M[23m
[3mESC[23m[00mdf-logs.txt[3mESC[23m[00m      [3mESC[23m[01;32mlogdf.sh[3mESC[23m[00m    [3mESC[23m[01;31mreplication-tools.tgz[3mESC[23m[00m  [3mESC[23m[00msfmaps.backup[3mESC[23m[00m[3m^M[23m
[3mESC[23m[m[3mESC[23m_dev@easproddb:~[3mESC[23m\[dev@easproddb ~]$ cat sc[3mESC[23m_dev@easproddb:~[3mESC[23m\[dev@easproddb ~]$ ls -l
[3mESC[23m[00mtotal 109744
-rw-rw-r-- 1 dev dev     1418 Jun  8 12:21 [3mESC[23m[01;32mbaseline_dbs.sh[3mESC[23m[00m
-rw-rw-r-- 1 dev dev   796752 Jul 18 17:43 [3mESC[23m[00mdf-logs.txt[3mESC[23m[00m
-rw-rw-r-- 1 dev dev     1376 Aug  5 13:38 [3mESC[23m[00mhardcopy.0[3mESC[23m[00m
-rwxr-xr-x 1 dev dev       78 Jul 18 14:55 [3mESC[23m[01;32mlogdf.sh[3mESC[23m[00m
-rw-rw-r-- 1 dev dev 46376665 Nov  8  2010 [3mESC[23m[00mmad-1_0-beta-2.backup[3mESC[23m[00m
-rw-r--r-- 1 dev dev     9092 Aug  5 13:37 [3mESC[23m[01;31mreplication-tools.tgz[3mESC[23m[00m
-rw-rw-r-- 1 dev dev      817 Aug  5 13:38 [3mESC[23m[00mscreenlog.0[3mESC[23m[00m
-rw-rw-r-- 1 dev dev 64997985 Feb 24 09:49 [3mESC[23m[00msfmaps.backup[3mESC[23m[00m
-rw-r--r-- 1 dev dev    17370 Jul 22 08:31 [3mESC[23m[00mtypescript[3mESC[23m[00m
[3mESC[23m[m[3mESC[23m_dev@easproddb:~[3mESC[23m\[dev@easproddb ~]$ cat hardcopy.0 
[dev@easproddb ~]$ hostname
easproddb
[dev@easproddb ~]$ echo $TERM
screen
[dev@easproddb ~]$ ls
baseline_dbs.sh  df-logs.txt  logdf.sh  mad-1_0-beta-2.backup  replication-tools.tgz  sfmaps.backup  typescript
[dev@easproddb ~]$ /sbin/ifconfig
eth0      Link encap:Ethernet  HWaddr 00:50:56:80:00:C0
          inet addr:10.250.60.196  Bcast:10.250.60.255  Mask:255.255.255.0
          inet6 addr: fe80::250:56ff:fe80:c0/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:685165 errors:0 dropped:0 overruns:0 frame:0
          TX packets:307435 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:510079531 (486.4 MiB)  TX bytes:138714899 (132.2 MiB)
          Interrupt:59 Base address:0x2000

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:367551 errors:0 dropped:0 overruns:0 frame:0
          TX packets:367551 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
[3mscreenlog.0 [23m[K
[K...skipping...
[3mESC[23m[3mESC[3mESC[23m[23m[00mdf-logs.txt[3mESC[23m[3mESC[3mESC[23m[23m[00m      [3mESC[23m[3mESC[3mESC[23m[23m[01;32mlogdf.sh[3mESC[23m[3mESC[3mESC[23m[23m[00m    [3mESC[23m[3mESC[3mESC[23m[23m[01; �31mreplication-tools.tgz[3mESC[23m[3mESC[3mESC[23m[23m[00m  [3mESC[23m[3mESC[3mESC[23m[23m[00msfmaps.backup[3mESC[23m[3mESC[3mESC[23m[23m[00m
[3mESC[23m[3mESC[3mESC[23m[23m[m[3mESC[23m[3mESC[3mESC[23m[23m_dev@easproddb:~[3mESC[23m[3mESC[3mESC[23m[23m\[dev@easproddb ~]$ cat screenlog.0 
[3mESC[23m[3m^M[3mESC[23m[23m
[3mESC[23m[3mESC[3mESC[23m[23m_dev@easproddb:~[3mESC[23m[3mESC[3mESC[23m[23m\[dev@easproddb ~]$ [3mESC[23m[3m^M[3mESC[23m[23m
[3mESC[23m[3mESC[3mESC[23m[23m_dev@easproddb:~[3mESC[23m[3mESC[3mESC[23m[23m\[dev@easproddb ~]$ ls[3mESC[23m[3m^M[3mESC[23m[23m
[3mESC[23m[3mESC[3mESC[23m[23m[00m[3mESC[23m[3mESC[3mESC[23m[23m[01;32mbaseline_dbs.sh[3mESC[23m[3mESC[3mESC[23m[23m[00m  [3mESC[23m[3mESC[3mESC[23m[23m[00mhardcopy.0[3mESC[23m[3mESC[3mESC[23m[23m[00m   �[3mESC[23m[3mESC[3mESC[23m[23m[00mmad-1_0-beta-2.backup[3mESC[23m[3mESC[3mESC[23m[23m[00m  [3mESC[23m[3mESC[3mESC[23m[23m[00mscreenlog.0[3mESC[23m[3mESC[3mESC[23m[23m[00m   [1m [0m[3mESC[23m[3mESC[3mESC[23m[2 �3m[00mtypescript[3mESC[23m[3mESC[3mESC[23m[23m[00m[3mESC[23m[3m^M[3mESC[23m[23m
[3mESC[23m[3mESC[3mESC[23m[23m[00mdf-logs.txt[3mESC[23m[3mESC[3mESC[23m[23m[00m      [3mESC[23m[3mESC[3mESC[23m[23m[01;32mlogdf.sh[3mESC[23m[3mESC[3mESC[23m[23m[00m    [3mESC[23m[3mESC[3mESC[23m[23m[01; �31mreplication-tools.tgz[3mESC[23m[3mESC[3mESC[23m[23m[00m  [3mESC[23m[3mESC[3mESC[23m[23m[00msfmaps.backup[3mESC[23m[3mESC[3mESC[23m[23m[00m[3mESC[23m[3m^M[3mESC[23m[23m
[3mESC[23m[3mESC[3mESC[23m[23m[m[3mESC[23m[3mESC[3mESC[23m[23m_dev@easproddb:~[3mESC[23m[3mESC[3mESC[23m[23m\[dev@easproddb ~]$ cat sc[3mESC[23m[3mESC[3mESC[23m[23m_dev@easproddb:~[3mESC[23m[3mES �C[3mESC[23m[23m\[dev@easproddb ~]$ ls -l
[3mESC[23m[3mESC[3mESC[23m[23m[00mtotal 109744
-rw-rw-r-- 1 dev dev     1418 Jun  8 12:21 [3mESC[23m[3mESC[3mESC[23m[23m[01;32mbaseline_dbs.sh[3mESC[23m[3mESC[3mESC[23m[23m[00m
-rw-rw-r-- 1 dev dev   796752 Jul 18 17:43 [3mESC[23m[3mESC[3mESC[23m[23m[00mdf-logs.txt[3mESC[23m[3mESC[3mESC[23m[23m[00m
-rw-rw-r-- 1 dev dev     1376 Aug  5 13:38 [3mESC[23m[3mESC[3mESC[23m[23m[00mhardcopy.0[3mESC[23m[3mESC[3mESC[23m[23m[00m
-rwxr-xr-x 1 dev dev       78 Jul 18 14:55 [3mESC[23m[3mESC[3mESC[23m[23m[01;32mlogdf.sh[3mESC[23m[3mESC[3mESC[23m[23m[00m
-rw-rw-r-- 1 dev dev 46376665 Nov  8  2010 [3mESC[23m[3mESC[3mESC[23m[23m[00mmad-1_0-beta-2.backup[3mESC[23m[3mESC[3mESC[23m[23m[00m
-rw-r--r-- 1 dev dev     9092 Aug  5 13:37 [3mESC[23m[3mESC[3mESC[23m[23m[01;31mreplication-tools.tgz[3mESC[23m[3mESC[3mESC[23m[23m[00m
-rw-rw-r-- 1 dev dev      817 Aug  5 13:38 [3mESC[23m[3mESC[3mESC[23m[23m[00mscreenlog.0[3mESC[23m[3mESC[3mESC[23m[23m[00m
-rw-rw-r-- 1 dev dev 64997985 Feb 24 09:49 [3mESC[23m[3mESC[3mESC[23m[23m[00msfmaps.backup[3mESC[23m[3mESC[3mESC[23m[23m[00m
-rw-r--r-- 1 dev dev    17370 Jul 22 08:31 [3mESC[23m[3mESC[3mESC[23m[23m[00mtypescript[3mESC[23m[3mESC[3mESC[23m[23m[00m
[3mESC[23m[3mESC[3mESC[23m[23m[m[3mESC[23m[3mESC[3mESC[23m[23m_dev@easproddb:~[3mESC[23m[3mESC[3mESC[23m[23m\[dev@easproddb ~]$ cat hardcopy.0 
[dev@easproddb ~]$ hostname
easproddb
[dev@easproddb ~]$ echo $TERM
screen
[dev@easproddb ~]$ ls
baseline_dbs.sh  df-logs.txt  logdf.sh  mad-1_0-beta-2.backup  replication-tools.tgz  sfmaps.backup  typescript
[dev@easproddb ~]$ /sbin/ifconfig
eth0      Link encap:Ethernet  HWaddr 00:50:56:80:00:C0
          inet addr:10.250.60.196  Bcast:10.250.60.255  Mask:255.255.255.0
          inet6 addr: fe80::250:56ff:fe80:c0/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:685165 errors:0 dropped:0 overruns:0 frame:0
          TX packets:307435 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:510079531 (486.4 MiB)  TX bytes:138714899 (132.2 MiB)
          Interrupt:59 Base address:0x2000

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:367551 errors:0 dropped:0 overruns:0 frame:0
          TX packets:367551 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
[3mESC[23m[3mscreenlog.0 [3mESC[23m[23m[3mESC[23m[K
[3m(END) [23m[K
[K[?1l>[?1049l_dev@easproddb:~\[dev@easproddb ~]$ ls
[00m[01;32mbaseline_dbs.sh[00m  [00mhardcopy.0[00m  [00mmad-1_0-beta-2.backup[00m  [00mscreenlog.0[00m    [00mtypescript[00m
[00mdf-logs.txt[00m      [01;32mlogdf.sh[00m    [01;31mreplication-tools.tgz[00m  [00msfmaps.backup[00m
[m_dev@easproddb:~\[dev@easproddb ~]$ tar xvfz replication-tools.tgz 
replication-tools/
replication-tools/TODO
replication-tools/config/
replication-tools/config/README
replication-tools/config/pg_hba.conf
replication-tools/config/postgresql.conf.additions
replication-tools/config/recovery.conf
replication-tools/README
replication-tools/scripts/
replication-tools/scripts/pitr-replication.conf
replication-tools/scripts/wal_archive
replication-tools/scripts/pg_resync_replica_91
replication-tools/scripts/pg_resync_replica
replication-tools/scripts/promote_to_master
replication-tools/scripts/cp16mbonly
replication-tools/LICENSE
_dev@easproddb:~\[dev@easproddb ~]$ cd rep�lication-tools
_dev@easproddb:~/replication-tools\[dev@easproddb replication-tools]$ cd config/
_dev@easproddb:~/replication-tools/config\[dev@easproddb config]$ ls
[00m[00mpg_hba.conf[00m  [00mpostgresql.conf.additions[00m  [00mREADME[00m  [00mrecovery.conf[00m
[m_dev@easproddb:~/replication-tools/config\[dev@easproddb config]$ vim recovery.conf 
[?1049h[?1h=[1;50r[34l[34h[?25h[23m[24m[0m[H[J[?25l[50;1H"recovery.conf" 
"recovery.conf" 37L, 1712C[1;1H[34m# restore with a simple copy[0m
restore_command = [31m'cp /var/pgsql/wal_archive/%f %p'[0m

[34m# delete unneeded archive files[0m
archive_cleanup_command = [31m'/opt/local/bin/pg_archivecleanup /var/pgsql/wal_archive %r'[0m

[34m# use streaming replication[0m
standby_mode = [31m'on'[0m

[34m# fail over when the BRINGUP file exists[0m
trigger_file = [31m'/var/pgsql/BRINGUP'[0m

[34m# the below needs to be changed to the correct IP address on each server
# it is the connection information for the other server[0m
primary_conninfo = [31m'host=10.100.23.97 port=5432 user=replicauser'[0m

[34m# -----------------------------------------------------------------------------
# The replication-tools package is licensed under the PostgreSQL License:
# 
# Copyright (c) 2010-2011, PostgreSQL, Experts, Inc.
# 
# Permission to use, copy, modify, and distribute this software and its
# documentation for any purpose, without fee, and without a written agreement is
# hereby granted, provided that the above copyright notice and this paragraph
# and the following two paragraphs appear in all copies.
# 
# IN NO EVENT SHALL POSTGRESQL EXPERTS, INC. BE LIABLE TO ANY PARTY FOR DIRECT,
# INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST
# PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN
# IF POSTGRESQL EXPERTS, INC. HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
# DAMAGE.
# 
# POSTGRESQL EXPERTS, INC. SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, BUT
# NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
# PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS,
# AND POSTGRESQL EXPERTS, INC. HAS NO OBLIGATIONS TO PROVIDE MAINTENANCE,
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.[0m
[1m[34m~                                                                                                                                   [39;1H~                                                                                                                                   [40;1H~                                                                                                                                   [41;1H~                                                                                                                                   [42;1H~                                                                                                                                   [43;1H~                                                                                                                                   [44;1H~                                                                                                                                   [45;1H~                                                                                                                                   [46;1H~                                                                                                                                   [47;1H~                                                                                                                                   [48;1H~                                                                                                                                   [49;1H~                                                                                                                                   [0m[50;115H1,1           All[1;1H[34h[?25h[?25l[50;115H2,1           All[2;1H[34h[?25h[?25l[50;115H3,0-1         All[3;1H[34h[?25h[?25l[50;115H4,1           All[4;1H[34h[?25h[?25l[50;115H3,0-1         All[3;1H[34h[?25h[?25l[50;115H2,1           All[2;1H[34h[?25h[?25l[50;115H2,17          All[2;17H[34h[?25h[?25l[50;115H2,19          All[2;19H[34h[?25h[?25l[50;115H2,20          All[2;20H[34h[?25h[?25l[50;115H2,23          All[2;23H[34h[?25h[?25l[50;115H2,24          All[2;24H[34h[?25h[?25l[50;115H2,27          All[2;27H[34h[?25h[?25l[50;115H2,28          All[2;28H[34h[?25h[?25l[50;115H2,33          All[2;33H[34h[?25h[?25l[50;115H2,34          All[2;34H[34h[?25h[?25l[50;115H2,45          All[2;45H[34h[?25h[?25l[50;115H2,47          All[2;47H[34h[?25h[?25l[50;115H2,49          All[2;49H[34h[?25h[?25l[50;1H[K[50;1H:[34h[?25hq[?25l
:q[34h[?25h[?25l
:[50;2H[K[50;1H:[34h[?25h�[?25l[114C2,49          All[2;49H[34h[?25h[?25l[50;115H3,0-1         All[3;1H[34h[?25h[?25l[50;115H2,49          All[2;49H[34h[?25h[?25l[50;115H3,0-1         All[3;1H[34h[?25h[?25l[50;115H4,31          All[4;31H[34h[?25h[?25l[50;115H5,49          All[5;49H[34h[?25h[?25l[50;115H6,0-1         All[6;1H[34h[?25h[?25l[50;115H7,27          All[7;27H[34h[?25h[?25l[50;115H8,19          All[8;19H[34h[?25h[?25l[50;115H9,0-1         All[9;1H[34h[?25h[?25l[50;115H10,40         All[10;40H[34h[?25h[?25l[50;115H11,35         All[11;35H[34h[?25h[?25l[50;115H12,0-1        All[12;1H[34h[?25h[?25l[50;115H13,49         All[13;49H[34h[?25h[?25l[50;115H14,49         All[14;49H[34h[?25h[?25l[50;115H15,49         All[15;49H[34h[?25h[?25l[50;115H15,44         All[15;44H[34h[?25h[?25l[50;115H15,43         All[15;43H[34h[?25h[?25l[50;115H15,39         All[15;39H[34h[?25h[?25l[50;115H15,36         All[15;36H[34h[?25h[?25l[50;115H15,35         All[15;35H[34h[?25h[?25l[50;115H15,33         All[15;33H[34h[?25h[?25l[50;115H15,32         All[15;32H[34h[?25h[?25l[50;115H15,29         All[15;29H[34h[?25h[?25l[50;115H15,28         All[15;28H[34h[?25h[?25l[50;115H15,26         All[15;26H[34h[?25h[?25l[50;115H15,27         All[15;27H[34h[?25h[?25l[50;115H15,26         All[15;26H[34h[?25h[?25l[50;115H15,27         All[15;27H[34h[?25h[?25l[50;115H15,28         All[15;28H[34h[?25h[?25l[50;115H15,29         All[15;29H[34h[?25h[?25l[50;115H15,30         All[15;30H[34h[?25h[?25l[50;115H15,31         All[15;31H[34h[?25h[?25l[50;115H15,32         All[15;32H[34h[?25h[?25l[50;115H15,33         All[15;33H[34h[?25h[?25l[50;115H15,34         All[15;34H[34h[?25h[?25l[50;115H15,35         All[15;35H[34h[?25h[?25l[50;115H15,36         All[15;36H[34h[?25h[?25l[50;115H15,37         All[15;37H[34h[?25h[?25l[50;115H15,38         All[15;38H[34h[?25h[?25l[50;115H15,37         All[15;37H[34h[?25h[?25l[50;115H15,36         All[15;36H[34h[?25h[?25l[50;115H15,35         All[15;35H[34h[?25h[?25l[50;115H15,34         All[15;34H[34h[?25h[?25l[50;115H15,33         All[15;33H[34h[?25h[?25l[50;115H15,32         All[15;32H[34h[?25h[?25l[50;115H15,31         All[15;31H[34h[?25h[?25l[50;115H15,30         All[15;30H[34h[?25h[?25l[50;115H15,29         All[15;29H[34h[?25h[?25l[50;115H15,28         All[15;28H[34h[?25h[?25l[50;115H15,27         All[15;27H[34h[?25h[?25l[50;115H15,26         All[15;26H[34h[?25h[?25l[50;1H[K[50;1H:[34h[?25hq[?25l
:q[34h[?25h
[?25l[50;1H[K[50;1H[?1l>[34h[?25h[?1049l_dev@easproddb:~/replication-tools/config\[dev@easproddb config]$ ls
[00m[00mpg_hba.conf[00m  [00mpostgresql.conf.additions[00m  [00mREADME[00m  [00mrecovery.conf[00m
[m_dev@easproddb:~/replication-tools/config\[dev@easproddb config]$ cd ../scripts/
_dev@easproddb:~/replication-tools/scripts\[dev@easproddb scripts]$ ls
[00m[01;32mcp16mbonly[00m  [01;32mpg_resync_replica[00m  [01;32mpg_resync_replica_91[00m  [00mpitr-replication.conf[00m  [01;32mpromote_to_master[00m  [01;32mwal_archive[00m
[m_dev@easproddb:~/replication-tools/scripts\[dev@easproddb scripts]$ vim pitr-replication.conf 
[?1049h[?1h=[1;50r[34l[34h[?25h[23m[24m[0m[H[J[?25l[50;1H"pitr-replication.conf" 
"pitr-replication.conf" 122L, 4577C[1;1H[34m# Configuration file for PITR or replication on PostgreSQL 9.0
# Powers pg_resync_replica, promote_to_master and wal_archive

# Version 1.6.  Last updated 2011-02-17.

# Copyright (c) 2010-2011, PostgreSQL, Experts, Inc.
# Licensed under The PostgreSQL License; see
# http://www.postgresql.org/about/licence
# or the end of this file for details.

# What operating system is this? We have some special-case code
# for different OSs.[0m
UNAME_S=`uname -s`
if [ $UNAME_S = Linux ]; then
  OS=Linux
elif [ $UNAME_S = SunOS ] && uname -r | grep 5.11 > /dev/null 2>&1; then
  [34m# Discriminate between Joyent's in-house version of OpenSolaris
[0m  [34m# and the mainstream version. Only way to do it: check the doman name.[0m
  if uname -n | grep -i joyent > /dev/null 2>&1; then
    OS=Joyent[22;5H[34m# On Joyent, sometimes you want to use svcadm; sometimes you don't. 
[0m    [34m# Set this variable accordingly. Recommended setting: false (i.e. '').[0m
    USE_SVCADM=[31m''[0m
  else
    OS=OpenSolaris
  fi
else
  OS=unknown
fi

[34m# master and replica IP addresses.  These should be the same                                                                         [33;1H             
# on all servers.  In the event of failover and promotion                                                                            [35;1H              
# of the replica to a master, you will need to swap these                                                                            [37;1H              
# addresses                                                                                                                          [39;1H              [0m

MASTER=10.100.23.97
REPLICA=10.100.23.76

[34m# below should not need to be changed for CentOS                                                                                     [45;1H              [0m

PGUSER=replicauser
PGDATA=/var/pgsql/data90
REPLICATION_LOG=/var/log/pg_log/replication.log[50;115H1,1           Top[1;1H[34h[?25h[?25l[50;115H2,1           Top[2;1H[34h[?25h[?25l[50;115H3,0-1         Top[3;1H[34h[?25h[?25l[50;115H4,1           Top[4;1H[34h[?25h[?25l[50;115H5,0-1         Top[5;1H[34h[?25h[?25l[50;115H6,1           Top[6;1H[34h[?25h[?25l[50;115H7,1           Top[7;1H[34h[?25h[?25l[50;115H8,1           Top[8;1H[34h[?25h[?25l[50;115H9,1           Top[9;1H[34h[?25h[?25l[50;115H10,0-1        Top[10;1H[34h[?25h[?25l[50;115H11,1          Top[11;1H[34h[?25h[?25l[50;115H12,1          Top[12;1H[34h[?25h[?25l[50;115H13,1          Top[13;1H[34h[?25h[?25l[50;115H14,1          Top[14;1H[34h[?25h[?25l[50;115H15,1          Top[15;1H[34h[?25h[?25l[50;115H16,1          Top[16;1H[34h[?25h[?25l[50;115H17,1          Top[17;1H[34h[?25h[?25l[50;115H18,1          Top[18;1H[34h[?25h[?25l[50;115H19,1          Top[19;1H[34h[?25h[?25l[50;115H20,1          Top[20;1H[34h[?25h[?25l[50;115H21,0-1        Top[21;1H[34h[?25h[?25l[50;115H22,1          Top[22;1H[34h[?25h[?25l[50;115H23,1          Top[23;1H[34h[?25h[?25l[50;115H24,1          Top[24;1H[34h[?25h[?25l[50;115H25,1          Top[25;1H[34h[?25h[?25l[50;115H26,1          Top[26;1H[34h[?25h[?25l[50;115H27,1          Top[27;1H[34h[?25h[?25l[50;115H28,1          Top[28;1H[34h[?25h[?25l[50;115H29,1          Top[29;1H[34h[?25h[?25l[50;115H30,1          Top[30;1H[34h[?25h[?25l[50;115H31,0-1        Top[31;1H[34h[?25h[?25l[50;115H32,1          Top[32;1H[34h[?25h[?25l[50;115H33,1          Top[34;1H[34h[?25h[?25l[50;115H34,1          Top[36;1H[34h[?25h[?25l[50;115H35,1          Top[38;1H[34h[?25h[?25l[50;115H36,0-1        Top[40;1H[34h[?25h[?25l[50;115H37,1          Top[41;1H[34h[?25h[?25l[50;115H38,1          Top[42;1H[34h[?25h[?25l[50;115H39,0-1        Top[43;1H[34h[?25h[?25l[50;115H40,1          Top[44;1H[34h[?25h[?25l[50;115H41,0-1        Top[46;1H[34h[?25h[?25l[50;115H40,1          Top[44;1H[34h[?25h[?25l[50;115H39,0-1        Top[43;1H[34h[?25h[?25l[50;115H38,1          Top[42;1H[34h[?25h[?25l[50;115H37,1          Top[41;1H[34h[?25h[?25l[50;115H37,2          Top[41;2H[34h[?25h[?25l[50;115H37,3          Top[41;3H[34h[?25h[?25l[50;115H37,4          Top[41;4H[34h[?25h[?25l[50;115H37,5          Top[41;5H[34h[?25h[?25l[50;115H37,6          Top[41;6H[34h[?25h[?25l[50;115H37,7          Top[41;7H[34h[?25h[?25l[50;115H37,8          Top[41;8H[34h[?25h[?25l[50;115H37,9          Top[41;9H[34h[?25h[?25l[50;115H37,10         Top[41;10H[34h[?25h[?25l[50;115H37,11         Top[41;11H[34h[?25h[?25l[50;115H37,12         Top[41;12H[34h[?25h[?25l[50;115H37,13         Top[41;13H[34h[?25h[?25l[50;115H37,14         Top[41;14H[34h[?25h[?25l[50;115H37,15         Top[41;15H[34h[?25h[?25l[50;115H37,16         Top[41;16H[34h[?25h[?25l[50;115H37,17         Top[41;17H[34h[?25h[?25l[50;115H37,18         Top[41;18H[34h[?25h[?25l[50;115H38,18         Top[42;18H[34h[?25h[?25l[50;115H39,0-1        Top[43;1H[34h[?25h[?25l[50;115H40,18         Top[44;18H[34h[?25h[?25l[50;115H41,0-1        Top[46;1H[34h[?25h[?25l[50;115H42,18         Top[47;18H[34h[?25h[?25l[50;115H43,18         Top[48;18H[34h[?25h[?25l[50;115H44,18         Top[49;18H[34h[?25h[?25l[1;49r[49;1H
[1;50r[50;1H[K[50;115H45,0-1         1%[49;1H[34h[?25h[?25l[1;49r[1;1H[2M[1;50r[48;1H[34m# directory where log files are copied to on the replica                                                                             [49;1H              [0m[50;115H[K[50;115H46,18          3%[48;18H[34h[?25h[?25l[1;49r[49;1H
[1;50r[50;115H[K[50;115H47,0-1         5%[49;1H[34h[?25h[?25l[1;49r[49;1H
[1;50r[49;1HWALDIR=/var/pgsql/wal_archive[50;115H[K[50;115H48,18          6%[49;18H[34h[?25h[?25l[1;49r[49;1H
[1;50r[50;115H[K[50;115H49,0-1         7%[49;1H[34h[?25h[?25l[1;49r[49;1H
[1;50r[49;1H[34m#################################[0m[50;115H[K[50;115H50,18          8%[49;18H[34h[?25h[?25l[1;49r[49;1H
[1;50r[49;1H[34m# Begin OS-specific settings[0m[50;115H[K[50;115H51,18         10%[49;18H[34h[?25h[?25l[1;49r[49;1H
[1;50r[49;1H[34m#################################[0m[50;115H[K[50;115H52,18         11%[49;18H[34h[?25h[?25l[50;115H51,18         11%[48;18H[34h[?25h[?25l[50;115H50,18         11%[47;18H[34h[?25h[?25l[50;115H49,0-1        11%[46;1H[34h[?25h[?25l[50;115H48,18         11%[45;18H[34h[?25h[?25l[50;115H47,0-1        11%[44;1H[34h[?25h[?25l[50;115H46,18         11%[42;18H[34h[?25h[?25l[50;115H45,0-1        11%[41;1H[34h[?25h[?25l[50;115H44,18         11%[40;18H[34h[?25h[?25l[50;115H43,18         11%[39;18H[34h[?25h[?25l[50;115H44,18         11%[40;18H[34h[?25h[?25l[50;115H45,0-1        11%[41;1H[34h[?25h[?25l[50;115H46,18         11%[42;18H[34h[?25h[?25l[50;115H47,0-1        11%[44;1H[34h[?25h[?25l[50;115H48,18         11%[45;18H[34h[?25h[?25l[50;115H49,0-1        11%[46;1H[34h[?25h[?25l[50;115H50,18         11%[47;18H[34h[?25h[?25l[50;115H51,18         11%[48;18H[34h[?25h[?25l[50;115H52,18         11%[49;18H[34h[?25h[?25l[1;49r[49;1H
[1;50r[49;1H[34m#[0m[50;115H[K[50;115H53,1          12%[49;1H[34h[?25h[?25l[1;49r[49;1H
[1;50r[49;1Hif [ $OS = [31m'Joyent'[0m ]; then[50;115H[K[50;115H54,18         13%[49;18H[34h[?25h[?25l[1;49r[49;1H
[1;50r[49;3HPGBASE=/var/pgsql[50;115H[K[50;115H55,18         15%[49;18H[34h[?25h[?25l[50;115H54,18         15%[48;18H[34h[?25h[?25l[50;115H53,1          15%[47;1H[34h[?25h[?25l[50;115H52,18         15%[46;18H[34h[?25h[?25l[50;115H51,18         15%[45;18H[34h[?25h[?25l[50;115H50,18         15%[44;18H[34h[?25h[?25l[50;115H49,0-1        15%[43;1H[34h[?25h[?25l[50;115H48,18         15%[42;18H[34h[?25h[?25l[50;115H47,0-1        15%[41;1H[34h[?25h[?25l[50;115H46,18         15%[39;18H[34h[?25h[?25l[50;115H45,0-1        15%[38;1H[34h[?25h[?25l[50;115H44,18         15%[37;18H[34h[?25h[?25l[50;115H45,0-1        15%[38;1H[34h[?25h[?25l[50;115H46,18         15%[39;18H[34h[?25h[?25l[50;115H47,0-1        15%[41;1H[34h[?25h[?25l[50;115H48,18         15%[42;18H[34h[?25h[?25l[50;115H49,0-1        15%[43;1H[34h[?25h[?25l[50;115H50,18         15%[44;18H[34h[?25h[?25l[50;115H51,18         15%[45;18H[34h[?25h[?25l[50;115H52,18         15%[46;18H[34h[?25h[?25l[50;115H53,1          15%[47;1H[34h[?25h[?25l[50;115H54,18         15%[48;18H[34h[?25h[?25l[50;115H55,18         15%[49;18H[34h[?25h[?25l[1;49r[49;1H
[1;50r[49;3HPGCTL=/opt/local/bin/pg_ctl[50;115H[K[50;115H56,18         16%[49;18H[34h[?25h[?25l[1;49r[49;1H
[1;50r[49;3HPSQL=/opt/local/bin/psql[50;115H[K[50;115H57,18         17%[49;18H[34h[?25h[?25l[1;49r[49;1H
[1;50r[49;3HRSYNC=/opt/local/bin/rsync[50;115H[K[50;115H58,18         18%[49;18H[34h[?25h[?25l[1;49r[49;1H
[1;50r[49;3HSSH=/usr/bin/ssh[50;115H[K[50;115H59,18         20%[49;18H[34h[?25h[?25l[1;49r[49;1H
[1;50r[49;3HCP=/usr/bin/cp[50;115H[K[50;115H60,16         21%[49;16H[34h[?25h[?25l[1;49r[49;1H
[1;50r[49;1Helif [ $OS = [31m'Linux'[0m ]; then[50;115H[K[50;115H61,18         22%[49;18H[34h[?25h[?25l[1;49r[49;1H
[1;50r[49;3H[34m# These settings are for CentOS. Other distributions may be different.[0m[50;115H[K[50;115H62,18         24%[49;18H[34h[?25h[?25l[1;49r[49;1H
[1;50r[49;3HPGBASE=/var/lib/pgsql[50;115H[K[50;115H63,18         25%[49;18H[34h[?25h[?25l[1;49r[49;1H
[1;50r[49;3HPGCTL=/usr/pgsql-9.0/bin/pg_ctl[50;115H[K[50;115H64,18         26%[49;18H[34h[?25h[?25l[1;49r[49;1H
[1;50r[49;3HPSQL=/usr/pgsql-9.0/bin/psql[50;115H[K[50;115H65,18         27%[49;18H[34h[?25h[?25l[1;49r[49;1H
[1;50r[49;3HRSYNC=/usr/bin/rsync[50;115H[K[50;115H66,18         29%[49;18H[34h[?25h[?25l[1;49r[49;1H
[1;50r[49;3HSSH=/usr/bin/ssh[50;115H[K[50;115H67,18         30%[49;18H[34h[?25h[?25l[1;49r[49;1H
[1;50r[49;3HCP=/bin/cp[50;115H[K[50;115H68,12         31%[49;12H[34h[?25h[?25l[1;49r[49;1H
[1;50r[49;1Helse[50;115H[K[50;115H69,4          32%[49;4H[34h[?25h[?25l[1;49r[49;1H
[1;50r[49;3Hecho [31m"Unrecognized OS."[0m[50;115H[K[50;115H70,18         34%[49;18H[34h[?25h[?25l[1;49r[49;1H
[1;50r[49;3Hexit 1[50;115H[K[50;115H71,8          35%[49;8H[34h[?25h[?25l[1;49r[49;1H
[1;50r[49;1Hfi[50;115H[K[50;115H72,2          36%[49;2H[34h[?25h[?25l[1;49r[49;1H
[1;50r[50;115H[K[50;115H73,0-1        37%[49;1H[34h[?25h[?25l[1;49r[49;1H
[1;50r[49;1H[34m# Name and location of the file that stops archiving on the Master[0m[50;115H[K[50;115H74,18         39%[49;18H[34h[?25h[?25l[1;49r[1;1H[2M[1;50r[48;1HTOUCHFILE=$PGBASE/no_archiving
[34m# Name and location of the file which stops recovers on the slave[0m[50;115H[K[50;115H75,18         41%[48;18H[34h[?25h[?25l[50;115H76,18         41%[49;18H[34h[?25h[?25l[50;115H75,18         41%[48;18H[34h[?25h[?25l[50;115H74,18         41%[47;18H[34h[?25h[?25l[50;115H73,0-1        41%[46;1H[34h[?25h[?25l[50;115H72,2          41%[45;2H[34h[?25h[?25l[50;115H71,8          41%[44;8H[34h[?25h[?25l[50;115H70,18         41%[43;18H[34h[?25h[?25l[50;115H69,4          41%[42;4H[34h[?25h[?25l[50;115H68,12         41%[41;12H[34h[?25h[?25l[50;115H67,18         41%[40;18H[34h[?25h[?25l[50;115H66,18         41%[39;18H[34h[?25h[?25l[50;115H65,18         41%[38;18H[34h[?25h[?25l[50;115H64,18         41%[37;18H[34h[?25h[?25l[50;115H65,18         41%[38;18H[34h[?25h[?25l[50;115H66,18         41%[39;18H[34h[?25h[?25l[50;115H65,18         41%[38;18H[34h[?25h[?25l[50;115H64,18         41%[37;18H[34h[?25h[?25l[50;115H65,18         41%[38;18H[34h[?25h[?25l[50;115H66,18         41%[39;18H[34h[?25h[?25l[50;115H67,18         41%[40;18H[34h[?25h[?25l[50;115H66,18         41%[39;18H[34h[?25h[?25l[50;115H65,18         41%[38;18H[34h[?25h[?25l[50;115H64,18         41%[37;18H[34h[?25h[?25l[50;115H63,18         41%[36;18H[34h[?25h[?25l[50;115H64,18         41%[37;18H[34h[?25h[?25l[50;115H65,18         41%[38;18H[34h[?25h[?25l[50;115H66,18         41%[39;18H[34h[?25h[?25l[50;115H67,18         41%[40;18H[34h[?25h[?25l[50;115H68,12         41%[41;12H[34h[?25h[?25l[50;115H69,4          41%[42;4H[34h[?25h[?25l[50;115H70,18         41%[43;18H[34h[?25h[?25l[50;115H71,8          41%[44;8H[34h[?25h[?25l[50;115H72,2          41%[45;2H[34h[?25h[?25l[50;115H73,0-1        41%[46;1H[34h[?25h[?25l[50;115H74,18         41%[47;18H[34h[?25h[?25l[50;115H75,18         41%[48;18H[34h[?25h[?25l[50;115H76,18         41%[49;18H[34h[?25h[?25l[1;49r[1;1H[2M[1;50r[48;1H[34m# and brings it up as the new master[0m
BRINGUP=$PGBASE/BRINGUP[50;115H[K[50;115H77,18         42%[48;18H[34h[?25h[?25l[50;115H78,18         42%[49;18H[34h[?25h[?25l[1;49r[1;1H[2M[1;50r[48;1H[34m# Local destinations file
# Points to a file containing a list of mounted directories to copy[0m[50;115H[K[50;115H79,18         44%[48;18H[34h[?25h[?25l[50;115H80,18         44%[49;18H[34h[?25h[?25l[1;49r[1;1H[2M[1;50r[48;1H[34m# WAL files to.  If not using, *do not leave empty*, just use the
# default and don't create the file.[0m[50;115H[K[50;115H81,18         46%[48;18H[34h[?25h[?25l[50;115H82,18         46%[49;18H[34h[?25h[?25l[1;49r[49;1H
[1;50r[49;1HLOCAL_DESTINATIONS_LIST=[31m"$PGBASE/scripts/local_destinations"[0m[50;115H[K[50;115H83,18         48%[49;18H[34h[?25h[?25l[1;49r[49;1H
[1;50r[49;1H[34m#[0m[50;115H[K[50;115H84,1          49%[49;1H[34h[?25h[?25l[50;115H83,18         49%[48;18H[34h[?25h[?25l[50;115H82,18         49%[47;18H[34h[?25h[?25l[50;115H81,18         49%[46;18H[34h[?25h[?25l[50;115H80,18         49%[45;18H[34h[?25h[?25l[50;115H79,18         49%[44;18H[34h[?25h[?25l[50;115H78,18         49%[43;18H[34h[?25h[?25l[50;115H77,18         49%[42;18H[34h[?25h[?25l[50;115H76,18         49%[41;18H[34h[?25h[?25l[50;115H75,18         49%[40;18H[34h[?25h[?25l[50;115H75,19         49%[40;19H[34h[?25h[?25l[50;115H75,20         49%[40;20H[34h[?25h[?25l[50;115H75,19         49%[40;19H[34h[?25h[?25l[50;115H74,19         49%[39;19H[34h[?25h[?25l[50;115H73,0-1        49%[38;1H[34h[?25h[?25l[50;115H72,2          49%[37;2H[34h[?25h[?25l[50;115H71,8          49%[36;8H[34h[?25h[?25l[50;115H70,19         49%[35;19H[34h[?25h[?25l[50;115H69,4          49%[34;4H[34h[?25h[?25l[50;115H68,12         49%[33;12H[34h[?25h[?25l[50;115H67,18         49%[32;18H[34h[?25h[?25l[50;115H66,19         49%[31;19H[34h[?25h[?25l[50;115H65,19         49%[30;19H[34h[?25h[?25l[50;115H64,19         49%[29;19H[34h[?25h[?25l[50;115H63,19         49%[28;19H[34h[?25h[?25l[50;115H62,19         49%[27;19H[34h[?25h[?25l[50;115H61,19         49%[26;19H[34h[?25h[?25l[50;115H60,16         49%[25;16H[34h[?25h[?25l[50;115H59,18         49%[24;18H[34h[?25h[?25l[50;115H58,19         49%[23;19H[34h[?25h[?25l[50;115H57,19         49%[22;19H[34h[?25h[?25l[50;115H56,19         49%[21;19H[34h[?25h[?25l[50;115H55,19         49%[20;19H[34h[?25h[?25l[50;115H56,19         49%[21;19H[34h[?25h[?25l[50;115H57,19         49%[22;19H[34h[?25h[?25l[50;115H58,19         49%[23;19H[34h[?25h[?25l[50;115H59,18         49%[24;18H[34h[?25h[?25l[50;115H60,16         49%[25;16H[34h[?25h[?25l[50;115H61,19         49%[26;19H[34h[?25h[?25l[50;115H62,19         49%[27;19H[34h[?25h[?25l[50;115H63,19         49%[28;19H[34h[?25h[?25l[50;115H63,18         49%[28;18H[34h[?25h[?25l[50;115H63,17         49%[28;17H[34h[?25h[?25l[50;115H63,16         49%[28;16H[34h[?25h[?25l[50;115H63,15         49%[28;15H[34h[?25h[?25l[50;115H63,14         49%[28;14H[34h[?25h[?25l[50;115H63,13         49%[28;13H[34h[?25h[?25l[50;115H63,12         49%[28;12H[34h[?25h[?25l[50;115H63,13         49%[28;13H[34h[?25h[?25l[50;115H63,14         49%[28;14H[34h[?25h[?25l[50;115H63,15         49%[28;15H[34h[?25h[?25l[50;115H63,16         49%[28;16H[34h[?25h[?25l[50;115H63,17         49%[28;17H[34h[?25h[?25l[50;115H64,17         49%[29;17H[34h[?25h[?25l[50;115H65,17         49%[30;17H[34h[?25h[?25l[50;115H64,17         49%[29;17H[34h[?25h[?25l[50;115H63,17         49%[28;17H[34h[?25h[?25l[50;115H63,18         49%[28;18H[34h[?25h[?25l[50;115H63,19         49%[28;19H[34h[?25h[?25l[50;115H63,20         49%[28;20H[34h[?25h[?25l[50;115H63,21         49%[28;21H[34h[?25h[?25l[50;115H63,22         49%[28;22H[34h[?25h[?25l[50;115H63,21         49%[28;21H[34h[?25h[?25l[50;115H63,20         49%[28;20H[34h[?25h[?25l[50;115H63,19         49%[28;19H[34h[?25h[?25l[50;115H63,18         49%[28;18H[34h[?25h[?25l[50;115H63,17         49%[28;17H[34h[?25h[?25l[50;115H63,16         49%[28;16H[34h[?25h[?25l[50;115H63,15         49%[28;15H[34h[?25h[?25l[50;115H63,14         49%[28;14H[34h[?25h[?25l[50;115H63,13         49%[28;13H[34h[?25h[?25l[50;115H63,12         49%[28;12H[34h[?25h[?25l[50;115H63,11         49%[28;11H[34h[?25h[?25l[50;115H63,10         49%[28;10H[34h[?25h[?25l[50;115H64,10         49%[29;10H[34h[?25h[?25l[50;115H65,10         49%[30;10H[34h[?25h[?25l[50;115H66,10         49%[31;10H[34h[?25h[?25l[50;115H67,10         49%[32;10H[34h[?25h[?25l[50;115H68,10         49%[33;10H[34h[?25h[?25l[50;115H69,4          49%[34;4H[34h[?25h[?25l[50;115H70,10         49%[35;10H[34h[?25h[?25l[50;115H71,8          49%[36;8H[34h[?25h[?25l[50;115H72,2          49%[37;2H[34h[?25h[?25l[50;115H73,0-1        49%[38;1H[34h[?25h[?25l[50;115H74,10         49%[39;10H[34h[?25h[?25l[50;115H75,10         49%[40;10H[34h[?25h[?25l[50;115H76,10         49%[41;10H[34h[?25h[?25l[50;115H77,10         49%[42;10H[34h[?25h[?25l[50;115H78,10         49%[43;10H[34h[?25h[?25l[50;115H78,11         49%[43;11H[34h[?25h[?25l[50;115H78,12         49%[43;12H[34h[?25h[?25l[50;115H78,13         49%[43;13H[34h[?25h[?25l[50;115H78,14         49%[43;14H[34h[?25h[?25l[50;115H78,15         49%[43;15H[34h[?25h[?25l[50;115H78,16         49%[43;16H[34h[?25h[?25l[50;115H78,17         49%[43;17H[34h[?25h[?25l[50;115H78,18         49%[43;18H[34h[?25h[?25l[50;115H78,19         49%[43;19H[34h[?25h[?25l[50;115H78,20         49%[43;20H[34h[?25h[?25l[50;115H78,21         49%[43;21H[34h[?25h[?25l[50;115H78,22         49%[43;22H[34h[?25h[?25l[50;115H78,23         49%[43;23H[34h[?25h[?25l[50;115H78,22         49%[43;22H[34h[?25h[?25l[50;115H78,21         49%[43;21H[34h[?25h[?25l[50;115H78,20         49%[43;20H[34h[?25h[?25l[50;115H78,19         49%[43;19H[34h[?25h[?25l[50;115H78,18         49%[43;18H[34h[?25h[?25l[50;115H78,17         49%[43;17H[34h[?25h[?25l[50;115H79,17         49%[44;17H[34h[?25h[?25l[50;115H80,17         49%[45;17H[34h[?25h[?25l[50;115H81,17         49%[46;17H[34h[?25h[?25l[50;115H82,17         49%[47;17H[34h[?25h[?25l[50;115H83,17         49%[48;17H[34h[?25h[?25l[50;115H84,1          49%[49;1H[34h[?25h[?25l[1;49r[49;1H
[1;50r[49;1H[34m#################################[0m[50;115H[K[50;115H85,17         50%[49;17H[34h[?25h[?25l[1;49r[49;1H
[1;50r[49;1H[34m# End OS-specific settings[0m[50;115H[K[50;115H86,17         52%[49;17H[34h[?25h[?25l[1;49r[1;1H[2M[1;50r[48;1H[34m#################################[0m[50;115H[K[50;115H87,17         54%[48;17H[34h[?25h[?25l[50;115H88,0-1        54%[49;1H[34h[?25h[?25l[1;49r[49;1H
[1;50r[49;1H[34m# Should we use SSH for full sync?[0m[50;115H[K[50;115H89,17         55%[49;17H[34h[?25h[?25l[1;49r[49;1H
[1;50r[49;1HUSE_SSH_SYNC=yes[50;115H[K[50;115H90,16         56%[49;16H[34h[?25h[?25l[1;49r[49;1H
[1;50r[50;115H[K[50;115H91,0-1        58%[49;1H[34h[?25h[?25l[1;49r[49;1H
[1;50r[49;1H[34m# rsync options.  usually includes compression[0m[50;115H[K[50;115H92,17         59%[49;17H[34h[?25h[?25l[1;49r[49;1H
[1;50r[49;1HRSYNC_OPT=[31m""[0m[50;115H[K[50;115H93,12         60%[49;12H[34h[?25h[?25l[1;49r[1;1H[2M[1;50r[49;1H[34m# rsync server share name, if using[0m[50;115H[K[50;115H94,0-1        63%[48;1H[34h[?25h[?25l[50;115H95,17         63%[49;17H[34h[?25h[?25l[1;49r[49;1H
[1;50r[49;1HRSYNC_SERVER=[31m""[0m[50;115H[K[50;115H96,15         64%[49;15H[34h[?25h[?25l[1;49r[49;1H
[1;50r[49;1HRSYNC_PASS=[31m""[0m[50;115H[K[50;115H97,13         65%[49;13H[34h[?25h[?25l[1;49r[49;1H
[1;50r[50;115H[K[50;115H98,0-1        67%[49;1H[34h[?25h[?25l[1;49r[49;1H
[1;50r[49;1H[34m# SSH Options[0m[50;115H[K[50;115H99,13         68%[49;13H[34h[?25h[?25l[1;49r[49;1H
[1;50r[49;1HSSH_OPT=[31m""[0m[50;115H[K[50;115H100,10        69%[49;10H[34h[?25h[?25l[1;49r[49;1H
[1;50r[50;115H[K[50;115H101,0-1       71%[49;1H[34h[?25h[?25l[1;49r[49;1H
[1;50r[49;1H[34m# -----------------------------------------------------------------------------[0m[50;115H[K[50;115H102,17        72%[49;17H[34h[?25h[?25l[1;49r[49;1H
[1;50r[49;1H[34m# The replication-tools package is licensed under the PostgreSQL License:[0m[50;115H[K[50;115H103,17        73%[49;17H[34h[?25h[?25l[1;49r[49;1H
[1;50r[49;1H[34m# [0m[50;115H[K[50;115H104,2         75%[49;2H[34h[?25h[?25l[50;115H103,17        75%[48;17H[34h[?25h[?25l[50;115H102,17        75%[47;17H[34h[?25h[?25l[50;115H101,0-1       75%[46;1H[34h[?25h[?25l[50;115H100,10        75%[45;10H[34h[?25h[?25l[50;115H99,13         75%[44;13H[34h[?25h[?25l[50;115H98,0-1        75%[43;1H[34h[?25h[?25l[50;115H97,13         75%[42;13H[34h[?25h[?25l[50;115H96,15         75%[41;15H[34h[?25h[?25l[50;115H95,17         75%[40;17H[34h[?25h[?25l[50;115H94,0-1        75%[39;1H[34h[?25h[?25l[50;115H93,12         75%[38;12H[34h[?25h[?25l[50;115H92,17         75%[37;17H[34h[?25h[?25l[50;115H91,0-1        75%[36;1H[34h[?25h[?25l[50;115H90,16         75%[35;16H[34h[?25h[?25l[50;115H89,17         75%[34;17H[34h[?25h[?25l[50;115H88,0-1        75%[33;1H[34h[?25h[?25l[50;115H87,17         75%[32;17H[34h[?25h[?25l[50;115H86,17         75%[31;17H[34h[?25h[?25l[50;115H85,17         75%[30;17H[34h[?25h[?25l[50;115H84,1          75%[29;1H[34h[?25h[?25l[50;115H83,17         75%[28;17H[34h[?25h[?25l[50;115H82,17         75%[27;17H[34h[?25h[?25l[50;115H81,17         75%[26;17H[34h[?25h[?25l[50;115H80,17         75%[25;17H[34h[?25h[?25l[50;115H79,17         75%[24;17H[34h[?25h[?25l[50;115H78,17         75%[23;17H[34h[?25h[?25l[50;115H79,17         75%[24;17H[34h[?25h[?25l[50;115H80,17         75%[25;17H[34h[?25h[?25l[50;115H81,17         75%[26;17H[34h[?25h[?25l[50;115H82,17         75%[27;17H[34h[?25h[?25l[50;115H83,17         75%[28;17H[34h[?25h[?25l[50;115H84,1          75%[29;1H[34h[?25h[?25l[50;115H85,17         75%[30;17H[34h[?25h[?25l[50;115H86,17         75%[31;17H[34h[?25h[?25l[50;115H87,17         75%[32;17H[34h[?25h[?25l[50;115H88,0-1        75%[33;1H[34h[?25h[?25l[50;115H89,17         75%[34;17H[34h[?25h[?25l[50;115H90,16         75%[35;16H[34h[?25h[?25l[50;115H91,0-1        75%[36;1H[34h[?25h[?25l[50;115H92,17         75%[37;17H[34h[?25h[?25l[50;115H93,12         75%[38;12H[34h[?25h[?25l[50;115H94,0-1        75%[39;1H[34h[?25h[?25l[50;115H95,17         75%[40;17H[34h[?25h[?25l[50;115H96,15         75%[41;15H[34h[?25h[?25l[50;115H97,13         75%[42;13H[34h[?25h[?25l[50;115H98,0-1        75%[43;1H[34h[?25h[?25l[50;115H99,13         75%[44;13H[34h[?25h[?25l[50;115H100,10        75%[45;10H[34h[?25h[?25l[50;115H101,0-1       75%[46;1H[34h[?25h[?25l[50;115H102,17        75%[47;17H[34h[?25h[?25l[50;115H103,17        75%[48;17H[34h[?25h[?25l[50;115H104,2         75%[49;2H[34h[?25h[?25l[1;49r[49;1H
[1;50r[49;1H[34m# Copyright (c) 2010-2011, PostgreSQL, Experts, Inc.[0m[50;115H[K[50;115H105,17        76%[49;17H[34h[?25h[?25l[1;49r[49;1H
[1;50r[49;1H[34m# [0m[50;115H[K[50;115H106,2         78%[49;2H[34h[?25h[?25l[1;49r[49;1H
[1;50r[49;1H[34m# Permission to use, copy, modify, and distribute this software and its[0m[50;115H[K[50;115H107,17        79%[49;17H[34h[?25h[?25l[1;49r[49;1H
[1;50r[49;1H[34m# documentation for any purpose, without fee, and without a written agreement is[0m[50;115H[K[50;115H108,17        80%[49;17H[34h[?25h[?25l[1;49r[49;1H
[1;50r[49;1H[34m# hereby granted, provided that the above copyright notice and this paragraph[0m[50;115H[K[50;115H109,17        82%[49;17H[34h[?25h[?25l[1;49r[49;1H
[1;50r[49;1H[34m# and the following two paragraphs appear in all copies.[0m[50;115H[K[50;115H110,17        83%[49;17H[34h[?25h[?25l[1;49r[49;1H
[1;50r[49;1H[34m# [0m[50;115H[K[50;115H111,2         84%[49;2H[34h[?25h[?25l[1;49r[49;1H
[1;50r[49;1H[34m# IN NO EVENT SHALL POSTGRESQL EXPERTS, INC. BE LIABLE TO ANY PARTY FOR DIRECT,[0m[50;115H[K[50;115H112,17        86%[49;17H[34h[?25h[?25l[1;49r[49;1H
[1;50r[49;1H[34m# INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST[0m[50;115H[K[50;115H113,17        87%[49;17H[34h[?25h[?25l[1;49r[49;1H
[1;50r[49;1H[34m# PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN[0m[50;115H[K[50;115H114,17        89%[49;17H[34h[?25h[?25l[1;49r[49;1H
[1;50r[49;1H[34m# IF POSTGRESQL EXPERTS, INC. HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH[0m[50;115H[K[50;115H115,17        90%[49;17H[34h[?25h[?25l[1;49r[49;1H
[1;50r[49;1H[34m# DAMAGE.[0m[50;115H[K[50;115H116,9         91%[49;9H[34h[?25h[?25l[1;49r[49;1H
[1;50r[49;1H[34m# [0m[50;115H[K[50;115H117,2         93%[49;2H[34h[?25h[?25l[1;49r[49;1H
[1;50r[49;1H[34m# POSTGRESQL EXPERTS, INC. SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, BUT[0m[50;115H[K[50;115H118,17        94%[49;17H[34h[?25h[?25l[1;49r[49;1H
[1;50r[49;1H[34m# NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A[0m[50;115H[K[50;115H119,17        95%[49;17H[34h[?25h[?25l[1;49r[49;1H
[1;50r[49;1H[34m# PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS,[0m[50;115H[K[50;115H120,17        97%[49;17H[34h[?25h[?25l[1;49r[49;1H
[1;50r[49;1H[34m# AND POSTGRESQL EXPERTS, INC. HAS NO OBLIGATIONS TO PROVIDE MAINTENANCE,[0m[50;115H[K[50;115H121,17        98%[49;17H[34h[?25h[?25l[1;49r[49;1H
[1;50r[49;1H[34m# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.[0m[50;115H[K[50;115H122,17        Bot[49;17H[34h[?25h�����������[?25l[23m[24m[0m[H[J[23m[24m[0m[H[J[1;1H[34m# on all servers.  In the event of failover and promotion                                                                            [2;1H              
# of the replica to a master, you will need to swap these                                                                            [4;1H              
# addresses                                                                                                                          [6;1H              [0m

MASTER=10.100.23.97
REPLICA=10.100.23.76

[34m# below should not need to be changed for CentOS                                                                                     [12;1H              [0m

PGUSER=replicauser
PGDATA=/var/pgsql/data90
REPLICATION_LOG=/var/log/pg_log/replication.log

[34m# directory where log files are copied to on the replica                                                                             [19;1H              [0m

WALDIR=/var/pgsql/wal_archive

[34m#################################
# Begin OS-specific settings
#################################
#[0m
if [ $OS = [31m'Joyent'[0m ]; then
  PGBASE=/var/pgsql
  PGCTL=/opt/local/bin/pg_ctl
  PSQL=/opt/local/bin/psql
  RSYNC=/opt/local/bin/rsync
  SSH=/usr/bin/ssh
  CP=/usr/bin/cp
elif [ $OS = [31m'Linux'[0m ]; then
  [34m# These settings are for CentOS. Other distributions may be different.[0m
  PGBASE=/var/lib/pgsql
  PGCTL=/usr/pgsql-9.0/bin/pg_ctl
  PSQL=/usr/pgsql-9.0/bin/psql
  RSYNC=/usr/bin/rsync
  SSH=/usr/bin/ssh
  CP=/bin/cp
else
  echo [31m"Unrecognized OS."[0m
  exit 1
fi

[34m# Name and location of the file that stops archiving on the Master[0m
TOUCHFILE=$PGBASE/no_archiving
[34m# Name and location of the file which stops recovers on the slave[0m[50;115H75,1          41%[48;1H[34h[?25h[?25l[1;3H[34mPowers pg_resync_replica, promote_to_master and wal_archive[0m[1;62H[K[2;1H[K[3;3H[34mVersion 1.6.  Last updated 2011-02-17.[0m[3;41H[K[4;1H[K[5;3H[34mCopyright (c) 2010-2011, PostgreSQL, Experts, Inc.[0m[5;53H[K[6;1H[34m# Licensed under The PostgreSQL License; see
# http://www.postgresql.org/about/licence
# or the end of this file for details.[0m[9;1H[K[10;1H[34m# What operating system is this? We have some special-case code
# for different OSs.[0m[11;21H[K[12;1HUNAME_S=`uname -s`
if [ $UNAME_S = Linux ]; then
  OS=Linux[14;11H[K[15;1Helif [ $UNAME_S = SunOS ] && uname -r | grep 5.11 > /dev/null 2>&1; then
  [34m# Discriminate between Joyent's in-house version of OpenSolaris
[0m  [34m# and the mainstream version. Only way to do it: check the doman name.[0m
  if uname -n | grep -i joyent > /dev/null 2>&1; then[18;54H[K[19;1H    OS=Joyent[19;14H[K[21;1H    [34m# On Joyent, sometimes you want to use svcadm; sometimes you don't. 
[0m    [34m# Set this variable accordingly. Recommended setting: false (i.e. '').[0m
    USE_SVCADM=[31m''[0m[23;18H[K[24;1H  else[24;7H[K[25;1H    OS=OpenSolaris[25;19H[K[26;1H  fi
else[27;6H[K[28;3HOS=unknown[28;13H[K[29;1Hfi[29;3H[K[30;3H[K[31;1H[34m# master and replica IP addresses.  These should be the same                                                                         [32;1H             [0m[32;14H[K[33;1H[34m# on all servers.  In the event of failover and promotion                                                                            [34;1H              [0m[34;15H[K[35;1H[34m# of the replica to a master, you will need to swap these                                                                            [36;1H              [0m[36;15H[K[37;1H[34m# addresses                                                                                                                          [38;1H              [0m[38;15H[K[39;3H[K[40;1HMASTER=10.100.23.97
REPLICA=10.100.23.76[42;1H[K[43;1H[34m# below should not need to be changed for CentOS                                                                                     [44;1H              [0m[45;1H[K[46;1HPGUSER=replicauser
PGDATA=/var/pgsql/data90[47;25H[K[48;1HREPLICATION_LOG=/var/log/pg_log/replication.log[49;1H[K[50;115H34,1           1%[35;1H[34h[?25h[?25l[1;49r[1;1H[L[1;50r[1;1H[34m# Configuration file for PITR or replication on PostgreSQL 9.0[0m[50;115H[K[50;115H44,1          Top[49;1H[34h[?25h[?25l[23m[24m[0m[H[J[23m[24m[0m[H[J[1;1HPGDATA=/var/pgsql/data90
REPLICATION_LOG=/var/log/pg_log/replication.log

[34m# directory where log files are copied to on the replica                                                                             [5;1H              [0m

WALDIR=/var/pgsql/wal_archive

[34m#################################
# Begin OS-specific settings
#################################
#[0m
if [ $OS = [31m'Joyent'[0m ]; then
  PGBASE=/var/pgsql
  PGCTL=/opt/local/bin/pg_ctl
  PSQL=/opt/local/bin/psql
  RSYNC=/opt/local/bin/rsync
  SSH=/usr/bin/ssh
  CP=/usr/bin/cp
elif [ $OS = [31m'Linux'[0m ]; then
  [34m# These settings are for CentOS. Other distributions may be different.[0m
  PGBASE=/var/lib/pgsql
  PGCTL=/usr/pgsql-9.0/bin/pg_ctl
  PSQL=/usr/pgsql-9.0/bin/psql
  RSYNC=/usr/bin/rsync
  SSH=/usr/bin/ssh
  CP=/bin/cp
else
  echo [31m"Unrecognized OS."[0m
  exit 1
fi

[34m# Name and location of the file that stops archiving on the Master[0m
TOUCHFILE=$PGBASE/no_archiving
[34m# Name and location of the file which stops recovers on the slave
# and brings it up as the new master[0m
BRINGUP=$PGBASE/BRINGUP
[34m# Local destinations file
# Points to a file containing a list of mounted directories to copy
# WAL files to.  If not using, *do not leave empty*, just use the
# default and don't create the file.[0m
LOCAL_DESTINATIONS_LIST=[31m"$PGBASE/scripts/local_destinations"[0m
[34m#
#################################
# End OS-specific settings
#################################

# Should we use SSH for full sync?[0m
USE_SSH_SYNC=yes[50;115H43,1          56%[1;1H[34h[?25h[?25l[50;115H[K[50;1H:[34h[?25hq[?25l
:q[34h[?25h
[?25l[50;1H[K[50;1H[?1l>[34h[?25h[?1049l_dev@easproddb:~/replication-tools/scripts\[dev@easproddb scripts]$ vim pitr-replication.conf 
[?1049h[?1h=[1;50r[34l[34h[?25h[23m[24m[0m[H[J[?25l[50;1H"pitr-replication.conf" 
"pitr-replication.conf" 122L, 4577C[1;1H[34m# Configuration file for PITR or replication on PostgreSQL 9.0
# Powers pg_resync_replica, promote_to_master and wal_archive

# Version 1.6.  Last updated 2011-02-17.

# Copyright (c) 2010-2011, PostgreSQL, Experts, Inc.
# Licensed under The PostgreSQL License; see
# http://www.postgresql.org/about/licence
# or the end of this file for details.

# What operating system is this? We have some special-case code
# for different OSs.[0m
UNAME_S=`uname -s`
if [ $UNAME_S = Linux ]; then
  OS=Linux
elif [ $UNAME_S = SunOS ] && uname -r | grep 5.11 > /dev/null 2>&1; then
  [34m# Discriminate between Joyent's in-house version of OpenSolaris
[0m  [34m# and the mainstream version. Only way to do it: check the doman name.[0m
  if uname -n | grep -i joyent > /dev/null 2>&1; then
    OS=Joyent[22;5H[34m# On Joyent, sometimes you want to use svcadm; sometimes you don't. 
[0m    [34m# Set this variable accordingly. Recommended setting: false (i.e. '').[0m
    USE_SVCADM=[31m''[0m
  else
    OS=OpenSolaris
  fi
else
  OS=unknown
fi

[34m# master and replica IP addresses.  These should be the same                                                                         [33;1H             
# on all servers.  In the event of failover and promotion                                                                            [35;1H              
# of the replica to a master, you will need to swap these                                                                            [37;1H              
# addresses                                                                                                                          [39;1H              [0m

MASTER=10.100.23.97
REPLICA=10.100.23.76

[34m# below should not need to be changed for CentOS                                                                                     [45;1H              [0m

PGUSER=replicauser
PGDATA=/var/pgsql/data90
REPLICATION_LOG=/var/log/pg_log/replication.log[50;115H43,1          Top[48;1H[34h[?25h


[?1l>[?1049l
[1]+  Stopped                 vim pitr-replication.conf
_dev@easproddb:~/replication-tools/scripts\[dev@easproddb scripts]$ /sbin/ifconfig 
eth0      Link encap:Ethernet  HWaddr 00:50:56:80:00:C0  
          inet addr:10.250.60.196  Bcast:10.250.60.255  Mask:255.255.255.0
          inet6 addr: fe80::250:56ff:fe80:c0/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:688003 errors:0 dropped:0 overruns:0 frame:0
          TX packets:309480 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:510342563 (486.7 MiB)  TX bytes:139064880 (132.6 MiB)
          Interrupt:59 Base address:0x2000 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:367901 errors:0 dropped:0 overruns:0 frame:0
          TX packets:367901 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:436958519 (416.7 MiB)  TX bytes:436958519 (416.7 MiB)

_dev@easproddb:~/replication-tools/scripts\[dev@easproddb scripts]$ fg
vim pitr-replication.conf
[?1049h[?1h=[34l[34h[?25h[23m[24m[0m[H[J[?25l[1;1H[34m# Configuration file for PITR or replication on PostgreSQL 9.0
# Powers pg_resync_replica, promote_to_master and wal_archive

# Version 1.6.  Last updated 2011-02-17.

# Copyright (c) 2010-2011, PostgreSQL, Experts, Inc.
# Licensed under The PostgreSQL License; see
# http://www.postgresql.org/about/licence
# or the end of this file for details.

# What operating system is this? We have some special-case code
# for different OSs.[0m
UNAME_S=`uname -s`
if [ $UNAME_S = Linux ]; then
  OS=Linux
elif [ $UNAME_S = SunOS ] && uname -r | grep 5.11 > /dev/null 2>&1; then
  [34m# Discriminate between Joyent's in-house version of OpenSolaris
[0m  [34m# and the mainstream version. Only way to do it: check the doman name.[0m
  if uname -n | grep -i joyent > /dev/null 2>&1; then
    OS=Joyent[22;5H[34m# On Joyent, sometimes you want to use svcadm; sometimes you don't. 
[0m    [34m# Set this variable accordingly. Recommended setting: false (i.e. '').[0m
    USE_SVCADM=[31m''[0m
  else
    OS=OpenSolaris
  fi
else
  OS=unknown
fi

[34m# master and replica IP addresses.  These should be the same                                                                         [33;1H             
# on all servers.  In the event of failover and promotion                                                                            [35;1H              
# of the replica to a master, you will need to swap these                                                                            [37;1H              
# addresses                                                                                                                          [39;1H              [0m

MASTER=10.100.23.97
REPLICA=10.100.23.76

[34m# below should not need to be changed for CentOS                                                                                     [45;1H              [0m

PGUSER=replicauser
PGDATA=/var/pgsql/data90
REPLICATION_LOG=/var/log/pg_log/replication.log[50;115H43,1          Top[48;1H[34h[?25h[?25l[50;115H42,1          Top[47;1H[34h[?25h[?25l[50;115H41,0-1        Top[46;1H[34h[?25h[?25l[50;115H40,1          Top[44;1H[34h[?25h[?25l[50;115H39,0-1        Top[43;1H[34h[?25h[?25l[50;115H38,1          Top[42;1H[34h[?25h[?25l[50;115H37,1          Top[41;1H[34h[?25h[?25l[50;115H37,7          Top[41;7H[34h[?25h[?25l[50;115H37,8          Top[41;8H[34h[?25h[?25l[50;1H[1m-- INSERT --[0m[50;115H[K[50;115H37,8          Top[41;8H[K[41;8H[34h[?25h[?25l10.250.60.196[50;115H37,21         Top[41;21H[34h[?25h[50;1H[K[41;20H[?25l[50;115H37,20         Top[41;20H[34h[?25h[?25l[50;115H38,20         Top[42;20H[34h[?25h[?25l[50;115H38,19         Top[42;19H[34h[?25h[?25l[50;115H38,18         Top[42;18H[34h[?25h[?25l[50;115H38,16         Top[42;16H[34h[?25h[?25l[50;115H38,15         Top[42;15H[34h[?25h[?25l[50;115H38,12         Top[42;12H[34h[?25h[?25l[50;115H38,11         Top[42;11H[34h[?25h[?25l[50;115H38,9          Top[42;9H[34h[?25h[?25l[50;1H84 fewer lines[50;115H[K[50;1H[1m-- INSERT --[0m[50;13H[K[50;115H38,9          All[50;1H[K[42;12H250.60.196
[1m[34m~                                                                                                                                   [44;1H~                                                                                                                                   [45;1H~                                                                                                                                   [46;1H~                                                                                                                                   [47;1H~                                                                                                                                   [48;1H~                                                                                                                                   [49;1H~                                                                                                                                   [0m[50;115H38,21         All[42;21H[34h[?25h����[?25l[50;1H84 more lines; before #2  3 seconds ago[50;115H[K[42;12H100.23.76[42;21H1;2mlogd.s[00m
-rw-rw-r-- 1 dev dev 46376665 Nov  8  2010 [00mmad-1_0-beta-2.backup[00m
-rw-r--r-- 1 dev dev     9092 Aug  5 13:37 [01;31mreplicatio-tools.tgz[00m
-rwrw--- 1 de dv     81 Aug  5 13:38 [00mscreelog.0[0m
-rw-rw-r-- 1 dev dev 64997985Feb 24 9:9 [00msfmaps.backup[00m
-rw-r--r-- 1 dev dev    1770 Jul 2 8:31 [00mtypescript[00m
[m_ev@esprodb:~\dev@eaproddb ~]$ cat ardopy.0 
[dv@easproddb ~]$ hostname
easprodb
[dev@asprddb ~$ echo $TERM
scree
[dev@easproddb ~]$ ls
aselinedbs.h  dflogs.tt logdf.s  mad1_0-beta-2.backup  repliction-tols.tz  sfaps.bckup  typescript
[dev@eaproddb~]$ sbin/fconfg
eth0      Link encap:Ehernet HWadr 00:0:56:0:00:C0
          inet adr:10.50.6.196 Bcast10.250.60.255  Mask:255.25.255.0
        inet6addr: fe80::250:56ff:fe80c0/64 Sope:ink
        UP BROADCAST RUNNING MLTICAST MTU1500 Metri:1
         R packes:685165erors:0 dropped:0 overruns: frame0
        TX ackets30743 erors:0 ropped0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:510079531 (486.4 MiB)  TX bytes:138714899 (132.2 MiB)
          Interrupt:9 Bse addres:x2000

lo        Link ecap:Locl Lopback
         iet addr:27.0.01  Mask:550.0.0
          inet6 adr: ::1128 cope:ost
        UP LOOBACK RNNING  MTU:16436  Metric:1
         RX pacet:367551 errors:0 dropped: overrus:0 rame:
         X packet:36755 errors: dopped:0 overruns:0 carrie:0
        colision:0 txqeuelen:0
         RXbytes:436741055 (416.5 MiB)  TX bytes43641055 (46. MiB)

[dev@easproddb ~$ ls
bselie_dbssh  d-logs.xt  logd.sh  md-1_0-eta-2.backup  replication-tools.gz sfmaps.bckp  typescript
[dev@easprddb ~]$





















_dv@easproddb:~\[dev@easproddb ~]$ ls l
[00mtota 19744
-rw-rw-r-- 1 dev de     148 Ju  8 1:21 01;32maseline_bs.sh00m
-w-rw---  dev dev  96752 Jul 18 17:43 [00md-logs.xt[0m
-w-rw--- 1 dv dev    1376 ug  5 13:38 [00mardcopy.0[0m
-rwxr-xrx 1 dev ev      78 Jul 18 14:55 [0;32mlogf.sh[00m
-rw-r-r-- 1dev dev 637666 Nov  8  2010 [00mmad-_0-beta-.bckup[00m
-rw-r--r-- 1 dv dev    902 Aug 5 1337 [0;31mreplcationtools.tgz[00m
-rw-rw-r-- 1 dev ev     289Aug  5 13:39 [00mscreenlg.0[00
-r-rw-r- 1 dv dev 4997985 eb 24 9:49 [00msfmaps.backup[00m
rw-r--r- 1dev dev    17370 Jul 22 0:31 [0mtypscrip[00m
[m_ev@easprddb:~[dev@easproddb ~]$ date
Fri Aug 5 13:4000PDT 2011
_dev@easproddb~\[deveaspoddb ]$ dae����l -l
[0mtotal109744
-rw-rw-r-- 1 dv dev    118 Jun  8 12:21 [01;32mbseline_bs.s[00m
-rw-w-r--  dev dev  79672 Jul 18 17:43 [00mf-logs.tt00m
-rw-rw-r-- 1 dev dev    137 Aug 5 1338 [0mhardopy.0[0m
-rwr-xr-x 1 de dev      78 Ju 18 14:55 01;3mlogd.sh[00m
-rw-rw-r-  dev dev 46376665 Nov  8 2010 [0mma-1_0-eta-2backup[00m
-r-r--r- 1 dev ev     902 Aug  5 13:37 [01;31mreplication-tools.tgz[00m
-rw-rw-r-- 1 dev dev    299 Aug  51339 [00mscreenlog.0[00m
-rw-rw--- 1dev dv 6497985 Fb 24 09:9 [00sfmaps.backup[00m
-rw-r---- 1 devde    17370 Jul 22 08:31 [0mtypesript[00m
[m_ev@easroddb:~[dev@esproddb ~]$ cat hardcopy.0 
[dev@easroddb ~] hstname
easproddb
[dev@esproddb~]$ cho $ERM
creen
[dev@easroddb ]$ ls
baseline_dbs.sh  df-logs.tx  logdf.h mad-1_0-beta-2.backup  relicatio-toos.tgz sfmas.backp  typesript
dev@easproddb ~]$ /sbin/ifonfig
eh0     Link encap:Ethernet HWaddr 0:5056:8000:C0
         inetaddr:1.250.60.196  Bcast:10.50.60.25  ask:255.255.255.0
         inet add: fe8::25056ff:f80:c0/64Scope:ink
          U BROADCAT UNNING MULTICAST  MTU:150  Metri:1
        RXpacket:685165 rrors: dropped:0overruns0 rame:0
          TX packts:30735 erors: droped:0 oerruns:0carrie:0
         collisions:0 txqueueen:000
        RX bytes:510079531 (48.4 MiB) TX ytes:3871499 (13.2 MiB)
         Interrupt59 Base ddess:0x2000

lo        Lnk encp:Loal Lopback
         inetaddr:17.0.0.1 Mask:2550..0
          inet6 addr:::1/12 Scoe:Hos
         P LOOPBAK RUNNNG  MTU:646  Metric:1
          RXpacket:36751 erors:0droppe:0 overrns:0 fame:0
          TX packets:367551 errors:0 dropped:0 overruns:0 carrier:0
        collsins:0 txqueuelen:0
         RX btes:3674155 (46.5 iB) TX yts:3674055 4165 iB

[ev@easproddb ~]$ ls
baseline_dbs.sh  df-logs.txt  logdf.sh  mad-1_0-bta-2.backup  replication-tools.tgz  smaps.backup  typescript
[dev@easproddb ~]$





















_dev@easproddb:~\[ev@easproddb ~]$ ls had��[K����[Kls -l
[00mtotal 109748
-rw-rw-r-- 1 dev dev     1418 Jun  8 12:21 [01;32mbaseline_dbs.sh[00m
-rw-rw-r-- 1 dev dev   796752 Jul 18 17:43 [00mdf-logs.txt[00m
-rw-rw-r-- 1 dev dev     1376 Aug 5 13:38 [00mhardcopy.0[00m
-rwxr-xr-x 1 dev dev       78 Jul 18 1455 [1;32mlogdf.sh[00m
-rw-rw-r-- 1 dev dev 46376665 Nov  8  2010 [00mmad-1_0-beta-2.backup[00m
-rw-r--r-- 1 dev dev     9092 Aug  5 13:37 [1;31mreplication-tools.tg[00m
-rw-rw-r-- 1 dev dev     5934 Aug  5 13:40 [00mscreenlog.0[00m
rw-rw-r- 1 dev dev 64997985 Feb 24 09:49 [00mfmaps.backup[00m
-rw-r-r-- 1 dev dev   17370 ul 22 0:31 [00mtypescrit[00m
[m_ev@easroddb:~\[dev@easproddb ~]$ cat hardcopy.0 
[dev@easproddb ~]$ hostname
easproddb
[dev@easproddb ~]$ echo $TERM
screen
[dev@easproddb ~]$ ls
baseline_dbs.sh  df-logs.txt  logdf.sh  mad-1_0-beta-2.backup  replication-tools.tgz  sfmaps.backup  typescript
[dev@easproddb ~]$ /sbin/ifconfig
eth0      Link encap:Ethernet  HWaddr 00:50:56:80:00:C0
          inet addr:10.250.60.196  Bcast:10.250.60.255  Mask:255.255.255.0
          inet6 addr: fe80::250:56ff:fe80:c0/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:685165 errors:0 dropped:0 overruns:0 frame:0
          TX packets:307435 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:510079531 (486.4 MiB)  TX bytes:138714899 (132.2 MiB)
          Interrupt:59 Base address:0x2000

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:367551 errors:0 dropped:0 overruns:0 frame:0
          TX packets:367551 errors:0 dropped:0 overruns:0 carrier:0
        collisions:0 txqueuelen:0
        RX byes:43741055 (416.5 MiB)  TX byes:4374105 (41.5 Mi)

[dev@easproddb ~]$ l
baslinedbs.s  df-ogs.txt  logdf.sh  mad-1_-beta2.bakup  epliction-tools.tgz  sfmaps.bakup  ypesript
[dev@asproddb ~]$





















_dev@easproddb:~[dev@asprddb ~$ ls creenlog.0 -l
[00m-rw-r-r--  devdev 825 Au  5 13:40 [00mscreenlog.[00m
[m_dev@asprodb:~\[dev@easproddb ~]$ ess sceenlg.0 
[?109h[?1h=
[3mESC[23m_dv@easpoddb~[3mSC[2m\[dev@easproddb ~]$ 
[mESC[3m_dv@easroddb~[3mESC[23m\[dev@easprodb ~]$ls
[3mES[23m00m[3mESC[23m[01;32mbasline_ds.sh[3mES[23m00m  [3mESC[23m[00mhardopy.03mES[23m00m  [3mESC[23m[00mmad-1_0-bea-2.bakup3mESC[23m[0m  [3mESC[23m[00mscreelog.03mES[23m00m   � [3mESC[23m[00mtypescipt[3ESC23m[0m
[mESC[23m[00mdf-logs.txt3mESC23m[0m     [3ESC[23m[01;32mlogdf.sh[mESC[3m[0m    [3mES[23m[01;31mreplication-tols.tg[3mSC[2m[00m [3mESC[23m[00msfmaps.bckup[mESC[23m[0m
3mESC[23m[m[3mESC[23m_ev@easrodd:~[3ESC[3m\[dev@easproddb ~]$ catscreenog.0
[3^M[2m
[3mESC[23m_dev@easprddb:~3mES[23m[dev@asproddb ~]$ [3m^M[23m
[3mES[23_dev@asprodb:~[3mESC[23m\[dev@easroddb ]$ l[3m^[23m
[3mESC[23m[00m[3mESC23m[0132mbselin_dbs.h[3mESC[23m[00m  [3mES[23m[0mhadcopy0[3mSC[23m[00m  [3mESC[23m00mmad1_0-eta-2backu[3mESC[23m[00m  [3mESC[23m[0mscrenlog0[3mSC[23m[00m    � [3mESC23m[00typecript[3mES[23m[00m[3m^M[23m
[3ESC[2m[00df-los.txt[3mESC[23m[00m      [3mSC[23[01;2mlogf.sh3mESC[23m[00m    [3mESC[23m[0;31mepliction-ools.tgz[3mESC[23m[00m [3mES[23[00msmaps.ackup[3mESC[23m[00m[3mM[23m
[3mSC[2m[m[mESC[3m_dev@easprodd:~3mESC[2m\dev@easproddb ~]$ cat sc3mESC[3m_dv@easroddb~[3mEC[3m\[dev@easproddb ~]$ ls l
[3mSC[3m[00total109744
-r-rw-r-- 1 dev dev     141 Jun  812:2 [3mSC[2m[01;3mbaeline_dbs.sh[3mESC[23m[0m
-rwrw-r- 1 dv dev  79672 Jl 18 17:43 [3mESC[23m[0mdf-log.txt[3mES[23m00m
-w-r-r-- 1 dev dev     1376 Ag  5 1338 3mESC[23m[0mhardopy0[3mESC[23m[00m
-rwxr-r-x 1 dv de      78 Jl 18 1:55[3mESC[23m[01;32mlogdf.h[3mES[23[00m
-rw-rwr- 1 dev ev 4676665 Nov  8  2010 [3mES[23m[0mmad1_0-bta-2.ackup[3mESC[23m[00m
-r-r--r--1 de dev    902 Aug  5 13:37 [3mESC[2m[01;3mrepicatin-toos.tgz[3mESC[23m[00m
-r-rw-r--1 de dev     87 Aug  5 13:38 [3mESC[2m[00msceenlg.0[mESC23m[00m
-rw-rw-r-- 1 devdev 6497985Feb 2 09:4 [3mESC[23m[00msfmaps.bckup[mESC[23m[0m
-w-r--r-- 1 dev dev    1730 Jul 2 08:1 [3ESC[3m[00mtypescript[3mESC[3m[00m
[3mSC[2m[m[mESC[23m_dev@easproddb:~[3mESC[23m[dev@asprodb ~]$ cat hardcopy.0 
[ev@easpoddb~]$ hstnam
easproddb
[dev@easprodb ~]$ eho $ERM
creen
[dev@easproddb ~]$ ls
bselinedbs.h  dflogs.xt  logdf.sh  mad-1_0-bet-2.backp  rplicaion-tols.gz  fmas.acup  tpescript
[dev@easproddb ~]$ /sbin/ifconfig
eth0      Link encap:Ethernet  HWaddr 00:50:56:80:00:C0
          inet addr:10.250.60.196  Bcast:10.250.60.255  Mask:255.255.255.0
          inet6 addr: fe80::250:56ff:fe80:c0/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:685165 errors:0 dropped:0 overruns:0 frame:0
          TX packets:307435 errors:0 dropped:0 overruns:0 carrier:0
          cllisions:0 txqueuelen:1000
          RX bytes:510079531 (486.4 MiB)  TX bytes:138714899 (132.2 MiB)
          Interrupt:59 Base address:0x2000

lo        Link encap:Local Loopback
          inet addr:127.0.0.1 Mask255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACKRUNNING  MTU:16436  Metric:1
          RX packets:367551 errors:0 droppe:0 overuns:0 frame:0
          TX packets:367551 errors:0 dropped:0 overruns:0 arrier:
          collisions:0 txqueuelen:0
[3mscreenlog.0 [23m[K
[K...skiping...
[3mESC[23[3mESC[3mESC[23m[23m[00mdf-logs.txt[3mESC[23m[3mESC[3mESC[23m[23m[0m      [3mESC[23m[3mESC[3mESC[23m[23m[01;32mlogdf.sh[3mESC[23m[3mESC[3mESC[23m[23m[00m    [3mESC[23m[3mESC[3mESC[23m[23m[01;�31mreplication-tools.tgz[3mESC[23m[3mESC[3mESC[23m[23m[00m  [3mESC[23m[3mESC[3mESC[23m[23m[00msfmaps.backup[3mESC[23m[3mESC[3mESC[23m[23m[00m
[3mESC[23m[3mESC[3mESC[23m[23m[m[3mESC[23m[3mESC[3mESC[23m[23m_dev@easproddb:~[3mESC[23m[3mESC[3mESC[23m[23m\[dev@easproddb ~]$ cat screenlog. 
[3mESC[23m[3m^M[3mESC[23m[23m
[3mESC[23m[3mESC[3mESC[23m[23m_dev@easproddb:~[3mESC[23m[3mESC[3mESC[23m[23m\[dev@easproddb ~]$ [3mESC[23m[m^M[3mESC[23m[23m
[3mESC[23m[3mESC[3mESC[23m[23m_dev@easproddb:~[3mEC[23m[3mESC[3mESC[23m[23m\[dev@easproddb ~]$ ls[3mESC[23m[3m^M[3mESC[23m[23m
[3mESC[23m[3mESC[3mESC[23m[23m[00m[3mESC[23m[3ESC[3mESC[23m[23m[1;32mbaseline_dbs.sh[3mESC[23m[3mESC[3mESC[23m[23m[00m  [3mESC[23m[3mESC[3mESC[23m[23m[00mhadcopy.0[3mESC[23m[3mESC[3mES[23[23m[0m   [3mESC[23m[3mESC[3mESC[23m[3m[0mmad-_0-bea-2.backup[3mESC[23m[3mSC[3ESC23m[2m[00m [3mESC[23m[3mESC[3mES[23m23m[0mscrenlog0[3mESC[23m[3mESC[3mES[23m23m[0m   [1m 0m[3mESC[23m[3mESC[3mEC[23[2 �m[00mypescipt[3mESC[23m[3mESC[3mSC[2m[23[00m3mESC[23m[3m^M[3mESC[23m[23m
[3mSC[3m[3mSC[3ESC[23m[23m[00mdf-logs.tt[3mSC[3m[3mSC[3ESC[23m[23m[00m      [3ESC[2m[3mSC[3ESC[3m[23m[01;32mlogdf.sh[3mSC[23[3mEC[3mSC[2m[23m[00m    [3mESC[23m3mESC3mES[23m23m[0; �31mreplication-tools.tz[3mEC[2m[3mEC[3mSC[23m[23m[00m  [3mESC23m[3mSC[mESC23m[2m[00msfmaps.backup[3mESC[23m[3ESC3mESC[23m[3m[00m[3mESC[23m[3m^M[mESC[3m[2m
[mESC23m[3mESC[3mESC[23m[23mm[3mEC[2m[3mEC[3mSC[23m[23m_dev@easproddb~[3mEC[2m[3mEC[3mSC[23m[23m\[dev@easprodd ~]$ ct sc[3mES[23m3mESC[3mESC[23m[23m_deveasprodb:~[3mES[23m3mES �C[3mESC[23m[23m\[ev@easrodd ~]$ s -l
[3mESC[23m[3mESC[3mESC[23m[2m[00total10974
-rw-rw-r-- 1 dev dev    1418 un   12:2 [3mSC[23m[3mESC[3mESC[23m23m[0132mbselin_dbs.h[3mESC[23m[3mESC[3mES[23m[3m[0m
-r-rw-r- 1 dev dev   796752 Jul 8 17:4 [3ESC[3m[3mSC[3mESC[23m[23m[00mdf-ogs.tx[3mSC[2m[3mEC[3mESC[23m[23m[00m
-r-rw-r- 1 dv dev    176 Aug  5 13:38 [3mESC[3m[3mEC[3ESC[3m[23[00mhardcopy.0[3mESC[23[3mESC[3mEC[23[23m[0m
-rwxr-xr-x 1 dev dev      7 Jul18 1455 [mESC[23m[3mESC[3mESC[2m[23m[1;32logdfsh[3ESC[23m[3mESC[3mESC[23[23m[0m
-w-rw--- 1 ev dev 46376665 Nov  8  210 [3ESC23m[3ESC[mESC[23m[23m[00mmad-1_0-eta-2.acku[3mEC[23[3mESC[3mESC[23m[23m[00
-rw---r- 1 de dev    9092 Aug  5 13:37 [3mSC[23[3mEC[3mSC[2m[23m[01;31mreplication-tols.tg[3mSC[2m[3mEC[3mESC[23m[23m[00m
-r-rw-r- 1 dv dev     17 Aug  5 13:38 [3mESC[3m[3mEC[3ESC[3m[23[00mscreenlog.0[3mESC[2m[3mES[3mSC[2m[23m00m
-rw-rw-r-- 1 dev dev6499795 Fe 24 0:49 3mESC[23m[3mESC[3mESC[3m[23m00msmaps.ackup[3mESC[23m[3mESC[3mESC23m[23[00m
-rw---r--1 dev ev    1770 Jul22 08:31[mESC[23m[3mESC[3mESC[2m[23m[0mtyescrit[3mSC[23[3mES[3ESC[2m[23m[0m
[3mESC[23m[3mESC[3mESC[23m[23m[m[3mESC[23m[3mESC[3mESC[23m[23m_dev@easproddb:~[3mESC[23m[3mESC[3mESC[23m[23m\[dev@easprodb ~]$ cat hardcopy.0
[ev@easprdd ~]$ hostname
easproddb
[dev@esprodb ~] echo$TERM
screen
dev@eaproddb ~$ s
baseline_dbs.sh  df-los.txt logd.sh  ad-1_-beta-.backup repliction-tools.tgz  sfmaps.backup  typecript
[eveasproddb ~]$ /sbin/ifconig
et0     Lin enca:Etheret  HWadr 00:5:56:80:0:C
          inet addr:10.50.60.96  cast:0.25060.255 Mask:25.255.25.0
         inet6 addr: fe80::250:56ff:fe0:c/64 Scop:Lnk
          UP BROADCAS RUNNIG MUTICAS  MTU1500  etric:1
         RX ackets:685165 errors:0 dropped:0overuns:0 fam:0
          TX packets:07435 rror:0 drpped: overrns:0 carier:0
         collisions:0 txqueuelen:1000
        RX byte:50079531 (486.4 MiB)  TX btes:1371489 (13.2 Mi)
         Inerrupt59 Bas addrss:x2000

lo       Link encap:Local Lopback
        inet ddr:12.0.0.1  ask:25.0.0.0
         inet6 addr: :1/128 Scop:Host
        UP LOOPBACK RUNNING MTU:1636  etric1
        RX packes:36751 errors:0 dropped:0 ovrruns:0 rae:0
          TX packets367551erros:0 dopped0 overuns:0 carier:0
          collisions:0 txqueuele:0
[3mSC[23m[3mscreenlog.0 [3mES[23m[3m[mESC23m[K
[3m(ND) [23[K
K[?1l>[?1049l_dev@easprodd:~\[deveaproddb ~]$ ls
[00m[01;2mbaseine_bs.sh[00m  [00mhardcopy.0[00m  [00mmad-1_0-beta-2.backup[00m [00msceelog.0[00m    [00mtypescipt[0m
00mdf-log.txt[0m      [01;32mlogdf.sh[00m    [01;31mreplication-tools.tgz[00  [00msfmaps.backup[00m
[m_dev@easprodb:~\[dev@easproddb ~]$ tar xfz replicatio-tols.gz 
replication-tools/
replication-tools/TODO
replication-tools/config/
replication-tools/config/README
replication-tools/config/pg_hba.conf
replication-tools/config/postgresql.cnf.additions
replication-tools/config/recvery.conf
replication-tools/README
replication-tools/scipts/
epliaion-oolsscrips/pir-relictin.onf
eplication-tools/scripts/wal_archive
replication-tools/scripts/pg_resync_replica_91
repliation-tools/scripts/pg_resync_replica
replication-tools/scripts/promte_tomaster
replication-tools/scripts/cp16mbonly
replication-tools/LICENSE
dev@easproddb:~\[dev@easproddb ~]$ cd rep�lication-tools
_dev@easprodd:~/relication-tools\[dev@easproddb replication-tools]$ cd config/
_dev@easprddb:~/rplication-tools/config\[dev@easproddb config]$ ls
[00m[00mpg_hba.conf00m  [00mpostgresqlconf.aditions[00m  [00mREADME[00m  [00mrecovery.conf[00m
[m_deveasproddb:~/replication-tools/config\[dev@easproddb config]$ vim recovery.conf 
[?1049h[?1h=[1;50r[34l[34h[?25h[23m[24m[0m[H[J[?25l[50;1H"recovery.conf" 
"recovery.conf" 37L, 1712C[1;1H[34m# restore with a simple copy[0m
restore_command = [31m'cp /var/pgsql/wal_archive/f %p'[0m

[34m# delete unneeded archive files[0m
archive_cleanup_command = [31m'/opt/local/bin/pg_archivecleanup /var/pgsql/wal_archive %r'[0m

34m# use streaming replication[0m
standby_mode = [31m'on'[0m

[34m# fail over when the BRINGUP file exists[0m
trigger_file = [31m'/var/pgsql/BRINUP'[0m

[34m# th below needs to be changed to the correct IP address oneach server
# it is the connection information for the other server[0m
primary_conninfo = [31m'host=10.100.23.97 port=5432 user=repliauser'[0m

[34m#-----------------------------------------------------------------------------
# The replication-tools pckage is licensed under the PostgreSQL License:
# 
# Copyright (c) 2010-2011, PostgreSQL, Experts, Inc.
# 
# Permission to use, copy,modify, and distribue this software and its
# documentationfor any purpose, without fee, and without a written agreement is
# hereby granted, provided that the aboe copyright notie and this pragraph
# and the following two paragraphs appear in all copies.
# 
# IN NO EVENT SHALL OSTGRESQL EXPERTS, INC. B LIABL TO NY PATY FO DIRECT,
# INDIRECT, SPEIAL, ICIDETAL, R CONEQUENTIAL DAMAGES, INCLUDNG LOS
# ROFIT, ARIING OUT OF THE USE OF THI SOFTWRE AD ITSDOCUMNTATION, EVEN
# IF POSTGESQL EPERT, INC HAS EEN ADVISED OF THE POSSIBLITY O SUC
# DMAGE.
# 
# POSTGRESQL EXPERTS INC. PECIICALL DISCAIMS ANY WARRANTIES, INCLDING, UT
 NOT IMITE TO, THE IMPLIED WARRANTIS OF MRCHATABILTY AN FITNESS FOR A
# PARTICUAR PUROSE.THE SFTWAR PROVIDED HEREUNDER IS ONAN "ASIS" ASIS,
# AN POSTGRESQL EXPERTS, INC.HAS NOOBLIATION TO POVIDE MAINTENANCE,
# SUPORT, UDATE, ENHNCEMETS, OR MODIFICATIONS.[0m
[1m34m~                                                                                                                      [39;1H                                                                                                                     [40;1H~                                                                                                                     [4;1H~                                                                                                                      [4;1H~                                                                                                                       [3;1H~                                                                                                                     [44;1H~                                                                                                                      [4;1H~                                                                                                                      [46;1H~                                                                                                                     [7;1H~                                                                                                                        48;1~                                                                                                                     [49;1H~                                                                                                                       0m[5;115H,1           All[1;1H[3h[?25[?2l[50115H21           All[2;1H[34[?25h?25l[50;15H3,01         All[3;1H[34h?25h[25l50;11H4,1          All[4;1H[34h[25h[?2l[5;115H,0-1        All[3;1H[34h[?2h[?25l[50;15H2,          All[2;1H[34h[?25h[?25l[0;11H2,17        All[2;17H[34h[?25h?25l[5;1152,19        All2;19H[34h[?25[?5l[50;15H,20          All[2;20H[4h[?25[?2l[50115H2,23          All[;23H[34h[?25h[?25l[50115H2,2         ll[2;24H[34h[?25h[?5l[50;115H2,27          ll[2;2H[3h[?2h[?25l[50;115H2,28         All[2;28H[34h[?2h[?25l[50;15H2,3          All[2;33H[4h[?25h[?25l[50;115H2,4         Al[2;4H[34[25h[?2l[50115H2,45          All[2;5H[34h[?25[?25[50;1152,47        All[2;47H[34h[?25h[?25l[50;115H2,49          All[2;49[34h[?25h[?25l[50;1H[K[50;1H:[34h[25hq[?25l
:q[34h[?25h[?25l
:[50;2H[K[50;1H:[34h[?25h�[?25l[114C2,49          All[2;49H[34h[?25h[?25l[50;115H3,0-1         All[3;1H[34h[?25h[?25l[50;115H2,49          All[2;49H[34h[?25h[?25l[50;115H3,0-1         All[3;1H[34h[?25h[?25l[50;115H4,31          All[4;31H[34h[?25h[?25l[50;115H5,49          All[5;49H[34h[?25h[?25l[50;115H6,0-1         All[6;1H[34h[?25h[?25l[50;115H7,27          All[7;27H[34h[?25h[?25l[50;115H8,19         All[8;19H[34h[?25h[?25l[50;15H9,0-1         All[9;1H[34h[?25h[?25l[50;115H10,40         All[10;40H[34h[?25h[?25l[50;115H11,35         All[11;35H[34h[?25h[?25l[50;115H12,0-1        All[12;1H[34h[?25h[?25l[50;115H13,49         All[13;49H[34h[?25h[?25l[50;115H14,49         All[14;49H[34h[?25h[?25l[50;115H15,49         All[15;49H[34h[?25h[?25l[50;115H15,44         All[15;44H[34h[?25h[?2l[50;115H15,43         All[15;43H[34h[25h[?25l[50;115H15,39         All[15;39H[34h[?25h[?5l[50;15H1,6       All[5;36[34[?5h[?5l[5;115H15,35         All[15;35H[34h[?25h[?25l[50;115H15,33         All[15;33H[34h[?25[?25l[50;115H15,32         All[15;32H[34h[?25h[?25l[50;115H15,9        All[15;29H[34h[?25h[?25l[50;115H15,28         All[15;28H[34h[?5h[?25l[50;115H15,26         All[15;26H[34h[?25h[?25l[50;115H15,27       All[15;27H[34h[?25h[?25l[50;115H15,26         All[15;26H[34h[?25[?25l50;115H15,27         All[15;27H[34h[?25h[?25l[50;115H15,28         Al[15;28H[34h[?25h?25l[0;115H15,29         All[15;29H[34h[?25h[?25l[50;115H15,30        All[15;30H[34h[?25h[?25l[50;115H15,31         All[15;31H[34h[?25h[?25l[50;115H15,32         All[15;32H[34h[?25h[?25l[0;115H15,33         All[15;33H[34h[?25h[?25l[50;115H15,34         All[15;34H[34h[?25h[?25l[50;115H15,35         All[15;35H[34h[?25h[?25l[50115H15,36         All[15;36H[34h[?25h[?25l[50;115H15,37         All[15;37H[34h[?25h[?25l[50;115H15,38         All[15;38H[34h[?25h[?25l[50;11H15,37         All[15;37H[34h[?25h[?25l[50;115H15,36         All[15;36H[34h[?25h[?25l[50;115H15,35         All[15;35H[34h[?25h[?25l[50;115H1,34         All[15;4H[34h[?25h[?25l[50;115H15,33         All[15;33H[4h[?25h[?25l[50;115H15,32         All[15;32H[34h[?25h[?25l[50;115H15,31         All[15;31H[34h[?25h[?25l[50;115H15,30        All[15;30H[34h[?5h[?25l[50;115H15,29         All[15;29H[34h[?25h[?25l[50;115H15,28         All[15;28H[34h[?5h[?25l[50;115H15,27         All[15;27H[34h[?25h[?25l[50;115H15,26         All[15;26H[34h[?25h[?25l[50;1H[K[50;1H:[34h[?2hq[?25l
:q[34h[?5h
[?25l[50;1H[K[50;1H[?1l>[34h[?25[?1049l_dev@easproddb:~/replication-tools/config\[dev@easproddb config]$ ls
[00m[00mpg_hba.conf[00  [00mpostgresq.conf.additins[00m  [00mREADME[00m  [00mrecovery.conf[00m
[m_dev@easproddb:~/replication-tools/onfig\[dev@easproddb conig]$ cd../sripts
_dv@easproddb:~/replicationtools/sript\[de@easpoddb scripts]$ ls
[00m01;32mc16mbnly[0m  01;32mpg_resync_replica[0m  [0;32mg_resnc_relica_91[00m  [00mpitr-rplicatin.cof[00  [0;32mpromote_to_master[00  [01;2mwa_archve[0m
[m_dev@easproddb:~/rplicatin-tols/scipts[dev@easproddb scripts]$ im pit-repicatin.conf 
[?1049h[?1h=[1;5r[34l34[?25h[23m[24m0m[H[J[?25l[50;1H"pitr-rplicatin.onf" 
"pit-replcation.conf" 122L, 4577C[11H[34m Cnfigurtionfile or PITR or replication on ostgreSL .0
# ower pg_rsync_replica, promote_to_aster ad al_arcive

# Vrsion 1.6.  Last updated2011-0217

# opyrght () 2010-2011, PostgreSQL Expert, nc.
#Licesed uder The PostgreSQL Licnse; se
 http:/wwwpostgesql.org/about/licenc
# or heend ofthisfile or details.

# Wha operatngsystemis tis? W have some special-ase cod
 for dffernt OS.[0m
UNAME_S=`unme -s`
if[ $UNAE_S  Linu ]; then
  OS=Liux
eli [$UNAMES = unOS  && uame -r| grep 5.11 > /ev/ull 2>&1 ten
  [34m# Discriminatebetwee Joynt's n-house version ofOpenSolaris
[0m  [34m#and themaintreamversion. Only way o do it: check the doman ame.[0
  f unae -n | grep -i joynt > /dev/null 2>&1; then
    OSJoyet[225H[34m# On Joyent sometimes you want to us svcadm somtimesyou do't 
[0m   [4m# Set this variable accrdingly Recmmendd seting: false (i.e. '').[0m
    UE_SVADM=31m''[0m
  else
    OS=OpenSlaris
 fi
else
  OS=nknown
fi

[34m# mastr and rplic IP adresss.  These should be the sme                                                                [33;1H             
# o all severs  In he evnt of failover and promoton                                                                   [35;1H              
 of thereplca toa maser, yo will ned to sap these                                                                      [37;H            
# adresses                                                                                                              [39;1H           [0m

MASTER=10.100.23.7
REPLCA=1.100.3.76

[34# below hould ot need to be changd for CentO                                                                            [45;H            [0m

PGUSER=replicauser
PGDATA=/var/pgsql/data90
REPLICATION_LOG=/va/lo/pg_log/epication.log[50;115H1,1         Top1;1H34h[25h[?5l[50;15H2,1          Top[2;1H[34h[?2h[?25l50115H3,0-1         Top[3;H[34h?25h[?25l[50;15H4,1         Top[41H[34h[?25h[?25l[50;115H5,0-1        Top5;H[34h[?25h[?25l[50;11H6,1         Top[6;1H[34h[25h[?25[50;15H7,1           Top[7;1H[34h[?2h[?25l50115H8,1           Top[8;H[34h?25h[?25l[50;15H9,1         Top[91H[34h[?25h[?25l[50;11H10,0-1      Top[10;1H[34h[?25h?25l[5;11511,1        Top11;1H[3h[?25[?25l[50;115H12,1         To[2;1H[34h[?25h[?25l[50115H13,         op[1;1H[3h[?25h?25l[0;115H14,1         Top[4;H[34h[?25h[?25l[50;11H15,1        Top[15;1[34h?25h[?2l[50;15H16,1         To[6;1H[34h[?25h[?25l[50115H171        Top[7;1H[4h[?25h[?25l50;115H18,1         Top[18;1H[3h[25h[?25[0;115H19,1          Top[9;1H[3h[?5h[?5l[5;115H2,1         Top[20;1H[34h?25h[?2l50;115H21,0-1        Top21;1H34h?25h?25l50;11522,1         Tp[22;1H[34h[?2h?25l[50;115H23,1         Top[3;1H[34h?25h?25l[0;115H241         Top241H[34h[?25h[?25l[50;15H25,1        Tp[251H[34[?25h[25l[5;115H2,1          Top[26;1H[34h[?25h[?25l[50;115H27,1          Top[27;H[4h[?25h[?5l[50;115H28,1          op[28;H[3h[?2h[?2l[50;15H291        Top[29;1H[34h[?25h[?25l[50;115H301          Top[30;1H[34h[?25h[?25l[50;115H31,0-1        Top[31;H[4h[?25h[?5l[50;115H32,1          op[32;H[3h[?2h[?2l[50;115H33,1          Tp[34;1[34[?25h[?5l[0115H34,1          Top[36;1H[34h[?25h[?25l[50;115H35,1         Top[38;1H[34h[?25h[?25l[50;115H36,0-        Top[40;1H[34h[?25h[?25l[50;115H37,1          Top[41;1H[34h[?25h[?25l[50;115H38,1          Top[42;1H[34h[?25h[?2l[50;115H39,0-1        Top[43;1H[34h[?5h[?25l[50;115H40,1          Top[44;1H[34h[?2h[?5l[50;115H41,0-       Top[46;1H[34h[25h[?5l[50;115H40,1        Top[44;1H[34h[?25h?25l[0;115H39,0-1       Top43;1H[34h[?25h[?5l[50115H38,1         Top[4;1H[34h[?25h[?5l[50115H37,1         Top[1;1H[34h[?25h[?25l[5;115H37,2         Top[1;2H[34h[?2h[?25l50;115H37,3         Top[41;3H[34h[?25h[?2l[50;11537,4          Top[41;4H[4h[?25h[?25l[5;115H3,5         Top[41;5H[4h[?25h[?25l50;11537,6          Top[41;6H[34h[?25h[?25[50;11537,7          Tp[41;H[34h[?25h[?25l[5;115H37,8         Top[41;H[34h[?25h[?25l[50;15H37,9         Top[41;H[34h[25h[?25l[50;11H37,10        Top[41;0H[34[25h[?25l[50;115H37,11         Top[41;11[34h[?25h[?25l[50;115H37,12         Top[41;12H[34h?25h[?5l[0115H7,13       To[4113H[3h?25h?25l50;115H37,14         Top[41;14H[34h[?25h[?25l[50;115H37,15         Top[41;15H[34h[?25h[?25l[50;115H37,16         Top[41;16H[3h[?25h[?25l[50;115H37,17         Top[41;17H[34h[?25h[?25l[50;115H37,18         Top[41;18H[34h[?25h[?25l[50;115H38,18         Top[42;18H[34h[?25h[?25l[50;115H39,0-1        Top[43;1H[34h[?25h[?25l[50;115H40,18         Top[44;18H[34h[?25h[?25l[50;115H41,0-1        Top[46;1H[34h[?2h[?25l[50;115H42,8         Top[47;18H[34h[?25h[?25l[50;115H43,18        Top[48;18H[34h[?25h[?25l[50;115H44,18         Top[49;18H[34h[?25h[?25l[1;49r[49;1H
[1;50r[50;1H[K[50;115H45,0-1        1%[49;1H[34h[?5h[?25l[1;49r[1;1H[2M[1;50r[48;1H[34m# directory where log files are copied to on the replica                                                                            [49;1H              [0m[50;115H[K[50;115H46,18          3[48;18H[34h[?25h?25l[1;49r[49;1H
[1;50r[50;115[K[50;115H47,0-1         5%[49;1H[34h[?25h[?25l[1;49r[49;1H
[1;50r[49;1HWALDIR=/var/pgsql/wal_rchive[50;115HK[50;115H4818          6%[49;18H[34h[?25h[?25l[1;49r[49;1H
[1;50r[50;115H[K[50;115H49,0-1         7%[49;1H[34h[?25h[?25l[1;49r[49;1H
[1;50r[49;1H[34m###############################[0m[50;15H[K[50;115H50,18          8%[49;18H[34h[?25h[?25l[1;49r[49;1H
[;50r[49;1H[34m# Begin OS-specific settings[0m[50;115H[K[50;115H51,18         10%[49;18H[34h[?25h[?25l[1;49r[49;1H
[1;50r[49;1H[34m################################[0m[50;115[K[50;115H52,18        11%[49;18H[34h[?25h[?25l[50;115H51,18         11%[48;18H[34[?25h[?25l[50;115H50,18         11[47;18H[34h[?25h[?25l[50;115H49,0-1        11%[46;1H[34h[?25h[?2l[50;115H48,18         1%[45;1H[3h[?2h[?2l[50;15H470-1      11%[4;1H[34h[?25h[?25l[50;115H46,18        11%[42;18H[34h[?25h[?2l[50;11H4,0-1        11%[41;1H[3h[?25h[?25[50;115H4418       11%[40;18H[34h[?25h[?25l[50;115H43,18         11%[39;18H[34h[?25h[?25l[50;115H44,18         11%[40;18H[34h[?25h[?25l[50;115H45,0-1        11%[41;H[34h[?25h[?25l[50;115H46,18         1%[42;18H[34h[?25h[?25l[50;115H47,0-1        11%[44;1H[34h[?25h[?25l[50;115H48,18         11%[45;18H[34h[?25h[?25l[50;115H49,0-1        11%[46;1H[34h[?25h[?25l[50;115H50,18         11%[47;18H[34h[?25h[?5l[50;115H51,18         11%[48;18H[34h?25h[?25l[50;115H52,18        1%[49;18H[34h[?25h[?25l[1;49r[49;1H
[1;50r[49;1H[34m#[0m[5;115H[K[50;115H53,1          12[4;1H[34h[?25h[?5l[1;49r[49;1H
[1;50r[49;1Hif [ $OS =[31m'Joyent'[0m ]; then[50;115H[K[50;115H54,18        13%[9;1834h?25h[?25l[1;4r[4;1H
1;0r[4;3HPGASE=/var/pgsql[50;115H[K[50;115H55,18         15%[49;18H[34h[?25h[?25l[50;115H54,18         15%[48;18H[34h[?25h[?25l[50;115H3,1          15%[47;1H[34h[?25h[?25l[50;115H52,18         15%[46;18H[34h[?25h[?25l[50;115H51,18         15%[45;18H[34h[?25h[?25l[50;115H50,8         15%[44;1H[34h[?25h[?25l[50;115H49,0-1        15%[43;1H[34[?25h[?25l[50;115H48,18         15%[42;18H[34h[?25h[?25l[50;115H47,0-1        15%[41;1H[34h[?25h[?25l[50;115H46,18         1%[39;18H[34h[?25h[?25l[50;115H45,0-1        15%[38;1H[34h[?25h[?25l[50;115H44,18         15%[37;18H[34h[?25h?25l[50;115H45,0-1        15%[38;1H[34h[?25h[?25l[50;115H46,18         15%[39;18H[34h[?25h[?25l[50;115H47,0-1        15%[41;1[34h[?25h[?25l[5;115H48,18         15%[42;18H[34h[?25h[?25l[50;115H49,0-1        15%[43;1H[34h[?25h[?25l[50;115H50,18         15%[44;18H[34h[?25[?25l[50;115H5,18         5%[45;18H[34h[?25h[?25l[50;115H52,18         15%[46;18H[34h[?25h[?25l[50;115H53,1          15%[47;1H[34h[?25h[?25l[50;115H54,18         15%[48;18H[34h[?25h?25l[50;11H55,18         5%[49;18H[34h[?25h[?25l[1;49r[49;1H
[1;50r[49;3HPGCTL=/opt/local/in/pg_ctl[50;115H[K[50;115H56,18         16%[49;18H[34h[?25h[?25l[1;49r[49;1H
[1;50r[49;3HPSQL=/opt/local/bin/psql[50;115H[K[50;115H57,18         17%[4918H[34h[?25h[?25l[;49r[49;1H
[1;50r49;3HRSYNC=/opt/local/bin/rsync[50;115H[K[50;115H58,18         18%49;18H[34h[?25h[?25l[1;49r[49;1H
[1;50r[49;3HSSH=/usr/bin/ssh[50;115H[K[50;115H59,18         20%[49;18H[34h[?25h[?25l[1;49r[49;1
[1;50r[49;3HCP=/usr/bin/p[50;115H[K[50;115H60,6        21[49;6H[3h[?5h[25l[149[491H
[1;0r[4;1Helf [ $OS = [31m'Linux'[0m ]; then[50;15H[K[50;115H61,18         22[49;18H[34h[?25h[?25l[1;49r[49;1H
[1;50r[49;3H[34m# These settings are for CentOS. Other distributions may be different.[0m[50;115H[K[50;115H62,18         24%[49;18H[34h[?25h[?25l[1;49[49;1H
[1;50r[49;3HPGBASE/var/lib/pgsql[50;115H[K[50;115H63,18       25%[49;18H[34h[?25h[?25l[1;49r[49;1H
[1;50r[49;3HPGCTL=/usr/pgsql-9.0/bin/pg_ctl[50;115H[K[50;115H64,18         26%[49;18H[34[?25h[?25l[1;49r[49;1
[1;50r[49;3HPSQL=/usr/pgsql-9.0/bin/psql[50;15H[K[50;115H6,18        27[49;18H[34h[?25h[?25l[1;49r[49;1H
[1;50r[49;3HRSYC=/usrbin/rsync[50;11H[K[0;115H6,18         29%[9;18H[34h[?5h[?25l[1;4r[49;1
[1;50r[49;3HSSH=/usr/bin/ssh[50;115H[K[50;115H67,18         30%[49;18H[34h[?25h[?25l[1;49r[49;1H
[1;50r[49;3HCP=/bin/cp[50;115H[K[50;115H68,12         31%[49;12H[34h[?25h[?25l[1;49r[49;1H
[1;50r[49;1Helse[50;115H[K[50;115H69,4          32%[49;4H[34h[?25h[?25l[1;49r[49;1H
[1;50r[49;3Hecho [31m"Unrecognized OS."[0m[50;115H[K[50;115H70,18         34%[49;18H[34h[?25h[?25l[1;49r[49;1H
[1;50r[49;3Hexit 1[50;115H[K[50;115H71,8          35%[49;8H[34h[?25h[?25l[1;49r[49;1H
[1;50r[49;1Hfi[50;115H[K[50;115H72,2          36%[49;2H[34h[?25h[?25l[1;49r[49;1H
[1;50r[50;115H[K[50;115H73,0-1        37%[49;1H[34h[?25h[?25l[1;49r[49;1H
[1;50r[49;1H[34m# Name and location of the file that stops archiving on the Master[0m[50;115H[K[50;115H74,18         39%[49;18H[34h[?25h[?25l[1;49r[1;1H[2M[1;50r[48;1HTOUCHFILE=$PGBASE/no_archiving
[34m# Name and location of the file which stops recovers on the slave[0m[50;115H[K[50;115H75,18         41%[48;18H[34h[?25h[?25l[50;115H76,18         41%[49;18H[34h[?25h[?25l[50;115H75,18         41%[48;18H[34h[?25h[?25l[50;115H74,18         41%[47;18H[34h[?25[?25[5;115H73,0-1        41%[46;1H[34h[?25h[?25l[50;115H72,2          41%[45;2H[34h[?25h[?25l[50;115H71,8          41%[44;8H[34h[25h[?25l[50;115H70,18         41%[43;18H[34h[?25h[?25l[50;115H69,4          41%[42;4H[34h[?25h[?25l[50;115H68,12         41%[1;12H[34h[?25h[?25l[50;115H67,18         41%[40;18H[34h[?25h[?25l[50;115H66,18         41%[39;18H[34h[?25h[?25l[50;115H65,18       41%[38;18H[34h[?25[?25[50115H6,18       41%[37;18H[34h[?25h[?25l[50;115H65,18         41%[38;18H[34h[?25h[?25l[50;115H66,18         41%[39;18H[34h[?25h[?25l[0;115H65,18        41%[38;18[4h[?5h[?25l[50;115H64,18        41%3718H[34h[?25h[?25l[50;11H65,18       1%[38;1H[34h[?25h[?25l[50;115H66,18         41%[39;18H[34h[?25h[?25l[50;115H67,18         41%[40;18H[34h[?25h[?25l[50;115H66,18        41%[39;18H[3h[25h[25[50;115H65,18         4%[38;1H34h[?25h[?25l[50;115H64,8        1%[37;18H[34h[?25h[?25l[50;115H63,18         41%[36;18[4h[?2h[?25l[50;115H64,18         41%[37;18H[34h[?25h[?25l[50;115H65,18         41%[38;18H[34h[?25h[?25l[50;115H66,18         41%[9;18H[34h[?25h[?2l[0;115H7,8         41%[40;18H[34h[?2h[?25[50;115H68,12         41%[41;12H[4h?25h[?5l[50;11H69,4          41%[42;4H[34h[?25h[?25l[50;115H70,18         41%[3;18H[34h[?25h[?25l[50;11H71,8          41%[44;8H[34h[?25h[?25l[50;115H72,2          41%[45;2H[34h[?25h[?25[50;11H7,0-1        41%[46;1H[34h[?25h?25l[5;15H74,18         41%[47;18H[34h[?25h[?2l[50;15H5,18         41%[4;18H[34h[25h[?25l[50;15H76,18         41%[49;18H[34h[?25h[?25l[1;49r[1;1H[2M[1;50r[48;1[34m# and brings it up as te new mstr[0m
BRINGUP=$PGBASE/BRINGUP[50;115H[K[50;1577,18         42%[48;18H[34h[?25h[?25l[0;15H78,18         42%[49;18H[34h[?25h[?25l[149r[1;H2M[1;50r[48;1H[4m# Locl estination file
# oints to a fie containing a list ofmouted dirctries to copy[m[50;15[K[50;15H79,8       44%[48;18H[34h[?25h[?25l[50;115H80,18         44%[49;18H[34h[?2h[?25l[149r[1;1H[2M[1;50r[48;1H[34m# WA files o. If no using, *do not leave empty*, just use the
# default and don't crete he file[m[50;15H[K[50;115H81,18         46%[48;1H[4h[?25[25l[50;115H82,18         46%[49;18H[3h[?25[?25l[1;49r[49;1H
[1;50r[491HLOCALDETINATINS_LIST=[31m"$PGBASE/scripts/local_destinations"[0m[50;115H[K[50;15H8,18       48%[49;18H[34h[?25h[25l[149r49;1H
[1;0r[491H[3m#[m[50;15H[[50;115H84,1          49%[49;1H[34h[?25h[?25l[50;115H83,18         49%[48;18H[34h[?25h[?25l[50;115H82,18         49%[47;18H[34h[?25h[?25l[50;115H81,18         49%[46;18H[34h[?25h[?25l[50;115H80,18         49%[45;18H[34h[?25h[?25l[50;115H79,18         49%[44;18H[34h[?25h[?25l[50;115H78,18         49%[43;18H[34h[?25h[?25l[50;115H77,18         49%42;18H[34h[?25h[?25l[50;115H76,18         49%[41;18H[34h[?25h[?25l[50;115H75,18         49%[40;18H[34h[?25h[?25l[50;115H75,19        49%[40;19H[34h[?25h[?25l[50;115H75,20         49%[40;20H[34[?25[?25l[50;115H75,19         49%[40;19H[34h[?25h[?25l[50;115H74,19        49%[39;19H[34h[?25h[?25l[50;115H73,0-1        49%[38;1H[34h[25h[?5l[50;115H72,2          49%[37;2H[34h[?25h[?25l[50;115H71,8         49%[368H[34h[?25h[?25l[50;115H70,19         49%[35;19H[34h[?25h[?25l[50115H69,4          49[34;4[34h[?25h[?25l[50;115H68,12         49%[33;12H[34h[?25h[?5l[50;115H67,18         49%[32;18H[34h[?25h[?25l[50;115H66,19         49%[31;19H[34h[?25h[?25l[50;115H65,19         49%[30;19[34h[?25h[?25l[50;115H64,19         49%[29;19H[34h[?25h[?25l[50;115H63,19         49%[28;19H[34h[?25h[?25l[50;115H62,19         49%[27;19H34h[?25h[?25l[50;115H61,19         49%[26;19H[34h[?25h[?25l[50;115H60,16         49%[25;16H[34h[?25h[?25l[50;115H59,18         49%[24;18H[34[?25h[?25l[50;11558,9        4%[23;19H[34h[?25h[?25[50;15H5719        9%[2219H[4h[?25h?25l50;115H56,19         49%[21;19H[34h[?25h[?25l[50;115H55,19       49%[2019[34h[?25h[?25l[50;11556,19       49%21;19[34[?25h[?25l[50;15H5719        49%[22;19H[34h[?2h[?25[50115H5,19        49%[23;19H[34h[?5h[?2l[5;115H9,18        49%[24;18H[34h[25h[?5l[0;11560,16        49%[25;16H[34h?25h[25l50;11H61,1         49%[26;19H[34h[?25h?25l[50;15H62,9         49%[27;19H[34[?25h[?25[50;15H6319         49%[28;19H[3h[?25[?2l[50115H6,18         49%[28;18H[4h[?2h[?5l[5;115H3,17         49%[28;17H34h[?5h[25l[0;11563,16         49%[28;16H[34h[25h?25l50;11H63,15         49%[28;15[34h?25h[?25l[50;15H63,14         49%[28;1H[34h[?25[?25[50;15H63,13         49%[28;3H[34[?2h[?2l[50115H63,12         49%[2812H[3h[?5h[?5l[5;115H63,13         49%[2;13H[4h[25h[25l[0;115H63,14         49%[8;14H34h?25h?25l50;115H63,15         49%28;15H[34h[?25h[?25l[50;115H63,16         49%[28;16[34[?25[?25[50;115H63,17         49[28;1H[3h[?2h[?2l[50;115H64,17         4%[29;7H[4h[?5h[?5l[50;115H65,17         9%[3017H34h[25h[25l[50;115H64,17        49%[2;17H[34h?25h?25l[50;115H63,17        49%[8;17[34h[?25h[?25l[50;115H63,18        49%28;1H[34[?25[?25l[50;115H63,19        49%[28;9H[3h[?2h[?25l[50;115H63,20        49[2820H[4h[?5h[?25l[50;115H63,21        4%[2;21H34h[25h[?25l[50;115H63,22        9%[8;22H[34h?25h[?25l[50;115H63,21       49%28;21[34h[?25h[?25l[50;115H63,20       49%[28;2H[34[?25h[?25l[50;115H63,1        49[28;9H[3h[?25h[?25l[50;115H63,8        4%[2818H[4h[?25h[?25l[50;115H6317        9%[2;17H34h[?25h[?25l[50;115H6,16       49%[8;16H[34h[?25h[?25l[50;115H3,15       49%[28;1H[34h[?25h[?25l[50;11H63,1        4%[2814H[34h[?25h[?25l[50;15H6313       49%[8;13H[34h[?25h[?25l[5;115H3,12       49%[28;12H[34h[?25h[?25l50;11H63,1        4%[28;11H[34h[?25h[?25[50;15H6,10       49%[28;10H[34h[?25h[?5l[5;11564,10       49%[29;10H[34h[?25h?25l50;15H65,0        49%[30;10H[34h[?25[?25[50115H66,10       49%[31;10H[34h[?25h?25l50;15H67,0        49%[32;10H[34h[?25[?25[50115H6,10        49%[33;10H[34h[?5h[?5l[0;11569,4         49%[34;4H[34h[25h[25l50;11H70,1         49%[35;10H[34h[?25h[?25[50;15H718          49%[36;8H[34[?25[?2l[50115H7,2          49%[37;2H[3h[?2h[?5l[5;115H3,0-1        49%[38;1H[4h[?5h[25l[0;11574,10         49%[39;10H[34h[25h?25l50;11H75,10         49%[40;10[34h?25h[?25l[50;15H76,10         49%[41;1H[34h[?25[?25[50;15H77,10         49%[42;0H[34[?2h[?2l[50115H78,10         49%[4310H[3h[?5h[?5l[5;115H78,11         49%[4;11H[4h[25h[25l[0;115H78,12         49%[3;12H34h?25h?25l50;115H78,13         49%43;13H[34h[?25h[?25l[50;115H78,14         49%[43;14[34[?25[?25[50;115H78,15         49[43;1H[3h[?2h[?2l[50;115H78,16         4%[43;6H[4h[?5h[?5l[50;115H78,17         9%[4317H34h[25h[25l[50;115H78,18        49%[4;18H[34h?25h?25l[50;115H78,19        49%[3;19[34h[?25h[?25l[50;115H78,20        49%43;2H[34[?25[?25l[50;115H78,21        49%[43;1H[3h[?2h[?25l[50;115H78,22        49[4322H[4h[?5h[?25l[50;115H78,23        4%[4;23H34h[25h[?25l[50;115H78,22        9%[3;22H[34h?25h[?25l[50;115H78,21       49%43;21[34h[?25h[?25l[50;115H78,20       49%[43;2H[34[?25h[?25l[50;115H78,1        49[43;9H[3h[?25h[?25l[50;115H78,8        4%[4318H[4h[?25h[?25l[50;115H7817        9%[4;17H34h[?25h[?25l[50;115H7,17       49%[4;17H[34h[?25h[?25l[50;115H0,17       49%45;17[34h[?25h[?25l[50;11581,17       49%[46;1H[34h[?25h[?25l[50;11H82,17       49[47;7H[34h[?25h[?25l[50;15H83,1        4%[4817H[34h[?25h[?25l[50;15H84,         9%[4;1H[34h[?25h[?25l[1;4r[49;H
1;50r[49;1[34m##############################[0m50;11H[K[50;115H85,17        50%[9;17[34h[?25h[?25l[1;49r[49;1H
[1;0r[491H[4m# Ed OS-pecific settings[0m[50;15H[K[50;15H8617        5%[49;17[34h?25h[?2l1;49r[1;1H[2M[1;50r[4;1H[3m###########################[0m[0;115H[K[50;115H87,17         54%[48;17H[34h[?25h[?25l[50;115H88,0-1        54%[49;1H[34h[?25h[?25l[1;49r[49;1H
[1;50r[49;1H[34# Should we use SSH or ull sync[m[50;115H[K[50;115H89,7        5%[4917H[4h[?2h[?25l1;49r49;1H
1;0r[49;1HUSE_SSH_SYNC=yes[50;11H[K[50;15H90,6        56%[9;16H34h[?25h[?25l[1;49r[49;1H
[1;50r50115H[K[50;115H91,0-1       58[491H[3h[?2h[?25[1;49r49;1H
[1;50r491H[34m# rsync options.  suallyincldes cmpresion[0[50;115[K[5;115H9,17         59%[49;17H[34h[?25h[?5l1;49r[4;1
[1;50r[49;1HRSYNC_OPT[31m"[0m[50;15H[K[50;11H93,12        0%[4912H[34h[?25h[?25l[1;49r[1;1[2[1;50r491H[34m# rsync server shae name if sing0m[5;115HK[50;11H94,0-       63%[48;1H[34h[?25h[?25l[50;115H5,1        63[49;17H[34h[?25h[?25l[1;49r[49;H
[;50r49;1HRYNC_SERVR=[31""[0m[50;15HK[50;11H9,15         64%[49;15H[4h[?2h[?5l[149r[9;1H
[1;50r[9;1HRSNC_PASS=[31m""[m[50;115H[[50;115H9713        5%[49;13H[34h[?25h[?2l[1;4r[4;1H
[1;50[50;15H[K[5;115H9,0-1        67%[49;1H34h[?25[25l[1;49r[49;1H
[1;50[49;1[34# SSHOptios[0m50;115HK[50;15H99,13         68%[49;13H[34h[?25h[?5l[1;49r[49;1H
[1;50r[4;1HSSHOPT=[31m"[0m50;115[K[50;15H10010        69%[49;10H[34h[?2h[?25l1;9r[49;1H
[1;50r[50;11H[K[0;11H101,-1      71%[49;1H[4h[?2h[?25l[1;49r[49;1H
[1;50r[9;1H[34# --------------------------------------------------------------------[0m[50;115H[K[5;115H10217       72%[49;17H[34h[25h[?5l[;49r49;1H
[1;50r[49;1H[34m# Thereplictiontoolspackae is licensed under the PstgreSL Liense:[0m[0;115H[K[50;115H103,17       3%[9;17H[34h?25h[?25l[1;49r[49;1H
[1;50[491H[3m# [m[50;115H[K[50;115H1042        7%[492H[3h[?25h[?25l[50;115H10317       7%[4817H[4h[?25h[?25l[50;115H10,17       5%[4;17H34h[?25h[?25l[50;115H11,0-1     75%[6;1H34h[?25h[?25l[50;115H10,10      75%[5;10H[34h[?25h[?25l[50;115H9,13       75%44;13[34h[?25h[?25l[50;11598,0-1      75%[43;1[34h[?25h[?25l[50;11597,13       75%[42;1H[34h[?25h[?25l[50;11H96,15       75[41;5H[34h[?25h[?25l[50;15H95,1        7%[4017H[34h[?25h[?25l[50;15H94,-1       5%[3;1H[34h[?25h[?25l[50;15H93,2        5%[3;12H[34h[?25h[?25l[50115H9217       75%[7;17H[34h[?25h[?25l[5;115H9,0-1      75%36;1H[34h[?25h[?25l[5;115H9,16       75%35;16H[34h[?25h[?25l[0;115H9,17       75%[34;17H[34h[?25h[?25l50;11588,01       75[33;1H[34h[?25h[?25l50;11587,1        75%[32;17H[34h[?25h[?25[5;115H8,17         75%[31;7H34h[?25[25l[50;115H85,17        75%[3;17H[34h?25h?25l[0;11H84,1          75%[29;1H[34[?25h[?25l[50;115H83,1        75[28;7H[3h[?25h[?25l[50;115H82,1        7%[27;17H[34h[?25h[?25l50;115H1,7       75%[26;17H[34h[?25h[?5l[50115H0,17        7%[2;7H[34h[?25h[?25l[50;115H79,17         75%[24;17H[34h[?25h[25l[50;115H78,17         75%[23;17H[34h[?25h[?25l[50;115H79,17         75%[24;17H[34h[?25h[?25l[50;115H80,17         75%[25;17H[34h[?25h[?25l[50;115H81,17         75%[26;17H[34h[?25h[?25l[50;115H82,17         75%[27;17H[34h[?25h[?25l[50;115H83,17         75%[28;17H[34h[?25h[?25l[50;115H84,1          75%[29;1H[34h[?25h[?25l[50;115H85,17         75%[30;17H[34h[?25h[?25l[50;115H86,17         75%[31;17H[34h[?25h[?25l[50;115H87,17         75%[32;17H[34h[?25h[?25l[50;115H88,0-1        75%[33;1H[34h[?25h[?25l[50;115H89,17         75%[34;17H[34h[?25h[?25l[50;115H90,16         75%[35;16H[34h[?25h[?25l[50;115H91,0-1        75%[36;1H[34h[?25h[?25l[50;115H92,17         75%[37;17H[34h[?25h[?25l[50;115H93,12         75%[38;12H[34h[?25h[?25l[50;115H94,0-1        75%[39;1H[34h[?25h[?25l[50;115H95,17         75%[40;17H[34h[?25h[?25l[50;115H96,15         75%[41;15H[34h[?25h[?25l[50;115H97,13         75%[42;13H[34h[?25h[?25l[50;115H98,0-1        75%[43;1H[34h[?25h[?25l[0;115H99,13         75%[44;13H[34h[?25h[?25l[50;115H100,10        75%[45;10H[34h[?25h[?25l50;115H01,01     75%[46;1[34[?2h[25[0;115102,1        75%[47;17H[34h[?25h[?25l[50;115H103,17        75%[48;17[34h[?25h[?25l[50;115H104,2         75%[49;2H[34h[?25h[?25l[1;49r[49;1
[1;50r[49;1H[34m# Copyright (c) 2010-2011, PostgreSQL, Experts, Inc.[0m[0;115H[K[50;115H105,17        76%[49;17H[34h[?25h[?25l[1;49r[49;1H
[1;50[49;1H[34m# [0m[50;115H[K[50;115H106,2         78%[49;2H[34h[?25h[?25l[1;49r[49;1H
[1;50[49;1H[34m# Permission to use, copy, modify, and distribute thi software and its[0m[50;115H[K[50;115H107,17        79%[49;17H[34h[?25h[?25l[1;49r[49;1H
[1;50r[49;1H[34m# documentation fo any purpose, without fee, and without a written agreement is[0m[50;115H[K[50;115H108,17        80%[49;17H[34h[?25h[?25l[1;49r[49;1H
[1;50r[4;1H[34m# hereby granted, provided that the above copyright notice and this paragraph[0m[50;115H[K[50;115H109,17        82%[49;17H[34h[?25h[?25l[149r[49;1H
[1;50r[49;1H[34m# and the following two paragraphs appear in all copies.[0m[50;115H[K[50;115H110,17        83%[49;17H[34h[?25h[?25l1;49r[49;1H
[1;50[49;1H[34m# [0m[50;115H[K[50;115H111,2         84[49;2H[34h[?25h[?25l[1;49r[49;1H
[1;50r[49;1H[34m# IN NO EVENT SHALL POSTGRESQL EXPERTS, INC. BE LIABLE TO ANY PARTY FOR DIRECT[0m[50;115H[K[50115H112,17        86%[49;17H[34h[?25h[?25l[1;49r[49;1H
[1;50r[49;1H[34m# INDIRECT, SPECIAL,INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST[0m[50;115H[K[50;115H113,17        87%[49;17H[34h[?25h[?25l[1;49r[49;1H
[;50r[49;1H[34m# PRFITS, ARISING OUT OF THE USE OF THI SOFTWARE AND ITS DOCUMENTATION, EVEN[0m[50;115H[K[50;115H114,17        89%[49;17H[34h[?25h[?25l1;49r[49;1H
[;50r[49;1H34m# IF POSTGRESQL EXPERTS, INC. HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH[0m[50;115H[K[50;115H115,17        90%[49;17H[34h[?25h[?2l[1;49r[49;1H
[1;50r49;1H34m#DAMAG.[0m[50;115H[K[50;115H116,9       91%[49;9[34h[?25h[?25l[1;49r[49;1H
[1;5r[4;1H[4m# 0m[50;115H[K[50;115H11,2        3%[4;2H[4h[?25h[?25l[1;49r[491H
[;50r[49;1[34m POSTGRESQL EXPERTS, INC.SPECIFCALL DISCAIMS NY WARRANTIES, INCLUDING,BUT[0[50115HK[50115H118,17        94%[4917H[3h[?5h[?5l[1;9r[49;1H
[1;50r[49;1[3m# NOTLIMITED TO, THE IMPLED ARRANTIE O MERCHANTABILITY AND FITNSS FORA[0[50;15H[K[50;115H119,17       95%[9;7H[34[25h[?25l[1;49r[49;1H
[1;50r[49;H[34m PARTICUAR PROSE. THE SOFTWARE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS,[0m[0;115H[K[50;115H120,17        97%[49;17[34h[?25h[?25l[1;49r[49;1H
[1;50r[49;1H[34m# AND POSTGRESQL EXPERTS, INC. HAS NO OBLIGATIONS TO PROVIDE MAINTENANCE,[0m[50;115H[K[50;115H121,17        98%[49;17H[34h[?25h[?25l[1;49r[49;1H
[;50r[49;1H[34m# SUPPORT, UPDATES, ENHANCMENTS, OR MODIFICATIONS.[0m[50;115H[K[50;115H122,17        Bot[49;17H[34h[?25h�����������[?25l[23m[24m[0m[H[J[23m[24m[0m[H[J[1;1H[34m# on all servers.  In the event of failover and promotion                                                                            [2;1H              
# of the replica to a master, you will need to swap these                                                                            [4;1H              
# addresses                                                                                                                          [6;1H              [0m

MASTER=10.100.23.97
REPLICA=10.100.23.76

[34m# below should not need to be changed for CentOS                                                                                     [12;1H              [0m

PGUSER=replicauser
PGDATA=/var/pgsql/data90
REPLICATION_LOG=/var/log/pg_log/replication.log

[34m# directory where log files are copied to on the replica                                                                             [19;1H              [0m

WALDIR=/var/pgsql/wal_archive

[34m#################################
# Begin OS-specific settings
#################################
#[0m
if [ $OS = [31m'Joyent'[0m ]; then
  PGBASE=/var/pgsql
  PGCTL=/opt/local/bin/pg_ctl
  PSQL=/opt/local/bin/psql
  RSYNC=/opt/local/bin/rsync
  SSH=/usr/bin/ssh
  CP=/usr/bin/cp
elif [ $OS = [31m'Linux'[0m ]; then
  [34m# These settings are for CentOS. Other distributions may be different.[0m
  PGBASE=/var/lib/pgsql
  PGCTL=/usr/pgsql-9.0/bin/pg_ctl
  PSQL=/usr/pgsql-9.0/bin/psql
  RSYNC=/usr/bin/rsync
  SSH=/usr/bin/ssh
  CP=/bin/cp
else
  echo [31m"Unrecognized OS."[0m
  exit 1
fi

[34m# Name and location of the file that stops archiving on the Master[0m
TOUCHFILE=$PGBASE/no_archiving
[34m# Name and location of the file which stops recovers on the slave[0m[50;115H75,1          41%[48;1H[34h[?25h[?25l[1;3H[34mPowers pg_resync_replica, promote_to_master and wal_archive[0m[1;62H[K[2;1H[K[3;3H[34mVersion 1.6.  Last updated 2011-02-17.[0m[3;41H[K[4;1H[K[5;3H[34mCopyright (c) 2010-2011, PostgreSQL, Experts, Inc.[0m[5;53H[K[6;1H[34m# Licensed under The PostgreSQL License; see
# http://www.postgresql.org/about/licence
# or the end of this file for details.[0m[9;1H[K[10;1H[34m# What operating system is this? We have some special-case code
# for different OSs.[0m[11;21H[K[12;1HUNAME_S=`uname -s`
if [ $UNAME_S = Linux ]; then
  OS=Linux[14;11H[K[15;1Helif [ $UNAME_S = SunOS ] && uname -r | grep 5.11 > /dev/null 2>&1; then
  [34m# Discriminate between Joyent's in-house version of OpenSolaris
[0m  [34m# and the mainstream version. Only way to do it: check the doman name.[0m
  if uname -n | grep -i joyent > /dev/null 2>&1; then[18;54H[K[19;1H    OS=Joyent[19;14H[K[21;1H    [34m# On Joyent, sometimes you want to use svcadm; sometimes you don't. 
[0m    [34m# Set this variable accordingly. Recommended setting: false (i.e. '').[0m
    USE_SVCADM=[31m''[0m[23;18H[K[24;1H  else[24;7H[K[25;1H    OS=OpenSolaris[25;19H[K[26;1H  fi
else[27;6H[K[28;3HOS=unknown[28;13H[K[29;1Hfi[29;3H[K[30;3H[K[31;1H[34m# master and replica IP addresses.  These should be the same                                                                         [32;1H             [0m[32;14H[K[33;1H[34m# on all servers.  In the event of failover and promotion                                                                            [34;1H              [0m[34;15H[K[35;1H[34m# of the replica to a master, you will need to swap these                                                                            [36;1H              [0m[36;15H[K[37;1H[34m# addresses                                                                                                                          [38;1H              [0m[38;15H[K[39;3H[K[40;1HMASTER=10.100.23.97
REPLICA=10.100.23.76[42;1H[K[43;1H[34m# below should not need to be changed for CentOS                                                                                     [44;1H              [0m[45;1H[K[46;1HPGUSER=replicauser
PGDATA=/var/pgsql/data90[47;25H[K[48;1HREPLICATION_LOG=/var/log/pg_log/replication.log[49;1H[K[50;115H34,1           1%[35;1H[34h[?25h[?25l[1;49r[1;1H[L[1;50r[1;1H[34m# Configuration file for PITR or replication on PostgreSQL 9.0[0m[50;115H[K[50;115H44,1          Top[49;1H[34h[?25h[?25l[23m[24m[0m[H[J[23m[24m[0m[H[J[1;1HPGDATA=/var/pgsql/data90
REPLICATION_LOG=/var/log/pg_log/replication.log

[34m# directory where log files are copied to on the replica                                                                             [5;1H              [0m

WALDIR=/var/pgsql/wal_archive

[34m#################################
# Begin OS-specific settings
#################################
#[0m
if [ $OS = [31m'Joyent'[0m ]; then
  PGBASE=/var/pgsql
  PGCTL=/opt/local/bin/pg_ctl
  PSQL=/opt/local/bin/psql
  RSYNC=/opt/local/bin/rsync
  SSH=/usr/bin/ssh
  CP=/usr/bin/cp
elif [ $OS = [31m'Linux'[0m ]; then
  [34m# These settings are for CentOS. Other distributions may be different.[0m
  PGBASE=/var/lib/pgsql
  PGCTL=/usr/pgsql-9.0/bin/pg_ctl
  PSQL=/usr/pgsql-9.0/bin/psql
  RSYNC=/usr/bin/rsync
  SSH=/usr/bin/ssh
  CP=/bin/cp
else
  echo [31m"Unrecognized OS."[0m
  exit 1
fi

[34m# Name and location of the file that stops archiving on the Master[0m
TOUCHFILE=$PGBASE/no_archiving
[34m# Name and location of the file which stops recovers on the slave
# and brings it up as the new master[0m
BRINGUP=$PGBASE/BRINGUP
[34m# Local destinations file
# Points to a file containing a list of mounted directories to copy
# WAL files to.  If not using, *do not leave empty*, just use the
# default and don't create the file.[0m
LOCAL_DESTINATIONS_LIST=[31m"$PGBASE/scripts/local_destinations"[0m
[34m#
#################################
# End OS-specific settings
#################################

# Should we use SSH for full sync?[0m
USE_SSH_SYNC=yes[50;115H43,1          56%[1;1H[34h[?25h[?25l[50;115H[K[50;1H:[34h[?25hq[?25l
:q[34h[?25h
[?25l[50;1H[K[50;1H[?1l>[34h[?25h[?1049l_dev@easproddb:~/replication-tools/scripts\[dev@easproddb scripts]$ vim pitr-replication.conf 
[?1049h[?1h=[1;50r[34l[34h[?25h[23m[24m[0m[H[J[?25l[50;1H"pitr-replication.conf" 
"pitr-replication.conf" 122L, 4577C[1;1H[34m# Configuration file for PITR or replication on PostgreSQL 9.0
# Powers pg_resync_replica, promote_to_master and wal_archive

# Version 1.6.  Last updated 2011-02-17.

# Copyright (c) 2010-2011, PostgreSQL, Experts, Inc.
# Licensed uner The PostgreSQL License; see
# http://ww.postgresql.org/about/licence
# o the end of this file for details.

# What operating system is this? We have some special-case code
# for different Os.[0m
UNAME_S=`uname -s`
if [ $UNAME_S  Linux ]; then
  OS=Linux
elif [ $UNAME_S = SunOS ] && uname -r | grep 5.11 > /dev/null 2>&1; then
  [34m# Discriminate between Joyent's in-house version of OpenSolaris
[0m  [34m# and the mainstream version. Only way to do it: check the doman name.[0m
  if uname -n | grep -i joyent > /dev/null 2>&1; then
    OS=Joyent[22;5H[34m# On Joyent, sometimes you want to use svcadm; sometimes you don't. 
[0m    [34m# Set this variable accordingly. Recommended setting: false (i.e. '').[0m
    USE_SVCADM=[31m''[0m
  else
    OS=OpenSolaris
  fi
else
  OS=unknown
fi

[34m# master and replica IP addresses.  These should be the same                                                                         [33;1H             
# on all servers.  In the event of failover and promotion                                                                            [35;1H              
# of the replica to a master, you will need to swap these                                                                            [37;1H              
# addresses                                                                                                                          [39;1H              [0m

MASTER=10.100.23.97
REPLICA=10.100.23.76

[34m# below should not need to be changed for CentOS                                                                                     [45;1H              [0m

PGUSER=replicauser
PGDATA=/var/pgsql/data90
REPLICATION_LOG=/var/log/pg_log/replication.log[50;115H43,1          Top[48;1H[34h[?25h


[?1l>[?1049l
[1]+  Stopped                 vim pitr-replication.conf
_dev@easproddb:~/replication-tools/scripts\[dev@easproddb scripts]$ /sbin/ifconfig 
eth0      Link encap:Ethernet  HWaddr 00:50:56:80:00:C0  
          inet addr:10.250.60.196  Bcast:10.250.60.255  Mask:255.255.255.0
          inet6 addr: fe80::250:56ff:fe80:c0/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:688003 errors:0 dropped:0 overruns:0 frame:0
          TX packets:309480 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:510342563 (486.7 MiB)  TX bytes:139064880 (132.6 MiB)
          Interrupt:59 Base address:0x2000 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:367901 errors:0 dropped:0 overruns:0 frame:0
          TX packets:367901 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:436958519 (416.7 MiB)  TX bytes:436958519 (416.7 MiB)

_dev@easproddb:~/replication-tools/scripts\[dev@easproddb scripts]$ fg
vim pitr-replication.conf
[?1049h[?1h=[34l[34h[?25h[23m[24m[0m[H[J[?25l[1;1H[34m# Configuration file for PITR or replication on PostgreSQL 9.0
# Powers pg_resync_replica, promote_to_master and wal_archive

# Version 1.6.  Last updated 2011-02-17.

# Copyright (c) 2010-2011, PostgreSQL, Experts, Inc.
# Licensed under The PostgreSQL License; see
# http://www.postgresql.org/about/licence
# or the end of this file for details.

# What operating system is this? We have some special-case code
# for different OSs.[0m
UNAME_S=`uname -s`
if [ $UNAME_S = Linux ]; then
  OS=Linux
elif [ $UNAME_S = SunOS ] && uname -r | grep 5.11 > /dev/null 2>&1; then
  [34m# Discriminate between Joyent's in-house version of OpenSolaris
[0m  [34m# and the mainstream version. Only way to do it: check the doman name.[0m
  if uname -n | grep -i joyent > /dev/null 2>&1; then
    OS=Joyent[22;5H[34m# On Joyent, sometimes you want to use svcadm; sometimes you don't. 
[0m    [34m# Set this variable accordingly. Recommended setting: false (i.e. '').[0m
    USE_SVCADM=[31m''[0m
  else
    OS=OpenSolaris
  fi
else
  OS=unknown
fi

[34m# master and replica IP addresses.  These should be the same                                                                         [33;1H             
# on all servers.  In the event of failover and promotion                                                                            [35;1H              
# of the replica to a master, you will need to swap these                                                                            [37;1H              
# addresses                                                                                                                          [39;1H              [0m

MASTER=10.100.23.97
REPLICA=10.100.23.76

[34m# below should not need to be changed for CentOS                                                                                     [45;1H              [0m

PGUSER=replicauser
PGDATA=/var/pgsql/data90
REPLICATION_LOG=/var/log/pg_log/replication.log[50;115H43,1          Top[48;1H[34h[?25h[?25l[50;115H42,1          Top[47;1H[34h[?25h[?25l[50;115H41,0-1        Top[46;1H[34h[?25h[?25l[50;115H40,1          Top[44;1H[34h[?25h[?25l[50;115H39,0-1        Top[43;1H[34h[?25h[?25l[50;115H38,1          Top[42;1H[34h[?25h[?25l[50;115H37,1          Top[41;1H[34h[?25h[?25l[50;115H37,7          Top[41;7H[34h[?25h[?25l[50;115H37,8          Top[41;8H[34h[?25h[?25l[50;1H[1m-- INSERT --[0m[50;115H[K[50;115H37,8          Top[41;8H[K[41;8H[34h[?25h[?25l10.250.60.196[50;115H37,21         Top[41;21H[34h[?25h[50;1H[K[41;20H[?25l[50;115H37,20         Top[41;20H[34h[?25h[?25l[50;115H38,20         Top[42;20H[34h[?25h[?25l[50;115H38,19         Top[42;19H[34h[?25h[?25l[50;115H38,18         Top[42;18H[34h[?25h[?25l[50;115H38,16         Top[42;16H[34h[?25h[?25l[50;115H38,15         Top[42;15H[34h[?25h[?25l[50;115H38,12         Top[42;12H[34h[?25h[?25l[50;115H38,11         Top[42;11H[34h[?25h[?25l[50;115H38,9          Top[42;9H[34h[?25h[?25l[50;1H84 fewer lines[50;115H[K[50;1H[1m-- INSERT --[0m[50;13H[K[50;115H38,9          All[50;1H[K[42;12H250.60.196
[1m[34m~                                                                                                                                   [44;1H~                                                                                                                                   [45;1H~                                                                                                                                   [46;1H~                                                                                                                                   [47;1H~                                                                                                                                   [48;1H~                                                                                                                              491H                                                                                                                                [0m[50;115H38,21         All[42;21H[34h[?25h���[?25l[50;1H84 more lines; before #2  3seconds ago[50;115H[K[42;12H100.23.76[42;21H1;2mlogd.s[00m
-rw-rw-r-- 1 dev dev 46376665 Nov  8  2010 [00mmad-1_0beta-2.backup[00m
-rw-r--r-- 1 dev dev    9092 Aug  5 13:37 [01;31mreplicatio-tools.tgz[00m
-rwrw--- 1 de dv     81 Aug  5 13:38 [00mscreelog.0[0m
-rw-rw-r-- 1 dev dev 64997985Feb 249:9 [00msfmaps.backup[00m
-rw-r--r-- 1 dev dev    1770 Jul 2 8:31 [00mtypescript[00m
[m_ev@esprodb:~\dev@eaproddb ~]$ cat ardopy.0 
[dv@easproddb ~]$ hostname
easprodb
[dev@asprddb ~$ echo $TERM
scee
[dev@easproddb ~]$ ls
aselinedbs.  dflogs.tt logdf.s  mad1_0-beta-2.backup  replictin-tolstz sapsbckp  tyescrpt
deveaprddb~$ sbn/fconfg
eth0      Link encap:Ehernet HWadr 00:0:56:0:00:C0
        inet adr:10.50.6.196 Bcast10.250.60.255  Mask:255.25.255.0
       inet6addr: fe80::250:56ff:fe80c0/64 Sope:ink
        UP BROADCST RUNING MLTICAST MTU1500 Metri:1
         R packes:685165erors:0 dopped:0overruns: frame0
        TX ackets30743 erors:0 ropped0 overrun:0 carrier:0
         colisions:0 txqueuelen:1000
          RX bytes:510079531 (486.4 MiB  TX bytes:138714899 (132.2 MiB)
          Interrupt:9 Bse addres:x2000

lo        Link ecap:Locl Lopback
         iet addr:27.0.01  Mask:550.0.0
          inet6 adr: ::1128 cope:ost
        UP LOOBACK RNNING  MTU:16436  Metric:1
         RX pacet:367551 errors0 dropped: overrus:0 rame:
         X packet:36755 errors: dopped:0 overruns:0 carrie:0
        colision:0 txqeuelen:0
         RXbyte:436741055 (416.5 MiB)  TX bytes43641055 (46. MiB)

[dev@easproddb ~$ ls
bselie_dbssh  d-logs.xt  logd.sh  md-1_0-eta-2.backup  replicationtools.gz sfmaps.bkp  typescript
[dev@easprddb ~]$





















_dv@easproddb:~\[dev@easproddb ~]$ ls l
[00mtota 19744
-rw-rw-r-- 1 dev de     148 Ju  8 1:21 01;32aseline_bs.sh00m
-w-rw---  dev dev  96752 Jul 18 17:43 [00md-logs.xt[0m
-w-rw--- 1 dv dev    1376 ug 5 13:38 [00mardcopy.0[0m
-rwxr-xrx 1 dev ev      78 Jul 18 14:55 [0;32mlogf.sh[00m
-rw-r-r-- 1dev dev 637666 Nov  8  201 [00mmad-_0-beta-bckup[00m
-rw-r--r-- 1 dv dev    902 Aug 5 1337 [0;31mreplcationtools.tgz[00m
-rw-rw-r-- 1 dev ev     289Aug  5 13:39 [00msreenlg.0[00
r-rw-r- 1 v dev 4997985 eb 24 9:49 [00msfmaps.backup[00m
rw-r--r- 1dev dev    17370 Jul 22 0:31 [0mtypscrip[00m
[m_ev@easprddb:~dev@easproddb ~]$ date
Fi Aug5 134000PDT 211
_dev@easproddb~\[dveaspoddb]$ de���l -l
[0mtotal109744
-rw-rwr--  dv ev    118 Jun  8 12:21 [01;3mbselne_s.s00m
rw-w-r--  dev dev  7962 Jul18 1:43 00mflogs.tt00m
-rw-rw-r--1 dev ev   137 Aug5 1338 [0mhardopy.0[m
-rr-x-x 1 e de      78 Ju 18 14:55 1;3mlgd.h[00
-rw-w-r-  dev dev 46376665 No  82010 [0mma-1_0-eta-2bcku[00m
----r- 1 dev ev     902 ug  5 3:37[01;1mreplication-tools.tgz[00m
-rw-rw---1 dev ev   299 Aug  51339 [0mscreelog.[00m-rw-w--- 1dev dv 6497985 b 24 9:9[00fmapsbackup[00m
-rw-r---- 1devde    7370 ul 2208:31 [0mtypesript[00
[mev@asrodb:~[dev@esproddb ~]$ cat hadcopy. 
[ev@earodd ~] hstname
easproddb
[dev@esprodb~] cho$ERM
creen
[dev@easrddb ] ls
baselne_db.sh  df-logs.tx  logdf. mad-_0-bta-2.ackup relicatio-toos.tgz smas.bckp typeript
dev@easproddb ~]$ /sbinifonfg
eh0    Lin encap:Ethernet HWaddr :5056800:C0
       inetaddr:1.250.60.19  Bcas:10.50.6025  ask:25.255.2550
        inet add: fe::2505fff80:c0/64Scope:ink
        U BOADCAT UNING MUTICAST  TU:150  Metri:1
       RXpacket:685165 rrrs: drope:0overruns0 rame:0
        TX pckts3073 eror: dropd:0 orruns:carrie:0
         collisions:0 txqueueen:000
        RX bytes:5107951 (48.4Mi) TX ytes:3871499 (13.2 MiB
       Interupt5 Base dess:02000

lo        Lnk enc:Loal Lpack
         inetaddr:7.0.01 Msk:250..
         ine6 addr::1/12 Scoe:Hos
         P LOOBAK RUNN  MTU:646  Metric:1
        RXpcket3675 eror:0dropp:0 ovrrns:0 fame:0
          TX packts:36755 erors:0 dropped:0 overruns0 carrer:0
       ollsins:0 txqeuelen0
         RX btes:367155 (4.5iB) TX yts:3674055 4165 iB

[e@easpoddb ~$ ls
baeline_bs.sh  df-logs.txt  lodf.sh  md-_0-bta-2.backup  replicaion-tols.tz  saps.bckup  ypescrip
[deveasproddb ~]$





















_de@easroddb~\[v@easpoddb ~]$ls had�[K����Kls -l
[0mtotal 109748
-rw-rw-r--1 dev ev    141 Jun 8 12:2 [01;32baselie_dbs.sh[0m
-rw-rw-r-- 1 dev de   96752 Ju 1 17:43 [00mdf-logs.txt[0m
-r-rw--- 1 ev de     176 Aug  13:38[00mhardcop.0[00m-rxr-xr-x 1 dev dev       7 Jul 1 145 [;32mlgdf.sh[00m
-r-rw-r- 1 dev dv 4637665 ov  8  2010 [00mmad-1_0-eta-2.acku[00m
-rw---r--  dev dev    902 Aug  51337 [1;31mreplication-tols.tg[00m
-rw-w-r--1 dev ev     534 Aug 5 13:0 [00mscreenlog.0[00m
rw-rw-r- 1 dev dev 64997985 Feb 24 09:49 [0mmaps.bacup[00m
-rw-r-r-- 1 dev de   1770 l 22 :31 [00mtyescrit[0m
[_ev@easroddb:~\[dev@easproddb ~]$ at hardcopy.0 
[dev@easproddb ~]$ hostname
easproddb
[dev@easprodd ~] echo $TRM
screen
[dev@easproddb ~$ ls
aselne_db.sh  f-logs.txt  logdf.sh  mad1_0-bea-2.ackup replcationtoolstgz sfmap.backu  typescript
[dev@easproddb ~]$ /sbin/iconfig
eth0      Link encapEthernet Haddr 00:50:56:80:00:C0
        ine addr10.25.60.196  Bcast:10.250.60.55  Mak:25.255.55.0
         int6 ddr: f80::25:56ff:fe80:c0/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
         R packets68165 errors:0 dropped:0 ovrruns: frae:0
        TX packets:307435 erros:0 drpped0 overuns: carrier:0
          colisions0 txueueln:100
          RX bytes:51009531 (86.4MiB) TX byes:138714899 (132.2 MiB)
         Iterrut:59 ase address:0x2000

lo       ink ncap:ocal oopback
          inet adr:1270.0.  Mas:255..0.0
          inet6 add: ::1/28 Sope:Hst
         UP LOOPBACK RUNNIG  MTU1643  Metic:1
          RX packets:36751 erros:0 roppe:0 ovrruns:0 frame:0
         TX pakets36755 erros:0 dropped:0 overruns:0 arrier0
      colisions:0 txqueuelen:0
       RX bes:474105 (416.5 MiB)  TX byes:47410 (41.5 Mi)

dev@easproddb ~]$ l
baslineds.s df-gs.tx  logdf.sh  mad-1_-beta.baku  elicton-tols.tgz  sfmaps.bakup  yesrip
[dv@asroddb~]$




















_ev@easproddb:~[dev@aspddb ~$ lscreelog.0-l
[00m-rw-r-r--  devdev 85 Au  5 1:40 00mscreenlog.[00m
[mdev@aprob:~\dev@esproddb ~]$ ess sceenl.0 
?10h[?1=
3mESC[23m_dv@easpoddb[3mS[2\[deveasprddb ~]$ 
[mESC[3m_d@easrddb[3mEC[23\[dev@easprodb ~]$ls
3mES23m0m[3ESC[3m[01;32mbasline_ds.sh3mES23m0m  3mESC[23m[00mhardopy.03mES[23m0m  3mESC[23m[0mmad-1_0-bea-2.bakupmESC[3m[m  [mESC23m[00mscreelog.03mES[23m0m  � [3ESC[3m[00mtypescipt[3ESC3m[0m
[ESC[3m[00df-logs.txt3mESC23m[m    [3SC[2m[01;2mlogdf.sh[mESC[3m[0    [mES[23m[1;31meplication-tols.tg[3mC[2m00m[3mEC[23m00msfmaps.bckup[mESC[2m[m
3ESC[23m[m[3mESC[2m_v@easrod~[3ESC[3m\[dev@easprodb ~]$catcreenog.0
[3^[2
[3mESC[23m_dev@easprddb:~3mES[2m[dev@asproddb ~]$ [3mM[23m[3ES[3_de@asprdb:[3mESC[23m\[dev@easroddb ]$ l[3^[23m
[3mESC[23m[00m[3mESC23m0132bseln_dbsh[mESC[23m[00m  [3mES[2m[mhadcopy0[3mSC[23m[0m  [3ESC23m0mmad_0-et-2bcku[3mESC[23m[00m [3ESC[23m[0mscrenlog0[mSC[3m[0m     [3mSC23[00ypecript[3mES[2m[00m[3m^M[23m
[3ESC[2m[0df-os.tt[3mSC[23m[00m      [3mSC[2301;2mlg.sh3mESC[23m[00m    [3mESC[23m[0;1mepliton-ools.tgz[3mESC[23m[00m [3mES[23[0msmaps.ackup[3mESC[23m[00m3mM[2m
[3mSC[2m[m[mESC[m_dev@espodd:~3mESC[2\dev@espoddb ~$ at sc3mESC[3m_dv@easroddb[3mC[m\[de@easproddb ~]$ ls l
[3SC[m[00total10974
-r-rw-r-- 1 dev dev    141 un  12:2 [3mSC[2m[01;3mbaeline_db.sh[3ESC23m[m
-rrw-r- 1 dv dev  7967 Jl 1 17:3 [3ESC[3m[0mdf-log.txt[3mES23m00
--r-r- 1 dv dev     1376 Ag  5 138 3mSC[3m[0hardpy0[3mESC[23m[00m
-rwr-r-x1 d de     8 Jl 18 1:55[3mESC[2m[01;3mlogf.h3mES[23[00m
-rw-rwr- 1 de ev 467666 Nov 8  200 [3mES[23m[0mmad1_0bta-2.acku[3mEC[23[00m
-r-r--r--1 de de    902 Au  5 1:37 3mESC[2m[01;3mrepicatn-too.tgz[3mES[23m00m
--rw-r--1 de ev     87 ug 5 13:38 [3mESC[2m[00mceenl.0[mESC23m[0m
rw-rwr--1 devdev 6497985Feb 209:4 3mES[23m00msfapsbcku[ESC[23m[0m
-w-r--r--  dev de    730 ul 208:1 [3ESC[3m[00mtypescript[3mESC[3m[00
[mSC2m[m[mSC[2m_dv@easproddb:~[3mESC[23m[dev@aprob ~]$cat hrdcpy.0 
[v@easpoddb~]$ hstnam
easprodb
[ev@eaprod ~] eho$EM
creen
[dev@easproddb~]$ ls
bseineds.h  dflos.xt  logf.s  mad-_0bet-2.backp  rplicaio-tols.gz  fmasacu  tpescript
[dev@easprodb ~]$ sbinifconig
eh0      Link encap:Ethernt  HWadr 0050:5680:00C0
          inet addr:1.250.60196 Bcast10.25.60.255  Mask:255.255.2550
        inet6addr:fe80::250:56ff:fe80:c0/64Scope:Lnk
        UPBROADCAST RUNNING MULTICAT  MTU:500 Metri:1
         RX packets:685165errors: droped:0overrns:0 frame:0
          T packet:30735 erors:0dropped:0 overruns:0 carrer:0
        clisios:0 txqueuelen:1000
         RXbyte:51009531 486.4 MiB)  TX bytes:13874899 (12.2 iB)
        Interrupt:59 Base addrss:0x200

lo       Lnk encap:Local Loopback
        ine addr127.00.1 Mask255.0.0.0
         int6 adr: :1/128Scope:Host
          UP OOPBACKRUNNNG  MU:1646  Metric:1
          RXpackets36751 errrs:0 roppe:0 overuns:0 frame0
        TX pakets:67551 errors:0 dropped:0 verruns0 arier:
         collisions:0 txqueulen:0
[3msreenlg.0 23m[K
[K...skiping...
[3mES[23[3mES[3mEC[23m[23m[00mdf-logs.txt[3mESC23m[mESC3mESC[23m[23m[0m      [3mESC[23m[3mSC[mESC23m[2m[01;32mlogdf.sh[3mESC[3m[3mES[3mSC[2m[23m00m    [3mESC[23m[3mESC[3mESC23m[3m[01�31meplication-tools.tgz[3mEC[23m[mESC[3mES[23m23m[00m  [3mESC[23m[3mEC[3mES[23[23m[0msfmps.backup[3mESC[23m[3mEC[3mEC[2m[23m00m
[3mESC[23m[3mESC[3mESC23m[23mm[3ESC[3m[3mSC[3mESC[23m[23m_dev@eaproddb~[3ESC[3m[3mSC[3mESC[23m[23m\[dev@esprodd ~]$cat sreenlg. 
[3mESC[23m[3m^M[mESC[3m[2m
[mESC23m[3mESC[3mESC[23m[23mdev@easrodd:~[3ESC[3m[3mESC[3mESC[23m[23m\dev@easrodd ~]$ [3mES[23m[m^M[3mESC[23m[23
[3mEC[2m[3mEC[3mSC[23m[23m_dev@easproddb~[3mE[23[3mES[3mEC[23m[23m\[dev@easproddb~]$ ls3mES[23m3m^M3mESC[23m[23m
[3mESC[3m[3mES[3mSC[2m[23m[00[3mS[23m[3ESC[3mESC[23m[23m[1;32mbaseline_dbs.sh[3mESC[23m[3mES[3mESC[23m[23m[00m  [3mESC[23m[3mESC[mESC[23m[23m[00mhadcopy.0[3mESC[23[3mESC[3mES[23[23m[0m   [3mESC[23m[3mESC[3mESC[23m[3m[0mmad-_0-bea-2.backup[3mESC[23m[3mSC[3ESC23m[2m[00m [3mESC[23m[3mESC[3mES[23m23m[0mscrenlog0[3mESC[23m[3mESC[3mES[23m23m[0m   [1m 0m[3mESC[23m[3mESC[3mEC[23[2 �m[00mypescpt[3mESC[23m[3mESC[3mSC[2m[23[00mmESC[23m[3m^M[3mESC[23m[23m
[3mSC[3m[3mS[3ESC[23m[23m[00mdf-logs.tt[3mSC[3[3mSC[3ESC[23m[23m[00m      [3ES[2m[3SC[3ESC[3m[23m[01;32mlogdf.sh[3mSC[23[3mEC[3mSC[2m[23m[00m   [3mESC[23m3mESC3mES[23m23m[0; �1mreplication-tools.tz[3mEC[2[3mEC[3mSC[23m[3m[00m  [3mESC23m[3mSC[mESC23m[2m00msfmaps.backup[3mESC[23m[3ESC3mESC[23m[3m[0m[3mESC[23m[3m^M[mESC[3m[2m
[mEC23m[3mESC[3mESC[23m[23mm[3mEC[2m[3mC[3mSC[23m[23m_dev@easproddb~[3mEC2m[3mEC[3mSC[23m[23m\[dev@easprodd ~]$ ct sc[3mS[23m3mESC[3mESC[23m[23m_deveasprod:~[3mES[23m3mES �C[3mESC[23m[23m\[ev@easrodd ~]$s -l
[3mEC[23m3mES[3mEC[2m[2[00toal10974
-rwrw-r-- 1 dev dev    1418 un   12:2 [3mSC[23m[3mESC[3mESC[23m23m[0132mbselin_dbs.h[3mESC[23m[3mESC[3mES[23m[3m[0m
-r-rw-r- 1 dev dev  796752 Jul 8 17:4 [3ESC[3m[3mSC[3mESC[23m[23m[0mdf-ogs.tx[3mSC[2m[3mEC[3mESC[23m[23m[00m
-r-rw-r- 1 dv dev    176 Aug  5 13:38 [3mESC[3m[3mEC[3ESC[3m[23[00mharcopy.0[3mESC[23[mESC[3mEC[23[23m[0m
-rwxr-xr-x 1 dev dev      7 Jul18 1455 [mESC[23m[3mESC[3mESC[2m[2m[1;32logdfsh[3ESC[23m[3mESC[3mESC[23[23m[0m
-w-rw--- 1 ev dev 46376665 Nov  8  210 [3ESC23m[3ESC[mESC[23m[23m[00mad-1_0-eta-2.acku[3mEC[23[3mESC[3mESC[23m[23m[0
-rw---r- 1 de dev    9092 Aug  5 13:37 [3mSC[23[3mEC[3mSC[2m[23m[01;31mreplication-tols.g[3mSC[2m[3EC[3mESC[3m[23m[00m
-r-rw-r- 1 dv dev     17 Aug  5 13:38 [3mESC[3m[3mEC[3ESC[3m[23[00mscreenlog.0[3mESC[2m[3mES[3mSC[2m[23m00m
-rw-rw-r-- 1 dev dev6499795 e 24 0:493mESC[23m[3mSC[3mESC[3m[23m00msmaps.ackup[3mESC[23m[3mESC[3mESC23m[23[00m-rw---r--1 dev ev    1770 Jul22 08:31[mESC[23m[3mESC[3mESC[2m[23m[0mtyescrit[3mSC[23[3mES[3ESC[2m[23m[0m
[3mESC[23m[3mESC[3mESC[23m[23m[m3mESC[23m[3mESC[3mES[23m[23m_dev@easprodb:~[3mESC[23m[3mESC[3mESC[23m[23m\[dev@easprodb ~]$ cat hardcopy.
[ev@easprdd ~]$ hostname
easprddb
[dev@esprodb ~] echo$TERM
screen
dev@eaproddb ~$ s
baseline_dbs.sh  df-los.txt logd.sh  ad-1_-beta-.backup replicton-tools.tgz  sfmaps.backup  typecript
[eveasproddb ~]$ /sbin/ifconig
et0     Lin enca:Eheret  HWadr 00:5:56:80:0C
        inetaddr:0.50.60.96  cast:0.2560.255 Mas:25.55.2.0
         inet6 addr:fe80::50:5ff:fe0:c/4 Scop:Lnk
          U BROADAS UNNI MUTCAS  MTU1500  etric:1
         R ackts:68165 errors:0 dropped:0ovruns:0fam:0
        TX packets:07435 rror:0 drped: overns:0carier:0
         collsions:0txquuelen1000
        RX byte:5007931 (4864 Mi)  TXbtes1371489 (13.2 Mi)
        nerupt5 Basaddrss:x2000

lo      Link ncapLocalLopbck
        inet ddr:1.0.0.1 as:25..0.0
         inet6 addr: :1128 Sco:Hot
      UP LOOPBACK RUNNING MTU1636  etri1
      RX packes:36751 error:0 droped:0ovrrns:0 rae:0
          TX packts36751eros:0doppd0 overuns:0 carier:0         colisios:0 tqueuele:0
[3mSC[23m[mscreenog.0[3mE[23m[3m[mESC23m[K
[3m(ND) [23[
[?1>?1049l_dev@easprodd:~\[dveproddb ]$ls
[00m[01;2mbaseinebs.sh00m [00mardcoy.0[00m  [00mmad-1_0-beta-2.backup[00 [00msceelog.0[00m   [00mtpescipt[m
00mdf-log.txt[0m      [0;32logdf.sh[00m    [01;31meplicaton-tols.tz[00  [00msfmaps.backup[00
m_dev@easprodb:~\[dev@asprodd ~]$tar xfz relicatio-tols.gz
rplication-tools/
replicaion-toos/TOO
relicaton-toos/config/
replcaton-tool/cnfig/README
replication-ools/config/pg_hba.conf
replication-tols/conig/pstgreql.cf.addiions
replication-tols/onfig/revry.conf
replication-tool/READM
replication-tools/scipts/
epliaion-olscrip/pirreictin.onf
eplication-tools/scriptswal_arciv
replication-tools/scripts/pg_resyn_replic_9
repliation-tools/scripts/g_resyn_rplica
replication-toolsscriptsprmte_tomaster
relicatin-ools/scripts/cp16mbonly
eplicaton-tols/LCENSE
dev@espoddb:~[deveasprodb ~]$cd rep�lication-tools
_dev@esprod:~/rlicatio-toos\[dev@easproddb replication-tools]$ cd config/
_dev@easprddb:~/plication-tools/config\[dev@easproddb cofig]$ ls
[00m[00mpg_hba.conf00m  [00mpostgresqlconf.aditions[00m  [00mREADME[00m  [00mrecovery.conf[00m
[m_deveasprodb:~/replication-tools/config\[dev@easprodb config]$ vim recovery.conf 
[?1049h[?1h=[1;50[34l[34h[?25h[23m[24m[0m[H[J[?25l[50;1H"recovery.conf" 
"recoverycon" 3L, 1712C[1;1H[34m# restore wih a simple copy[0m
restore_command = [31m'cp/var/pgsql/wal_archive/f %p'0m

[3m# delete unneeded archive files[0m
archve_cleanup_command = [31m'/opt/local/bin/pg_arhivecleanup /var/pgsql/wal_archive %r'[0m

34m# use streamig repliction[0m
standby_mode = [31m'on'0m

[3m# fail over when the BRINGUP file exists0m
trigger_file = [31m'/var/pgsql/BRINUP'[0m

[34m# thbelow needs to be changed to the correct IPaddress oneach server
# it is theconnectin information for the other sever[0
rimary_conninfo = [31m'host=10.100.23.97 ort=5432 user=repliauser'[0m

[34m#----------------------------------------------------------------------------
# The replicatin-tools pckage is licensed under the PostgreSQL License:
# 
# Copyright (c) 2010-2011, PostgreSQL, Experts, Inc.
# 
# Permission to use, copy,modify, and distribue this software and its
# documentationfor any purpose, without fee, and without a written agreement is
# hereby granted, provided that the aboe copyright notie and this pragraph
# and the following two paragraphs appear in all copies.
# 
# IN NO EVENT SHALL OSTGRESQL EXPERTS, INC. B LIABL TO NY PATY FO DIRECT,
# INDIRECT, SPEIAL, ICIDETAL, R CONEQUENTIAL DAMAGES, INCLUDNG LOS
# ROFIT, ARIING OUT OF THE USE OF THI SOFTWRE AD ITSDOCUMNTATION, EVEN
# IF POSTGESQL EPERT, INC HAS EEN ADVISED OF THE POSSIBLITY O SUC
# DMAGE.
# 
# POSTGRESQL EXPERTS INC. PECIICALL DISCAIMS ANY WARRANTIES, INCLDING, UT
 NOT IMITE TO, THE IMPLIED WARRANTIS OF MRCHATABILTY AN FITNESS FOR A
# PARTICUAR PUROSE.THE SFTWAR PROVIDED HEREUNDER IS ONAN "ASIS" ASIS,
# AN POSTGRESQL EXPERTS, INC.HAS NOOBLIATION TO POVIDE MAINTENANCE,
# SUPORT, UDATE, ENHNCEMETS, OR MODIFICATIONS.[0m
[1m34m~                                                                                                                      [39;1H                                                                                                                     [40;1H~                                                                                                                     [4;1H~                                                                                                                      [4;1H~                                                                                                                       [3;1H~                                                                                                                     [44;1H~                                                                                                                      [4;1H~                                                                                                                      [46;1H~                                                                                                                     [7;1H~                                                                                                                        48;1~                                                                                                                     [49;1H~                                                                                                                       0m[5;115H,1           All[1;1H[3h[?25[?2l[50115H21           All[2;1H[34[?25h?25l[50;15H3,01         All[3;1H[34h?25h[25l50;11H4,1          All[4;1H[34h[25h[?2l[5;115H,0-1        All[3;1H[34h[?2h[?25l[50;15H2,          All[2;1H[34h[?25h[?25l[0;11H2,17        All[2;17H[34h[?25h?25l[5;1152,19        All2;19H[34h[?25[?5l[50;15H,20          All[2;20H[4h[?25[?2l[50115H2,23          All[;23H[34h[?25h[?25l[50115H2,2         ll[2;24H[34h[?25h[?5l[50;115H2,27          ll[2;2H[3h[?2h[?25l[50;115H2,28         All[2;28H[34h[?2h[?25l[50;15H2,3          All[2;33H[4h[?25h[?25l[50;115H2,4         Al[2;4H[34[25h[?2l[50115H2,45          All[2;5H[34h[?25[?25[50;1152,47        All[2;47H[34h[?25h[?25l[50;115H2,49          All[2;49[34h[?25h[?25l[50;1H[K[50;1H:[34h[25hq[?25l
:q[34h[?25h[?25l
:[50;2H[K[50;1H:[34h[?25h�[?25l[114C2,49          All[2;49H[34h[?25h[?25l[50;115H3,0-1         All[3;1H[34h[?25h[?25l[50;115H2,49          All[2;49H[34h[?25h[?25l[50;115H3,0-1         All[3;1H[34h[?25h[?25l[50;115H4,31          All[4;31H[34h[?25h[?25l[50;115H5,49          All[5;49H[34h[?25h[?25l[50;115H6,0-1         All[6;1H[34h[?25h[?25l[50;115H7,27          All[7;27H[34h[?25h[?25l[50;115H8,19         All[8;19H[34h[?25h[?25l[50;15H9,0-1         All[9;1H[34h[?25h[?25l[50;115H10,40         All[10;40H[34h[?25h[?25l[50;115H11,35         All[11;35H[34h[?25h[?25l[50;115H12,0-1        All[12;1H[34h[?25h[?25l[50;115H13,49         All[13;49H[34h[?25h[?25l[50;115H14,49         All[14;49H[34h[?25h[?25l[50;115H15,49         All[15;49H[34h[?25h[?25l[50;115H15,44         All[15;44H[34h[?25h[?2l[50;115H15,43         All[15;43H[34h[25h[?25l[50;115H15,39         All[15;39H[34h[?25h[?5l[50;15H1,6       All[5;36[34[?5h[?5l[5;115H15,35         All[15;35H[34h[?25h[?25l[50;115H15,33         All[15;33H[34h[?25[?25l[50;115H15,32         All[15;32H[34h[?25h[?25l[50;115H15,9        All[15;29H[34h[?25h[?25l[50;115H15,28         All[15;28H[34h[?5h[?25l[50;115H15,26         All[15;26H[34h[?25h[?25l[50;115H15,27       All[15;27H[34h[?25h[?25l[50;115H15,26         All[15;26H[34h[?25[?25l50;115H15,27         All[15;27H[34h[?25h[?25l[50;115H15,28         Al[15;28H[34h[?25h?25l[0;115H15,29         All[15;29H[34h[?25h[?25l[50;115H15,30        All[15;30H[34h[?25h[?25l[50;115H15,31         All[15;31H[34h[?25h[?25l[50;115H15,32         All[15;32H[34h[?25h[?25l[0;115H15,33         All[15;33H[34h[?25h[?25l[50;115H15,34         All[15;34H[34h[?25h[?25l[50;115H15,35         All[15;35H[34h[?25h[?25l[50115H15,36         All[15;36H[34h[?25h[?25l[50;115H15,37         All[15;37H[34h[?25h[?25l[50;115H15,38         All[15;38H[34h[?25h[?25l[50;11H15,37         All[15;37H[34h[?25h[?25l[50;115H15,36         All[15;36H[34h[?25h[?25l[50;115H15,35         All[15;35H[34h[?25h[?25l[50;115H1,34         All[15;4H[34h[?25h[?25l[50;115H15,33        All[15;33H[4h[?25h[?25l[50;15H15,32         All[15;32H[34h[?25h[?25l[50;115H15,31        All[15;1H[34h[?25h[?25l[50;115H15,30        All[15;30H[34h[?5h[?25l[50;115H15,29         All[15;29H[34h[?25h[?25l[50;115H15,28         All[15;28H[34h[?5h[?25l[50;115H15,27         All[15;27H[34h[?25h[?25l[50;115H15,26         All[15;26H[34h[?25h[?25l[50;1H[K[50;1H:[34h[?2hq[?25l
:q[34h[?5h
[?25l[50;1H[K[50;1H[?1l>[34h[?25[?1049l_dev@easproddb:~/replication-tools/config\[dev@easproddb config]$ ls
[00m[00mpg_hba.conf[00  [00mpostgresq.conf.additins[00m  [00mREADME[00m  [00mrecovery.conf[00m
[m_dev@easproddb:~/replication-tools/onfig\[dev@easproddb conig]$ cd../sripts
_dv@easproddb:~/replicationtools/sript\[de@easpoddb scripts]$ ls
[00m01;32mc16mbnly[0m  01;32mpg_resync_replica[0m  [0;32mg_resnc_relica_91[00m  [00mpitr-rplicatin.cof[00  [0;32mpromote_to_master[00  [01;2mwa_archve[0m
[m_dev@easproddb:~/rplicatin-tols/scipts[dev@easproddb scripts]$ im pit-repicatin.conf 
[?1049h[?1h=[1;5r[34l34[?25h[23m[24m0m[H[J[?25l[50;1H"pitr-rplicatin.onf" 
"pit-replcation.conf" 122L, 4577C[11H[34m Cnfigurtionfile or PITR or replication on ostgreSL .0
# ower pg_rsync_replica, promote_to_aster ad al_arcive

# Vrsion 1.6.  Last updated2011-0217

# opyrght () 2010-2011, PostgreSQL Expert, nc.
#Licesed uder The PostgreSQL Licnse; se
 http:/wwwpostgesql.org/about/licenc
# or heend ofthisfile or details.

# Wha operatngsystemis tis? W have some special-ase cod
 for dffernt OS.[0m
UNAME_S=`unme -s`
if[ $UNAE_S  Linu ]; then
  OS=Liux
eli [$UNAMES = unOS  && uame -r| grep 5.11 > /ev/ull 2>&1 ten
  [34m# Discriminatebetwee Joynt's n-house version ofOpenSolaris
[0m  [34m#and themaintreamversion. Only way o do it: check the doman ame.[0
  f unae -n | grep -i joynt > /dev/null 2>&1; then
    OSJoyet[225H[34m# On Joyent sometimes you want to us svcadm somtimesyou do't 
[0m   [4m# Set this variable accrdingly Recmmendd seting: false (i.e. '').[0m
    UE_SVADM=31m''[0m
  else
    OS=OpenSlaris
 fi
else
  OS=nknown
fi

[34m# mastr and rplic IP adresss.  These should be the sme                                                                [33;1H             
# o all severs  In he evnt of failover and promoton                                                                   [35;1H              
 of thereplca toa maser, yo will ned to sap these                                                                      [37;H            
# adresses                                                                                                              [39;1H           [0m

MASTER=10.100.23.7
REPLCA=1.100.3.76

[34# below hould ot need to be changd for CentO                                                                            [45;H            [0m

PGUSER=replicauser
PGDATA=/var/pgsql/data90
REPLICATION_LOG=/va/lo/pg_log/epication.log[50;115H1,1         Top1;1H34h[25h[?5l[50;15H2,1          Top[2;1H[34h[?2h[?25l50115H3,0-1         Top[3;H[34h?25h[?25l[50;15H4,1         Top[41H[34h[?25h[?25l[50;115H5,0-1        Top5;H[34h[?25h[?25l[50;11H6,1         Top[6;1H[34h[25h[?25[50;15H7,1           Top[7;1H[34h[?2h[?25l50115H8,1           Top[8;H[34h?25h[?25l[50;15H9,1         Top[91H[34h[?25h[?25l[50;11H10,0-1      Top[10;1H[34h[?25h?25l[5;11511,1        Top11;1H[3h[?25[?25l[50;115H12,1         To[2;1H[34h[?25h[?25l[50115H13,         op[1;1H[3h[?25h?25l[0;115H14,1         Top[4;H[34h[?25h[?25l[50;11H15,1        Top[15;1[34h?25h[?2l[50;15H16,1         To[6;1H[34h[?25h[?25l[50115H171       Top[;1Hh[?25h[?25l50;115H18,1         Top[18;1H[3[25h[?25[0;115H19,1          Top[9;1H[3h[?5h?5l[5;1152,1       Top[20;H[3h25[2l0;11521,0-1        Top21;1H34h?25h?25l50;11522,1         Tp[22;1H[34h[?2h?25l[50;115H23,1         Top[3;1H[34h?25h25l[0;115H241        Top241H[34h[?25h[?25l[50;15H25,1       Tp[251H[34[?25h[25l[5;115H2,1          Top[26;1H[34h[?25h[?25l[50;115H27,1          Top[27;H[4h[?25h[?5l[50;115H2,1          op[28H[3h[?2h[?2l[50;15H291        Top[29;1H[34h[?25h[?25l[50;115H301          Top[30;1[34h[?25h[?25l[50;115H31,0-1        Top[31;H[4h[?25h[?5l[50;115H32,1          op[32;H[3h[?2h[?2l[50;115H33,1         Tp[34;1[34[?5h[?5l[0115H34,1          Top36;1H[34h[?25h[?25l[50;115H35,1         Top[38;1H[34h[?25h[?25l[50;115H36,0-        Top[40;1H[34h[?25h[?25l[50;115H37,1         Top[41;1H[34h[?25h[?25l[50;115H38,1          Top[42;1H[34h[?25h[?2l[50;115H39,0-1        Top[43;1H[34h[?5h[?25l[50;115H40,1          Top[44;1H[34h[?2h[?5l[50;115H41,0-      Top[46;1H[34h[25h[?5l[50;115H40,1        Top[44;1H[34h[?5h?25l[0;115H39,0-1       Top43;1H[34h[?25h[?5l[50115H38,1         Top[4;1H[34h[?25h[?5l[50115H37,1         Top[1;1H[34h[?25h[?25l[5;115H3,2         Top[1;2H[34h[?2h[?25l50;15H37,3         Top[41;3H[34h[?25h[?2l[50;11537,4          Top[41;4H[4h[?25h[?25l[5;115H3,5        Top[41;5H[4h[?25h[?25l50;11537,6          Top[41;6H[34h[?25h[?25[50;11537,7         Tp[41;H[34h[?25h[?25l[5;115H37,8         Top[41;H[34h[?25h[?25l[50;15H37,9         Top[41;H[34h[25h[?25l[0;1H37,10        Top[41;H[3425h[?25l[50;15H37,11         Top[41;1[34h?25h[?25l[50;15H37,12         Top[41;1H[34h?25h[?5l[015H7,13       To[411H[3h?25h?25l50;15H37,14         Top[41;1H[34h?25h[?25l[50;15H37,15         Top[41;1H[34h?25h[?25l[50;15H37,16       Top[41;6H[3[?25h[?5l[0;115H3,17       To[41;17H[34h[?25h[?25l[50;115H37,18         Top[4118H[34h[?25h[?25l[50;15H38,1        Tp[4218H[34h[?25h[?25l[50;15H39,-1       op[4;1H[34h[?25h[?25l[50;15H40,8        Tp[4418H[3h?25h[?5l[0;115H1,0-1       Tp[46;H[34h[?2h[?5l[50;15H42,8         Top[47;18H[34h[?25h[?25l[50;115H43,18        Top[48;18[34?25h[?25l[50;11544,18         Top[49;18H[34h[?25h[?25l[1;49r[49;1H
[1;50r[50;1H[K[50;115H45,0-1        1%[49;1H[34h[?5h[?25l[1;49r[1;1H[2M[1;50r[48;1H[34m# directory where log files are copied to on the replica                                                                            [49;1H              [0m[50;115H[K[50;115H46,18          3[48;18H[34h[?25h?25l[1;49r[49;1H
[1;50r[50;115[K[50;115H47,0-1         5%[49;1H[34h[?25h[?25l[1;49r[49;1H
[1;50r[49;1HWALDIR=/var/pgsql/wal_rchive[50;115HK[50;115H4818          6%[49;18H[34h[?25h[?25l[1;49r[49;1H
[1;50r[50;115H[K[50;115H49,0-1         7%[49;1H[34h[?25h[?25l[1;49r[49;1H
[1;50r[49;1H[34m###############################[0m[50;15H[K[50;115H50,18          8%[49;18H[34h[?25h[?25l[1;49r[49;1H
[;50r[49;1H[34m# Begin OS-specific settings[0m[50;115H[K[50;115H51,18         10%[49;18H[34h[?25h[?25l[1;49r[49;1H
[1;50r[49;1H[34m################################[0m[50;115[K[50;115H52,18        11%[49;18H[34h[?25h[?25l[50;115H51,18         11%[48;18H[34[?25h[?25l[50;115H50,18         11[47;18H[34h[?25h[?25l[50;115H49,0-1        11%[46;1H[34h[?25h[?2l[50;115H48,18         1%[45;1H[3h[?2h[?2l[50;15H470-1      11%[4;1H[34h[?25h[?25l[50;115H46,18        11%[42;18H[34h[?25h[?2l[50;11H4,0-1        11%[41;1H[3h[?25h[?25[50;115H4418       11%[40;18H[34h[?25h[?25l[50;115H43,18         11%[39;18H[34h[?25h[?25l[50;115H44,18         11%[40;18H[34h[?25h[?25l[50;115H45,0-1        11%[41;H[34h[?25h[?25l[50;115H46,18         1%[42;18H[34h[?25h[?25l[50;115H47,0-1        11%[44;1H[34h[?25h[?25l[50;115H48,18         11%[45;18H[34h[?25h[?25l[50;115H49,0-1        11%[46;1H[34h[?25h[?25l[50;115H50,18         11%[47;18H[34h[?25h[?5l[50;115H51,18         11%[48;18H[34h?25h[?25l[50;115H52,18        1%[49;18H[34h[?25h[?25l[1;49r[49;1H
[1;50r[49;1H[34m#[0m[5;115H[K[50;115H53,1          12[4;1H[34h[?25h[?5l[1;49r[49;1H
[1;50r[49;1Hif [ $OS =[31m'Joyent'[0m ]; then[50;115H[K[50;115H54,18        13%[9;1834h?25h[?25l[1;4r[4;1H
1;0r[4;3HPGASE=/var/pgsql[50;115H[K[50;115H55,18         15%[49;18H[34h[?25h[?25l[50;115H54,18         15%[48;18H[34h[?25h[?25l[50;115H3,1          15%[47;1H[34h[?25h[?25l[50;115H52,18         15%[46;18H[34h[?25h[?25l[50;115H51,18         15%[45;18H[34h[?25h[?25l[50;115H50,8         15%[44;1H[34h[?25h[?25l[50;115H49,0-1        15%[43;1H[34[?25h[?25l[50;115H48,18         15%[42;18H[34h[?25h[?25l[50;115H47,0-1        15%[41;1H[34h[?25h[?25l[50;115H46,18         1%[39;18H[34h[?25h[?25l[50;115H45,0-1        15%[38;1H[34h[?25h[?25l[50;115H44,18         15%[37;18H[34h[?25h?25l[50;115H45,0-1        15%[38;1H[34h[?25h[?25l[50;115H46,18         15%[39;18H[34h[?25h[?25l[50;115H47,0-1        15%[41;1[34h[?25h[?25l[5;115H48,18         15%[42;18H[34h[?25h[?25l[50;115H49,0-1        15%[43;1H[34h[?25h[?25l[50;115H50,18         15%[44;18H[34h[?25[?25l[50;115H5,18         5%[45;18H[34h[?25h[?25l[50;115H52,18         15%[46;18H[34h[?25h[?25l[50;115H53,1          15%[47;1H[34h[?25h[?25l[50;115H54,18         15%[48;18H[34h[?25h?25l[50;11H55,18         5%[49;18H[34h[?25h[?25l[1;49r[49;1H
[1;50r[49;3HPGCTL=/opt/local/in/pg_ctl[50;115H[K[50;115H56,18         16%[49;18H[34h[?25h[?25l[1;49r[49;1H
[1;50r[49;3HPSQL=/opt/local/bin/psql[50;115H[K[50;115H57,18         17%[4918H[34h[?25h[?25l[;49r[49;1H
[1;50r49;3HRSYNC=/opt/local/bin/rsync[50;115H[K[50;115H58,18         18%49;18H[34h[?25h[?25l[1;49r[49;1H
[1;50r[49;3HSSH=/usr/bin/ssh[50;115H[K[50;115H59,18         20%[49;18H[34h[?25h[?25l[1;49r[49;1
[1;50r[49;3HCP=/usr/bin/p[50;115H[K[50;115H60,6        21[49;6H[3h[?5h[25l[149[491H
[1;0r[4;1Helf [ $OS = [31m'Linux'[0m ]; then[50;15H[K[50;115H61,18         22[49;18H[34h[?25h[?25l[1;49r[49;1H
[1;50r[49;3H[34m# These settings are for CentOS. Other distributions may be different.[0m[50;115H[K[50;115H62,18         24%[49;18H[34h[?25h[?25l[1;49[49;1H
[1;50r[49;3HPGBASE/var/lib/pgsql[50;115H[K[50;115H63,18       25%[49;18H[34h[?25h[?25l[1;49r[49;1H
[1;50r[49;3HPGCTL=/usr/pgsql-9.0/bin/pg_ctl[50;115H[K[50;115H64,18         26%[49;18H[34[?25h[?25l[1;49r[49;1
[1;50r[49;3HPSQL=/usr/pgsql-9.0/bin/psql[50;15H[K[50;115H6,18        27[49;18H[34h[?25h[?25l[1;49r[49;1H
[1;50r[49;3HRSYC=/usrbin/rsync[50;11H[K[0;115H6,18         29%[9;18H[34h[?5h[?25l[1;4r[49;1
[1;50r[49;3HSSH=/usr/bin/ssh[50;115H[K[50;115H67,18         30%[49;18H[34h[?25h[?25l[1;49r[49;1H
[1;50r[49;3HCP=/bin/cp[50;115H[K[50;115H68,12         31%[49;12H[34h[?25h[?25l[1;49r[49;1H
[1;50r[49;1Helse[50;115H[K[50;115H69,4          32%[49;4H[34h[?25h[?25l[1;49r[49;1H
[1;50r[49;3Hecho [31m"Unrecognized OS."[0m[50;115H[K[50;115H70,18         34%[49;18H[34h[?25h[?25l[1;49r[49;1H
[1;50r[49;3Hexit 1[50;115H[K[50;115H71,8          35%[49;8H[34h[?25h[?25l[1;49r[49;1H
[1;50r[49;1Hfi[50;115H[K[50;115H72,2          36%[49;2H[34h[?25h[?25l[1;49r[49;1H
[1;50r[50;115H[K[50;115H73,0-1        37%[49;1H[34h[?25h[?25l[1;49r[49;1H
[1;50r[49;1H[34m# Name and location of the file that stops archiving on the Master[0m[50;115H[K[50;115H74,18         39%[49;18H[34h[?25h[?25l[1;49r[1;1H[2M[1;50r[48;1HTOUCHFILE=$PGBASE/no_archiving
[34m# Name and location of the file which stops recovers on the slave[0m[50;115H[K[50;115H75,18         41%[48;18H[34h[?25h[?25l[50;115H76,18         41%[49;18H[34h[?25h[?25l[50;115H75,18         41%[48;18H[34h[?25h[?25l[50;115H74,18         41%[47;18H[34h[?25[?25[5;115H73,0-1        41%[46;1H[34h[?25h[?25l[50;115H72,2          41%[45;2H[34h[?25h[?25l[50;115H71,8          41%[44;8H[34h[25h[?25l[50;115H70,18         41%[43;18H[34h[?25h[?25l[50;115H69,4          41%[42;4H[34h[?25h[?25l[50;115H68,12         41%[1;12H[34h[?25h[?25l[50;115H67,18         41%[40;18H[34h[?25h[?25l[50;115H66,18         41%[39;18H[34h[?25h[?25l[50;115H65,18       41%[38;18H[34h[?25[?25[50115H6,18       41%[37;18H[34h[?25h[?25l[50;115H65,18         41%[38;18H[34h[?25h[?25l[50;115H66,18         41%[39;18H[34h[?25h[?25l[0;115H65,18        41%[38;18[4h[?5h[?25l[50;115H64,18        41%3718H[34h[?25h[?25l[50;11H65,18       1%[38;1H[34h[?25h[?25l[50;115H66,18         41%[39;18H[34h[?25h[?25l[50;115H67,18         41%[40;18H[34h[?25h[?25l[50;115H66,18        41%[39;18H[3h[25h[25[50;115H65,18         4%[38;1H34h[?25h[?25l[50;115H64,8        1%[37;18H[34h[?25h[?25l[50;115H63,18         41%[36;18[4h[?2h[?25l[50;115H64,18         41%[37;18H[34h[?25h[?25l[50;115H65,18         41%[38;18H[34h[?25h[?25l[50;115H66,18         41%[9;18H[34h[?25h[?2l[0;115H7,8         41%[40;18H[34h[?2h[?25[50;115H68,12         41%[41;12H[4h?25h[?5l[50;11H69,4          41%[42;4H[34h[?25h[?25l[50;115H70,18         41%[3;18H[34h[?25h[?25l[50;11H71,8          41%[44;8H[34h[?25h[?25l[50;115H72,2          41%[45;2H[34h[?25h[?25[50;11H7,0-1        41%[46;1H[34h[?25h?25l[5;15H74,18         41%[47;18H[34h[?25h[?2l[50;15H5,18         41%[4;18H[34h[25h[?25l[50;15H76,18         41%[49;18H[34h[?25h[?25l[1;49r[1;1H[2M[1;50r[48;1[34m# and brings it up as te new mstr[0m
BRINGUP=$PGBASE/BRINGUP[50;115H[K[50;1577,18         42%[48;18H[34h[?25h[?25l[0;15H78,18         42%[49;18H[34h[?25h[?25l[149r[1;H2M[1;50r[48;1H[4m# Locl estination file
# oints to a fie containing a list ofmouted dirctries to copy[m[50;15[K[50;15H79,8       44%[48;18H[34h[?25h[?25l[50;115H80,18         44%[49;18H[34h[?2h[?25l[149r[1;1H[2M[1;50r[48;1H[34m# WA files o. If no using, *do not leave empty*, just use the
# default and don't crete he file[m[50;15H[K[50;115H81,18         46%[48;1H[4h[?25[25l[50;115H82,18         46%[49;18H[3h[?25[?25l[1;49r[49;1H
[1;50r[491HLOCALDETINATINS_LIST=[31m"$PGBASE/scripts/local_destinations"[0m[50;115H[K[50;15H8,18       48%[49;18H[34h[?25h[25l[149r49;1H
[1;0r[491H[3m#[m[50;15H[[50;115H84,1          49%[49;1H[34h[?25h[?25l[50;115H83,18         49%[48;18H[34h[?25h[?25l[50;115H82,18         49%[47;18H[34h[?25h[?25l[50;115H81,18         49%[46;18H[34h[?25h[?25l[50;115H80,18         49%[45;18H[34h[?25h[?25l[50;115H79,18         49%[44;18H[34h[?25h[?25l[50;115H78,18         49%[43;18H[34h[?25h[?25l[50;115H77,18         49%42;18H[34h[?25h[?25l[50;115H76,18         49%[41;18H[34h[?25h[?25l[50;115H75,18         49%[40;18H[34h[?25h[?25l[50;115H75,19        49%[40;19H[34h[?25h[?25l[50;115H75,20         49%[40;20H[34[?25[?25l[50;115H75,19         49%[40;19H[34h[?25h[?25l[50;115H74,19        49%[39;19H[34h[?25h[?25l[50;115H73,0-1        49%[38;1H[34h[25h[?5l[50;115H72,2          49%[37;2H[34h[?25h[?25l[50;115H71,8         49%[368H[34h[?25h[?25l[50;115H70,19         49%[35;19H[34h[?25h[?25l[50115H69,4          49[34;4[34h[?25h[?25l[50;115H68,12         49%[33;12H[34h[?25h[?5l[50;115H67,18         49%[32;18H[34h[?25h[?25l[50;115H66,19         49%[31;19H[34h[?25h[?25l[50;115H65,19         49%[30;19[34h[?25h[?25l[50;115H64,19         49%[29;19H[34h[?25h[?25l[50;115H63,19         49%[28;19H[34h[?25h[?25l[50;115H62,19         49%[27;19H34h[?25h[?25l[50;115H61,19         49%[26;19H[34h[?25h[?25l[50;115H60,16         49%[25;16H[34h[?25h[?25l[50;115H59,18         49%[24;18H[34[?25h[?25l[50;11558,9        4%[23;19H[34h[?25h[?25[50;15H5719        9%[2219H[4h[?25h?25l50;115H56,19         49%[21;19H[34h[?25h[?25l[50;115H55,19       49%[2019[34h[?25h[?25l[50;11556,19       49%21;19[34[?25h[?25l[50;15H5719        49%[22;19H[34h[?2h[?25[50115H5,19        49%[23;19H[34h[?5h[?2l[5;115H9,18        49%[24;18H[34h[25h[?5l[0;11560,16        49%[25;16H[34h?25h[25l50;11H61,1         49%[26;19H[34h[?25h?25l[50;15H62,9         49%[27;19H[34[?25h[?25[50;15H6319         49%[28;19H[3h[?25[?2l[50115H6,18         49%[28;18H[4h[?2h[?5l[5;115H3,17         49%[28;17H34h[?5h[25l[0;11563,16         49%[28;16H[34h[25h?25l50;11H63,15         49%[28;15[34h?25h[?25l[50;15H63,14         49%[28;1H[34h[?25[?25[50;15H63,13         49%[28;3H[34[?2h[?2l[50115H63,12         49%[2812H[3h[?5h[?5l[5;115H63,13        49%[2;13H[4h[25h[25l[0;11563,14         49%[8;14H34h?25h?25l50;115H63,15         49%28;15H[34h[?25h[?25l[50;115H63,16         49%[28;16[34[?25[?25[50;115H63,17         49[28;1H[3h[?2h[?2l[50;115H64,17         4%[29;7H[4h?5h[?5l[50;115H65,17         9%[301H34h[25h[25l[50;115H6,17        49%[2;17H34h?25h?25l[50;115H63,17        49%[8;17[34h[?25[25[0;156318      9%2;1H34[25[25[0;115H63,19        49%[28;9H[3[2[25[0;156320     9[22H4[5[25[0;15H6,21        4%[2;21H34[2h[?25l[50;1H63,22      %[822H34h?25[25[50;15H63,21       49%28;21[34h[?25h[?25l[50;115H63,20      49%[28;2H[34[?25h[?25l[50;115H63,1        49[28;9H[3h[?25h[?25l[50;115H63,8        4%[2818H[4h[?25h[?25l[50;115H631        9[2;17H34h[25h[?25l[50;115H6,16       49%[8;16H[34h[?25h[?25l[50;115H3,15      49%[28;1H[34h[?25h[?25l[50;11H63,1        4%[2814H[34h[?25h[?25l[50;15H6313       49%[8;13H[34h[?25h[?25l[5;115H3,12       49%[2812H[34h[?25h[?25l0;11H63,1        4%[28;11H[34h[?25h[?25[50;15H6,10       49%[28;10H[34h[?25[?5l[5;11564,10       49%[29;0H[34h[?25h?25l50;15H65,0        49%[30;10H[34h[?25[?25[50115H66,10       49%[31;10H[3h[?25h?25l50;15H67,0       49%[32;10H[34h[?25[?25[50115H6,10        49%[33;10H[34h[?5h[?5l[0;11569,4         49%[34;4H[34h[25h[25l50;11H70,1         49%[35;10H[34h[?25h[?25[50;15H718         49%[36;8H[34[?25[?2l[50115H7,2          49%[37;2H[3h?2h?5l[5;115H3,0-1        49%[38;1H[4h[?5h[25l[0;11574,10         49%[39;10H[34h[25h?25l50;11H75,10         49%[40;10[4h?25h[?25l[50;15H7610         49%[41;1H[34h[?25[?25[50;15H7710         49%42;0H[34[?h[?2l[50115H78,10         49%[430H[3h[?5h[?5[5;15H78,11         9%[411H[4[25h[25l[0;15H78,12        49%[3;1234h25h?25l50;115H78,13         49%43;13H[34h[?25h[?25l[50;115H78,14         49%[43;14[34[?25[?25[50;115H78,15         49[43;1H[3h[?2h[?2l[50115H78,16         4%[436H[h[?5h[?5l[5;115H78,17         9%[417H4h[25h[25l[0;115H78,18        49%[;18H34h?25h?25l50;115H78,19        49%3;19[34h[?25h[?25l[50;115H78,20        49%43;2[34[?25[?25[50;115H78,21        49[43;H[3h[?2h[?2l[50;115H78,22        4[432H[4h[?5h[?5l[50;115H78,23        %[423H34h[25h[25l[50;115H78,22       9%[;22H[34h?25h?25l[50;115H78,21      49%3;21[34h[?25h?25l[50;115H78,20       49%[4;2[34?25h[?25l[50;115H7,1      49[43;9H[3h[?25h[?25l[50;11H78,8       4%[4318H[4h[?25h[?25l[5;115H7817      %[4;17H34h[?25h[?25[50;15H717       9%[4;17H[34h[?25h[?2l[50;15H,17      49%45;17[34h[?25h[?5l[501151,17      49%[46;1H[34h[?25h[25l[5;1182,17      49[47;7H[34h[?25h?25l[0;1H83,1       4%[4817H[34h[?25h[?25l50;5H84,        9%[4;1H[34h[?25h[?25l1;4[49;H
;50r[49;1[34m###########################[0m50;11H[K[50;115H8,17      50%[9;17[34h[?25h[?25l[1;49r[9;1H
[1;r[491H[m# Ed OS-pecific settins[0m50;5H[K[50;5H8617        5%[49;1[34?2h[?2l1;9r[1;1H[2M[1;50r[4;1[3m#######################[0m[0;15H[K[50;15H8717        54%[48;17H[34h[?2h[?2l[5;115H8,0-1       54%[49;1H[34h[?5h[?5l[;49r49;1H
[1;50r[49;1H[34# Shold weuse SH o ullsync[m[50;115H[K[50115H8,7      5%4917H[4h[?2h[?25l;49r49;1
10r[9;1HUSE_SSH_SYNC=yes[50;1H[[5015H9,6       56%[9;16H34h[?5h[?5l[;49r49;1H[1;50r50115H[K[50;15H91,-1      8[41H[3h[?2h[?25[1;4r49;H
1;50r491[34m# rsync options.  sallyiclds cmresin[0[50;115[K[5;1159,17       59%[49;1H[34h[?25h[?5l1;49r[4;1
[150r[9;1HRYNC_OPT[31m"[0m[50;15H[K50;1H93,2       0%[4912H[34h[?25[?25l[1;4r[1;[2[1;50r491H[34m# rsyncserversha name if ing0m[5;115HK[50;1H94,0      6%[481H[34h[?25h[?25l[50;15H5,1       6[4917H[34h[?25h[?25l[1;4r[49;H
;50r49;1RYNC_SERVR=[31""[0m50;15K50;11H9,1         64%[49;15H[4h[?2h?5l[149[9;H
[1;50r[9;1HRSNC_PAS=[31""[m[50115H[50;115H9713        %[49;3H[4h[?5h[?l[1;4r[4;1H
[1;50[50;1H[K[5;15H9,-1        67%[49;1H34h[?2525l[1;49[49;H
[1;50[49;1[34# SHOptis[m50115HK[50;15H99,13         6%[49;3H[4h[?5h[?5l[1;49r[49;1H
[1;50r[4;1HSHOT=[3m"[m50;115[K[50;15H10010       6%[4910H[4h[?2h[?25l1;9r[491H
[;50r[50;1H[K[0;11H101,-1      71%[49;1H[4h[?2h[?25l[1;49r[49;1H
[1;50r[;1H[3# -------------------------------------------------------------[0m[50;115[K[5;1151021      72%[49;17H[34h[25h?5l[;49r49;1
[1;5r[49;1H[34# Threplictiontoolpakae i licensed under the streSL Liene:[0m[0;115H[K[50;11H103,1      3[9;17H[34h?25h[?25l[1;4r[49;H
[1;50[91H[3m# [m[50;115HK[50;15H142      7%[492H[3h[?25h[?2l[50;15H1317     7%[4817H[4h[?25h[?5l[50;15H1,17     5%[4;17H34h[?25h[?5l[50;15H11,0-1    75%[6;1H34h[?25h[?2l[50;15H1,10      5%[5;10H[34h[?25h[?2l[50;15H913      5%44;13[34h[?25h[?2l[50;159,0-1    75%[43;1[34h[?25h[?2l[50;159713      5%[42;1H[34h[?25h[?2l[50;1H9,15     75[41;5H[34h[?25h[?5l[5015H5,1      7%[4017H[34h[?25h[25l[5;1594,-      5%[3;1H[34h[?25h[25l[5015H3,2      5%[3;12H[34h[?25h[25l[50115H217     75%[7;17H[34h[?25h[25l[5115H,0-1      75%36;1H[34h[?25h[?5l[5;15H9,16     75%35;16H[34h[?25h[?5l[0;15H,17     75%[34;17H[34h[?25h[?5l50;158,01     75[33;1H[34h[?25h[?2l50;15871       5%[32;17H[34h[?25h[?2[5;15H817        5%[31;7H34h[?25[2l[50;15H8517       5%[3;17H[34h?25h?2l[0;1H841         5%[29;1H[34[?25h[?25[50;15H831       5[28;7H[3h[?25h[?2l[50;15H821       %[27;17H[34h[?25h[?2l50;15H,7      75%[26;17H[34h[?25h[?5l[5015H,17      7%[2;7H[34h[?25h[?5l[50;15H7,17       75%[24;17H[34h[?25h[5l[50;15H7,17       75%[23;17H[34h[?25h[?5l[50115H9,17       75%[24;17H[34h[?25h[25l[50115H0,17       75%[25;17H[34h[?25h[25l[50115H1,17       75%[26;17H[34h[?25h[25l[5;11582,17       75%[27;17H[34h[?25h?25l[5;11583,17       75%[28;17H[34h[?25h?25l[5;11584,1        75%[29;1H[34h[?25h[25l[50115H5,17       75%[30;17H[34h[?25h[25l[5;11586,17       75%[31;17H[34h[?25h?25l[5;11587,17       75%[32;17H[34h[?25h?25l[0;11H88,01       75%[33;1H[34h[?25h?25l[5;11589,17       75%[34;17H[34h[?25h?25l[5;11590,16       75%[35;16H[34h[?25h?25l[5;11591,0-       75%[36;1H[34h[?25h[25l[5;11592,17       75%[37;17H[34h[?25h?25l[5;11593,12       75%[38;12H[34h[?25h?25l[0;11H94,01       75%[39;1H[34h[?25h?25l[5;11595,17       75%[40;17H[34h[?25h?25l[5;11596,15       75%[41;15H[34h[?25h?25l[0;11H97,1        75%[42;13H[34h[?25h[?25l[0;11H98,01       75%[43;1H[34h[?25h?25l[;11599,13       75%[44;13H[34h[?25h?25l[5;115100,1       75%[45;10H[34h[?25h?25l0;11H01,1    75%[46;1[34[?2h25[;115102,1       75%[47;17H[34h[?25h?25l[5;115103,1       75%[48;17[34h[?25h?25l[0;11H104,        75%[49;2H[34h[?25h?25l[149r49;1
[1;0r[49;1H[34m# Copyright(c) 201-201, PosgreSQ, Experts, Inc.[0m[0;15H[K[0;11H105,7       76%[49;17H[34h[?25h[?25l[;49r[49;1
[150[49;1H[34m# [0m[50115H[K[50;15H10,2        78%[49;2H[34h[?25[?25l1;49[49;H
[;50[49;1H[34m# Permisson to ue, cpy, mdify,and distribute thi softwre and ts[m[50115HK[50;15H107,17       79[49;17H[3h[?25h[?25l[1;49r[49;H
[1;0r[9;1H34m# ocumenatin fo any purpose, withou fee, ad wihout  writen agremet is[0m[50;115H[K[50;15H108,7       8%[4917H[3h[25h[?25l[1;49r[49;1H
[1;50r4;1[34m herey graned,provided that the above cpyrightnotie andthis aragrah[m[50;115H[K[50;115H10917       82[49;7H[3h[?25[?5l[149r[49;1H
[1;50r[49;1H34m#and te folowing wo aragraphs appear in all cpies.[m[5;115H[K[5;115H10,1        83%[49;17H[34h?25h[?5l;49r49;1H
[1;5[9;1H[34m# [0m[50;115HK[50;15H11,2        4[492H34h[?25h[?25l[1;49r[4;1H
[;50r[49;1[34m IN NOEVET SHALL POSTGRESQL EXPERT, INC. E LIBLE T ANY PRT FOR DIECT0m[50;115H[K[50115H11,17       8%[4917H[4h[?25h[?5l[1;4r[4;1H
1;50r[491H[4m# INDRECT, SPECIAL,INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST[0m[5;115H[K[50;115H113,17        87%[49;17H[34h[?25h[?25l[1;49r[49;1H
[50r[49;1H[34m# PRFITS,ARISINGOUT F THEUSE O THI SOFTWARE AND ITS DOUMENTAION,EVEN0m[5;115H[K[50;115H114,17       89[4917H[4h[?5h[?25l1;49r[49;1H
;50r[9;1H34m#IF POTGRESQL EXPERTS, INC. HASBEEN AVISE OF TE POSIBILIT OF SUCH[0m[5;115HK[50;115H115,17        90%[49;17H[34h[?25h[?2l[1;9r49;1H
[;50r49;1H34m#DAMAG.[0m[50115H[K[5;115H16,9      91[49;9[34h?25h[25l[1;49r[9;H
[1;5r[4;1H[4m# 0m[50115H[K[5;115H1,2       3[4;2[4h?25h[?25l[1;49r[491H
[;50r[49;1[34m POSTGRESQL EXPERTS, INC.SPEIFALL DISAMS NY WARRANTIES, INCLUDNG,BUT[05011HK50115118,17       9%[497H[3h[?5h[?5l[1;9r[49;1H
[1;50r[49;1[3m# NOTLIMITED TO, THE IMPLED ARRNTIE OMECHANTABILITY AND FITNSS ORA[0[5015HK[50115H19,1     9%[;7H[34[25[?25[1;49r[49;1H
[1;50r[49;H[34m PARTICUAR PROSE. THE SOFTWARE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS,[0m[0;115H[K[50;115H120,17        97%[49;17[34h[?25h[?25l[1;49r[49;1H
[1;50r[49;1H[34m# AND POSTGRESQL EXPERTS, INC. HAS NO OBLIGATIONS TO PROVIDE MAINTENANCE,[0m[50;115H[K[50;115H121,17        98%[49;17H[34h[?25h[?25l[1;49r[49;1H
[;50r[49;1H[34m# SUPPORT, UPDATES, ENHANCMENTS, OR MODIFICATIONS.[0m[50;115H[K[50;115H122,17        Bot[49;17H[34h[?25h�����������[?25l[23m[24m[0m[H[J[23m[24m[0m[H[J[1;1H[34m# on all servers.  In the event of failover and promotion                                                                            [2;1H              
# of the replica to a master, you will need to swap these                                                                            [4;1H              
# addresses                                                                                                                       [6;1H              [0m

MASTER=10.100.23.97
REPLICA=10.100.23.76

[34m# below should not need to be changed for CentOS                                                                                    [12;1H              [0m

PGUSER=replicauser
PGDATA/var/pgsql/data90
REPLICATION_LOG=/var/log/pg_log/replication.log

[34m# directory where log files are copied to on the replica                                                                            [19;1H              [0m

WALDIR=/var/pgsql/wal_archive

[34m################################
# Begin OS-specific settings
#################################
#[0m
if [ $OS = [31m'Joyent'[0m ]; thn
  PGBASE=/var/pgsql
  PGCTL=/opt/local/bin/pg_ctl
  PSQL=/opt/local/bin/psql
  RSYNC=/opt/local/bin/rsync
  SSH=/usr/bin/ssh
  CP=usr/bin/cp
elif [ $OS = [31m'Linux'[0m ]; then
  [34m# These settings are for CentOS. Other distributions may be different.[0m
  PGASE=/var/lib/pgsql
  PGCTL=/usr/pgsql-9.0/bin/pg_ctl
  PSQL=/usr/pgsql-9.0/bin/psql
  RSYNC=/usr/bin/rsync
  SSH=/usr/bin/ssh
  CP=/bn/cp
else
  echo [31m"Unrecognized OS."[0m
  exit 1
fi

[34m# Name and location of the file that stops archiving on the Master[0
TOUCHFILE=$PGBASE/no_archiving
[34m# Name and location of the file which stops recovers on the slave[0m[50;115H75,1          41%[481H[34h[?25h[?25l[1;3H[34mPowers pg_resync_replica, promote_to_master and wal_archive[0m[1;62H[K[2;1H[K[3;3H[34mVersion 1.6.  Lst updated 2011-02-17.[0m[3;41H[K[4;1H[K[5;3H[34mCopyright (c) 2010-2011, PostgreSQL, Experts, Inc.[0m[5;53H[K[6;1H[34m# Licened under The PostgreSQL License; see
# http://www.postgresql.org/about/licence
# or the end of this file for details.[0m[9;1H[K[10;1[34m# What operating system is this? We have some special-case code
# for different OSs.[0m[11;21H[K[12;1HUNAME_S=`uname -s`
if [ $NAME_S = Linux ]; then
  OS=Linux[14;11H[K[15;1Helif [ $UNAME_S = SunOS ] && uname -r | grep 5.11 > /dev/null 2>&1; then
  [34m# Disriminate between Joyent's in-house version of OpenSolaris
[0m  [34m# and the mainstream version. Only way to do it: check the doman nam.[0m
  if uname -n | grep -i joyent > /dev/null 2>&1; then[18;54H[K[19;1H    OS=Joyent[19;14H[K[21;1H    [34m# On Joyent, sometims you want to use svcadm; sometimes you don't. 
[0m    [34m# Set this variable accordingly. Recommended setting: false (i.e. '').[0m
   USE_SVCADM=[31m''[0m[23;18H[K[24;1H  else[24;7H[K[25;1H    OS=OpenSolaris[25;19H[K[26;1H  fi
else[27;6H[K[28;3HOS=unknow[28;13H[K[29;1Hfi[29;3H[K[30;3H[K[31;1H[34m# master and replica IP addresses.  These should be the same                                                                        [32;1H             [0m[32;14H[K[33;1H[34m# on all servers.  In the event of failover ad promotion                                                                            [34;1H              [0m[34;15H[K[35;1H[34m# o the replica to a master, you will need to swap these                                                                            [36;1H             [0m[36;15H[K[37;1H[34m# addresses                                                                                                                         [38;1H              [0m[38;15H[K[39;3H[K[40;1HMASTER=10.100.23.97
REPLICA=10.100.23.76[42;1H[K[3;1H[34m# below should not need to be changed for CentOS                                                                                    [44;1H              [0m[45;1H[K[46;1HPGUSER=replicauser
PGDATA=/var/pgsql/data90[47;25H[K[48;1HREPLICATION_LOG=/var/log/pg_logreplication.log[49;1H[K[50;115H34,1           1%[35;1H[34h[?25h[?25l[1;49r[1;1H[L[1;50r[1;1H[34m# Configuration file for PITRor replication on PostgreSQL 9.0[0m[50;115H[K[50;115H44,1          Top[49;1H[34h[?25h[?25l[23m[24m[0m[H[J[23m[24m[0m[H[J[1;1HPGDATA=/var/pgsql/data90
REPLICATION_LOG=/var/log/pg_log/replication.log

[34m# directory where log files are copied to on the relica                                                                             [5;1H              [0m

WALDIR=/var/pgsql/wal_archive

[34m#################################
# Begin OS-specific settings
#################################
#[0m
if [ $OS = [31m'Joyent[0m ]; then
  PGBASE=/var/pgsql
  PGCTL=/opt/local/bin/pg_ctl
  PSQL=/opt/local/bin/psql
  RSYNC=/opt/local/bin/rsync
  SSH=/usr/binssh
  CP=/usr/bin/cp
elif [$OS =[31'Linu'[0m ]; then
  [34# Thes sttings are for CenOS. Other dstributionsmay bediferent.[0m
  PGBASE=/var/lib/pgsql
  PGCTL=/usr/pgsql-9.0/bin/pg_ctl
  PSQL=/ur/psql-9./bn/psql
  RSYNC=/usr/bin/rsyc
  SH=usr/bin/ssh
  CP=/bin/cp
else
  echo [31m"Unrecognized OS."[0m
 exit 1
f

[34m# Name and locatio of th fle that stops archivingon theMater[0m
TOUCHFIL=$PGBAE/o_archivin
[34# ame and locaton of the file which sops recovers n the lae
# andbringsitup as henew mater[0m
BRINGUP=$PGBASE/BRINGUP
[34m# Local destinations file
# oins to a il containing a list of mounted directries tocoy
# WL files to.  If not using, *do not leave empty*, just use the
# defalt nd don' ceate te file.[0m
LOCAL_DESTINATIONS_LIST=[3m"$GBASE/srits/local_destinations"[0m
34m#
##############################
# End S-secific etings
################################

# Should we use SSH for full sync?0m
USE_SSHSYC=yes50;115H43,1          56%[1;1H[34h[?25h[?25l[50;115H[K[50;1H:[4h?25hq[25
:q[4h[?25h
[?25l[50;1H[K[50;1H[?1l>[34[?25h?149l_dev@easproddb:~/replicatin-tools/scripts\[dev@easproddb scripts] vi pitr-rplcationconf 
[1049h?1=[1;0r[34l[34h[?25h[23m[24m[0m[H[[?5l[50;H"itr-relication.conf" 
"pitr-replicaionconf" 12L 4577C[1;1H[34m# Configuration file for PIR o replictin on PstreSQL .0
# Powers pg_resync_replica, promot_tomaster ndwal_archive

# Versin 1.6. Lat updaed2011-0-17.

# Copyright (c) 2010-2011, PostgreSQL, Exprts Inc.
 Lcensed uner ThePostgrSQLLicense se
# htp//ww.ostgresql.org/about/licence
# o the ed o this flefor details.

# Wat opeatig syste i this? We have soe specal-ase cod
 for dffrent Os.[0m
UNAME_S=`nam -s`
i [$UNAME_S  Linx ]; then
  OS=Linux
eif  $UNAMES  SunOS] & unam -r | grep 5.11 > /dev/null 2>&1; then
  [34m# Discriminate between Joyent's in-huseversionofOpenSoaris
[0m  [34m# and the mainstream version. Only way to do it: check the dmanname.[m
  if uame -n| gep -i oynt > /ev/null 2>&1; then
    OS=Joyent[22;5H[34m# On Joyent soetimes ouwant t use scad; someims you on't. 
[0m    [34m# Set this variable accordingly. Recommended setting: als (i.e. ')[0m
   USE_SVCADM=[31m''[0m
  else
    OS=OpenSolaris
  fi
else
  OS=unknown
fi

34m# mate and replica IP addresses  Thes shold bethe sme                                                                    [33;1H            
 on all servers.  In the event of failover and promotion                                                                          [35;1H              
# f the replica to a mster, ou will need to swap these                                                                           [37;1H              
# addresses                                                                                                                         [39;1H              [0m

MASTER=10.100.23.97
REPLICA=10.100.23.76

[34m# below should not ned to be changed for CentOS                                                                                     [45;1H              [0m

PGUSER=replicauer
PGDATA=/var/pgsql/data90
REPLICATION_LOG=/var/log/pg_log/replication.log[50;115H43,1          Top[48;1H[34h[?25h


[?1l>[?1049l
[1]+  Stoppd                 vi pitr-replication.conf
_dev@easproddb:~/replication-tols/scripts\[dev@easproddb scripts]$ /sbin/ifconfig 
eth0      Link encap:Ethernet  HWaddr 00:50:56:80:00:C0  
          inet addr:10.50.60.196  Bcast:10.50.60.255  Mask:255.255.255.0
          inet6 addr: fe80::250:56ff:fe80:c0/64 Scope:Link
          P BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:688003 errors:0 dropped:0 overruns:0 frame:0
          TX packet:309480 errors:0 droped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:1000 
          RX bytes:510342563 (486.7 MiB)  TX bytes:139064880 (132.6 MiB)
          Interupt:59 Base ddress:0x2000 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNIN  MTU:16436 Metric:1
         RX packets:36790 error:0 dopped0 overuns: frame:0
          TX packets:367901 errors:0 dropped:0 overruns0 crrier0
         collisions:0 txqueuelen:0 
          RXbyts:4365819 (46.7 MiB)  TX bytes:436958519 (416.7 MiB)

_dev@easprodb:/repliaton-tols/scripts\[dev@easproddb scripts]$ fg
vim pitr-replication.conf
[?1049h[?1h=[34l[34h[?25h[23m[24m[0m[H[J[?25l[1;1H[34# Conigrationfile for PITR or replication on PostgreSQL 9.0
# Powers pg_resync_replica, promote_to_mater and wal_archive

# Version 1.6.  Last updated 2011-02-17.

# Copyrgh (c) 2010-2011, PostgreSQL, Experts, Inc.
# Licensed under The PostgreSQL License see
# http://www.postgresql.org/about/licence
# or the end of ths fle for etils.

 What operating system is this? We have some special-case code
# for diffrent OSs.[0m
UNAME_S=`uname -s`
if [ $UNAME_S = Linux ] then
 O=Linux
elif [ $UNAE_S = SnO ] && nae -r | gre 5.11 > /dev/null 2>&1; then
  [34m# Discriminate between Joyent's in-hose verson of OpenSolaris
[0m  [34m# and the mainstream version. Only way to doit: check the doman ame.[m
 if unae n | grep -i oyent  /ev/null 2>&1; then
    OSJoyent[2;5H[34m# n Joyet,sometimes you want t use scam; somties youdon't. 
[0m    [34m# Set this variable accordingly. Recommended setting: false (i.e. '').[0m
    USE_SVCADM=[31m''[0m
  else
   OS=OpenSolaris
  fi
else
  OS=unknown
fi

[34m# master and replica IP adresse.  These should be the same                                                                         [33;1H             
# on all servers.  I the event of failovr ad promoio                                                                           [35;1H              
# of the replica to a master, you will need t swap these                                                                   [37;1H              
# ddresss                                                                                                                        [39;1H              [0

MASTER=10.100.2397
REPLICA10100.2376

[34m# below should nt need o e changed for CentOS                                                                                  [45;1H           [0m

PGSER=replcaser
PGATA=var/pgql/data90
REPICATIO_LOG=/var/og/p_log/relication.log[50;115H43,1          Top[48;1H[34h[?25h[?25l[50;115H42,1        op[7;1H34h[?2h[?25l[50;115H41,0-1        Top[46;1H[4h[?25h[?25l[50;115H40,1          Top[44;1H[34h[?2h[25l[5011539,-1        Top[43;1H[34h[?25h[?25l[50;115H38,1          Top[42;1H[34h[?25h?25l[50;115H37,1          Top[41;1H[34h[?25h[?25l[50;115H37,7          Top[41;7H[34h[?25h?2l5011H3,8      To[1;H34[25[25[0;H1m- NSRT--[0m[50;115H[K[50;115H37,8          Top[41;8H[K[41;8H[34h[?25h[?25l10.250.0.96[5;15H7,1      Tp4121[4h[?5h[5;1[[1;0H[?5l[50;115H37,20         Top[41;20H[34h[?25h[?25l[50;115H38,20         Top[42;20H[34h[?2h[?25l[50;115H38,19         Top[42;19H[34h[?25h[?25l[50;115H38,18         Top[42;18H[34h[?25h[?25l[50;115H38,16         Top[42;16H34h[?25h[?25l[50;115H38,15         Top42;15H[34h[?25h[?25l[50;11H38,2         Top[4212H[3h[?25h[?25l[50;115H3811        Top[42;11H[34h[?25h?25l[0;115H38,9          Top[2;9H[4h[?25h[?25l[50;1H84 ewer lnes[50;115H[K[5;1H[1--INSERT --[0m[50;13H[K[50;115H38,9         All[50;1H[K[42;12H250.60.196
[1m[34m~                                                                                                                                [44;1H~                                                                                                                                   [45;1H~                                                                                                                                   [46;1H~                                                                                                                                   [47;1H~                                                                                                                                   [48;1H~                                                                                                                              491H                                                                                                                                [0m[50;115H38,21         All[42;21H[34h[?25h���[?25l[50;1H84 more lines; before #2  3seconds ago[50;115H[K[42;12H100.23.76[42;21H1;2mlogd.s[00m
-rw-rw-r-- 1 dev dev 46376665 Nov  8  2010 [00mmad-1_0beta-2.backup[00m
-rw-r--r-- 1 dev dev    9092 Aug  5 13:37 [01;31mreplicatio-tools.tgz[00m
-rwrw--- 1 de dv     81 Aug  5 13:38 [00mscreelog.0[0m
-rw-rw-r-- 1 dev dev 64997985Feb 249:9 [00msfmaps.backup[00m
-rw-r--r-- 1 dev dev    1770 Jul 2 8:31 [00mtypescript[00m
[m_ev@esprodb:~\dev@eaproddb ~]$ cat ardopy.0 
[dv@easproddb ~]$ hostname
easprodb
[dev@asprddb ~$ echo $TERM
scee
[dev@easproddb ~]$ ls
aselinedbs.  dflogs.tt logdf.s  mad1_0-beta-2.backp  replictin-tolsz apbckp yescrt
deveaprddb~$ sbn/fconfg
eth0     Link encap:Ehernet HWadr 00:0:56:0:00:C0
        inet adr:10.50.6.196 Bcast10.250.60.255  Mas:255.25.255.0
       inetadd: fe80::250:56ff:e80c064 Sope:ink
       UP BRODCST RUNING MLTICAST MT1500 Metri:1
         R pakes:65165erors:0 dopped:0verrun: frame0
       TX acets30743 erors:0 ropped0 overrun:0 crrier:0
         colisions:0 tqueuelen:1000
          RX bytes:10079531 (486.4 MiB  TX bytes:138714899(1322 MiB)
         Inerrupt:9 Bse addes:x2000

lo       Link ecp:Loc Lopbac
        iet addr:27.0.01  Mask:550..0
          inet6 adr: ::1128 cope:ot
        UP LOOBACKRNNING  TU:16436  Metric1
         RX pacet:367551 errors0 dropped: oerrus: am:
      X acet:375 rrrs ope:0 overuns0 carrie:0
       colison:0 txqeueln:0
        RXbyte:43674105 (416. MiB)  TX bytes43641055 (46. Mi)

[dev@easprodb ~$ s
bselie_dbssh  d-log.xt  logd.sh md-1_0-eta-2.backup  replicatiotools.gzsfmaps.bkp typescript
[deveasprddb ~]$




















_dv@easproddb:~\[dev@easprddb ]$ ls l
[00mtota 19744
-rw-r-r-- 1 dev de     148 Ju  8 1:21 01;32aseline_bs.sh00m
-w-rw---  dev dev  96752 Jul 18 17:43 [00md-logs.xt[0m
-w-rw--- 1 dv dev    1376 ug 5 13:38 [00mardcopy.0[0m
-rwxr-xrx 1 dev ev      78 Jul 18 14:55 [0;32mlogf.sh[00m
-rw-r-r-- 1dev dev 637666 Nov  8  201 [00mmad-_0-beta-bckup[00m
-rw-r--r-- 1 dv dev    902 Aug 5 1337 [0;31mreplcationtools.tgz[00m
-rw-rw-r-- 1 dev ev     289Aug  5 13:39 [00msreenlg.0[00
r-rw-r- 1 v dev 4997985 eb 24 9:49 [00msfmaps.backup[00m
rw-r--r- 1dev dev    17370 Jul 22 0:31 [0mtypscrip[00m
[m_ev@easprddb:~dev@easproddb ~]$ date
Fi Aug5 134000PDT 211
_dev@easproddb~\[dveaspoddb]$ de���l -l
[0mtotal109744
-rw-rwr--  dv ev    118 Jun  8 12:21 [01;3mbselne_s.s00m
rw-w-r--  dev dev  7962 Jul18 1:43 00mflogs.tt00m
-rw-rw-r--1 dev ev   137 Aug5 1338 [0mhardopy.0[m
-rr-x-x 1 e de      78 Ju 18 14:55 1;3mlgd.h[00
-rw-w-r-  dev dev 46376665 No  82010 [0mma-1_0-eta-2bcku[00m
----r- 1 dev ev     902 ug  5 3:37[01;1mreplication-tools.tgz[00m
-rw-rw---1 dev ev   299 Aug  51339 [0mscreelog.[00m-rw-w--- 1dev dv 6497985 b 24 9:9[00fmapsbackup[00m
-rw-r---- 1devde    7370 ul 2208:31 [0mtypesript[00
[mev@asrodb:~[dev@esproddb ~]$ cat hadcopy. 
[ev@earodd ~] hstname
easproddb
[dev@esprodb~] cho$ERM
creen
[dev@easrddb ] ls
baselne_db.sh  df-logs.tx  logdf. mad-_0-bta-2.ackup relicatio-toos.tgz smas.bckp typeript
dev@easproddb ~]$ /sbinifonfg
eh0    Lin encap:Ethernet HWaddr :5056800:C0
       inetaddr:1.250.60.19  Bcas:10.50.6025  ask:25.255.2550
        inet add: fe::2505fff80:c0/64Scope:ink
        U BOADCAT UNING MUTICAST  TU:150  Metri:1
       RXpacket:685165 rrs: drope:0overruns0 rame:0
        TX pckts3073 eror: dropd:0 orruns:carie:0
         collisions:0 txquueen:000
        RX bytes:5107951 (48.Mi) TX ytes:3871499 (13.2 MiB
      Iterupt5 Base dess:02000

lo      Lnk enc:Lal Lpack
        ietaddr:.0.01Msk:250..
         ine6 addr::1/12 Scoe:Hos
         P LOOBAK RUN  MTU:646 Metri:1
        RXpcket367 ero:0dropp:0 ovrns:0 fame:0
        TX packts:3675 erors:0 dropped:0 verruns0 carer:0
      ollsns: txqeueen0
        RX btes:367155 (4.5iB) TX yts:3674055 165 iB

[e@easpoddb ~$ s
baeline_bs.sh  df-ogs.txt  lodf.sh  md-_0-bta-2.bacup  repicaion-tols.tz  saps.bckup  pescrip
[deveasproddb ~]$





















_de@easroddb~\[v@aspodd ~]$ls had�[K����Kls -l
[0mtotal 109748
-r-rw-r-- dev e    141 Jun 8 12:2 [01;32baselie_dbs.h[0m
-rw-rw-r-- 1dev de   96752 Ju 1 7:43 [0mdf-logs.txt[0m
-r-rw--- 1 ev de     176 Aug  13:38[00mhardcop.0[00m-rxr-xr-x 1 dev dev       7 Jul 1 145 [;2mlgdf.sh[00m
-r-rw-- 1 dev dv 4637665 ov  8  2010 [00mmad-1_0-ea-2.acu[00m
-rw---r--  dev dev    902 Aug  51337 [1;31mreplication-tols.tg[00m
-rw-w-r--1 dev ev     534 Aug 5 13:0 [00mscreenlog.0[00m
rw-rw-r- 1 dev dev 64997985 Feb 24 09:49 [0mmaps.bacup[00m
-rw-r-r-- 1 dev de   1770 l 22 :31 [00mtyescrit[0m
[_ev@easroddb:~\[dev@easproddb ~]$ at hardcopy.0 
[dev@easproddb ~]$ hostname
easproddb
[dev@easprodd ~] echo $TRM
screen
[dev@easproddb ~$ ls
aselne_db.sh  f-logs.txt  logdf.sh  mad1_0-bea-2.ackup replcationtoolstgz sfmap.backu  typescript
[dev@easproddb ~]$ /sbin/iconfig
eth0      Link encapEthernet Haddr 00:50:56:80:00:C0
        ine addr10.25.60.196  Bcast:10.250.60.55  Mak:25.255.55.0
         int6 ddr: f80::25:56ff:fe80:c0/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
         R packets68165 errors:0 dropped:0 ovrruns: frae:0
        TX packets:307435 erros:0 drpped0 overuns: carrier:0
          colisions0 txueueln:100
          RX bytes:51009531 (86.4MiB) TX byes:138714899 (132.2 MiB)
         Iterrut:59 ase address:0x2000

lo       ink ncap:ocal oopback
          inet adr:1270.0  Ma:25..0.0
          inet6 add: ::1/28 Sope:Hst
         UP LOOPBACK RUNNIG  MTU1643  Metic:1
          RX packets:36751 erro:0 roppe:0 ovrruns:0 frame:0
         TX pakets36755 erros:0 dropped:0 overruns:0 arrier0
      colisions:0 txqueuelen:0       RX bes:474105 (416.5 MiB)  TX byes:47410 (41.5 Mi)

dev@easproddb ~]$ l
baslineds.s df-gs.tx  logdf.sh mad-1_-beta.baku  elicton-tols.tgz  sfmaps.bakup  yesrip
[dv@asroddb~]$




















_v@easproddb:~[dev@aspddb ~$ lscreelog.0-l
[00m-rw-r-r--  devdev 85 Au  5 1:40 00mscreenlog.[00m
[mdev@aprob~\dev@esproddb ~]$ ess sceenl.0 
?10h[?1=
3mESC[23m_dv@easpoddb[3mS[2\[deveasprddb ~]$ 
[mESC[3m_d@esrddb[3mEC[23\[dev@easprodb ~]$ls
3mES23m0m[3ESC[3m[01;32mbasline_ds.sh3mES23m0m  3mESC[23m[00mhardopy.3mES[23m0m  3mESC[23m[0mmad-1_0-bea-2.bakupmESC[3m[m  [mESC23m[00mscreelog.03mES[23m0m  � [3ESC[3m[00mypescipt[3ESC3m[0m
[ESC[3m[00df-logs.txt3mESC23m[m    [3SC[2m[01;2mlogdf.sh[mESC[3m[0    [mES[23m[131meplication-tols.tg[3mC[2m00m[3mEC[23m00msfmaps.bckup[mESC[2m[m
3ESC[23m[m[3mESC[2m_v@easrod~[3ESC[3m\[dev@easprodb ~]$catcreenog.0
[3^[2
[3mESC[23m_dev@easprddb:~3mES[2m[dev@asproddb ~]$ [3mM[23m[3ES[_de@asprdb:[3mESC[23m\[dev@easroddb ]$ l[3^[23m
[3mESC[23m[00m[3mESC23m0132bseln_dbsh[mESC[23m[00m  [3mES[2m[mhadcopy0[3mSC[2m[0m [3ESC3m0mad_0-et-2bcku[3mSC[2m[00 [3ESC[3m[0mscrenlog0[mSC3m[0m    [3SC3[00ypecript[3mES[m[00[3mM[23
[3ESC[2m[0df-os.tt[mSC23m[0m     [3SC[2301;2mlg.shmESC[3m[0m    [3mES[23m[0;1mepliton-ols.tg[3mSC[2m[00m[3mES[23[0msmaps.ckup[mESC[23m[0m3mM[2m[3mSC[2m[m[mESC[m_dev@espodd:~3mESC[2\dev@espoddb ~$ at c3mESC[3m_dv@easrodb[3mC[m\[de@easproddb ~]$ ls l
[3SC[m[00total10974
-r-rw-r-- 1 dev dev    141 un  12:2 [3mSC[2m[01;3mbaeline_db.sh[ESC23mm
-rw-r-  dv dev  7967 Jl 1 17:3 [3ESC[3m[0mdf-log.txt[3mES23m00
-r-r-  dvdv    137 Ag 5 138 3mC3[0hrdp0[3mESC[23m[00m
-rwr-r-x1d de     8 Jl 181:55[3mESC[2m[01;3mlogf.h3mS[2300m
-rw-rwr- 1 de ev 467666 ov 8  200 [3mES[23m[0mmad1_0bta-2.acku[3mEC[23[00m
-r-r--r--1 de de    902Au  5 :37 3mESC[2m[01;3mrepican-too.tgz[3mES[23m00m
--rwr--1 de ev     87 ug 5 13:38 [3mESC2m[00mceenl.0[mESC23m[0m
rw-rwr-1 devev 6497985Feb 209:4 3mES[23m00msfapsbcku[ESC[23m[0m
-w-r--r--  dev de    730 ul 208:1 [3ESC[3m[00mtyescript[3mESC[3m[00
[mSC2m[m[mSC[2m_dv@easproddb:~[3mESC23m[de@aprob ~]$cat hrdcpy.0 
[v@easpoddb~]$ hstnam
easprodb
[ev@eaprod ~] eho$EM
creen
[dev@easproddb~]$ ls
bseineds.h  dflos.xt  logf.s  mad-_0bet-2.backp  rplicaio-tols.gz  fmasacu  tpescript
[dev@easprodb ~]$ sbinifconig
eh0      Link encap:Ethernt  HWadr 0050:5680:00C0
          inet addr:1.250.60196 Bcast10.25.60.255  Mask:255.255.2550
        inet6addr:fe80::250:56ff:fe80:c0/64Scope:Lnk
        UPBROADCAST RUNNING MULTICAT  MTU:500 Metri:1
         RX packets:685165errors: droped:0overrns:0 frame:0
          T packet:30735 erors:0dropped:0 overruns:0 carrer:0
        clisios:0 txqueuelen:1000
         RXbyte:51009531 486.4 MiB)  TX bytes:13874899 (12.2 iB)
        Interrupt:59 Base addrss:0x200

lo       Lnk encap:Local Loopback
        ine addr127.00.1 Mask255.0.0.0
         int6 adr: :1/128Scope:Host
          UP OOPBACKRUNNNG  MU:1646  Metric:1
          RXpackets36751 errrs:0 roppe:0 overuns:0 frame0
        TX pakets:67551 errors:0 dropped:0 verruns0 arier:
         collisions:0 txqueulen:0
[3msreenlg.0 23m[K
[K...kiing...
[3mES[23[3mES[3mEC[23m[23m[00mdf-logs.txt[3mESC23m[mESC3mESC[23m[23m[0m      [3mESC[23m[3mSC[mESC23m[2m[1;32mlogdf.sh[3mESC[3m[3mES[3mSC[2m[23m00m    [3mESC[23m[3mESC[3mESC23m[3m[01�31meplication-tools.tgz[3mEC[23m[mESC3mES[23m23m[00m  [3mESC[23m[3mEC[3mES[23[23m[0msfmps.backup[3mESC[23m[3mEC[3mEC[2m[23m00m
[3mESC[23m[3mESC[3mESC3m[23mm[3ESC[3m[3mSC[3mESC[23m[23m_dev@eaproddb~[3ESC[3m[3mSC[3mESC[23m[23m\[dev@esprodd ~]$cat sreenlg. 
[3mESC23m[3m^M[mESC[3m[2m
[mESC23m[3mESC[3mESC[23m[23mdev@easrodd:~[3ESC[3m[3mESC[3mESC[23m[23m\dev@easrodd ~]$ [3mES23m[m^M[3mESC[23m[23
[3mEC[2m[3mEC[3mSC[23m[23m_dev@easproddb~[3mE[23[3mES[3mEC[23m[23m\[dev@easproddb~]$ ls3mES[23m3m^M3mESC[23m[23m
[3mESC[3m[3mES[3mSC[2m[23m[00[3mS[23m[3ESC[3mESC[23m[23m[1;32mbaseline_dbs.sh[3mESC[23m[3mE[3mESC[23m[23m[00m  [3mESC[23m[3mESC[mESC[23m[23m[00mhadcopy.0[3mESC[23[3mESC[3mES[23[23m[0m   [3mESC[23m[3mESC[3mESC[23m[3m[0mmad-_0-bea-2.backup[3mESC[23m[3mSC[3ESC23m[2m[00m [3mESC[23m[3mESC[3mES[23m23m[0mscrenlog0[3mESC[23m[3mEC[3mES[23m23m[0m   [1m 0m[3mESC[23m[3mESC[3mEC[23[2 �m[00mypescpt[3mESC[23m[3mESC[3mSC[2m[23[00mmESC[23m[3m^M[3mESC[23m[23m
[3mSC[3m[3mS[3ESC[23m[23m[00mdf-logs.tt[3mSC[3[3mSC[3ESC[23m[23m[00m      [3ES[2m[3SC[3ESC[m[23m[01;32mlogdf.sh[3mSC[23[3mEC[3mSC[2m[23m[00m   [3mESC[23m3mESC3mES[23m23m[0; �1mreplication-tools.tz[3mEC[23mEC[3mSC[23m[3m[00m  [mESC3m[3SC[mESC23m[2m00msfmaps.backup3mESC23m[ESC3mESC[23m[m[0m[3mESC[2m[3^M[mES[3m[2m
[mEC23m[3mES[3mES[23m[23mm[3mEC[2m[3mC[mS[23m[3mdev@eaprodb~[mEC2m[3mEC[3mSC[23m[23m\[dev@easprodd ~]$ ct sc[3mS[23m3mEC[mESC[23m[23m_deveaspro:~[3ES23m3ES �C3mSC[23[23m\ev@easrodd ~]$s -l
[3mEC[23m3mES[3mE[2m[2[00toal10974
-rwr-r--1 devdev   1418 un   12:2 [3mC[23[3mEC[3mSC[2m23m[0132mbselin_dbs.h[3mEC[2m[3mEC[3mS[23m[3m[0m
-r-rw-r- 1 de dev 79652 Ju 8 17:4 [3ESC[3m[3mSC[3mSC[3m[23[0md-ogs.tx[3mSC[2m[3mEC[3mEC[2m[23m00m
r-rw-r- 1 dv dev    176 Aug 5 1:38 3mESC[3m[3mEC[3ESC[3m[23[00mhacop.0[3ESC[3[mESC[3mEC[23[23m[0m
-rxr-x-x 1 ev de      7 Jul18 1455 [mESC[3m[3ESC[mESC2m[2m[1;32logdfsh[3ESC[2m[3mSC[3ESC[3[23m[0m
-w-rw--- 1 ev dev4637665 Nv  8 210 [3ESC23m[3ESC[mESC[3m[2m[00mad-1_-eta-2.acku[3mEC[23[3mESC[3mEC[23[23m[
-rw---r- 1 de dev    909 Aug 5 1337 [mSC[23[3mEC[3mSC[2m[23m[1;31repliationtols.g[3mSC[2m[3EC[3mEC[m[23m00m
r-rw-r- 1 dv dev     17 Aug 5 1:38 3mESC[3m[3mEC[3ESC[3m[23[00msreelog.03mSC[2[3mE[3mSC[2m[23m00m
-rw-rw-r-- 1 dev de649795 e24 0:9mESC23m[3SC[3mESC[3m[23m00msmapsacup[3mSC[23m[3ESC3mESC23m[3[00m-rw---r--1 dev ev   770 Jl2 08:3[ESC[3m[3mSC[3mESC[2m[23m[0mtyesri[3mS[3[3mE[3ESC[m[23[0m
[3mESC[23m[3mESC[mES[23m[3mm3mEC[2m[3mEC[3mS[23m[23m_dev@easprodb~[mESC[3m3mESC3mES[23m23m\[ev@easprodb ~]$ cat harcop.
[eveasprd ~$ hosname
easprddb
[dev@esprob ~ echo$TRM
sceen
dev@aprodb ~$s
baseline_db.sh df-lostx logd.sh  ad-1_-beta-.backu relicton-tols.tgz  sfmaps.backup  tpeript
[eveasproddb ~]$ sbin/icong
et0    Lin enca:Eheret  HWdr00:5:56:80:0C
       ineadd:0.0.60.96  cast:0.2560.255Mas:25.55.2.0
        inet6 ddr:fe80:50:5ff:fe0:c/4 Scop:Lnk
         U BROADAS UNNI MUTCAS MTU500  trc:1
       R ackts:68165 error:0 droped:ovuns:0fam:0
        TX pacets:7435rror:0 drped: overns:0carier0
       collsions0txquuelen1000
       RX yte500731 (864 Mi)  TXbtes137189 (1.2 i)
      nerupt5 Basaddrss:x200
lo     ink ncapLocalLopbck       iet dr:10.0.1 as:25..0.0
        inet addr :128 Sco:Hot
      P LOOPACK UNNIN MTU1636  etri1
     RX pakes3675 erro:0 droped:0ovrrns:0 rae:0
        TX pakts36751eros:0dopd0 oerus:0 crier0         colisios:0tqueule:
[3SC[3m[mscreenog.0[3mE23m[3[mSC2m[K
[3m(ND) [23[
[?>?049l_dev@asprod:~\[dveproddb ]$s
[0m[0;2mbseinbs.sh00m [00mardcoy.0[0m  00mma-1_0-eta-2.backup[00 [00mseelo.0[0m  [00mpescipt[m
00mdf-lg.txt[0m     [0;3logdf.sh[00m    [01;31melicton-tol.tz[0  [00msmaps.ackup[00
m_dev@easprodb:\[devaprodd~]$ar xz reicatio-tols.gz
rplictio-tools
eplicaion-oos/OO
elicaton-toos/config/
repcato-tol/cfig/EADME
replcation-ools/config/pg_ha.cnf
reliation-olsconi/pstreql.cf.addiions
rpliation-os/onfg/revryconf
replication-tool/READ
eplicaio-toolsscits/
epliion-olscrip/pirrictnonf
epliationtoolsscriptswal_arciv
repicatio-tols/sciptspg_reyn_rplic_
repliation-ool/scriptsgresyn_rplica
replicatin-toolscrptspmtetomaster
relicati-ols/scripts/cp16mbonly
elicatn-tls/LENSE
dev@espoddb:~[dvesprod ~$cd rep�lication-tools
_dev@esprod:~/lictio-toos\[dev@easpodd replication-tools]$ cd cnfig/
_de@easpddb:/plication-tools/cofig\[dev@easproddb cofig]$ s
[0m[0mpg_ha.con00m  [00mpostgresqcof.aditions[00m  [00mREDME[0m  00mreoveryconf[00m
[m_devesprdb:~/replication-tools/cnfig\dev@asprodb conig$ vim ecovey.conf 
[?1049h[?1h=1;5034l34h[25h[3m[24m[0m[H[J[?25l[0;1H"ecovry.cof" 
recoverycon" 3L, 1712C[1;1H34m#restoe wi a simple copy[0m
restoe_commnd =[31mcp/vr/pgsql/wal_archive/f %p0m

[m# dlete nneeded archive files[0m
archv_clenup_cmmand= [31m'/opt/local/bin/pgarhiveleanp /va/pgsq/wal_archive %r'[0m

34m# ue steami replction[0m
standby_mode  [31m'n'm

[3m#fail over when the BRINGU file eists0m
rigge_file = [31m'/var/pgsql/RINUP'[0m

[3m# thbelow needs to be change to thecorrct IPaddres oneach server
# it istheconectin infrmatin for the other sever[0
rimay_coninfo= [3m'host=10.100.23.97 ort=432 use=repiausr'[0

[34m#-------------------------------------------------------------------
# The replicatin-tools pckage i licnsed nder he PostgreSQL Licene:
# 
# Copyright (c) 2010-011, PotgreQL, Eperts Inc.
# 
# Permisionto use, copy,modify, anddistribe tis sotwareand its
# documenttiofor any purpose, withoutfee, an witout awrittn agreement is
# hreb granted, provided that te aboecopyight otie ndthis pagrap
# and the following twoparagrahs apear n allcopies.
# 
# IN NO EVEN SHALLOSTRESQLEXPERS, INC. B LIABL TO NY ATY FO DIRCT,
 INDIECT, SPEIAL, ICIDETAL,R CONQUENIAL DMAGES INCLUDNG LOS
# ROFIT, ARIIG OU OF TE USEOF THI SOFTWRE AD ITSOCUMNTTION EVEN
# IFPOSTGSQL EPERT, IN HS EEN AVIED OF THE POSSIBLITY O UC
# MAGE.
# 
# POSTGRESQL EXPERTS IN. PECIICLL DISAIM ANY ARRANIES, INCLDING, UT
 NOT IMITE TO, THE IMLIE WARRANTIS OF MRCHATABLTY AN FITESS FR A
#PATICUARPUROE.THE SFTWAR PROVIDED EREUNDE IS NAN ASIS ASIS,# N POSTRESQ EXPERS, INC.HS NOOBLIAION TO PVIDEMAINTENNCE,
# SUPORT, UDATE, ENHNCEMETS, OR MODIFICATIONS.[0m
[134m~                                                                                                                      [39;1H                                                                                                                  [40;1H~                                                                                                                  [4;1H~                                                                                                                   [4;1H~                                                                                                                  [3;1H~                                                                                                                     [44;1H~                                                                                                                      [4;1H~                                                                                                                      [46;1H~                                                                                                                     [7;1H~                                                                                                                        48;1~                                                                                                                     [49;1H~                                                                                                                       0m[5;115H,1           All[1;1H[3h[?25[?2l[50115H21           All[2;1H[34[?25h?25l[50;15H3,01         All[3;1H[34h?25h[25l50;11H4,1          All[4;1H[34h[25h[?2l[5;115H,0-1        All[3;1H[34h[?2h[?25l[50;15H2,          All[2;1H[34h[?25h[?25l[0;11H2,17        All[2;17H[34h[?25h?25l[5;1152,19        All2;19H[34h[?25[?5l[50;15H,20          All[2;20H[4h[?25[?2l[50115H2,23          All[;23H[34h[?25h[?25l[50115H2,2         ll[2;24H[3h[?25h[?5l[50;1152,27        ll[2;2H[3h[?2h[?25l[50;115H2,28         All[2;28H[34h[?2h[?25l[50;15H2,3          All[2;33H[4h[?25h[?25l[50;115H2,4         Al[2;4H[34[25h[?2l[50115H2,45          All[2;5H[34h[?25[?25[50;1152,47        All[2;47H[34h[?25h[?25l[50;115H2,49          All[2;49[34h[?25h[?25l[50;1H[K[50;1H:[34h[25hq[?25l
:q[34h[?25h[?25l
:[50;2H[K[50;1H:[34h[?25h�[?25l[114C2,49          All[2;49H[34h[?25h[?25l[50;115H3,0-1         All[3;1H[34h[?25h[?25l[50;115H2,49          All[2;49H[34h[?25h[?25l[50;115H3,0-1         All[3;1H[34h[?25h[?25l[50;115H4,31          All[4;31H[34h[?25h[?25l[50;115H5,49          All[5;49H[34h[?25h[?25l[50;115H6,0-1         All[6;1H[34h[?25h[?25l[50;115H7,27          All[7;27H[34h[?25h[?25l[50;115H8,19         All[8;19H[34h[?25h[?25l[50;15H9,0-1         All[9;1H[34h[?25h[?25l[50;115H10,40         All[10;40H[34h[?25h[?25l[50;115H11,35         All[11;35H[34h[?25h[?25l[50;115H12,0-1        All[12;1H[34h[?25h[?25l[50;115H13,49         All[13;49H[34h[?25h[?25l[50;115H14,49         All[14;49H[34h[?25h[?25l[50;115H15,49         All[15;49H[34h[?25h[?25l[50;115H15,44         All[15;44H[34h[?25h[?2l[50;115H15,43         All[15;43H[34h[25h[?25l[50;115H15,39         All[15;39H[34h[?25h[?5l[50;15H1,6       All[5;36[34[?5h[?5l[5;115H15,35         All[15;35H[34h[?25h[?25l[50;115H15,33         All[15;33H[34h[?25[?25l[50;115H15,32         All[15;32H[34h[?25h[?25l[50;115H15,9        All[15;29H[34h[?25h[?25l[50;115H15,28         All[15;28H[34h[?5h[?25l[50;115H15,26         All[15;26H[34h[?25h[?25l[50;115H15,27       All[15;27H[34h[?25h[?25l[50;115H15,26         All[15;26H[34h[?25[?25l50;115H15,27         All[15;27H[34h[?25h[?25l[50;115H15,28         Al[15;28H[34h[?25h?25l[0;115H15,29         All[15;29H[34h[?25h[?25l[50;115H15,30        All[15;30H[34h[?25h[?25l[50;115H15,31         All[15;31H[34h[?25h[?25l[50;115H15,32         All[15;32H[34h[?25h[?25l[0;115H15,33         All[15;33H[34h[?25h[?25l[50;115H15,34         All[15;34H[34h[?25h[?25l[50;115H15,35        All[15;5H[4h[?5h[?5l[50115H15,36         All[15;36H[34h[?25h[?25l[50;15H5,37         All[15;37H[34h[?25h[?25l50115H15,38         All[15;38H[34h[?25h[?25l[50;115,37       All[15;37H[34h[?25h[?25l[50;115H15,36         Al15;36H[34h[?25h[?25l[50;115H15,35         All[15;35H[34h[?25h[?2l50;151,34         All[15;4H[34h[25[?5l[50;1515,33       ll[15;33H[4h[?25h[?2l50;15H15,32         All[15;32H[34h[?25h[?25l[50;115H15,31        All[5;1H[34h[?25h[?25l[50;115H15,30        All[15;0H[34h[?5h[?25l[50;115H15,29      Al[1529[34h[?25h[?25l[50;115H15,28         Al15;28H[34h[?5h[?25l[50;115H15,27         All[15;27H[34h[?25[25l[5;115H15,26        Al[15;26H[34h[?25h?2l[0;H[K501H:[34h[?2hq[?25l
:q[34h[?5h
[?2l50;1H[K[50;1H[?1l>[34h[?25[?1049l_de@esproddb~/eplication-tools/config\[dev@easproddbcofig]$ ls
[00m[00mpg_hba.conf[00  [0mpstgresq.conf.additins[00m  [00mREAME[00  [00mrecovery.conf[00m
[_dev@easproddb:~relication-tools/onfig\[dev@easproddb conig]$ cd../sripts
_dv@easproddb:~/replicationtools/sript\[de@easpoddb scripts]$ s
[0m01;32mc16mbnly[0m  01;32mpg_resync_replca[0m  [0;32mg_esnc_relica_91[00m  [00mpitr-rplicatin.cof[00  [0;32mpromote_to_master[00  [01;2mwa_archve[0m
[m_dev@easproddb:~/rplcatntols/scipts[dev@easproddb scripts]$ m it-repicatin.conf 
[?1049h[?1h=[1;5[4l34[?25h[23m[24m0m[H[J[?25l[50;1H"it-rplicatin.onf" 
"pit-replcation.conf" 122L, 4577[1H[3m Cnfigurtionfile or PITR or replicatin n ostgreSL .0
# ower pg_rsync_replica pomoe_o_aster ad al_arcie

# Vrsin 1..  Last updated2011-0217

# opyrght () 2010-2011, PostgreSQL Expert, nc.
#Licesed uder The PostgreSQL Licnse; se
 http:/wwwpostgesql.org/about/licenc
# or heend ofthisfile or details.

# Wha operatngsystemis tis? W have some special-ase cod
 for dffernt OS.[0m
UNAME_S=`unme -s`
if[ $UNAE_S  Linu ]; then
  OS=Liux
eli [$UNAMES = unOS  && uame -r| grep 5.11 > /ev/ull 2>&1 ten
  [34m# Discriminatebetwee Joynt's n-house version ofOpenSolaris
[0m  [34m#and themaintreamversion. Only way o do it: check the doman ame.[0
  f unae -n | grep -i joynt > /dev/null 2>&1; then
    OSJoyet[225H[34m# On Joyent sometimes you want to us svcadm somtimesyou do't 
[0m   [4m# Set this variable accrdingly Recmmendd seting: false (i.e. '').[0m
    UE_SVADM=31m''[0m
  else
    OS=OpenSlaris
 fi
else
  OS=nknown
fi

[34m# mastr and rplic IP adresss.  These should be the sme                                                                [33;1H             
# o all severs  In he evnt of failover and promoton                                                                   [35;1H              
 of thereplca toa maser, yo will ned to sap these                                                                      [37;H            
# adresses                                                                                                              [39;1H           [0m

MASTER=10.100.23.7
REPLCA=1.100.3.76

[34# below hould ot need to be changd for CentO                                                                            [45;H            [0m

PGUSER=replicauser
PGDATA=/var/pgsql/data90
REPLICATION_LOG=/va/lo/pg_log/epication.log[50;115H1,1         Top1;1H34h[25h[?5l[50;15H2,1          Top[2;1H[34h[?2h[?25l50115H3,0-1         Top[3;H[34h?25h[?25l[50;15H4,1         Top[41H[34h[?25h[?25l[50;115H5,0-1        Top5;H[34h[?25h[?25l[50;11H6,1         Top[6;1H[34h[25h[?25[50;15H7,1           Top[7;1H[34h[?2h[?25l50115H8,1           Top[8;H[34h?25h[?25l[50;15H91       op[91H[34h[?25h[?25l[50;11H10,0-1      Top[10;1H[34h[?2525l[5;11511,1        Top11;1H[3h?2[?25l[50;115H12,1         To[2;1H[34h[?25h[?5l[501513,         op[1;1H[3h[?25h?25l[0;115H14,1       Top[4;H[34h[?25h[?25l[50;11H15,1        Top[15;1[34h25[?l[50;15H16,1         To[6;1H[3h[25[?2l50115H171      Top[;1Hh[?2h?25l50;115H18,1         Top[18;1H[3[25h[?25[0;115H19,1          op[9;1H[3h[?5h?5l[5;1152,1       Top20H[h25[2l0;115210-      Top211H34h?25h?25l50;11522,1        T[22;1H[34h[?2h?25l[50;115H23,1         Top[3;1H[34h?2525l[;115H241       To241H[34h[?25h[25[5;15H25,      Tp[251H[34[?25h[25l[5;11521          Top[26;1H[34h[?25h[?25l[50;11H2,1        Top[27;H[4h[?25h[?5l[50;115H21         op[28H[3h[?2h[?2l[50;5H91        Top[29;1H[34h[?25h[?2l50;15301          Top[30;1[4h[?25h[?25l[5;15H31,0-1        Top[31;H[4h[?25h[?5l[50;115H32,1          op[32;H[3h[?2h[?2l[50;115H33,1         Tp[34;1[34[5[?5l[0115H34,1          Top36;1H[34h[?25h[25[50;115H35,1       Top[38;1H[34h[?25h[?25l[50;115H36,0-        Top[40;1H[34h[?25h[?25l[50;115H37,1         Top[41;1H[34h[?25h[?25l[5011H381         Top[42;1H[34h[?25h[?2l[50;15H9,0-1        Top[43;1H[34h[?5h[?25l[5011H40,1          Top[44;1H[34h[?2h[?5l[50;1541,0-      Top[46;1H[34h[25h[?5l[50;115H40,1     Tp[44;1H[34h[?5h?25l[0;115H39,0-1     Top43;1H[34h[?25h[?5l[50115H38,1       op[4;1H[34h[?25h[?5[5011537,       To1;1H[34h[?25h[?25l[5;115H3,2         Top[1;2H[34h[?2h[?25l50;15H37,3         Top[41;3H[34h[?25h[?2l[50;11537,4          Top[41;4H[4h[?25h[?25l[5;1535      op[4;5[4h[?25h[?25l50;1153,6         op[1;6H[34h[?25h[?25[50;11537,7         Tp[41;H[34h[?25h[?25l[5;115H37,8         Top[41;H[34h[?25h[?25l[50;15H37,9         Top[41;H[34h[25h[?25l[0;1H37,10        Top[41;H[3425h[?25l[50;15H37,11         Top[41;1[34h?25h[?25l[50;15H37,12         Top[41;1H[34h?25h[?5l[015H7,13       To[411H[3h?25h?25l50;15H37,14         Top[41;1H[34h?25h[?25l[50;15H37,15         Top[41;1H[34h?25h[?25l[50;15H37,16       Top[41;6H[3[?25h[?5l[0;115H3,17       To[41;17H[34h[?25h[?25l[50;115H37,18         Top[4118H[34h[?25h[?25l[50;15H38,1        Tp[4218H[34h[?25h[?25l[50;15H39,-1       op[4;1H[34h[?25h[?25l[50;15H40,8        Tp[4418H[3h?25h[?5l[0;115H1,0-1       Tp[46;H[34h[?2h[?5l[50;15H42,8         Top[47;18H[34h[?25h[?25l[50;115H43,18        Top[48;18[34?25h[?25l[50;11544,18         Top[49;18H[34h[?25h[?25l[1;49r[49;1H
[1;50r[50;1H[K[50;115H45,0-1        1%[49;1H[34h[?5h[?25l[1;49r[1;1H[2M[1;50r[48;1H[34m# directory where log files are copied to on the replica                                                                            [49;1H              [0m[50;115H[K[50;115H46,18          3[48;18H[34h[?25h?25l[1;49r[49;1H
[1;50r[50;115[K[50;115H47,0-1         5%[49;1H[34h[?25h[?25l[1;49r[49;1H
[1;50r[49;1HWALDIR=/var/pgsql/wal_rchive[50;115HK[50;115H4818          6%[49;18H[34h[?25h[?25[1;49r[49;1H
[1;50r[50;115H[K[50;115H4,0-1       7%[49;1H[34h[?25h[?25l[1;49r[49;1H
[1;50r[49;1H[34m###############################[0m[50;15H[K[50;115H50,18          8%[49;18H[34h[?25h[?25l[1;49r[49;1H
[;50r[49;1H[34m# Begin OS-specific settings[0m[50;115H[K[50;115H51,18         10%[49;18H[34h[?25h[?25l[1;49r[49;1H
[1;50r[49;1H[34m################################[0m[50;115[K[50;115H52,18        11%[49;18H[34h[?25h[?25l[50;115H51,18         11%[48;18H[34[?25h[?25l[50;115H50,18         11[47;18H[34h[?25h[?25l[50;115H49,0-1        11%[46;1H[34h[?25h[?2l[50;115H48,18         1%[45;1H[3h[?2h[?2l[50;15H470-1      11%[4;1H[34h[?25h[?25l[50;115H46,18        11%[42;18H[34h[?25h[?2l[50;11H4,0-1        11%[41;1H[3h[?25h[?25[50;115H4418       11%[40;18H[34h[?25h[?25l[50;115H43,18         11%[39;18H[34h[?25h[?25l[50;115H44,18         11%[40;18H[34h[?25h[?25l[50;115H45,0-1        11%[41;H[34h[?25h[?25l[50;115H46,18         1%[42;18H[34h[?25h[?25l[50;115H47,0-1        11%[44;1H[34h[?25h[?25l[50;115H48,18         11%[45;18H[34h[?25h[?25l[50;115H49,0-1        11%[46;1H[34h[?25h[?25l[50;115H50,18         11%[47;18H[34h[?25h[?5l[50;115H51,18         11%[48;18H[34h?25h[?25l[50;115H52,18        1%[49;18H[34h[?25h[?25l[1;49r[49;1H
[1;50r[49;1H[34m#[0m[5;115H[K[50;115H53,1          12[4;1H[34h[?25h[?5l[1;49r[49;1H
[1;50r[49;1Hif [ $OS =[31m'Joyent'[0m ]; then[50;115H[K[50;115H54,18        13%[9;1834h?25h[?25l[1;4r[4;1H
1;0r[4;3HPGASE=/var/pgsql[50;115H[K[50;115H55,18         15%[49;18H[34h[?25h[?25l[50;115H54,18         15%[48;18H[34h[?25h[?25l[50;115H3,1          15%[47;1H[34h[?25h[?25l[50;115H52,18         15%[46;18H[34h[?25h[?25l[50;115H51,18         15%[45;18H[34h[?25h[?25l[50;115H50,8         15%[44;1H[34h[?25h[?25l[50;115H49,0-1        15%[43;1H[34[?25h[?25l[50;115H48,18         15%[42;18H[34h[?25h[?25l[50;115H47,0-1        15%[41;1H[34h[?25h[?25l[50;115H46,18         1%[39;18H[34h[?25h[?25l[50;115H45,0-1        15%[38;1H[34h[?25h[?25l[50;115H44,18         15%[37;18H[34h[?25h?25l[50;115H45,0-1       15%[38;1H[34h[?25h[?25l[50;115H46,18        1%[3;1H34h[?5h[?25l[50;115H47,0-1        15%[41;1[34h[?25h[?25l[5;115H48,18       1%42;18H[4h[?25h[?25l[50;115H49,0-1        15%[43;1H[34h[?25h[?25l[50;115H50,18         15%[44;18H[34h[?5[?25l[50;115H5,18         5%[45;18H[34h[?25h[?25l[50;115H52,18       15[6;18H[34h[?25h[?25l[50;115H53,1          15%[47;1H[34h[?25h[?25l[50;115H54,8        15%[48;18H[34h[?25h?25l[50;11H55,18         5%[49;18H[34h[?25h[?25l[1;4r49;1H
[1;50r[49;3HPGCTL=/optloal/in/pg_ctl[50;115H[K[50;115H56,18         16%[49;18H[34h[?25h[?25l[1;49r[49;1H
[1;50r[49;3HPSQL=/opt/local/binpsl[50;115H[K[50;115H57,18         17%[4918H[34h[?25h[?5l[;49r[49;1H
[1;50r49;3HRSYNC=/opt/local/bin/rsync[50;115HK50;1558,18         18%49;18H[34h[?25h[?25l[1;49r[49;1H
[1;5r49;3HSSH=/usr/bin/ssh[50;115[[50;115H59,18         20%[49;18H[34h[?25h[?25l[1;49r[49;1
[1;50r[49;3HCP=/usr/bin/p[50;115H[K[50;115H60,6        21[4;6H[3h[?5h[25l[149[491H
[1;0r[4;1Helf [ $OS = [3m'Linux'[0m ]; then[50;15H[K[5;15H61,18         22[49;18H[34h[?25h[?25l[1;49r[49;1H
[1;50r[49;3H[34m# These settings are for CentOS. Other distributions my e different.[0m[50;115H[K[50;11H6,18       24%[49;18H[34h[?25h[?25l[1;49[49;1H
[1;50r[49;3HPGBASE/var/lib/pgsql[50;115H[K50115H63,18       25%[4918[3h?25h?2l[1;49r[4;1
[1;50r[49;3HPGCTL=/usr/pgsql-9.0/bi/p_ctl[50;115H[K[50;115H64,18         26%[49;18H[34[25h[?25l[1;49r[49;1
[1;50r[49;3HSQ=/ur/gsql-.0bin/psql[50;15H[K[50;115H6,18        249;18H34[?25h[?25l[1;49r[49;1H
[1;50r[49;3HRSYC=usrbin/rsync[50;11H[K[0;115H6,18         2%9;18H[34h[?5h[?25l[1;4r[4;1
1;50r[4;3HSSH=/usr/bin/ssh[0;15H[K[50;115H67,18         0%[49;18H[34h[?25[25l[1;49r[49;1H
[1;50r[49;3HCP=/bin/cp[50;115H[K[50;115H68,12         31%[49;12H[34h[?25h[?25l[1;49r[49;1H
[1;50r[491Hlse[5;115H[K[50;115H69,         32%[49;4H[34h[?25h[?25l[1;49r[49;1H
[1;50r[9;Hecho [31m"Unrecognized OS."[0m[50;115H[K[50;115H70,18         34%[49;18H[34h[?25h[?25l1;49r[4;1
[1;50r[49;3Hexit 1[50;115H[K[50;115H718        3%49;8H[4h[?25h[?25l[1;49r[49;1H
[1;50r[49;1Hfi[50;115H[K[5;115H72,2          36%[49;2H[34h[?25h[?25l[1;49r[49;1H
[1;50r[5;15HK50;115H73,0-1        37%[49;1H34[?5h[?25[;49r[49;1H
1;50r[49;1H[34m# Name ad ocation of the file that stops archiving on the Master[0m[50;115H[K[50;11H7,18         39%[49;18H[34h[?25h[?25l[1;49r[11H[2M1;0r[48;1HTOUCHFILE=$PGAS/noarhivin
[34m# Name and location of the file whichstps recovers on the slave[0m[50;115H[K[50;115H75,18         41%4818H[3h[?25h[?25l[50;1576,18         41%[4;1H[4h[?25h[?5l[50;115H75,18         41%[48;18H[34h?2h[?25l[50;115H74,18         41%[47;18H[34[25[?25;115H73,0-1        41%[46;1H[34h[?5h[?25l[50;115H72,2          41%[45;2H[3h?25h[?25l[50;115H71,8          41%[4;H[4h[25h[?25l[50;115H70,8        41%[43;18[4h[?25h[?25l[50;115H69,4          41%[42;4H[34h[?25h[?25l[50;115H68,12         41%[1;12H[34h[?25h[?25l[50;115H67,18       41[0;18H[34h[?25h[?25l[50;115H66,18         1%[39;18H[34h[?25[25l[50;115H65,18       41%[38;18H[34h[?25[?25[50115H6,18       41%[37;18H[34h[?25h[?25l[50;115H65,18         41%[8;8H34[?25h[?25l[50;115H66,18         41%[3;1H[34h[?25h[?25l[0;115H65,18        41%[3;18[4h[?5h[?25l[50;115H64,18        41%318H[34h[?25h[?25l[50;11H65,18       1%[38;1H[3h[25[?25l[50;115H66,18         41%[39;18H[3h?25h[?25l[50;115H67,18         41%[40;18H[3h[25[?25l[50;115H66,18       41[9;18H[3h[25h[25[50;115H65,18         %[8;14h[2h[?25l[50;115H64,8       1%[37;18H[34[?25h[?25l[50;115H63,18        41%[36;18[4h[?2h[?25l[5;115H6,18         41%[37;18H[4h[?2h[?25l[50;115H65,18        4%[38;18H[34h[?2h[?25[50;115H66,18         41%[9;18H[34h[?5h[?2[0115H7,8         41%[40;18H[34h[?2h[?25[50;115H68,12         41%[41;12H[4h?25h[?5l[50;11H69,4          41%[42;4H[34h[?25h[?25l[50;115H70,18         41%[3;18H[34h[?25h[?25l[50;11H71,8          41%[44;8H[34h[?25h[?25l[50;115H72,2          41%[45;2H[34h[?25h[?25[50;11H7,0-1        41%[46;1H[34h[?25h?25l[5;15H74,18         41%[47;18H[34h[?25h[?2l[50;15H5,18         41%[4;18H[34h[25h[?25l[50;15H76,18         41%[49;18H[34h[?25h[?25l[1;49r[1;1H[2M[1;50r[48;1[34m# and brings it up as te new mstr[0m
BRINGUP=$PGBASE/BRINGUP[50;115H[K[50;1577,18         42%[48;18H[34h[?25h[?25l[0;15H78,18         42%[49;18H[34h[?25h[?25l[149r[1;H2M[1;50r[48;1H[4m# Locl estination file
# oints to a fie containing a list ofmouted dirctries to copy[m[50;15[K[50;15H79,8       44%[48;18H[34h[?25h[?25l[50;115H80,18         44%[49;18H[34h[?2h[?25l[149r[1;1H[2M[1;50r[48;1H[34m# WA files o. If no using, *do not leave empty*, just use the
# default and don't crete he file[m[50;15H[K[50;115H81,18         46%[48;1H[4h[?25[25l[50;115H82,18         46%[49;18H[3h[?25[?25l[1;49r[49;1H
[1;50r[491HLOCALDETINATINS_LIST=[31m"$PGBASE/scripts/local_destinations"[0m[50;115H[K[50;15H8,18       48%[49;18H[34h[?25h[25l[149r49;1H
[1;0r[491H[3m#[m[50;15H[[50;115H84,1          49%[49;1H[34h[?25h[?25l[50;115H83,18         49%[48;18H[34h[?25h[?25l[50;115H82,18         49%[47;18H[34h[?5h[?25l[50;115H81,18         49%[46;18H[34h?25h[?25[50;115H80,18         49%[45;18H[34h[?25h[?25l[50;115H79,18         49%[44;18H[34h[?25h[?25l[50;115H78,18         49%[43;18H[34h[?25h[?25l[50;115H77,18         49%42;18H[34h[?25h[?25l[50;115H76,18         49%[41;18H[34h[?25h[?25l[50;115H75,18         49%[40;18H[34h[?25h[?25l[50;115H75,19        49%[40;19H[34h[?25h[?25l[50;115H75,20         49%[40;20H[34[?25[?25l[50;115H75,19         49%[40;19H[34h[?25h[?25l[50;115H74,19        49%[39;19H[34h[?25h[?25l[50;115H73,0-1        49%[38;1H[34h[25h[?5l[50;115H72,2          49%[37;2H[34h[?25h[?25l[50;115H71,8         49%[368H[34h[?25h[?25l[50;115H70,19         49%[35;19H[34h[?25h[?25l[50115H69,4          49[34;4[34h[?25h[?25l[50;115H68,12         49%[33;12H[34h[?25h[?5l[50;115H67,18         49%[32;18H[34h[?25h[?25l[50;115H66,19         49%[31;19H[34h[?25h[?25l[50;115H65,19         49%[30;19[34h[?25h[?25l[50;115H64,19         49%[29;19H[34h[?25h[?25l[50;115H63,19         49%[28;19H[34h[?25h[?25l[50;115H62,19         49%[27;19H34h[?25h[?25l[50;115H61,19         49%[26;19H[34h[?25h[?25l[50;115H60,16         49%[25;16H[34h[?25h[?25l[50;115H59,18         49%[24;18H[34[?25h[?25l[50;11558,9        4%[23;19H[34h[?25h[?25[50;15H5719        9%[2219H[4h[?25h?25l50;115H56,19         49%[21;19H[34h[?25h[?25l[50;115H55,19       49%[2019[34h[?25h[?25l[50;11556,19       49%21;19[34[?25h[?25l[50;15H5719        49%[22;19H[34h[?2h[?25[50115H5,19        49%[23;19H[34h[?5h[?2l[5;115H9,18        49%[24;18H[34h[25h[?5l[0;11560,16        49%[25;16H[34h?25h[25l50;11H61,1         49%[26;19H[34h[?25h?25l[50;15H62,9         49%[27;19H[34[?25h[?25[50;15H6319         49%[28;19H[3h[?25[?2l[50115H6,18         49%[28;18H[4h[?2h[?5l[5;115H3,17         49%[28;17H34h[?5h[25l[0;11563,16         49%[28;16H[34h[25h?25l50;11H63,15         49%[28;15[34h?25h[?25l[50;15H63,14         49%[28;1H[34h[?25[?25[50;15H63,13         49%[28;3H[34[?2h[?2l[50115H3,12      9%[2812H[3h[?5h[?5l[5;115H63,13        49[;13H[4h[25h[25l[0;1156314       4%8;14H34h?25h?2l50;115H63,15         49%28;5H[34h[?25h[?25l50115H63,16         49%[28;16[34[?25[?25[50;115H63,17         49[28;1H[3h[?2h[?2l[50;115H64,17         4%[29;7H[4h?h?5l50115H65,17       9%[301H34h[25h[25l[50;115H6,17        49%[;7H34h?25h?25l[50;115H63,17        9%[8;17[34h[?25[25[0;156318      9%21H34[25[25[0;115H63,19        49%[28;9H[3[22[0;156320     9[22H4[5[25[0;15H6,21       %221H34[2h[?25l[50;1H63,2    %822H34h?5[25[50;15H63,21      9%28;21[34h[?25h[?25l[50;115H63,20      49%[28;2H[34[?25h[?25[0;115H63,1        49[28;9H[3h[?25h[?25l[0;15H6,        4%[2818H[4h[?2h?25l50115H631        9[2;17H34h[25h?2l[50;115H6,16       49%[8;16H[34h[?25h[?25l[50;115H3,15    49[28;1H[34h[?25h[?2l50;11H63,1      4%[2814H[34h[?25h[?25l[50;15H6313       49%[8;13H[34h[?25h[?25l[5;115H3,12       49%[2812H[34h[?25h[?25l;1H6,        4%[28;11H[34h[?25h[?25[50;15610       49%[2;1H[34h[?25[?5l[5;11564,10       49%[29;0H[34h[?25h?25l50;15H65,0        49%[30;10H[34h[?25[?25[50115H66,1      9%[31;10H[3h[?25h?25l50;15H67,0      49%[32;10H[34h[?25[?25[50115H610       49%[33;10H[34h[?5h[?5l[0;115694         49%[34;4H[34h[25h[25l50;11H70,1        9%3510H[34h[?25h[?25[50;15H718         9%[36;8H[34[?25[?2l[50115H7,2         4%[7;H[3h?2h?5l[5;15H3,01       49[38;1H[4h[?5h[25l[0;11574,10         4%[3;10H[3h[5?25l50;11H75,10       49%[40;10[4h?25h?25l[50;15H7610        49%41;1H[34h[?25[?25[5015H7710         49%42;0H[3[?[?2l[50115H78,10        49[430H[3h[?5[?5[5;15H78,11         9%[411H[4[25h[25l0;15H78,12        49%[3;1234h25h?25l50;115H78,13         49%43;13H[34h[?25h[?25l[50;115H78,14         49%[43;14[34[?25[?25[50;115H78,15         49[43;1H[3h[?2h[?2l[50115H78,16         4%[436H[h[?5h[?5l[5;115H78,17         9%[417H4h[25h[25l[0;115H78,18        49%[;18H34h?25h?25l50;115H78,19        49%3;19[34h[?25h[?25l[50;115H78,20        49%43;2[34[?25[?25[50;115H78,21        49[43;H[3h[?2h[?2l[50;115H78,22        4[432H[4h[?5h[?5l[50;115H78,23        %[423H34h[25h[25l[50;115H78,22       9%[;22H[34h?25h?25l[50;115H78,21      49%3;21[34h[?25h?25l[50;115H78,20       49%[4;2[34?25h[?25l[50;115H7,1      49[43;9H[3h[?25h[?25l[50;11H78,8       4%[4318H[4h[?25h[?25l[5;115H7817      %[4;17H34h[?25h[?25[50;15H717       9%[4;17H[34h[?25h[?2l[50;15H,17      49%45;17[34h[?25h[?5l[501151,17      49%[46;1H[34h[?25h[25l[5;1182,17      49[47;7H[34h[?25h?25l[0;1H83,1       4%[4817H[34h[?25h[?25l50;5H84,        9%[4;1H[34h[?25h[?25l1;4[49;H
;50r[49;1[34m###########################[0m50;11H[K[50;115H8,17      50%[9;17[34h[?25h[?25l[1;49r[9;1H
[1;r[491H[m# Ed OS-pecific settins[0m50;5H[K[50;5H8617        5%[49;1[34?2h[?2l1;9r[1;1H[2M[1;50r[4;1[3m#######################[0m[0;15H[K[50;15H8717        54%[48;17H[34h[?2h[?2l[5;115H8,0-1       54%[49;1H[34h[?5h[?5l[;49r49;1
[1;50r[49;1H[34# Shold weuse SH o ullync[[50;115H[K[50115H8,7      5%4917H[4h[?2h[?25l49r49;1
10r[9;1HUSE_SSH_SYNC=yes[50;1H[[5015H9,6       56%[9;16H34h[?5h[?5l[;49r49;1H[1;50r50115H[K[50;15H91,-1      8[41H[3h[?2h[?25[1;4r49;H
1;50r491[34m# rsync options.  sallyiclds cmresin[0[50;115[K[5;1159,17       59%[49;1H[34h[?25h[?5l1;49r[4;1
[150r[9;1HRYNC_OPT[31m"[0m[50;15H[K50;1H93,2       0%[4912H[34h[?25[?25l[1;4r[1;[2[1;50r491H[34m# rsyncserversha name if ing0m[5;115HK[50;1H94,0      6%[481H[34h[?25h[?25l[50;15H5,1       6[4917H[34h[?25h[?25l[1;4r[49;H
;50r49;1RYNC_SERVR=[31""[0m50;15K50;11H9,1         64%[49;15H[4h[?2h?5l[149[9;H
[1;50r[9;1HRSNC_PAS=[31""[m[50115H[50;115H9713        %[49;3H[4h[?5h[?l[1;4r[4;1H
[1;50[50;1H[K[5;15H9,-1        67%[49;1H34h[?2525l[1;49[49;H
[1;50[49;1[34# SHOptis[m50115HK[50;15H99,13         6%[49;3H[4h[?5h[?5l[1;49r[49;1H
[1;50r[4;1HSHOT=[3m"[m50;115[K[50;15H10010       6%[4910H[4h[?2h[?25l1;9r[491H
[;50r[50;1H[K[0;11H101,-1      71%[49;1H[4h[?2h[?25l[1;49r[49;1H
[1;50r[;1H[3# -------------------------------------------------------------[0m[50;115[K[5;1151021      72%[49;17H[34h[25h?5l[;49r49;1
[1;5r[49;1H[34# Threplictiontoolpakae i licensed under the streSL Liene:[0m[0;115H[K[50;11H103,1      3[9;17H[34h?25h[?25l[1;4r[49;H
[1;50[91H[3m# [m[50;115HK[50;15H142      7%[492H[3h[?25h[?2l[50;15H1317     7%[4817H[4h[?25h[?5l[50;15H1,17     5%[;17H34h[?25h[?5l[50;15H11,0-1    5%[6;H34h[?25h[?2l[50;15H1,10      5%[5;10H[34h[?25h[?2l50;15H13      5%44;13[34h[?25h[?2l[50;159,0-1    75%[43;1[34h[?25h[?2l[50;159713      5%[42;1H[34h[?25h[?2l[50;1H9,15     75[41;5H[34h[?25h[?5l[5015H5,1      7%[4017H[34h[?25h[25l[5;1594,-      5%[3;1H[34h[?25h[25l[5015H3,2      5%[3;12H[34h[?25h[25l[50115H217     75%[7;17H[34h[?25h[25l[5115H,0-1      75%36;1H[34h[?25h[?5l[5;15H9,16     75%35;16H[34h[?25h[?5l[0;15H,17     75%[34;17H[34h[?25h[?5l50;158,01     75[33;1H[34h[?25h[?2l50;15871       5%[32;17H[34h[?25h[?2[5;15H817        5%[31;7H34h[?25[2l[50;15H8517       5%[3;17H[34h?25h?2l[0;1H841         5%[29;1H[34[?25h[?25[50;15H831       5[28;7H[3h[?25h[?2l[50;15H821       %[27;17H[34h[?25h[?2l50;15H,7      75%[26;17H[34h[?25h[?5l[5015H,17      7%[2;7H[34h[?25h[?5l[50;15H7,17       75%[24;17H[34h[?25h[5l[50;15H7,17       75%[23;17H[34h[?25h[?5l[50115H9,17       75%[24;17H[34h[?25h[25l[50115H0,17       75%[25;17H[34h[?25h[25l[50115H1,17       75%[26;17H[34h[?25h[25l[5;11582,17       75%[27;17H[34h[?25h?25l[5;11583,17       75%[28;17H[34h[?25h?25l[5;11584,1        75%[29;1H[34h[?25h[25l[50115H5,17       75%[30;17H[34h[?25h[25l[5;11586,17       75%[31;17H[34h[?25h?25l[5;11587,17       75%[32;17H[34h[?25h?25l[0;11H88,01       75%[33;1H[34h[?25h?25l[5;11589,17       75%[34;17H[34h[?25h?25l[5;11590,16       75%[35;16H[34h[?25h?25l[5;11591,0-       75%[36;1H[34h[?25h[25l[5;11592,17       75%[37;17H[34h[?25h?25l[5;11593,12       75%[38;12H[34h[?25h?25l[0;11H94,01       75%[39;1H[34h[?25h?25l[5;11595,17       75%[40;17H[34h[?25h?25l[5;11596,15       75%[41;15H[34h[?25h?25l[0;11H97,1        75%[42;13H[34h[?25h[?25l[0;11H98,01       75%[43;1H[34h[?25h?25l[;1599,13       75%[44;13H[34h[?25h?25l5;1510,1      5%[5;0H[34h[?25h?25l0;11H01,1   7%[4;1[34[225[;115102,1       75%[47;17H[4h[?25h?25l[5;115103,1       75%[48;17[34h?2h?25l[0;11H104,        75%[49;2H[34h[?25h?25l[19r49;1
1;0r[49;1H[34# opyright(c) 201-201, PosgeS, Experts, Inc.[0m[0;15H[K[0;11H105,7      7%[49;17H[34h[?25h[?25l[;49r[49;1
[150[49;1[4m# [0m[50115H[K[50;15H10,2        78%[49;2H[3h[?25[?25l1;49[49;
[;0[49;1H34# Permisson to ue, cpy, mdify,and distribute thi softwre and ts[m[50115HK[50;15H17,7       9[49;17H[3h[?25h[?25l[1;49r[49;H
[1;0r[9;1H34m# ocumenatin f ny purpose, withou fee, ad wihout  writen agremet is[0m[50;115H[K[501H108,7       8%[4917H[3h[25h[?25l[1;49r491H
[1;50r4;1[34m herey graned,provided that theabve cpyightnotie andthis aragrah[m[50;15H[K50115H10917      82[49;7H[3h[?25[?5l[149r[49;1H
[1;50r[49;H34m#and te folowing wo aragraphs ppar n ll cpies.[m[5;115H[K[5;115H10,1      83%[49;17H[34h?25h[?5l;49r49;H[1;5[9;1H[34m# [0m[50;115HK[50;15H1,        4[492H34h[?25h[?25l[1;49r[4;1H
[50[4;1[34m IN NOEVET SHALL POSTGRESQL EXPERT IC. E IBLE T ANY PRT FOR DIECT0m[50;15H[K[50115H11,17       8%[417H[4h[?25h[?5l[1;4r[4;1H
1;50r[491H[4m# INDRECT, SPECIA,NCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST[0m[5;115H[K[50;115H11,1        87%[49;17H[34h[?25h[?25l[1;49r[49;1H
[50r[49;1H[34m# PRFITSAISINGOUT F THEUSE O THI SOFTWARE AN IS DOUMNTAION,EVEN0m[5;115H[K[50;115H114,17       89[4917H[4h[?5h[?25l1;9r[49;1H
;50r[9;1H34m#IF POTGRESQL EXPERTS, INC. HASBEN VIEO TE POSIBILIT OF SUH[0m5;115HK50;115H115,17        90%[49;17H[34h[?25h[2l1;9r49;1H
[;50r49;1H34m#DAMG.[0m[50115H[K[5;115H16,9      91[49;9[34h?25h[25l[1;49r[9;H
[1;5r[4;1H[4m# 0m[50115H[K[5;115H1,2       3[4;2[4h?25h[?25l[1;49r[491H
[;50r[49;1[34m POSTGRESQL EXPERTS, INC.SPEIFALL DISAMS NY WARRANTIES, INCLUDNG,BUT[05011HK50115118,17       9%[497H[3h[?5h[?5l[1;9r[49;1H
[1;50r[49;1[3m# NOTLIMITED TO, THE IMPLED ARRNTIE OMECHANTABILITY AND FITNSS ORA[0[5015HK[50115H19,1     9%[;7H[34[25[?25[1;49r[49;1H
[1;50r[49;H[34m PARTICUAR PROSE. THE SOFTWARE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS,[0m[0;115H[K[50;115H120,17        97%[49;17[34h[?25h[?25l[1;49r[49;1H
[1;50r[49;1H[34m# AND POSTGRESQL EXPERTS, INC. HAS NO OBLIGATIONS TO PROVIDE MAINTENANCE,[0m[50;115H[K[50;115H121,17        98%[49;17H[34h[?25h[?25l[1;49r[49;1H
[;50r[49;1H[34m# SUPPORT, UPDATES, ENHANCMENTS, OR MODIFICATIONS.[0m[50;115H[K[50;115H122,17        Bot[49;17H[34h[?25h�����������[?25l[23m[24m[0m[H[J[23m[24m[0m[H[J[1;1H[34m# on all servers.  In the event of failover and promotion                                                                            [2;1H              
# of the replica to a master, you will need to swap these                                                                            [4;1H              
# addresses                                                                                                                       [6;1H              [0m

MASTER=10.100.23.97
REPLICA=10.100.23.76

[34m# below should not need to be changed for CentOS                                                                                    [12;1H              [0m

PGUSER=replicauser
PGDATA/var/pgsql/data90
REPLICATION_LOG=/var/log/pg_log/replication.log

[34m# directory where log files are copied to on the replica                                                                            [19;1H              [0m

WALDIR=/var/pgsql/wal_archive

[34m################################
# Bein OS-specific settings
##############################
#[0
if [ $OS = [31m'Joyent'0m ]; thn
  PGBASE=/var/pgsql
  PGCTL=/opt/local/bin/pg_ctl
 PSQL=/opt/local/in/psql
  RSYNC=/opt/local/bin/rsync
  SSH=/usr/bin/ss
  CP=usr/bin/cp
elif[ $OS = [31m'Linux'[0m ]; then
  [34m# These setting are for CentOS. Other distibutions may be different.[0m
  PGASE=/var/lib/pgsql
  PGCTL=/usr/pgsql-9.0/bi/pg_ctl
  PSQL=/usr/pgsql-9.0/bin/psql
  RSYNC=/usr/bi/rsync
  SSH=/usr/bin/sh
  CP=/bn/cp
else
  echo [31m"Unrecognized OS."[0
  exit 1
fi

[34m# ame and location of the file tha stops rchiing on the Master[0
TOUCHFILE=$PGBASE/no_archiving
[34m# Name and location of the file which stops recovers on the slave[0m[50;115H75,1          41%[481H[34h[?25h[?25l[1;3H[34mPowers pg_resync_replica, promote_to_master and wal_archive[0m[1;62H[K[2;1H[K[3;3H[34mVersion 1.6.  Lst updated 2011-02-17.[0m[3;41H[K[4;1H[K[5;3H[34mCopyright (c) 2010-2011, PostgreSQL, Experts, Inc.[0m[5;53H[K[6;1H[34m# Licened under The PostgreSQL License; see
# http://www.postgresql.org/about/licence
# or the end of this file for details.[0m[9;1H[K[10;1[34m# What operating system is this? We have some special-case code
# for different OSs.[0m[11;21H[K[12;1HUNAME_S=`uname -s`
if [ $NAME_S = Linux ]; then
  OS=Linux[14;11H[K[15;1Helif [ $UNAME_S = SunOS ] && uname -r | grep 5.11 > /dev/null 2>&1; then
  [34m# Disriminate between Joyent's in-house version of OpenSolaris
[0m  [34m# and the mainstream version. Only way to do it: check the doman nam.[0m
  if uname -n | grep -i joyent > /dev/null 2>&1; then[18;54H[K[19;1H    OS=Joyent[19;14H[K[21;1H    [34m# On Joyent, sometims you want to use svcadm; sometimes you don't. 
[0m    [34m# Set this variable accordingly. Recommended setting: false (i.e. '').[0m
   USE_SVCADM=[31m''[0m[23;18H[K[24;1H  else[24;7H[K[25;1H    OS=OpenSolaris[25;19H[K[26;1H  fi
else[27;6H[K[28;3HOS=unknow[28;13H[K[29;1Hfi[29;3H[K[30;3H[K[31;1H[34m# master and replica IP addresses.  These should be the same                                                                        [32;1H             [0m[32;14H[K[33;1H[34m# on all servers.  In the event of failover ad promotion                                                                            [34;1H              [0m[34;15H[K[35;1H[34m# o the replica to a master, you will need to swap these                                                                            [36;1H             [0m[36;15H[K[37;1H[34m# addresses                                                                                                                         [38;1H              [0m[38;15H[K[39;3H[K[40;1HMASTER=10100.23.97
REPLICA=10.100.23.76[42;1H[K[3;1H[34m# below should not need to be changed for CentOS                                                                                    [44;1H              [0m[45;1H[K[46;1HPGUSER=replicauser
PGDATA=/var/pgsql/data90[47;25H[K[48;1HREPLICATION_LOG=/var/log/pg_logreplication.log[49;1H[K[50;115H34,1           1%[35;1H[34h[?25h[?25l[1;49r[1;1H[L[1;50r[1;1H[34m# Configuration file for PITRor replication on PostgreSQL 9.0[0m[50;115H[K[50;115H44,1          Top[49;1H[34h[?25h[?25l[23m[24m[0m[H[J[23m[24m[0m[H[J[1;1HPGDATA=/var/pgsql/data90
REPLICATION_LOG=/var/log/pg_log/replication.log

[34m# directory where log files are copied to on the relica                                                                             [5;1H              [0m

WALDIR=/var/pgsql/wal_archive

[34m#################################
# Begin OS-specific settings
#################################
#[0m
if [ $OS = [31m'Joyent[0m ]; then
  PGBASE=/var/pgsql
  PGCTL=/opt/local/bin/pg_ctl
  PSQL=/opt/local/bin/psql
  RSYNC=/opt/local/bin/rsync
  SSH=/usr/binssh
  CP=/usr/bin/cp
elif [$OS =[31'Linu'[0m ]; then
  [34# Thes sttings are for CenOS. Other dstributionsmay bediferent.[0m
  PGBASE=/var/lib/pgsql
  PGCTL=/usr/pgsql-9.0/bin/pg_ctl
  PSQL=/ur/psql-9./bn/psql
  RSYNC=/usr/bin/rsyc
  SH=usr/bin/ssh
  CP=/bin/cp
else
  echo [31m"Unrecognized OS."[0m
 exit 1
f

[34m# Name and locatio of th fle that stops archivingon theMater[0m
TOUCHFIL=$PGBAE/o_archivin
[34# ame and locaton of the file which sops recovers n the lae
# andbringsitup as henew mater[0m
BRINGUP=$PGBASE/BRINGUP
[34m# Local destinations file
# oins to a il containing a list of mounted directries tocoy
# WL files to.  If not using, *do not leave empty*, just use the
# defalt nd don' ceate te file.[0m
LOCAL_DESTINATIONS_LIST=[3m"$GBASE/srits/local_destinations"[0m
34m#
##############################
# End S-secific etings
################################

# Should we use SSH for full sync?0m
USE_SSHSYC=yes50;115H43,1          56%[1;1H[34h[?25h[?25l[50;115H[K[50;1H:[4h?25hq[25
:q[4h[?25h
[?25l[50;1H[K[50;1H[?1l>[34[?25h?149l_dev@easproddb:~/replicatin-tools/scripts\[dev@easproddb scripts] vi pitr-rplcationconf 
[1049h?1=[1;0r[34l[34h[?25h[23m[24m[0[H[[?5l[50;H"itr-relication.cnf" 
"pir-epicaionconf" 12 577C[1;1H[34m# Configuration file for PIR o replictin on PstreSQL .0
# Powers pg_resync_replica, promot_tomaster ndwal_rcive

# Versin .6 Lat updaed2011-0-17.

# Copyright (c) 2010-2011, PostgreSQL, Exprts Inc.
 Lcensed uner ThePostgrSQLLicense se
# htp//ww.ostgresql.org/about/licence
# o the ed o hi flefor details

# Wat opeatig syste i this? We have soe specal-ase cod
 for dffrent Os.[0m
UNAME_S=`nam -s`
i [$UNAME_S  Linx];the
 OS=Linux
eif  $UNAMES  SunOS] & uam -r | grep 5.11 > /dev/null 2>&1; then
  [4m Discriminate between Joyent's in-huseversionofOpenSoaris
[0m  [34m# and the mainstream version. Olywaytodo it: check the dmanname.[m
  if uam -| e -i oynt > /ev/null 2>&1; then
    OS=Joyent[22;5H[34m# On Joyent otimes ouwant t use scad; someims you on't. 
[0m    [34m St tisvriable accordingly. Reommendd settng: ls (i.e. ')[0m
  USE_SCADM=[1m''[0m
  else
    OS=OpenSolaris
  fi
else
  OS=unknown
fi

34m# mate and replica IP addresses  Thes shold bethe sme                                                                 [331H            
 on all servers.  In the event of failove and promotion                                                                         [35;1H             
# f the replica to a mster, ou wll need o swap these                                                                           [37;1H              
# addresses                                                                                                                     [39;1H              [0m

MASTER=10.100.23.97
REPLICA=10.100.23.76

[34m# below should not ned to be changed forCentOS                                                                                    [45;1H              [0m

PGUSER=replicauer
PGDATA=/var/pgsql/data9
REPLICATION_LOG=/varlog/pg_log/replication.log[50;15H43,1          Top[48;1H[34h[?25h


[?l>[?1049l
[1]+  Stoppd                 vi pitr-replication.conf
_dev@easproddb:~/replication-tols/scripts\[dev@easproddb scripts]$ sbin/ifconfig 
eth0     Link encap:Ethernet  HWaddr 00:50:5:80:00:C  
          inet addr:10.50.60.196  Bcast:10.50.60.255  Mask:255.255.255.0
          inet6 addr: fe80::250:56ff:fe80:c0/64 Scope:Link
         P BROADCAST UNNING MULTICAST  MTU:1500  Metric:1
          RX packets:688003 errors:0 dropped:0 overruns:0 frame:0
          TX packet:309480 errors: droped:0 overruns:0 arrier:0
         collisions:0 txqueuelen:1000 
         RX bytes:510342563 (486.7 MiB)  TX bytes:139064880 (132.6 MiB)
          Interupt:59 Base ddress:0x2000 

lo        Link encap:Local Lopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNIN MTU:16436 Metric:1
         R packets36790 error:0 dopped0 overuns: frame:0
          TX packets:367901 errors:0 dropped:0 overruns0 crrier0
         collisions:0 txueuelen:0 
          Xbyts:4365819 (46.7 MiB)  TX bytes:436958519 416.7 MiB)

_dev@easprodb:/repliaton-tols/scripts\[dev@easproddb scripts]$ f
vim pitr-replication.conf
[?1049h[?1h=[34l[34h[?25h[23m[24m[0m[H[J[?25l[1;1H[34# Conigratinfile forPITR or eplication on PostgreSQL 9.0
# Powers pg_resync_replica, promote_to_mater and wal_arcive

#Vesion 1.6.  Last updated 2011-02-17.

# Coyrg c) 21-2011, PostgreSQL, Experts, Inc.
#License undrThe PotgreQL Lcense see
# htp:/ww.ostgrsql.org/about/licence
# or the end of ths fe foretils.

 What operating system is this? We have some special-case code
# for diffrent OSs.[0m
UNAME_S=`uname -s`
if [ $UNAME_S = Linux ] then
 O=Linux
elif [ $UNAE_S = SnO ] && nae -r | gre 5.11 > /dev/null 2>&1; then
  [34m# Discriminate between Joyent's in-hose verson of OpenSolaris
[0m  [34m# and the mainstream version. Only way to doit: check the doman ame.[m
 if unae n | grep -i oyent  /ev/null 2>&1; then
    OSJoyent[2;5H[34m# n Joyet,sometimes you want t use scam; soties youdon't. 
[0m   [34m Set this variable accordingly. Recommended seting: false(i.e '').[0m
    UE_SCADM=[31''[0m
  else
   OS=OpenSolaris
  fi
else
  OS=unknown
fi

[34m# master and replica IP adresse.  These should be te same                                                               [33;1H             
# on all servers.  I the event of failovr ad promoio                                                                        [5;1H           
# of therepica t a aster, you illneed  swa these                                                          [371H              
# ddresss                                                                                                                       [39;1H            0

MASTE=10.00.2397
REPLIC1000.236

[34m# blow houldnt nee o e changed for CentOS                                                                                  [45;1H           [0m

PGSER=replcaser
PGATA=var/pgql/data90
REPICATIO_LOG=/var/og/p_log/relication.log[50;115H43,1          Top[48;1H[34h[?25h[?25l[50;115H421        op[7;134h[?2h[?25l[50;11541,01       Top[6;1H[4h[?25[?2l[50;115H40,1        Tp[44;1[3h[?2h[25[511539,-1       op[43;1H[34h[?5h?25l[50;115H381         Top[42;1H[34h[?2h?25l[5011537,1          Top[411H[3h[25h[?25l[0;115H37,7          Top[41;H[34[?5h?2l5011H3,8     To[1;H425[25[0;1- NSRT-[0[50;115H[K[50;115H7,8         Top[4;8H[K[4;8H[34h[?25h?2510.250.0.96[5;15H,1     Tp4214h?5h[;1[[1;0H[5l[0;11H37,20       Top[1;20H[34h[?25[?25[50;15H38,0        Top[42;20H[34h[?2h[?25l[50;115H38,19         Top[42;19H[34h[?25h[?25l[50;115H38,18         Top[42;18H[34h[?25h[?25l[50;15H38,16         Top[42;1H34h[?25[?25[50115H3815        Top42;15H[34h[?25h[25l50;1138,        Top[4212H[3h[?25h[?25[5;115H3811       To[42;1H34h[?25h?5l0;11H389          op2;9H[4[?25h?25l[50;H84 ewer ne[50;115H[K5;H[1-INERT --[0m50;1H[K[0;11H38,9       All[0;1[K[4;12H250.0.19
[1[34~                                                                                                                            [4;1H                                                                                                                       [4;1H~                                                                                                                       [46;1~                                                                                                                      [47;1H~                                                                                                                    [48;1H~                                                                                                                  41H                                                                                                                    [m[50115H3,21         All[42;21H[4h[?2h��[?25[50;H84 more lines; before #2 3secnds go[5;115H[K[42;12H100.23.76[42;2H1;2logd.s[0m
-w-rw-r-- 1 dev dev 4637665 Nov 8  210 [0mmad1_0beta-2.backup[00m
-w-r--r- 1 ev de    092 Aug  5 13:37 [01;31meplicato-tols.tz[00
-rwrw--- 1 de dv    81 Ag  513:38[00mcreelog.0[0m
-rw-rw-r- 1 devdev 499795Feb249:9 [00msfmaps.backp[00m
-rw---r--1 devdev    1770 Jul 2 8:31[00mtyescrpt[0m
[_ev@esprodb:~\dev@eproddb~]$ at adopy0 
[dv@easproddb ~]$ hotname
asprdb
dev@sprddb ~$ echo $TERM
see
[ev@esprodb ~]$ls
aselinedbs.  dflgs.tt logd.s  ad1_-beta-2.backp  replictin-tolsz apbckp yescrt
deveaprddb~$sb/fcofg
th0     Link encap:Eheret HWar 0:0:5:0:0:C0
        inet adr:0.50.6.196Bcas10.20.60.255  Mas:255.25.25.0
      inetadd fe80::250:56ff:e80c06 Sope:ink
      U BRODCST RUNING MLTICST MT1500Metr:1
        R pakes:6516erors0 dpped:verun: frame0
       X aces3043 eors: ropped0 overrun:0 crier:0
       clisins:0 tqueuelen:1000
         R byts:1079531(486.4 MiB  TX bytes:13814899(322MiB)
         Inerrupt:9 Bse addes:x200

lo      ink ecp:Loc Lopbac        it add:27..01  Mask:550..0
         iet6 dr: :112 cope:ot
        UPLOOBACRNING  TU:1636  Metric1
         R pacet:36751 erors0dropped: oerrus: am:
     X cet375 rrrs ope:0overun0 crrie0
       colison:0 txqeeln:0       Xbyt:43674105 (416. MiB)  X bytes4361055 46.Mi)

[dev@easprodb ~ s
beli_dbsh  dlog.xt  logd.sh md-10-eta-.bacup  rplicaiotools.gzsfmaps.bp typscrit
[dveasrddb ~]$

















_dv@easproddb:~\[deveasprdb ] ls 
[0mtota 19744
-rw-r-r--1 dev d    148Ju   1:21 01;32aseline_s.sh0m
-w-rw---  ev dev  96752 Jul 18 1743 [00d-lgs.x[0m
-w-rw--- 1 dv dev   1376 u 5 3:38 [00mrdcopy.0[0m
-rwxr-xrx1 dev v     78Jul 1 14:55 [0;32mlogf.sh[0m
-rwr-r- 1dv dev637666 Nov  8  201 [0mmad-_-bet-bkup[0m
-rw-r--r-- 1 dv dev   902Aug5 137 [0;31mreplcationtools.tgz[00m
-w-rwr-- 1dev v     289Aug  5 13:39 00msrenlg0[00
rrw-r- 1 v dev 4997985eb 24 9:49[00mfmapsbackup[00m
rw-r--r- 1dev dev   1370 Jl 22 :31 [0mtypscrip[00m
[m_v@eaprdd:~ev@easproddb ~]$ date
F Aug513400PT 21
_dev@easproddb~\[dveaspodb] de��l-l
[0mtotal109744
-r-rwr-- d ev   18 Jun  8 12:21 [01;3mbelne_s.s00mrw--r--  dev dev  7962 Jl18 143 00mflogs.t00m
-rw-rw-r--1 devev  137Aug 133 [0mhardopy.0[m
-rr-x-x1 e de      8 Ju 18 14:55 1;3mld.h[0
rw-wr- dev dev 46376665 No  8010 [mma1_0-ta-2cku[00m
----r- 1 ev ev    92 u  5 :37[01;1mreplication-tols.tgz[00m-rw-w---1 dev ev   299 Aug  51339 0msreelg.[0m-rw-w--- 1dev dv 497985b 4 9:9[0fmapsbackup[00m
-rw----- 1deve   7370ul 2208:31 [0mtypesrpt[00[mev@asrodb:~[dev@esproddb ~]$ at hadopy. 
[v@earodd ~] hstname
easprddb
[dv@eprod~] cho$ERM
creen
[dev@esrdd ]ls
bseln_db.sh  df-logs.tx  logf. ad-0-bt-2.akup relicatio-toos.tg smas.bkp ypeipt
dev@easproddb ~]$ /binifonf
eh   Lin encap:Ethernet HWadr :55600:0
      inetaddr:1.250.6.19  cas10.5.602  ask:25.255.2550
      inet add fe:2505fff80:c0/64Scop:ink
        BODCAT UNING MUTICAST  TU:150  Meri:1
      RXpacket:685165 rrs: rop:0oerrun0 rame:0
        TX ckts307 err: ropd:0 orruns:cari:0
       colisios:0 txquueen:000
       R byts:5107951(48.Mi) TX ytes:381499 13. MiB     Iterupt5 Base dess:02000

lo     Lnk enc:Lal Lpac
       ietddr:.0.01Msk:250..
       in6 adr::/12 Scoe:Hos
        P LOBA RUN  MU:646 Metri:1
       RXcke367 ero:0dropp:0 ovrns: fame0
       TX ackts:3675 erors:0 drpped:0veruns0carr:0
    ollss: txqeueen0
       RX btes:367155 (4.5iB) TXyts:3674055 165 iB
[e@aspddb ~$ s
baeline_bs.sh  df-ogs.xt  lof.sh md-_0-ba-2.bacup  repicaion-tls.tz sps.bkup  pescrip
[deveasproddb~]$




















_d@easoddb~\[v@asodd ~]$ls had�[K���Kls -
[mtotl 10948
-r-rw-r-- dev e   141Jun 8 12: [0;32baselie_dbs.h[0m
-rw-rw--- 1dev d   6752 Ju 1 7:43 [0mdflogs.tx[0
-rrw-- 1 ev de     176 Aug  13:38[00mardco.0[0m-rxr-xr-x 1 dev dev      7 Jul1 145 [;2mlgdf.sh[00m
-r-r-- 1 ev dv 463665 ov  8  2010 [00mmad-1_0-ea-2.cu[00m-rw--r--  dev dev    902 Ag  51337 1;31repliation-tols.tg[00m
-rww-r-- devev    53 Aug 5 13:0 [00mscreenog.0[0m
w-rw-- 1 ev dev 64997985 Feb 24 0949 [0mas.bacup[0m
-rw-r-r-- 1 dev de  1770l 2 :1 [0mtyescrit[0m
[_e@easrodb:~\[deveasprddb ~$ at ardcopy0 
[dev@eaprodb ~]$hostame
easproddb
[dev@easprodd ~] eco $TRM
sreen
[dev@asprddb~$ ls
aselne_db.sh  f-logstxt logdfsh  md1_0-bea-2.ackup replcationoolstgz fmapbacku  typescript
[dev@asprodd ~]$/sbiniconig
eth0      Link encaptherne Hddr 0:50:5:80:00:C0
        ineaddr1025.0.196 Bcas:10.250.60.55  Mak:25.55.55.
       int ddr: f80::25:56ff:fe8:c0/64 copeLink
         UP BROADCAST RUNNING ULTICAS  MT:1500 Metrc:1
         R packets68165 rror:0 drpped: ovrruns: frae:0
       TXpackts:30435 eros:0 drpped0 overuns carrir:0
         clisions0 txueueln:100
         X byts:5109531 (86.4MiB) TX bys:13871899 132.2MiB)
         Iterrut:59 ae addres:0x000

lo      ink ncap:ocal ooback
        iet ar:1270.0  Ma:25..00
        inet add ::1/28 Sope:Hst
        UPLOOPACK RNNIG MTU643  etic:1         X pakets:6751err:0 roppe:0 ovrruns:0frame:0
       TX pakets375 erro:0 dopped: overruns0 arier0
      coiions:0txquulen:      RX bes:474105 (46.5 MiB)  TX byes:47410 (41.5 Mi)

dev@easproddb ~]$ l
baslineds.s df-s.tx  logdf.sh mad-1_-beta.baku  elicton-tol.tgz  sfmaps.baku  yesrip
[dv@asroddb~]$




















_veasproddb:~[dev@aspddb ~$ lscreelog.0-l
[00mrw-r-r--  devdev 85 Au  5 1:40 00mscreenlog.[00m
[mdev@aprob~\ev@esproddb ~]$ ess sceenl.0 
?10h[?1=
3mESC[23m_dv@easpoddb[3mS[2\[devesprdd ~]$ 
[mESC[3m_d@esddb[3mEC[23\[dev@easprodb ~]$ls
3mES23m0m[3ESC[3m[01;32maslne_ds.sh3mES23m0m  3mESC23m[00mhardopy.3mES[230m  3mESC[23m[0mmad-1_0-bea-.bakumESC[3m[m  [mESC2m[00msreelog.03mES[23m0m  � [3SC[3m[00mypescipt[3ESC3m[0m
[ESC[3m[00df-logs.tt3mEC23m[m    [3SC[2m01;2mogdf.sh[mESC[3m[0    mES23m[131meplication-tols.g[3mC[2m00m[3mEC[23m00sfmapsbckup[mESC[2m[m
3SC[23[m[3mESC[2m_v@easrod~[3EC[3m\[dev@easprodb ~]$cacreeog.0
[3^[2
[3mESC[23m_dv@easprddb:~3mES[2m[dv@aspoddb ~]$ [3mM[23m[3ES[_e@asprdb:[3mESC[23m\[ev@easroddb ]$ l[3^[23m
[3ESC[2m[00m[3mESC23m0132bsen_dbh[mESC[23m[00m  [3mES[2m[mhadcopy0[3mSC[2m[0m[3ES3m0mad_0-et-2bck[3mC[2m[00 [3ESC[3m[0mcrenlg0[mSC3m[0m    [3SC[00ypecript[3mES[m[0[3mM[23
[3ESC[2m[0df-s.tt[mSC23m[0m     [3SC[230;2mlg.shmESC[3m[0m   [3ES[23m[0;1mepliton-ols.tg[3mSC[2m[00m[3mES[2[0msmaps.ckup[mESC[23m[0m3mM[m[3mSC[2m[m[mESC[m_dev@spodd:~3mESC[2\dev@spodb ~$ at c3mESC[3m_dveasrodb[3mC[m\[de@easprodb ~]$ls l
[3SC[m[00total10974
-r-rw-r-- 1 dev dev    14 un 12:2 [3mSC[2m[01;3mbelinedb.sh[ESC23mm
-rw-r-  dv dev  7967 Jl 1 17:3 [3SC[3m[0mdf-log.txt[3mES23m0
-r-r-  dvdv   137 Ag 5 138 3mC3[0hrdp0[3mESC[23m[00m
-rwr-r-1dde     8 Jl 181:55[mESC[m[01;3mlogf.h3mS[2300m
rw-rwr- 1 de ev 467666ov 8 200 [3mES[23m[0mmad1_bta-.acku[3mEC[23[00m
-rr--r--1 de de    902Au  5 37 3ESC[2m[01;3mrepican-to.tg[3mES[23m00m
--rwr--1 de ev     87 ug 5 13:38 [3ESC2m[00mceenl.0[mEC23m0m
rw-rwr-1 devev 647985eb 209:4 3mES[23m00mfapscku[ESC[23m[0m
-w-r-r-- dev de    730 ul 208: [3EC[3m[00mtyescript[3mESC3m[00
[mSC2m[m[mSC[2mdv@eaproddb:~[3mESC23m[de@aprob~]$cat hrdcpy.0 
[v@eapoddb~]$ hstnam
easprodb
[e@eaprd ~] eho$EM
creen
dev@eaproddb~]$ ls
bseineds.h  dfos.xt  logf.s  mad-_0bt-2.bckp  rplicaio-tols.gz  fmsac  tpescript
[dev@easprodb ~]$ sbinifconig
eh0      Link encap:Ethernt  HWadr 0050:5680:00C0
          inet addr:1.250.60196 Bcast10.25.60.255  Mask:255.255.2550
        inet6addr:fe80::250:56ff:fe80:c0/64Scope:Lnk
        UPBROADCAST RUNNING MULTICAT  MTU:500 Metri:1
         RX packets:685165errors: droped:0overrns:0 frame:0
          T packet:30735 erors:0dropped:0 overruns:0 carrer:0
        clisios:0 txqueuelen:1000
         RXbyte:51009531 486.4 MiB)  TX bytes:13874899 (12.2 iB)
        Interrupt:59 Base addrss:0x200

lo       Lnk encap:Local Loopback
        ine addr127.00.1 Mask255.0.0.0
         int6 adr: :1/128Scope:Host
          UP OOPBACKRUNNNG  MU:1646  Metric:1
          RXpackets36751 errrs:0 roppe:0 overuns:0 frame0
        TX pakets:67551 errors:0 dropped:0 verruns0 arier:
         collisions:0 txqueulen:0
[3msreenlg.0 23m[K
[K...kiing...
[3mES[23[3mES[3mEC[23m[23m[00mdf-logs.txt[3mESC23m[mESC3mESC[23m[23m[0m      [3mESC[23m[3mSC[mESC23m[2m[1;32mlogdf.sh[3mESC[3m[3mES[3mSC[2m[23m00m    [3mESC[23m[3mESC[3mESC23m[3m[01�31meplication-tools.tgz[3mEC[23m[mESC3mES[23m23m[00m  [3mESC[23m[3mEC[3mES[23[23m[0msfmps.backup[3mESC[23m[3mEC[3mEC[2m[23m00m
[3mESC[23m[3mESC[3mESC3m[23mm[3ESC[3m[3mSC[3mESC[23m[23m_dev@eaproddb~[3ESC[3m[3mSC[3mESC[23m[23m\[dev@esprodd ~]$cat sreenlg. 
[3mESC23m[3m^M[mESC[3m[2m
[mESC23m[3mESC[3mESC[23m[23mdev@easrodd:~[3ESC[3m[3mESC[3mESC[23m[23m\dev@easrodd ~]$ [3mES23m[m^M[3mESC[23m[23
[3mEC[2m[3mEC[3mSC[23m[23m_dev@easproddb~[3mE[23[3mES[3mEC[23m[23m\[dev@easproddb~]$ ls3mES[23m3m^M3mESC[23m[23m
[3mESC[3m[3mES[3mSC[2m[23m[00[3mS[23m[3ESC[3mESC[23m[23m[1;32mbaseline_dbs.sh[3mESC[23m[3mE[3mESC[23m[23m[00m  [3mESC[23m[3mESC[mESC[23m[23m[00mhadcopy.0[3mESC[23[3mESC[3mES[23[23m[0m   [3mESC[23m[3mESC[3mESC[23m[3m[0mmad-_0-bea-2.backup[3mESC[23m[3mSC[3ESC23m[2m[00m [3mESC[23m[3mESC[3mES[23m23[0mscrenlog0[3mESC[23m[3mEC[3mE[2m23[m   [m 0m[3mESC[23m[3mEC[3EC[23[2 �m[00ypescpt[3mESC[23m[3mESC[3SC[2m[23[00mmESC[23m[3m^M3mESC23m[23m
[3mSC[3m[3m[3EC[23m[23m[00mdf-logs.t[3mS[3[3mSC[3ESC[23m[2m[00m      [3ES[m[3SC[3ESC[m[23m[01;32mlogdf.sh[3mSC[23[3mEC[3mSC[2m[23m[00m   3mESC[23m3mESC3mES[23m23m[0; �1mreplication-toos.tz[3mEC[23mEC3mSC[23m[3m[00m  [mESC3m[3SC[mESC23m[2m0msfmaps.backup3mESC23m[ESC3mESC[23m[m[0m[3mESC[2m[3^M[mES[3m[2
[mEC23m[3mES[3mE[23m[23mm[3mEC[2m[3mC[mS[23m[3mdev@eaprdb~[mEC2m[3mEC3mSC[23m[23m\[dev@easprodd ~]$ ct sc[3mS[23m3mEC[mESC[23m[23m_eveasro:~[3ES23m3ES �C3mSC[2323m\ev@easrodd ~]$s -l
[3mEC[23m3mES[3mE[2m[2[00toal10974
-rwr-r--1 devdev   1418 un   12:2 [3mC[23[3mEC[3mSC[2m23m[0132mbselin_dbs.h[3mEC[2m[3mEC[3mS[23m[3m[0m
-r-rw-r- 1 de dev 79652Ju 8 17:4 [3ESC[3m[3mSC[3mSC[3m23[0m-ostx[3mSC[2m[3mEC[3mEC[2m[23m00m
r-rw-r- 1 dv dev    176 Aug 5 1:38 3mESC[3m[3EC3ESC[3m[23[0mhaop.0[3ESC[3[mESC[3mE[23[3m[0m
-rxr-x- 1 ev de       Jul8 1455 [mESC[3m[3ESC[mESC2m[2m1;3logdfsh[3ESC[2m[3mSC[3ESC[3[23m[0m
-w-rw--- 1 ev dev4637665 Nv  8 210 [3ESC23m[3ESC[mESC[3m[2m[00mad-1_-eta-2.acku[3mEC[23[3mESC[3mEC[23[23m[
-rw---r- 1 de dev    909 Aug 5 1337 [mSC[23[3mEC[3mSC[2m[23m[1;31repliationtols.g[3mSC[2m[3EC[3mEC[m[23m00m
r-rw-r- 1 dv dev     17 Aug 5 1:38 3mESC[3m[3mEC[3ESC[3m[23[00msreelog.03mSC[2[3mE[3mSC[2m[23m00m
-rw-rw-r-- 1 dev de649795 e24 0:9mESC23m[3SC[3mESC[3m[23m00msmapsacup[3mSC[23m[3ESC3mESC23m[3[00m-rw---r--1 dev ev   770 Jl2 08:3[ESC[3m[3mSC[3mESC[2m[23m[0mtyesri[3mS[3[3mE[3ESC[m[23[0m
[3mESC[23m[3mESC[mES[23m[3mm3mEC[2m[3mEC[3mS[23m[23m_dev@easprodb~[mESC[3m3mESC3mES[23m23m\[ev@easprodb ~]$ cat harcop.
[eveasprd ~$ hosname
easprddb
[dev@esprob ~ echo$TRM
sceen
dev@aprodb ~$s
baseline_db.sh df-lostx logd.sh  ad-1_-beta-.backu relicton-tols.tgz  sfmaps.backup  tpeript
[eveasproddb ~]$ sbin/icong
et0    Lin enca:Eheret  HWdr00:5:56:80:0C
       ineadd:0.0.60.96  cast:0.2560.255Mas:25.55.2.0
        inet6 ddr:fe80:50:5ff:fe0:c/4 Scop:Lnk
         U BROADAS UNNI MUTCAS MTU500  trc:1
       R ackts:68165 error:0 droped:ovuns:0fam:0
        TX pacets:7435rror:0 drped: overns:0carier0
       collsions0txquuelen1000
       RX yte500731 (864 Mi)  TXbtes137189 (1.2 i)
      nerupt5 Basaddrss:x200
lo     ink ncapLocalLopbck       iet dr:10.0.1 as:25..0.0
        inet adr 12 So:ot
      P LOOPACK UNNIN MTU636  tri1
    X pakes675 err: doped:0vrrns:0 rae:0
        TX pakts36751ers:0opd0 oerus:0 crier0        colisios:0tueule:
[3SC[3m[mscreenog.0[mE23m[3[mSC2m[K
[3m(D) [23[
[?>?049l_dev@asprod:~\[dveproddb ]$s
[0m[0;2mbseinbs.sh0m [00mardcoy.0[0m  00ma-1_0-eta-2.backup[00 [0mseelo.0[0m  [00mpescipt[m
00mdf-g.txt[0m     [;3logdf.sh[00m    [01;3melicton-tol.tz[0  [00msmaps.ackup[00
m_dev@easprodb:\[devaprodd~]$ar xz reicatio-tols.gz
rplictio-tols
eplicaion-oos/OO
elicaton-toos/config/
repcato-tol/cfig/EDME
replcation-ools/config/pg_ha.cnf
reliation-olsconi/pstreql.cf.addiions
rpliation-os/onfg/revryconf
replication-tool/READ
eplicaio-toolsscits/
epliion-olscrip/pirrictnonf
epliationtoolsscriptswal_arciv
repicatio-tols/sciptspg_reyn_rplic_
repliation-ool/scriptsgresyn_rplica
replicatin-toolscrptspmtetomaster
relicati-ols/scripts/cp16mbonly
elicatn-tls/LENSE
dev@espoddb:~[dvesprod ~$cd rep�lication-tools
_dev@esprod:~/lictio-toos\[dev@easpodd replication-tools]$ cd cnfig/
_de@easpddb:/plication-tools/cofig\[dev@easproddb cofig]$ s
[0m[0mpg_ha.con00m  [00mpostgresqcof.aditions[00m  [00mREDME[0m  00mreoveryconf[00m
[m_devesprdb:~/replication-tools/cnfig\dev@asprodb conig$ vim ecovey.conf 
[?1049h[?1h=1;5034l34h[25h[3m[24m[0m[H[J[?25l[0;1H"ecovry.cof" 
recoverycon" 3L, 1712C[1;1H34m#restoe wi a simple copy[0m
restoe_commnd =[31mcp/vr/pgsql/wal_archive/f %p0m

[m# dlete nneeded archive files[0m
archv_clenup_cmmand= [31m'/opt/local/bin/parhveeanp /va/pgsq/wal_archive %r'[0m

34m# ue steami replction[0m
standby_mode  [31m'n'm

[3m#fail over when the RINGU file eists0m
rigge_file = [31m'/var/pgsql/RINUP'[0m

[3m# thbelow needs to be change to thecorrct IPaddres onach server
# it istheconectin infrmatin for the other sever[0
rimay_coninfo= [3m'host=10.100.23.97 ort=432 use=repiasr'[0

[34m#-------------------------------------------------------------------
# The replicatin-tools pckage i licned nder he PostgreSQL Licene:
# 
# Copyright (c) 2010-011, PotgreQL, Eperts Inc.
# 
# Permisionto use, copy,modify, anddisribe tis sotwareand its
# documenttiofor any purpose, withoutfee, an witout awrittn agreement is
# hreb granted, providedthat te aboecopyight otie ndthis pagrap
# and the following twoparagrahs apear n allcopies.
# 
# IN NO EVEN SHALLOSTRESQLEXPERS, INC. B LIABL TO NY ATY FO DIRCT,
 INDIECT, SPEIAL, ICIDETAL,R CONQUENIAL DMAGES INCLUDNG LOS
# ROFI, ARIIG OU OF TE USEOF THI SOFTWRE AD ITSOCUMNTTION EVEN
# IFPOSTGSQL EPERT, IN HS EEN AVIED OF THE POSSIBLITY  UC
# MAGE.
# 
# POSTGRESQL EXPERTS IN. PECIICLL DISAIM ANY ARRANIES, INCLDING, UT
 NOT IMITE TO, THE IMLIE WARANTIS OF MRCHATABLTY AN FITESS FR A
#PATICUARPUROE.THE SFTWAR PROVIDED EREUNDE IS NAN ASIS ASIS,# N POSTRES EXPERS, INC.HS NOOBLIAION TO PVIDEMAINTENNCE,
# SUPORT, UDATE, ENHNCEMETS, OR MODIFICATIONS.[0m
[134m~                                                                                                          [39;1H                                                                                                    [40;1H~                                                                                                    [41H~                                                                                                            [4;1~                                                                                                       [;1H~                                                                                                         [44;H~                                                                                                         [4;1H~                                                                                                         [46;1H~                                                                                                           [7;1~                                                                                                               48;~                                                                                                         [491H~                                                                                                         0m[5;115H,          ll[11H[3h[?25[?2l[50115H21         Al[2;H[34[?25h?25l[50;15H3,0        Al[3;H[34?25h[25l50;11H4,1         Al[4;1[34h[25h[?2l[5;115H,0-1      All[3;1H[34h?2h[25[50;1H2,        All[21H[4h[?25[?25[0;1H,17      ll[;17H34h[?25h?25l[5;115219        All2;19H[34h[?25[?5l[50;15H,20          Al[2;20H[4h[25[?2l[50115H2,23          All[;23H[34h[?25h[25l[50115H2,2         ll[2;24H[3h[?25h[?5l[50;1152,27        ll[2;2[3h[?2[?25l[50;115H2,28         All[2;28H[34h[?2h[?25[50;15H2,3         Al[2;33H[4h[?25h?25[50;115H2,4         Al[2;4H[34[25h[?2l[50115H2,45          All[2;5H[34h[?25[?25[50;1152,47        All[2;47H[34h[?25h[?25l[50;115H2,49          All[2;49[34h[?25h[?25l[50;1H[K[50;1H:[34h[25hq[?25l
:q[34h[?25h[?25l
:[50;2H[K[50;1H:[34h[?25h�[?25l[114C2,49          All[2;49H[34h[?25h[?25l[50;115H3,0-1         All[3;1H[34h[?25h[?25l[50;115H2,49          All[2;49H[34h[?25h[?25l[50;115H3,0-1         All[3;1H[34h[?25h[?25l[50;115H4,31          All[4;31H[34h[?25h[?25l[50;115H5,49          All[5;49H[34h[?25h[?25l[50;115H6,0-1         All[6;1H[34h[?25h[?25l[50;115H7,27          All[7;27H[34h[?25h[?25l[50;115H8,19         All[8;19H[34h[?25h[?25l[50;15H9,0-1         All[9;1H[34h[?25h[?25l[50;115H10,40         All[10;40H[34h[?25h[?25l[50;115H11,35         All[11;35H[34h[?25h[?25l[50;115H12,0-1        All[12;1H[34h[?25h[?25l[50;115H13,49         All[13;49H[34h[?25h[?25l[50;115H14,49         All[14;49H[34h[?25h[?25l[50;115H15,49         All[15;49H[34h[?25h[?25l[50;115H15,44         All[15;44H[34h[?25h[?2l[50;115H15,43         All[15;43H[34h[25h[?25l[50;115H15,39         All[15;39H[34h[?25h[?5l[50;15H1,6       All[5;36[34[?5h[?5l[5;115H15,35         All[15;35H[34h[?25h[?25l[50;115H15,33         All[15;33H[34h[?25[?25l[50;115H15,32         All[15;32H[34h[?25h[?25l[50;115H15,9        All[15;29H[34h[?25h[?25l[50;115H15,28         All[15;28H[34h[?5h[?25l[50;115H15,26         All[15;26H[34h[?25h[?25l[50;115H15,27       All[15;27H[34h[?25h[?25l[50;115H15,26        All[1526H3h[?25[?2l5;115H5,27       ll[1;27H34h[?25h[?25l[50;115H15,28         Al[15;28H[34h[?25h?25l[0;11515,29         All[15;29H[34h[?25h[?25l[50;115H5,30        All[15;30H[34h[25h[?25l[50;115H15,31         All[15;31[34h[?25h[?25l[50;115H15,32         All[1;32H[34h[?25h[?25l[0;115H15,33         All[15;33H[34h[?25h[?25l[50;115H15,34         All[15;34H[34h[?25h[?25l[50;115H15,35        All[15;5H[4h[?5h[?5l[50115H15,36         ll[15;36H[3h[?25h[?25l[50;155,37         All[1537H[34[?25h[?25l50115H15,38         All[15;38H[34h[?25h[?25l[50;115,37       All[15;37H[34h[?25h[?25l[50;115H15,36         Al15;36H[34h[?25h[?25l[50;115H15,35         All[15;35H[34h[?25h[?2l50;151,34         All[15;4H[34h[25[?5l[50;1515,33       ll[15;33H[4h[?25h[?2l50;15H15,32         All[15;32H[34h[?25h[?25l[50;115H15,31        All[5;1H[34h[?25h[?25l[50;115H15,30        All[15;0H[34h[?5h[?25l[50;115H15,29      Al[1529[34h[?25h[?25l[50;115H15,28         Al15;28H[34h[?5h[?25l[50;115H15,27         All[15;27H[34h[?25[25l[5;115H15,26        Al[15;26H[34h[?25h?2l[0;H[K501H:[34h[?2hq[?25l
:q[34h[?5h
[?2l50;1H[K[50;1H[?1l>[34h[?25[?1049l_de@esproddb~/eplication-tools/config\[dev@easproddbcofig]$ ls
[00m[00mpg_hba.conf[00  [0mpstgresq.conf.additins[00m  [00mREAME[00  [00mrecovery.conf[00m
[_dev@easproddb:~relication-tools/onfig\[dev@easproddb conig]$ cd../sripts
_dv@easproddb:~/replicationtools/sript\[de@easpoddb scripts]$ s
[0m01;32mc16mbnly[0m  01;32mpg_resync_replca[0m  [0;32mg_esnc_relica_91[0m  00mitr-rplicatin.cof[00  [0;32mpromote_to_master[00  [01;2mwa_archve[0m
[m_dev@easproddb:~/rplcatntols/scipts[de@easproddb scripts]$ m it-repicatin.conf 
[?1049h[?1h=[1;5[4l34[?25h[23m[24m0m[H[J[?25l[50;1H"it-rplicatin.onf" 
"pit-replcation.conf" 122L, 4577[1H[3m Cnfigurtionfile or PITR or replicatin n ostgreSL .0
# ower pg_rsync_relica pomoe_o_aster ad al_arcie

# Vrsin 1..  Last updated2011-0217

# opyrght () 2010-2011, PostgreSQL Expert, nc
#Licesed uder The PostgreSQL Licnse; se
 http:/wwwpostgesql.org/about/licenc
# or heend ofthisfile or details.

# Wha operatngsystemis tis? W have some special-ase cod
 for dffernt OS.[0m
UNAME_S=`unme -s`
if[ $UNAE_S  Linu ]; then
  S=Liux
eli [$UNAMES = unOS  && uame -r| grep 5.11 > /ev/ull 2>&1 ten
  [34m# Discriminatebetwee Joynt's n-house versionofOpenSolaris
[0m  [34m#and themaintreamversion. Only way o do it: check the doman ame.[0
  f unae -n | grep -i joynt > /dv/null 2>&1; then
    OSJoyet[225H[34m# On Joyent sometimes you want to us svcadm somtimesyou do't 
[0m   [4m# Set this ariable accrdingly Recmmendd seting: false (i.e. '').[0m
    UE_SVADM=31m''[0m
  else
    OS=OpenSlaris
 fi
else
  OS=known
fi

[34m# mastr and rplic IP adresss.  These should be the sme                                                               [33;1H            
#o al seers In he evnt of failover nd prmotn                                                             [35;1H           
 o theeplca toa maser, yo wll ned tosap hese                                                                 [37;           
 adresses                                                                                                   [3;1H         [0m

MASTER=10.10.23.7
REPCA=1.100.3.76

[34# below houd ot eed o be hang for CentO                                                                   [4;H            [0m

GUSER=epliauser
PGDAA=/var/pgsql/data90
REPLCATIONLOG=va/l/pg_og/epiction.lo[50115H1,        Top1;1H4h[5h[?l50;152,1        Top[2;1H[34h[?2h[?25l5015H3,0-1        Top[;H[34h?25h[?25l[50;15H,1        Top41H[4h[?25h[?25l[5;115H50-1        Top5;H[34h[?25h[25l[5011H,1         Top[6;1H[34h[25h[?25[50;15H7,1           Top[7;1H[34h[?2h[?25l50115H8,1           Top[8;H[34h?25h[?25l[50;15H91       op[91H[34h[?25h[?25l[50;11H10,0-1      Top[10;1H[34h[?2525l[5;11511,1        Top11;1H[3h?2[?25l[50;115H12,1         To[2;1H[34h[?25h[?5l[501513,         op[1;1H[3h[?25h?25l[0;115H14,1       Top[4;H[34h[?25h[?25l[50;11H15,1        Top[15;1[34h25[?l[50;15H16,1         To[6;1H[3h[25[?2l50115H171      Top[;1Hh[?2h?25l50;115H18,1         Top[18;1H[3[25h[?25[0;115H19,1          op[9;1H[3h[?5h?5l[5;1152,1       Top20H[h25[2l0;115210-      Top211H34h?25h?25l50;11522,1        T[22;1H[34h[?2h?25l[50;115H23,1         Top[3;1H[34h?2525l[;115H241       To241H[34h[?25h[25[5;15H25,      Tp[251H[34[?25h[25l[5;11521          Top[26;1H[34h[?25h[?25l[50;11H2,1        Top[27;H[4h[?25h[?5l[50;115H21         op[28H[3h[?2h[?2l[50;5H91        Top[29;1H[34h[?25h[?2l50;15301          Top[30;1[4h[?25h[?25l[5;15H31,0-1        Top[31;H[4h[?25h[?5l[50;115H32,1          op[32;H[3h[?2h[?2l[50;115H33,1         Tp[34;1[34[5[?5l[0115H34,1          Top36;1H[34h[?25h[25[50;115H35,1       Top[38;1H[34h[?25h[?25l[50;115H36,0-        Top[40;1H[34h[?25h[?25l[50;115H37,1         Top[41;1H[34h[?25h[?25l[5011H381         Top[42;1H[34h[?25h[?2l[50;15H9,0-1        Top[43;1H[34h[?5h[?25l[5011H40,1          Top[44;1H[34h[?2h[?5l[50;1541,0-     Top[46;1H[34h[25h[?5l[50;11H40,     T44;1H[34h[?5h?25l[0;15H39,0-1     Top3;1H[34h[?25h[?5l[5011538,1      op[4;1H[34h[?25h[?55011537,       To1;1H[34h[?5h[?25[5115H3,2         Top[1;2H[34h[?2h[?25l50;15H37,3         Top[41;3H[34h[?25h[?2l[50;11537,4          Top[41;4H[4h[?25h[?25l[5;1535      op[4;5[4h[?25h[?25l50;1153,6         op[1;6H[34h[?25h[?25[50;11537,7         Tp[41;H[34h[?25h[?25l[5;115H37,8         Top[41;H[34h[?25h[?25l[50;15H37,9         Top[41;H[34h[25h[?25l[0;1H37,10        Top[41;H[3425h[?25l[50;15H37,11         Top[41;1[34h?25h[?25l[50;15H37,12         Top[41;1H[34h?25h[?5l[015H7,13       To[411H[3h?25h?25l50;15H37,14         Top[41;1H[34h?25h[?25l[50;15H37,15         Top[41;1H[34h?25h[?25l[50;15H37,16       Top[41;6H[3[?25h[?5l[0;115H3,17       To[41;17H[34h[?25h[?25l[50;115H37,18         Top[4118H[34h[?25h[?25l[50;15H38,1        Tp[4218H[34h[?25h[?25l[50;15H39,-1       op[4;1H[34h[?25h[?25l[50;15H40,8        Tp[4418H[3h?25h[?5l[0;115H1,0-1       Tp[46;H[34h[?2h[?5l[50;15H42,8         Top[47;18H[34h[?25h[?25l[50;115H43,18        Top[48;18[34?25h[?25l[50;11544,18         Top[49;18H[34h[?25h[?25l[1;49r[49;1H
[1;50r[50;1H[K[50;115H45,0-1        1%[49;1H[34h[?5h[?25l[1;49r[1;1H[2M[1;50r[48;1H[34m# directory where log files are copied to on the replica                                                                            [49;1H              [0m[50;115H[K[50;115H46,18          3[48;18H[34h[?25h?25l[1;49r[49;1H
[1;50r[50;115[K[50;115H47,0-1         5%[49;1H[34h[?25h[?25l[1;49r[49;1H
[1;50r[49;1HWALDIR=/var/pgsql/wal_rchive[50;115HK[50;115H4818          6%[49;18H[34h[?25h[?25[1;49r[49;1H
[1;50r[50;115H[K[50;115H4,0-1       7%[49;1H[34h[?25h[?25l[1;49r[49;1H
[1;50r[49;1H[34m###############################[0m[50;15H[K[50;115H50,18          8%[9;18H[34h[?25h[?25l[1;49r[49;1H
;50[491H[34m# Begin OS-peciic seting[0m50;15H[K[50;15H5118       10%49;18[34[?25[?2l[1;9r[9;1H
[1;50r[49;1H[34m################################[0m[50;115[K[50;115H52,18        11%[49;18H[34h[?25h[?25l[50;115H51,18         11%[48;18H[34[?25h[?25l[50;115H50,18         11[47;18H[34h[?25h[?25l[50;115H49,0-1        11%[46;1H[34h[?25h[?2l[50;115H48,18         1%[45;1H[3h[?2h[?2l[50;15H470-1      11%[4;1H[34h[?25h[?25l[50;115H46,18        11%[42;18H[34h[?25h[?2l[50;11H4,0-1        11%[41;1H[3h[?25h[?25[50;115H4418       11%[40;18H[34h[?25h[?25l[50;115H43,18         11%[39;18H[34h[?25h[?25l[50;115H44,18         11%[40;18H[34h[?25h[?25l[50;115H45,0-1        11%[41;H[34h[?25h[?25l[50;115H46,18         1%[42;18H[34h[?25h[?25l[50;115H47,0-1        11%[44;1H[34h[?25h[?25l[50;115H48,18         11%[45;18H[34h[?25h[?25l[50;115H49,0-1        11%[46;1H[34h[?25h[?25l[50;115H50,18         11%[47;18H[34h[?25h[?5l[50;115H51,18         11%[48;18H[34h?25h[?25l[50;115H52,18        1%[49;18H[34h[?25h[?25l[1;49r[49;1H
[1;50r[49;1H[34m#[0m[5;115H[K[50;115H53,1          12[4;1H[34h[?25h[?5l[1;49r[49;1H
[1;50r[49;1Hif [ $OS =[31m'Joyent'[0m ]; then[50;115H[K[50;115H54,18        13%[9;1834h?25h[?25l[1;4r[4;1H
1;0r[4;3HPGASE=/var/pgsql[50;115H[K[50;115H55,18         15%[49;18H[34h[?25h[?25l[50;115H54,18         15%[48;18H[34h[?25h[?25l[50;115H3,1          15%[47;1H[34h[?25h[?25l[50;115H52,18         15%[46;18H[34h[?25h[?25l[50;115H51,18         15%[45;18H[34h[?25h[?25l[50;115H50,8         15%[44;1H[34h[?25h[?25l[50;115H49,0-1        15%[43;1H[34[?25h[?25l[50;115H48,18         15%[42;18H[34h[?25h[?25l[50;115H47,0-1        15%[41;1H[34h[?25h[?25l[50;115H46,18         1%[39;18H[34h[?25h[?25l[50;115H45,0-1        15%[38;1H[34h[?25h[?25l[50;115H44,18         15%[37;18H[34h[?25h?25l[50;115H45,0-1      15%[38;1H[34h[?25h[?25l[50;115H6,18      1%3;1H34h[?5h[?25l[50;115H47,0-1       5%[11[34[?2h[?5l[5;11548,1       %4;18H[4h[?25h[?25l[50;115H49,0-1        15[43;H[34h[?25h[?25l[50;115H50,18         15%[44;18H[34h[?5[?25l[50;115H5,18         5%[45;18H[34h[?25h[?25l[50;115H52,18       15[6;18H[34h[?25h[?25l[50;115H53,1          15%[47;1H[34h[?25h[?25l[50;115H548        15%[48;18H[34h[?5h?25l[50;11H55,18         5%[49;18H34h[?25h[?25l[1;4r49;1H
[1;50r[49;3HPCTL=/otloal/in/pg_tl[50;11H[K[50;115H56,18         16[49;18H[34h[?5h[?2l[1;49r[9;1H
[150r[49;3HPSQL=/opt/local/binpsl[50;115H[K[50;115H57,18         17%[4918H[34h?25h[?5l;49r[49;1H
[1;50r49;HRSYNC=/opt/loca/bin/rsnc[50;115HK50;1558,1         18%49;18H[34h[?25h[?25l[1;49r[49;1H
[1;5r49;3HSSH=/usr/bin/ssh[50;115[[50;115H59,18         20%[49;18H[34h[?25h[?25l[1;49r[49;1
[1;50r[49;3HCP=/usr/bin/p[50;115H[K[50;115H60,6        21[4;6H[3h[?5h[25l[149[491H
[1;0r[4;1Helf [ $OS = [3m'Linux'[0m ]; then[50;15H[K[5;15H61,18         22[49;18H[34h[?25h[?25l[1;49r[49;1H
[1;50r[49;3H[34m# These settings are for CentOS. Other distributions my e different.[0m[50;115H[K[50;11H6,18       24%[49;18H[34h[?25h[?25l[1;49[49;1H
[1;50r[49;3HPGBASE/var/lib/pgsql[50;115H[K50115H63,18       25%[4918[3h?25h?2l[1;49r[4;1
[1;50r[49;3HPGCTL=/usr/pgsql-9.0/bi/p_ctl[50;115H[K[50;115H64,18         26%[49;18H[34[25h[?25l[1;49r[49;1
[1;50r[49;3HSQ=/ur/gsql-.0bin/psql[50;15H[K[50;115H6,18        249;18H34[?25h[?25l[1;49r[49;1H
[1;50r[49;3HRSYC=usrbin/rsync[50;11H[K[0;115H6,18         2%9;18H[34h[?5h[?25l[1;4r[4;1
1;50r[4;3HSSH=/usr/bin/ssh[0;15H[K[50;115H67,18         0%[49;18H[34h[?25[25l[1;49r[49;1H
[1;50r[49;3HCP=/bin/cp[50;115H[K[50;115H68,12        31%[9;1H[34h[?25h[?25l[1;49r[49;1H
[1;50r[491Hlse[5;115H[K[50;115H69,         32%[49;4H[34h[?25h[?25l[1;49r[49;1H
[1;50[9;Hecho [31m"Unrecognized OS."[0m[50;115H[K[50;115H70,18         34%[49;18H[34h[?25h[?25l1;49r[4;1
[1;50r[49;3Hexit 1[50;115H[K[50;115H718        3%49;8H[4h[?25h[?25l[1;49r[49;1H
[1;50r[49;1Hfi[50;115H[K[5;115H72,2          36%[49;2H[34h[?25h[?25l[1;49r[49;1H
[1;50r[5;15HK50;115H73,0-1        37%[49;1H34[?5h[?25[;49r[49;1H
1;50r[49;1H[34m# ame ad ocation of the file that stops archiving on the Master[0m[50;115H[K[50;11H7,18         39%[49;18H[34h[?25h[?25l[1;49r11H[2M1;0r[48;1HTOUCHFILE=$PGAS/noarhivin
[34m# Name and location of the file whichstps recovers on the slave[0m[50;115HK[50;115H75,18         41%4818H[3h[?25h[?25l[50;1576,18         41%[4;1H[4h[?25h[?5l[50;115H75,18         41%[48;18H34h?2h[?25l[50;115H74,18         41%[47;18H[34[25[?25;115H73,0-1        41%[46;1H[34h[?5h[?25l[50;115H72,2         41%[45;2H[3h?25h[?25l[50;115H71,8          41%[4;H[4h[25h[?25l[50;115H70,8        41%[43;18[4h[?25h[?25l[50;115H6,4         41%[42;4H[34h[25h[25l50;11H68,1         41%[1;12H[34h[?25h[?25[50;15H6718       41[0;18H[3h[?2h[?5l[5;115H6,18         1%[39;18H34h[2525l50;11H65,18       41%[38;18[34h[?25[?25[5015H6,18       41%[37;8H[3h[?5h[?5l[5;115H65,18         41%[;8H34?25h?25l50;115H66,18         41%3;1[34[?25[?25[0;115H65,18        41[3;8[4h[?5h[?5l[50;115H64,18        1%318H34h[25h[25l[50;11H65,18      1%[3;1H[3h25?25l[50;115H66,18        41%[9;18[3h?25h[?25l[50;115H67,18        41%40;1H[3[25[?25l[50;115H66,18      41[9;8H[3h[2h[25[50;115H65,18        [814h[h[?25l[50;115H64,8      %[3;18H34[25h[?25l[50;115H63,18       1%[6;18[4h?2h[?25l[5;115H6,18       41%37;18[4h[?2h[?25l[50;115H65,18      4%[38;1H[34[?2h[?25[50;115H66,1        41[9;8H[3h[?5h[?2[0115H7,8        4%[4018H[4h[?2h[?25[50;115H6812        1%[4;12H4h?25h[?5l[50;11H6,4         1%[4;4H[4h[?25h[?25l[50;115H7018        4%[318H[4h[?25h[?25l[50;11H718         4%[448H[3h[?25h[?25l[50;115H72,         41[45;H[34[?25h[?25[50;11H7,01       41%[46;1[34h[?25h?25l[5;15H74,18       41%[47;1H[34[?25h[?2l[50;15H5,1        41%[4;1H[34[25h[?25l[50;15H76,1        41%[49;1H[34[?25h[?25l[1;49r[1;1H[2M[1;0r[8;134m# nd brings it up as te ne mstr[0m
BRINGP=$PGASE/BRINGUP[50;115H[K[0;157,18       42%48;18H[34h[?25h[?25l[0;15H7,18       42%49;18H[34h[?25h[?25l[49r[1HM[1;0r[4;1H[4m# Locl estinatin file# ints o a fe containing a list ofmuted drctries o cop[m[50;15[K[50;15H9,8      44%[8;18H[34h[?25h[?25l[50;115H0,18       44%[9;18H[34h[?2h[?25l[149r[;1H[2M[1;5r[481H[3m# WA files o. If no sing, *o no leav empt*, just use the
# defaul and do't cete he fie[m[50;15H[K[50;11H81,18       46%[48;1H[4h[?25[25l[50;11H82,18       46%[49;1H[3h[?25[?25l[1;49r[49;1H
[1;0r[41HLOALDETINATINS_LIST=[31"$PGBAS/scrpts/lcal_dstinations"[0m[50;115HK[50;15H818      8%[49;18H[34h[?25h[2l[14r4;1H
[1;0[491H[3m#[m[50;15[[50115H4,1        49%[49;1H[34h[?25h[?5l[50;15H8,18       49%[48;18H[34h[?25h[?5l[50;15H8,18       49%[47;18H[34h[?5h[?5l[50;15H8,18       49%[46;18H[34h?25h[?5[50;15H8,18       49%[45;18H[34h[?25h[?5l[50;15H7,18       49%[44;18H[34h[?25h[?5l[50;15H7,18       49%[43;18H[34h[?25h[?5l[50;15H7,18       49%42;18H[34h[?25h[?5l[50;15H7,18       49%[41;18H[34h[?25h[?5l[50;15H7,18       49%[40;18H[34h[?25h[?5l[50;15H7,19      49%[40;19H[34h[?25h[?5l[50;15H7,20       49%[40;20H[34[?25[?5l[50;15H7,19       49%[40;19H[34h[?25h[?5l[50;15H7,19      49%[39;19H[34h[?25h[?5l[50;15H7,0-1      49%[38;1H[34h[25h[?l[50;15H722         9%[37;2H[34h[?25h[?25[50;11H71,        4%[368H[34h[?25h[?25l[50;11570,1        49[35;19H[34h[?25h[?25l[5011569,4        49[34;4[34h[?25h[?25l50;115H8,12       49%[33;12H[34h[?25h[?5l50;115H7,18       49%[32;18H[34h[?25h[?25l50;115H6,19       49%[31;19H[34h[?25h[?25l50;115H5,19       49%[30;19[34h[?25h[?25l50;115H4,19       49%[29;19H[34h[?25h[?25l50;115H3,19       49%[28;19H[34h[?25h[?25l50;115H2,19       49%[27;19H34h[?25h[?25l50;115H1,19       49%[26;19H[34h[?25h[?25l50;115H0,16       49%[25;16H[34h[?25h[?25l50;115H9,18       49%[24;18H[34[?25h[?25l50;1158,9      4%[23;19H[34h[?25h[?2550;15H719      9%[2219H[4h[?25h?25l50;115H6,19       49%[21;19H[34h[?25h[?25l50;115H5,19     49%[2019[34h[?25h[?25l50;1156,19      49%21;19[34[?25h[?25l50;15H719      49%[22;19H[34h[?2h[?2550115H,19      49%[23;19H[34h[?5h[?2l5;115H9,18      49%[24;18H[34h[25h[?5l0;1150,16       49%[25;16H[34h?25h[25l50;11H1,1       49%[26;19H[34h[?25h?25l50;15H2,9       49%[27;19H[34[?25h[?2550;15H319       49%[28;19H[3h[?25[?2l50115H,18       49%[28;18H[4h[?2h[?5l5;115H3,17       49%[28;17H34h[?5h[25l0;1153,16       49%[28;16H[34h[25h?25l50;11H3,15       49%[28;15[34h?25h[?25l50;15H3,14       49%[28;1[34h[?25[?2[0;15H6,1         49%[28;3H[34[?2h[?2l[5011H3,12     9[2812[3[?5[?5l[5;115H63,13       49[;13H[4h[25h[25l[;1156314     4%;1H34?25h?2l50;115H63,1        49%28;H[34[?25h[?25l50115H63,1        49%[28;1[34[?25[?25[50;115H63,1        49[28;1H[3[?2h[?2l[50;115H6417        4%29;7H[4h?h?5l0115H6,17     9%[01H34h[25h[25l[5;115H617       49%[;7H34h?25h?25l[50115H63,7       9%8;17[3h[?2[25[0;156318     9%2H3[2[25[0;11H6,19       49%[28;9H[3[22[0;156320     9[22H[52[0;15H6,21       %21H4[h[?5l[50;1H63,2    %822H34h5[25[50;15H63,21      9%282134h[25h[25l[50;115H63,20      49%[282H34[25h[25[;115H63,1       9[28;H3h[?25h[?25l[0;15H6,        4%[2818H[4h[?2h255011H63        [2;17H34h[25h?2[50;11H6,6      49%[8;16H[34h[?25[?25l50;115H3,15    4928;1H34h?25h?2l0;1H63,1      4%[2814H[34h[?25h[?25l[0;1H631      49%[8;13H[34h[?25h[?25l[;11H3,1      49%[2812H[34h[?5h?25l1H6,        4%[28;11[34h[?25h[?25[50;15610      49%[21H34h[25[?5l[5;11564,10       49[29;0H[34h[?25h?25l50;1565,       49%[30;10H[34h[?25[?2550115H6,1      9%31;10H[3h[?2h?25l50;15H67,0      49%[32;0H[3h[?25[?25[50115H610      49%33;1H[34[?5h[?5l[0;15694         49%[34;4H[34[25h25l50;1H70,        9%3510H[34[?25h?25[50;5H71         9%[36;8H[34[?25[2l5011H7,2        4%[7;H[3h?2h?5l[;153,0       49[38;1H[4h[5h[2l[;1154,10        4%[3;10H[3h[5?5l0;1175,10      49%[40;10[4h?25h?5l[0;157610       49%41;1H[34h?25[?5[0157710        49%42;0H[3?[?l[011578,10       49[430H[3h?5[?5[;1578,11        9%[411H[425h[5l0;1578,12       9%[3;1234h25h?25l50;15H7,13        49%3;13[34h[25h[?25l[50;115H78,14         49%[43;14[34[?25[?5[0115H8,15        49[43;1H[3h[?2h[?2l[5011H7,1      4[36H[h[?5h[?5l[5;115H8,17       %[47H4h[25h[25l0;15H7,1       49%[;18H34h?25h?25l50;115H78,19       49%3;19[34h[?25h[?25l[50;115H7,20        49%43;2[34[?25[?25[50;115H78,21       4[43;H[3h[?2h[?2l[50;115H8,22        4[432H[4h[5h[?5l[50;115H78,23        %[423H34h[25h[25l[5;115H7822       9%[;22H[34h?2h?25l[50;115H78,2      49%321[34h[?25h?25l[50;115H78,20       4%[4;2[34?25h[?25l[50;115H7,1      9[43;9H[3h[?25h[?25l[50;11H78,8       4%[4318H[4h[?25h[?25l[5;115H7817      %[4;17H34h[?25h[?25[50;15H77       9%[4;17H[3h[?25h[?2l[50;15H,17      49%45;17[34[?25h?5l[501151,17      49%[46;1H[34h[?25h[25l[5;1182,17      49[47;7H[34h[?25h?25l[0;1H83,1       4%[4817H[34h[?25h[?25l50;5H84,        9%[4;1H[34h[?25h[?25l1;4[49;H
;50r[49;1[34m###########################[0m50;11H[K[50;115H8,17      50%[9;17[34h[?25h[?25l[1;49r[9;1H
[1;r[491H[m# Ed OS-pecific settins[0m50;5H[K[50;5H8617        5%[49;1[34?2h[?2l1;9r[1;1H[2M[1;50r[4;1[3m#######################[0m[0;15H[K[50;15H8717        54%[48;17H[34h[?2h[?2l[5;115H8,0-1       54%[49;1H[34h[?5h[?5l[;49r49;1
[1;50r[49;1H[34# Shold weuse SH o ullync[[50;115H[K[50115H8,7      5%4917H[4h[?2h[?25l49r49;1
10r[9;1HUSE_SSH_SYNC=yes[50;1H[[5015H9,6       56%[9;16H34h[?5h[?5l[;49r49;1H[1;50r50115H[K[50;15H91,-1      8[41H[3h[?2h[?25[1;4r49;H
1;50r491[34m# rsync options.  sallyiclds cmresin[0[50;115[K[5;1159,17       59%[49;1H[34h[?25h[?5l1;49r[4;1
[150r[9;1HRYNC_OPT[31m"[0m[50;15H[K50;1H93,      0%[4912H[34h[?25[?25l[1;4r[1;[2[1;50r491H[34m# rsyncserversha name if ing0m[5;115HK[50;1H94,0     6%[481H[34h[?25h[?25l[50;15H5,1       6[4917H[34h[?25h[?25l[1;4r[49;H
;50r49;1RYNC_SERVR=[31""[0m50;15K50;11H9,1         64%[49;15H[4h[?2h?5l[149[9;H
[1;50r[9;1HRSNC_PAS=[31""[m[50115H[50;115H9713       %[49;3H[4h[?5h[?l[1;4r[4;1H
[1;50[50;1H[K[5;15H9,-1        67%[49;1H34h[?2525l[1;49[49;H
[1;5[49;1[34# SHOptis[m50115HK[50;15H99,13         6%[49;3H[4h[?5h[?5l[1;49r[49;1H
[1;50r[4;1HSHOT=[3m"[m50;115[K[50;15H10010       6%[4910H[4h[?2h[?25l1;9r[491H
[;50r[50;1H[K[0;11H101,-1      71%[49;1H[4[?2h[?25l[1;49r[49;1H
[1;50r[;1H[3# -------------------------------------------------------------[0m[50;115[K[5;1151021      72%[49;17H[34h[25h?5l[;49r49;1
[1;5r[49;1H[34# Threplictiontoolpakae i licensed underthe streSL Liene:[0m[0;115H[K[50;11H103,1      3[9;17H[34h?25h[?25l[1;4r[49;H
[1;50[91H[3m# [m[50;11HK[50;15H142      7%[492H[3h[?25h[?2l[50;15H1317     7%[4817H[4h[?25h[?5l[50;15H1,17     5%[;1734h[?25h[?5l[50;15H11,0-1    5%[6;H34h[?25h[?2l[50;15H1,10      5%[5;10H[34h[?25h[?2l50;15H13     5%44;13[34h[?25h[?2l[50;159,0-1    75%[43;1[34h[?25h[?2l[50;159713      5%[42;1H[34h[?25h[?2l[50;1H915     75[41;5H[3h[?2h[?5l[515H5,1      7%[4017H34h[25h25l5;194,-      5%[3;1H[34h?25h[25l[505H3,2      5%[3;1H[34[?2h[2l[50115H217     75%[717H[4h[25h[25l[115H,0-1      75%6;1H34h?25h?5l5;15H9,16     75%35;16[34[?25[?5[0;15H,17     75[34;7H[4h[?5h[?5l50;158,01     5[3;1H34h[25h[2l50;15871      5%[2;17[34h[?25h[?2[5;15H817       5%[31;7H3h[?2[2l[50;15H8517      %[3;17H34h25h?2l[0;1H841       5%29;1H[34?25h[?25[50;15H831     528;7[3h[?25h[?2l[50;15H821      %[27;1H[34[?25h[?2l50;15H,     75[26;7H[3h[?25h[?5l[5015H,7     7%[27H[4h[?25h[?5l[50;15H717      5%[2;17H34h[?25h[5l[50;15H7,17      75%[3;17H[34h[?25h[?5l[50115H9,17      75%24;17[34h[?25h[25l[501150,17      75%[25;1H[34h[?25h[25l[5011H1,17     75[26;7H[34h[?25h[25l[5;1582,1      7%[2717H[34h[?25h?25l[5;1583,7      5%[2;17H[34h[?25h?25l[51158,1      75%29;1H[34h[?25h[25l[5115H5,17     75%[30;17H[34h[?25h[25l5;1186,7      7%[31;17H[34h[?25h?25[5;158,17     75%[32;17H[34h[?25h?5l[;1188,0      75%[33;1H[34h[?25h25l[;1189,1      75%[34;17H[34h[?25h?25l[5;159016      75%[35;16H[34h[?2h?2l[5;1151,0-      75%[36;1H[34[?5h25l[5;11592,17       75%[7;1H[3h[25h?5l[5;11593,12     75%[3812[34h[?25h?25l[0;1194,0       75[39;1H[34h[?25h?25[5;11595,17       75%[40;1H[4h[?2h?25l[;1596,15       75%[41;5H[3h[?5h?5l[;11H97,1        75%[4;13H34h?25h?25l0;11H98,01       75%43;1H[34h[?25h?25l[;1599,13       75%[44;1H[3h[?2h?2l5;1510,1      %[50H34h[25h25l0;11H01,1  7%[;1[34225[;115102,1      75%47;1H[4[?25?25l[5;115103,1      75[4817[4h?h?25l[0;11H104,       5%[9;2H34h[25h?25l[19r49;1
1;0r[49;H[34# opright(c) 201-201, PoseS,Expets, Ic.[0[0;15H[K[0;11H105,7     7[49;7H[3h[?25h[?25l[;49r[49;
[15049;1[4m#[0m[50115H[K[50;15H0,2      78%49;2H[3h[?25[?25l1;49[9;
[;[491H3# Permisson to ue, cp, mdiy,ad disribut thi softwre and ts[[5015H[50;15H1,7       9[49;17H[3h[?25[?2l[1;9r[4;H
[1;0r[9;1H34m#ocumeatin fny prpose, withou fee, ad whout  wrien aremet is[0m[50;115H[K[501H1087      %[417H[3h[25h[?25l[1;9r491H
[1;504;[34m herey graned,povidedthattheave cpyightnotie andthis ragra[m[50;15H[K50115H10917      82[49;7[3[?25[?5[149r[49;1H
[1;50r[9;H4m#nd t folwing wo aragraphs ppa n l cpes.[m[5115H[K[5;115H10,1      83[4917H[4h?5h[?5l;49r49;H1;59;1[34m [0m[50;115HK[50;15H1,      4[49234h[?25h[?25l[1;49r[4;1H
[5[4;1[4m I NOEVET SHALL POSTGRESQ EXPER IC. EIBL T ANY PRT FOR DIECT0m[5;15[K[011511,17       8%[417H[4h[25h?5l1;4r[4;1H
1;50r[491H[m# INDRECT SPECA,CIDENTAL, OR CONSEQUENTIA DAMAGS, ICLUDIG LOS[0m[5;115H[K[50;115H1,1      87%49;17[34h[?25h[?25l[1;49r49;1H
[0r[4;1H[4m# PRFITSAISINGOUT F THESE O THISOFTWRE AN IS DOUMNTAION,EVENm[5;115H[K[5;115H114,17       89[417H[4h[5h[25l;9r[49;1H
;50r[9;H34mIF OTGRSQL EPERTS, INC. HASBEN VIEO E PSIBIIT O SUH[0m5;115HK50115H11,17      90%[9;17H[34h[?25h[2l19r4;1H
[;5r491H34m#DAMG.[0m[5015H[K[5;15H1,9     91[49;9[34h?25[25l[1;4r[9H
1;5r[4;1H[4m# 0m[0115H[K[;1151,2      3[4;2[4h25h[?5l[;49r491H
[;50r[49;1[34m POSGRESQLEXPETS, IC.SPIFALL DISAMS NY WRRANTIS, ICLUDG,BU[05011HK5011518,17     9%497[3h[?5h[?5l[1;9r49;1H
[1;0r[4;1[m# NOTLIMITED TO, THE IPLED ARRTIE MEHANTABILITY AND FITNSS RA[0[5015HK[50115H19,1     9%[7H[3[5[?5[149r[49;1H
[1;50r[49;[34mPARTCUARPROE. THE SOFTWARE PROVIDED EREUNDR ISON AN"AS I" BASIS,[0m[0;115H[K50;115120,7       97[49;17[34h[?25h[?25l[1;49r[49;H
[;50r49;1H[34m# AND POSTGRESQ EXPERS, IC. HA NO OLIGATIONS TO PROVIDE MAINENANCE[0m[50;15H[K[50;115H121,17        98%[49;1H[3h[?2h[?2l[1;49r[49;1H
[;50r49;1H34m#SUPPOT, UPATES, ENHANCMENTS, OR MOIFICATONS.[0m[0;115[K[50;115H122,17       Bot[4;17H[34h?25h����������[?25l[23m[24m[0m[H[J[3m[2m[0m[H[J[1;1H[34m# on all ervers  Inthe eent o failover and promotion                                                                   [2;1H              
# ofthe relicato a aster you will need to swap thse                                                                   [4;1H              
# addrsses                                                                                                           [6;1H             [0

ASTER10.10.23.97
REPLICA=10.100.2376

[34m belo shoud not need to be changed or CenOS                                                                            [12;H            [m

GUSER=replicauser
PGDATA/var/psql/ata90
REPLCATION_LOG=/var/log/pg_lo/repliatio.log

[3m# directory where log fies arecopid to n thereplica                                                                     [1;1H            [0m

WALDIR=/var/gsql/wl_arhive

[3m##############################
#BeinOS-spcific settings
############################[0
if [ $OS = [31m'oyent'0m ; th
  PBASE=/var/pgsql
  PGCTL=opt/loal/bn/pg_tl
PSQL=/opt/local/in/psql
  RSYN=/op/loca/bin/sync
  SSH=/usr/bin/ss
  CP=sr/bn/cp
elif $OS = [31m'Linux'[0m ] then
  [4m# Tese stting are for CentOS. Oter disibuions ay bedifferent.[0m
  PGASE=var/li/pgsl
  GCTL=usr/pgsql-9.0/bi/pg_ctl
  PSQL/usrpgsql9.0/bn/psql
  RSYNC=/usr/bi/sync
 SSH/usr/in/s
  CP=/bn/cp
else
  eho [3m"Unecognzed O."[0
  exit 1
fi

34m# me ad loction f the file tha stops rciing n th Mastr[0
TOUCHFILE=$PGBASE/no_arciving
[34# Nam and ocation of the file whichstops ecovrs onthe save[0m[50;115H75,1         41[481H[3h[?2h[?25l[1;3H[34mPowers g_resyc_relica,promoe_to_master and wal_archie[0m1;62[K[;1H[[3;3H[34mVersion 1.6.  st upated2011-2-17.[0m[3;41H[K[4;1H[K[53H[34Copyight c) 200-2011, PostgreSQL, Expers, Inc[0m[5;53[K[;1H[34m# Licened under he PosgreSL Licnse; ee
# http://www.postgresl.org/boutlicene
# r the end of this file fo detais.[m[9;H[K10;1[34m# What operatin syste is his? e hav some special-case code
 for dffernt OS.[0m[11;21H[K[12;1HUNAME_S=uname s`
f [ $NAME_ = Linux ]; then
  OS=Liux[1411HK[151Heli [ $UNAME_S = SunOS ] && name - | gep 5.1 > /ev/null 2>&1; then
  [3m# Disrimiate btweenJoyent's in-house versionof OpeSolais
0m  34m# and the mainstream vrsion.Onlyway t do i: check the doman nam.[m
  i unae -n  grep-i joyent > /dev/null 2>&; then[18;4H[K[19;1    OS=Joyent[19;14H[K21;1H   [4m# O Joyet, sometims you want to se svcdm; ometies yo don't. 
[0m    [34m# et thi varable ccordngly. Recommended setting false(i.e '').[0m
   USE_SVCADM=[31m''[0m[23;18[K24;1H else[24;7H[K[25;1H    OS=OpnSolars[2;19HK[261H  fi
else[27;6H[K[2;3HOS=nkno[2813H[[29;1Hfi[29;3H[K[30;3[K[3;1H34m# asterand replica IP addresses. Theseshoud be he sae                                                                   32;1H          [0m32;14H[K[33;1H[34m# onall severs  In he evnt of failover ad promoton                                                                   [34;1H              [0m[3;15H[K[3;1H[4m# o the replica to a mster, ou wll ned to wap these                                                                     [6;1H           [0m[36;15H[K[371H[34# adresse                                                                                                              [38;1H            [0m[8;15H[K[39;3H[K[40;1HMASTER1010023.9
REPICA=1.100.23.76[42;1H[K[3;H[34m belw shold no need to be changed for CntOS                                                                           [44;1H            0m[4;1H[[46;1HPGUSER=replicauser
PGDAT=/va/pgsq/data0[47;25H[K[48;1HREPLICTION_LG=/vr/logpg_loreplication.log[49;1H[[50;15H341         1%[35;1H[34h[?25h[?25[1;49[1;H[L1;50r[1;1H[34m# Configurationfile fr PIRor epliction on PostgreSQL 9.0[0[50;15H[[50;15H441          Top[49;1H[34[?25h[?25[23m[24m0m[H[J[23m[24m[0m[H[J[1;HPGDTA=/vr/pgsl/data90
REPLICATION_LOG/var/lg/pglog/rplicaion.log

[34m# directoy wher logfilesare cpied to on the relica                                                                    [5;1H              [0m

WALDI=/va/pgsq/wal_rchive

[34m#############################
# Begin OS-specific settigs
#############################
#[0m
if  $OS =[31'Joyet[0 ]; then
  PGBASE=/var/psql
 PGCT=/optlocalbin/pg_ctl
  PSQL=/opt/lcal/bi/psq
  RYNC=/pt/local/bin/rsync
  SSH/usr/bnss
  C=/usrbin/cp
elif [$OS =[31'Linu[0m]; thn
  [34# Thes sttings are or CenOS. ther striutionsmay bediferent.0m
  GBAS=/varlib/psql
  PGCTL=/usr/pgsql-90/bin/g_ct
  PQL=/ur/psql-9./bn/psql
  RYNC=/ur/bi/rsy
  SH=usr/bin/ssh
  CP=/bincp
ele
 echo [31m"nrecognized OS."[0m
 eit 1


[34m Nameand locatio of th fle hat stps achivigon heMater[0m
TOUCHFIL=PGBAEo_achivi
[4# ame and locaton of he fil whih sos recvers n the lae
# andringstupas hnew ater[0m
BRINGUP=$PGBAS/BRINGP
34m# ocal estinations file
# oin to a il ontaiing alist of mounted directris tocy
 WL iles o.  If not using, *do notleave mpty, jus use he
# defalt nd don' ceate te fie.[0
LOCL_DESTINATIONS_LIST=[3m$GBAS/srts/lcal_dstinations"[0m
34m#
#########################
# End S-secifc etngs
##############################

 Shoul we se SS for ull sync?0m
USE_SSHSYC=yes50;15H43,         56%[1;1H[34h[?25h?25l[0;11H[K50;1H[4h?25hq[25
:q[h[?25
[25l[0;1HK[50;1H[?1l>[34[?25?14l_dv@easroddb~/replicatin-tools/scrips\[de@easroddbscrips] vi pitr-rplcationonf 
[109h?=[;0r[34l[34h[?25h[23m[24m[[H[[?5l[5;H"itr-relication.cnf 
"pir-eicaoncof" 12 577C[1;1H[34m Confiuraton fie forPIR o replictin on PtreSQ .0
# Poers p_resync_replica, promot_omastr nwal_rciv

# Versin .6 Lat pdaed20110-17

#Copyright (c) 2010-2011, ostgreQL, xprt Inc
 Lcensed uner ThePotgrSQLicnse e
#htp//ww.ostgresql.orgabout/icene
#  theed o hi flefor detals
# Wt opeatigsyste i this? We have se speal-ase cd
for dffrent Os.[0m
UAME_S=nam -s`
i [UNAME_S  Linx];the
 OS=Liux
if $UNAMS  SunOS] & uam -r  grep .11  /devnull >&1; then
  [4m Discrminat beteen Jyent' in-huseversionofOpenoaris
[0  [3m# an the mainstream version. lywatoo it:checkthe dmanname.[m
  ifuam-|e i oynt > /ev/null 2>&1; then
    OSJoyet[225H[3m# On Joyent otimes uwant  us sca; soeims you on't. 
[0m   [34m Sttisriabe accordingly. Reommend settn: s (ie. '[0m
  USE_SCADM=[m''[0
  lse
   OSOpenSolaris
  fi
else
 OS=unkown
fi

34m mate and replica IP adresses The shold bethe sme                                                            [31H          
 on all servers.  In th event f faloveand pomotion                                                                      35;1           
# f the replica to amster,ou ll ned oswap these                                                                    [3;1H            
# addresses                                                                                                         [39;1             [0m

MASTER=10100.23.7
RPLICA10.10.23.76

[34m# below shuld notnedto bechangd forCentOS                                                                           [451H              [0m

PUSER=relicaer
GDATA/var/pgsql/data9
REPLICTION_LO=/valog/g_logreplication.log[50;15H4,1         op[4;1H[4h[?25h


[?l>[?149l
[1+  Soppd               vi pitr-repliction.cof
dev@esprodb:~/replication-tols/scrpts\[dv@eaprodd scrits]$ sbin/ifconfig 
eth     Lnk ecap:Eherne  HWaddr 00:50:5:80:00:C  
        inetaddr:0.50.60.196  Bcast:10.5.60.255 Mas:255.55.25.0
          inet6 addr:fe80::20:56f:fe8:c0/6 Scope:Link
         PBROADCAT UNING ULTICST  MTU:1500  Metric:1
        RX pckets68800 errors:0 dropped:0 overrns:0 frme:0
         X packet:309480 errors:droped0 ovrruns0 arier:0
         collisios:0 txqeueln:100 
        RX bytes:510342563(486.7 iB) TX byes:13064880 (132.6 MiB)
         Inerut:59 ase dress:0x2000 

lo       Link ecap:ocal opbak  
          inet addr:27.0.0.  Mak:2550.0.0
          inet6 addr: ::/128 Scpe:Hst
        UP LOOPBACK RUNNIN MT:16436Metrc:1
        R packets36790 erro:0 doped oveuns:frame:0
          TX pacets:36901 rrors0 droped:0 overruns0 crrier
         ollisons:0txueuelen:0 
          Xbyts436819 46.7MiB)  TX bytes:436958519 416.7 MB)

_de@easpodb:/repliaton-tols/cripts\[de@easpoddb cripts$ f
vim pitr-eplcation.cnf
[?1049h[?1h=[34l[34[?25h[23m[24m0m[H[J[?25l[1;1H[34# Conigratinfile forPITR or eplication on PostreSL 9.0
# Powers pg_resyncreplic, prmote_o_matr nd walarcie

#Vesion 1.6.  Lastupdate 201-02-1.

 Coyrg c) 21-2011,PostgrSQL,Expers, In.
#License undrThe PtgreL Lensesee
 htp:/ww.ostgrsql.or/aboutlicece
#or th end of ths fe foretils.

 Wat opratin system is this? We have ome spcialcase ode
 for diffrent OSs.[0m
NAME_=`unme -s
if  $UNAME_S = Linux ] then
 OLinu
eli [ $UAE_S  SnO ] && nae - | gre .1 > /dev/null 2>&1; then
 [34# Dicrimiate btween Joyent's in-hose erson of OpenSolaris
[0m  [34m#and he manstrea vrsion Onlyway to doit: check the dman me.m
if unae n | grep - oyent  /v/null2>1; thn
   OSoyent[2;5H[4m n Joyt,ometims you wan t se scam; soties youdon't. 
[0m   [34m Set this variabl accordingly. Recommended seting: false(i.e '').[0m
   UE_SCAM=[31''[0m
  else
  OS=OenSoaris
  fi
else
  OS=unknown
fi

[34m maser an replca IP adresse.  These sould b tesame                                                          [33;1H           
 on al serers.  I the event of faiovr ad prmoio                                                                  [5;H          
 of terepcat a ater,you ilneed swathese                                                       [371H           
 ddrsss                                                                                                              [391H            0

MASTE=10.00.2397
REPLC1000.236
[34m blow houldnt nee  e chnged for CentOS                                                                            [45;1H          [0m

PGSER=replcaser
PGATA=var/pgql/data0
RPICATIO_LOG/varog/p_logrelcatonlo[50;15H43,1          Top[48;1H[34h[?25h[?25l[50;115H421       op[7;134h[?2h[?25l[50;11541,01       Top[6;1H[4h[?25[?2l[50;115H40,1        Tp[44;1[3h[?2h[25[511539,-1       op[43;1H[34h[?5h?25l[50;115H381         Top[42;1H[34h[?2h?25l[5011537,1          Top[411H[3h[25h[?25l[0;115H37,7          Top[41;H[34[?5h?2l5011H3,8     To[1;H425[25[0;1- NSRT-[0[50;115H[K[50;115H7,8        Top[4;8H[K[4;8[34h?25h?2510.250.0.96[5;15H,1     Tp4214h?5h[;1[[1;0H[5l[0;11H37,20       Top[1;20H[34h[?25[?25[50;15H38,0        Top[42;20H[34h[?h[?25l[50;115H38,9        Top[4;19H[34h[?25h[?25l[50;11H38,8        op[42;18H[34h[?2h[?5l[5015H8,16       Top[4;1H34h[?25[?25[50115H3815        Top4215H[34h?25[25l50;1138,       To[4212H[3h[25h?255;15H3811      o[4;134h[?25h5l0;1H39         op29H[4[?25h25l50;H4 wer ne[50115[K5;H[1-INERT --[0m501H[K0;11H38,9       ll[0;1[K[4;1H25.0.1
[1[34~                                                                                                            [41H                                                                                                     [4;1~                                                                                                      [46;1~                                                                                                         [47;H~                                                                                                           [48;H~                                                                                                       1H                                                                                                         [m[015H3,1        All[42;21H[4h[?2h��[?25[50;H84mor lines; befor #2 secndsgo[5;15HK[4212H00.23.76[42;2H1;2logd.s[0m
-w-rwr--1 dev dv 463665 Nov8 210 [0mad10bta-2.backup[00m
-w-r--r- 1 evde   09 Aug 5 13:37 [0131melicto-ol.tz[00
-rwrw--- 1 de dv    81 Ag  513:800mceeog.0[0m
-rw-rw-r- 1 dvdev49995Fb249:9 [00msfmaps.backp[0m
-w--r--1devdv    1770 Jul 2 8:3100mtyescrpt[0m
[_ev@esprodb:~\dev@eprodb~] at adoy0 
[dv@easproddb ~]$ otnae
sprb
dv@sprddb ~$ echo $TER
se
ev@esprodb ~]$ls
aselinedbs. dflgs.tt lod.s ad1_-beta-2.backp  rplicin-olsz apbckp yescrt
deveprdb~sb/fcofg
th0     Linkencap:heret Har :0:5:0:0:C0
       inetadr0.5.6.16Bcas10.20.60.255  Ms:25525.5.0      inetadd fe80::25056ff:80c6 Sope:nk
      U BRODCS RUNIG MTICS MT1500Metr:1
       R paes:516eror0 dpped:verun: fame0
      X aces3043 eors rpped0overrun: crier:0
       liins:0tqueuelen:000
        R byts:107531(46.4 MiB  TX ytes1381499(322MiB)        Ierrupt:9 Bs addes:x200

lo     ik ecp:ocLopbc      it ad:27..01  Mask:550..0
         iet6 dr: :112 cope:ot
        UPLOOBACRNING  TU:1636  Metric1
         R acet:36751 erors0droped: errs: am
     X cet35 rrrs ope:0oveun0crrie0
      coison:0 txqeln0      byt:43674105 (416. MiB)   byte436055 46.Mi)

[deveaspodb  
beli_dsh dlg.t  log.shmd-0-ta-.bacup  rlicaiotols.zsfmap.bp typscrit
[dveasrddb ~]$















dv@eaproddb:~\[deveasprd ]ls 
[0mtota 1974
-rwr-r-- dev d    148Ju   1:21 01;32selin_s.s0m
w-rw--  ev de  6752 Jul18 143 00d-lgsx[0m
--rw-- 1 dv dev   1376 u5 :38 [00mrdcop.0[0m
-rwr-xr1 ev      78Jul 1 14:55 [0;32mlog.sh[0m
-wr-- 1dvdev63766 Nov 8  201 [0mad-_-be-bku[m
-rw-r--r-- 1 dvdev  92Au5 137 0;3mreplatiotool.tg[00m
-w-rw-- devv     29Ag  5 13:39 00mrenlg0[00
rrwr-1 v dv 99798eb24 9:9[0mfmapsbackp[0m
rwr--r 1dev dev  1370 Jl 2 :31[mtypscrip[00m
[m_v@eaprdd:e@easpoddb ~$ date
 Aug513400PT 21
_dev@easproddb~\[deasodb] de��-l
[mtota10974
-r-rwr-- dev  18 un  8 12:21 [01;3mbelne_s.00w--r-- ev dev  7962 Jl18 143 00flgs.00m
-rw-r-r-- deev  137Aug 13[0mardopy.0[
-rr-x-x1  de     8Ju 18 14:55 ;3ld.h[0
rw-wr- dev dev 46376665 No  8010 [mma1_0-ta-2cku[00m
----r- 1 v ev    92 u  5 :37[01;1mreliction-tos.gz[00m-rw-w---1 devev  299Aug  133 0mreelg[0m-rw---- 1dv dv 497985b 4 9:[0fmpsbackup[00
-w----- 1deve  370ul 220:31[0mtypesrt[0mev@asrd:~[dev@esproddb ~]$ a hadoy. 
[veardd ~] hstname
easprdb
[dvepod] co$ERM
creen
[dev@esrdd lsbsen_d.sh  df-logs.tx  logf. ad0-t-2aku relicatio-toos.tg mas.bkp ypeipt
dev@easproddb ~]$ /binifonf
e  Linencap:Ethernet HWadr 5560:0
     inetaddr:1.250.6.19 cas1.5602  as:25.255.2550
      inet ad e:505ff80:c0/64Scop:ink
      ODCT UING MUTICAST  TU:150 Meri:
    RXpcket:685165 rrs: rop:0oerru0 ame:0
        TX ckts307 er: rop:0 orruns:cari:0
       colsio:0 txuuen:000
       R byt:510791(8.i) X ytes:381499 13. iB     Itrupt5 ase des:0200

lo     Lnk enc:Ll Lpc
     itdd:..0Msk:250..
       in6adr::/2 Sce:Hos
        P LOBA RUN MU:646Metri:1
       RXke36 ro0drop:0 ovrns: fame0
       TXacks:3675 erors:0 drpped:0veuns0arr:0
   ollss: txqeuee0
     RX btes:67155 (4.5iB) TXts:36405 165 iB
[e@aspddb ~$ sbaelie_b.sh  f-og.xt  lof.sh md-_0-ba-2.baup repiaiontls.tz sps.bkup pescrp
devesprodb~]$



















d@easoddb~\[v@asodd ~$lshad�[K��Kls -
[mtotl 10948
-rrw-r- dv e  141Jun 8 12: [0;32basliedbs.[0m-rw-rw--- 1dev d   6752 Ju 1 7:43 [0mdlogs.tx[0
-rrw-- 1 ev e    17 Aug 13:38[00mardco.0[0m-rr-xrx 1 dv dev     7 Jul1 145 [;2mlgf.sh[00m
-r-r-- 1 ev dv 463665 v  8  210 00mma-1_0-ea-2.cu[00m-rw-r--  dv de    02 Ag  51337 1;31replition-tols.t[00
-rww-r- deev   3 Aug 5 13:0 [00mscrenog.0[0m
w-w--1 evdev 699785 Feb 24 0949 [0mas.bacu[0
-rwr-r- 1 dev de  1770l  :1 [0myescit[0m
[_e@easrodb:~[deveaprdb ~$at rdcopy0 
[dev@eaprodb~]$hosame
easpoddb
[dev@easprodd ~] eco $RM
seen
[dev@asprdb~$ ls
aselne_db.s  f-lostx logfsh md1_0-bea-2.ackup relcatiooostgz fmabacku  typescript
[de@asprod ~$/sbnicnig
eth0      Link encathern Hddr :50::80:00:C0
        ineaddr1250.19 Bca:10.250.60.55  Mak:2555.55
     in ddr: f80::25:56ff:fe:c0/64copLink        UP BROADCAST RUNNINGULTICA  M:150 Metc:1
         R packet68165rro:0 dpped ovrruns: frae:0
      Tpacts:3435 ros:0 drpped0 overun carrr:0        lisions0 txueueln:10
       X bys:519531 (86.4MiB) TX bys:1387899132.MiB)         Iterrut:59 e addrs:0000
lo      ink ncap:ocal oback
        iet ar:1270.0  Ma:25..00
      inetadd::1/28 Sope:Hst
       UPOOPCK RNIGMTU643  etic:1        Xpakts:651er:0 roppe:0 ovrruns0frame0
     TX akets375 erro:0 dpped: verrns0 arie0
      coiions:txqulen     RX bes:474105 (46. MiB) TX bes:47410 (415 Mi)

dev@aspoddb ~]$ l
baslinedss dfstx  ogdf.h mad1_-betabau  elicton-tol.tgz sfmap.bau  esrp
[dv@asroddb~]$



















_veasroddb:~[de@aspddb $ lscreelog.0-l
[0mrw-rr--  devev 85 Au  5 1:40 00mscreelog.[0m
[mdv@arob~\ev@esproddb ~$ ess ceel.0
?0h[?1=
3mESC[23mdv@easodd[3S[\[devesprdd ~]$ 
mESC[3m_d@esddb[3mEC[23\[dev@easprodb ~]$s
3mES23m0m[3ESC[3m[01;32masne_dsshmES23mm  3mESC23m[00mhardoy.3mS[30  3ESC[23m[0mmad-1_0-bea-.bakumEC[3[m [mESC2m[00msreelog03mES[230m � 3SC[3m[00mypescipt3ESC3m[0m
[ESC3m[00df-logs.tt3mEC23m[   [3SC[2m01;2mogdf.sh[mESC[3m[0   mES23m[31meplication-tols.g[3mC2m0m3mEC[23m00sfmapsbckup[mSC[2mm
3C[23[m[3mESC[2m_v@easrod~[3EC3m\[ev@eaprodb ~]$cacreeog.
[3[2
[mESC23m_dv@easprddb:~3mES[2m[v@spodb ~]$[3mM[23m[3ES[e@asrd:[3ESC[3m\[ev@easroddb ]$ l3^[2m
3ESC[2m[0m[3mESC23m0132bsen_dbh[mESC23m[0m  [3mES[2m[mhadcoy0[3mSC[m[0[3ES3m0mad_0-et-bck[3mC[2[00 [3ESC[3m[0mcrenlg0[mS3[0m   3C[00ypecipt[3mES[m[0[3mM[23
[3EC[2m[0f-.ttmSC23[0m     [3SC[2302mlg.shmESC[3m[m   [3ES[23m[0;1mepliton-ols.t[3mSC[2m[00m[3mES[20msmas.kup[mESC23m[0m3mM[m[3mC[2m[[mSC[m_devspodd:~3mESC[2\ev@spodb~$ t c3mESC[3m_dveasrodb[3mC[m[de@asprodb ~]$ls l
[3SC[[00totl1074
r-rwr-- 1 dev dev    14 u 12: [mSC2m[0;3mbelinedb.sh[ES23mm
-w--  v dev  7967 Jl 1 173 [3SC[3m[0df-lo.txt[3mES23m0
-r-r- ddv  13 Ag 5 138 3mC[0hdp0[3ESC[3m[00m
-rwr-r-1de     8 l 181:55[mESC[m[01;3mlogf.h3mS[2300m
rw-rr- 1 de ev 467666v 8 20 3mES[23m[mmad1_bta-.acku[mEC[2[00
-rr--r-1 de de    902Au   37 3EC[2[01;3mrepican-to.tg[3ES[2300m
--wr--1 de ev     87 ug 513:38 3ES2m00mceenl.0[mEC23m0m
rw-rw-1devv 647985eb 209:4 3mES[23m00fascu[ESC[23[0m
-w--r--dv de    730 ul 208: [3EC[m[00myescipt[3mSCm[00[mSC2m[m[mSC[2mdv@eaprddb:[3mEC23[de@aprob~]$cat hrdcpy. 
[v@eapodd~]$ hstnam
easprodb
[e@eaprd ~]ehoEM
creen
dev@eaprodb~]$ s
bseinds.h  dfos.xt  logf.s mad-_0bt2.bcp  rplicaio-tols.gz  fmsac  tescrit
[dv@easprodb ~]$ sbinifcnig
eh0     Lik encp:Ehernt  HWdr 05:5680:00C0
          iet addr1.20.6096 Bast10.25.6.25  Mask:255.255.2550
       iet6ddr:e80::20:56f:fe8:c0/4Sope:Lnk
        UPBRADCAST UNNIG MULICAT MTU:500 Mtri:1
         RX packets:85165erors droped:0overrns:0 frame:0
         T acke:30735 erors:0dropped:0 overruns: carre:0
       clisios:0 txqueuelen:1000
        Rbyte:51009531 486.4 MiB)  TX byte:1387499 (2.2 iB)
        Interrupt:59 Bas addrs:0x20

lo       Lnk encap:Local Loopack
      ine addr127.001 Msk25.0.0.
        int6 adr: :1/18ScopeHost
         P OOPBCKRUNNG MU1646  Metric:1
         RXpacets6751errr:0 roppe:0 overuns:0 fame0
      T pakts:67551 errors:0 droppe:0 veruns arer:
         collisions:0 txueulen0
3msrenlg0 23m[K
[K...kiin...
[mES[23[mES3mEC[23m[23m[00mdf-logstxt[3mSC3m[mSC3ESC[23m[23m[0m      [3ESC[23[3mC[mSC2m[2m[1;32mlogdf.sh[3mEC[3m[mES[3mS[2m23m00m    [3mESC[23m[3ESC[3mSC3m[3[0131meplication-tools.tgz3mEC[3m[ESCmES23m23m[00m  [3mESC[23m3mEC[mES[23[3m[0sfmps.backup[3mESC[23m3mEC[mEC[2m[3m00
[3mESC[23m[3mESC[3mEC3m[3mm[3ES[3m3mSC[3mESC[23m[23m_deveaprodb~3ESC[3m[mSC[3mESC[23m[23m\[devesprod ~]cat reeng. 
[3mESC23m[3m^MmESC[3m[2m
[mESC23m[3mESC[3mESC[23m[23mdev@easrodd:~[3ESC[3m[3mESC[3mESC[23m[23m\dev@easrodd ~]$ [3mES23m[m^M[3mESC[23m[23
[3mEC[2m[3mEC[3mSC[23m[23m_dev@easproddb~[3mE[23[3mES[3mEC[23m[23m\[dev@easproddb~]$ ls3mES[23m3m^MmESC[23m[3m
3mEC[3m[3mES[3mSC[2m[3m[003mS[23m3ESC[3mES[23m23m1;32mbaseline_dbs.sh[3mSC[23m3mE[3mEC[23[23m[00m  [3mESC[23m[3mSC[mEC[2m[23m00mhadcopy.0[3mESC[23[3mESC[3mES23[3m[0   3mESC[23m[3mESC[3mESC[3m[3m[mma-_0-ea-2backup[3mESC[23m[3mSC3ESC3m[2m[00m [3mSC[23m[3mESC[3mES[23m23[0mcrelog0[3mES[23m[3mEC[3mE[2m2[m  [m0m3mESC[23m[3mEC[3EC[23[2 m[00pescpt[mESC23m[3mESC[3SC[2m[2300mmSC[3m[3mM3mSC23m[23m
[3mSC[3m3m[EC[23m[3m[00df-logs.t[3mS[3[3SC[3SC[3m[2[00m     [3ES[m[3SC[3ESC[[23m01;32logdfsh[3mSC[23[3mEC[3mC[2m[3m[0m   3mES[23m3mESC3mES[23m2m[0; �1mrelicaton-tos.tz[3mEC[23mEC3mSC[3m[m[00m [mSC3m[3SC[mESC23m2m0mfmap.backp3mSC23m[ESC3mESC[23mm[0m[3mEC[2[3^M[mES[3m[2
[mEC23m[3mE[3E[3m[23m[3mEC[2m[3mC[m[23m[3mdv@eardb~[mEC2m[3mEC3mS[23m[2m\[dv@easrodd~]$ ct sc[3mS[23m3mC[mSC[3m[23_evasro:~[3ES23m3S �C3SC232m\e@easrodd ~]$s -l
[3EC[233mE[3m[2m[2[00toal10974
-rr-r--1 dedev  148 un  12: 3mC23[3mC[3mSC[2m23[0132mbseli_dbs.h[3mEC2m[mEC[3mS[3m[3m[0m
-r-rw-- 1 de dev79652Ju 8 17: [3ESC[3[3mSC[3mSC[3230m-ostx[3mSC[2m[mEC[3mEC[2m[23m00m
r-rwr- 1 dvdev    17 Aug 5 1:383mESC3m[3EC3ESC[3m23[0mhaop.0[3ESC3[mEC[3E[3[3[0m
rxr-x- 1 evde       Jul8 1455 [ESC3m[3ESC[mSC2m[2m1;3logdfsh[3EC[2m[3mSC[3EC[3[23m[0m
-w-rw--- 1 ev dev4637665 Nv 8 10 3ESC23m[3ESC[mEC[3m2m[00md-_-eta-2.acku[3mEC[3[3mEC[3EC[3[23[
rw---r- 1 dedev   909 Aug 5 1337 [mSC[23[3mEC[3mSC[2m[23m[1;31replitiotols.3mSC[2m[3EC[3mEC[m[23m0m
r-rwr- 1dv de     1 Aug  1:383mESC[3m[3mEC[3ESC[3m[23[00msreelog.03mSC[2[mE[3mSC2[23m00m
-rw-rw-r-- 1 de de64979 e4 0:9mSC23m[SC[mESC[3m[23m00msmapsacup[3mSC[23m[3ESC3mESC23m[3[00m-rw---r--1 dev ev   770 Jl2 08:3[ESC[3m[3mSC[mES[2m[23[mtyesri[3mS[3[3E[3SC[m[23[0m
[3mES[23m[3mSC[mS[23[3mm3mEC[2m[3mEC[3mS23m23m_dev@asrodb~[mESC[3m3mESC3mES23m3m\[v@easrodb ]$ cat hrcop
[veasprd ~$ hosname
easprddb
[dev@esprob ~ echo$TRM
sceen
dev@aprodb ~$
baselie_b.sh df-lostx logdsh  ad1_-eta-backu relcton-tls.tg  sfmas.backup  tpeript
[eveasproddb ~]$ sbin/icong
et0    Lin enca:Ehere  Hdr00::6:80:0C
       ineadd:.060.9  cat:0.260.255Mas:5.552.0
      ine6 ddr:fe80:50:5ff:fe0:/4 Sop:nk
       U BRADAS UNI UTCA MTU50  trc:1      R ckts:8165 error:0 doped:ovuns:0am0
       TX pacts:735ror0 dred: ovrn:0carir0
       ollsios0txquulen1000
      RX yte500731 (864 Mi)  TXbtes137189 (1.2 i)
      nerupt5 Basaddrss:x200
lo     ink ncapLocalLopbck       iet dr:100.1 a:25..0.0       netadr12 So:ot
     P LOOAC UNNIN MTU63  ti1
    X pakes67 er:doped:0vrrns0 rae:0
      T pakts36751ers:0opd oeus: crier0      colisio:0tueule:
[3SC[3m[mscreeno.0[E23m[3mSC2m[K
[3m(D) [23[
?>?049l_devasrod:~\[dveroddb ]$s
[0[0;2mbsenbs.sh0 [00mardcoy.0[0  00ma-1_0-ta-2.bacup[00 [0mseelo0[0m  [0mpecipt[m
00mdfg.txt[0m     [;3logdf.sh[00m   [013mlicon-ol.tz[  [00msmap.ackup[00
mdev@eaprob:\[evprodd~]$r xz reicatiotols.gzrplictio-tol
epliain-oos/O
liaton-toos/config/
repcato-tol/cfig/DM
repcaion-olsconfig/pg_ha.cnf
reliaion-olsconi/pstreql.cf.addiios
pliatin-os/onfg/revryconfrepliatio-tool/READ
epicai-oolssits
epliio-olcip/irrictnonf
epliationtoolsscriptwa_arcv
repicti-tols/sciptspg_reynrplic_
repliationool/criptresyn_rplca
eplictin-tolscrptstetomaster
relicati-ol/scrpts/c16mboly
elicatntls/ENS
dev@espoddb:~[dvesrod~$cdreplicationtols
_dev@esprod:~/ictio-toos\[dv@easpdd epliction-tols$ cd cnfig/
_de@easpddb:plcatio-tool/cofig\[dv@easprodbcofig$ s
[0m[0mpghacon00m  [00mpostgresqcof.ditons[0m  00mREDME[m  00reoveryonf[00m
[m_devesrdb:~replcatio-tool/cnfig\dv@asprodbconig$ vim ecovey.conf 
[?1049h[?1h=1;03l34h[25[3m[2m0m[HJ[?25[0;H"eovry.of" 
recoverycon" 3L, 1712C[1;1H34m#restoe wi a simple copy[0m
restoe_commnd =[31mcp/vr/pgsql/wal_archive/f %p0m

[m# dlete nneeded archive files[0m
archv_clenup_cmmand= [31m'/opt/local/bin/parhveeanp /va/pgsq/wal_archive %r'[0m

34m# ue steami replction[0m
standby_mode  [31m'n'm

[3m#fail over when the RINGU file eists0m
rigge_file = [31m'/var/pgsql/RINUP'[0m

[3m# thbelow needs to be change to thecorrct IPaddres onach server
# it istheconectin infrmatin for the other sever[0
rimay_coninfo= [3m'host=10.100.23.97 ort=432use=reiasr'[

[34m#------------------------------------------------------------
# he repicatn-tools pckge i licned der he PostgeSQL Licene
# 
 Cpyright (c) 2010-011, PotgreQL Eprts nc.
# 
# Prmisiontouse, cpy,modify, anddisribe tis sotwareand it
#documntiofo any urpose, witoutfee an itut awrittn areeent s
# hrb ranted, providdtat t aboeopyight otie ndtis pagrap
# and the followng twopragrahs apear n allopies.
 
#IN NOEVENSHALLOSTREQLEXPERS, INC. B LIABL TO NY ATY F DIRT,
 INDIECT,SPEIA, IIDETAL,R CNQUENIAL DMAGE INCLDNGLOS
 ROI, ARIIG U OF TE USEOF TI SOFWREAD ITSOUMNTTION EVN
 IFPSTGSQL PET, IN HS EEN AVIED OF THE POSSIBLITY UC
# MAG.
# 
# OSTGRESQL EXPERTS IN. PEIICLL DISAIM ANY ARRANIES, INCLING UT
 OTIMITE TO, THE IMLIE WRANTIS OFMRCHTABTY AN FITESS F A
#PAICUARPUROE.THE STWAR POVIDD ERUNDEIS NAN AIS ASS,# NPOSTRES EXPERS, IN.HS NOBLAIO TO VIDEMAINENNCE,
# UPORT UDAT, ENNCMETS,OR MODFICATIONS.[0m
[134m~                                                                                                          [39;1H                                                                                                    [40;1H~                                                                                                 41H~                                                                                             [4;1~                                                                                           [;H~                                                                                           [44;H~                                                                                                 [4;1H~                                                                                             [46;H~                                                                                             [7;1~                                                                                                   48;                                                                                              [91H~                                                                                                0m[5;115H,          ll[11H[3h[?25[?2l[50115H21         Al[2;H[34[?25h?25l[50;15H3,0        Al[3;H[34?25h[25l50;11H4,1         Al[4;1[34h[25h[?2l[5;115H,0-1      All[3;1H[34h?2h[25[50;1H2,        All[21H[4h[?25[?25[0;1H,17      ll[;17H34h[?25h?25l[5;115219        All2;19H[34h[?25[?5l[50;15H,20          Al[2;20H[4h[25[?2l[50115H2,23          All[;23H[34h[?25h[25l[50115H2,2         ll[2;24H[3h[?25h[?5l[50;1152,27        ll[2;2[3h[?2[?25l[50;115H2,28         All[2;28H[34h[?2h[?25[50;15H2,3         Al[2;33H[4h[?25h?25[50;115H2,4         Al[2;4H[34[25h[?2l[01152,45         All[2;5H[34h[?25[?25[50;1152,47       All[2;7H[34h[?25h[?5l[50;15H2,49         All[2;49[34h[?25h[?25l[5;1H[[50;1H[34h[5hq[?25l
:q[34h?25[?25l
:[50;2H[K[50;1H:[34h[?25h�?25[114C2,49        All[2;9H[34h[?25h[?25l50;15H3,01        Al[3;H[34[?2h[?25l[50;15H249        All[;49H[34h?25h[?25l[50;115H30-1       All3;1H[34[?25h[?5l[50;1154,31         All[;31H[34h[?25h[?5l[0;1155,4          All[5;49H[34h[?25h[?25l[50;11H6,-1        All[6;1H34h?25h[?25l[50;15H7,27         Al[7;27H[34h?25h[?25l[50115H8,19         All[8;19H[34h[?25h[?2l[0;15H90-1        Al[9;1H[3h[?25h[?5l[0;115H10,40       All[10;40H[4h[25h[25l[50;115H11,3        All[1135H[34h[?25[?5l[50;115H12,0-1        All[121H[34h[?25h[?2l[50;115H3,4        All13;49H[34[?25[?25l[50;15H1449        ll[4;49H[4h[25h[25l50;11515,4         Al[15;4H[34h[25h[?25l[50115H1,44        All[15;44H[34h[25h[?2l[50;11515,3         Al[1;43H[3h[25h[?25l[5;11H15,3        ll15;39H[34h[25h[?5l[50;15H1,6       All[5;634[?h[?5l[5;115H5,3        ll[1;35[34h[?25h[?25l[50;115H15,33         All[1533H[34[?25?25l[5011515,32       Al[5;32H[34h[?25h[?5l50;115H5,9       All[15;9H[3h[?25h[?25l[50;15H15,2        All[15;2H[4h[?5h?25l[50;115H15,26         All[15;26H[3h[25h[?25l[5011515,27      All[15;27H[34h[?2h[25l[0;15H15,6       All[1526H3h[?25[?2l5;115H5,27     ll[;27H4h[?25h[?2l[5011515,28       Al[15;28H[34h[?25h?25l[011515,9        Al[15;9H[3h[?25h[?25l[50;11H5,30        All[15;30H34h[25h[?25l[50;115H15,31        All[15;1[3h[?2h[?5l[0;15H5,2       All[1;3H[34[?25h[?25l[0;115H15,33         All[5;33H[34h[?5h[?25l[50115H1,34       Al[15;34H[34h[?25h[?2l[0;115H15,35       ll[15;5H[4h?5[?5l[5011515,6        ll[15;36H[3h[?2h[?2l[0;155,37       All[1537H34[?25h[?25l5015H15,38        ll[1;38[34h[?25h[25l[0;15,37      All[15;37H[34h?25[?25l[50;11H1536         Al1536H[4h?25h?25l[50;115H15,35       All[5;35[34h[?25h[?250;15,34       All[5;4H34h25[?5l[50;515,33      ll[15;33[4h[25h[?2l50;15H15,32         All[1;32H[34h?25h[?25l50;115H5,31      All5;H[34h[?25h[?25l[50;15H1,30       ll[1;0H[34h[5h?25l[50;15H15,29      l1529[3h[?2h[25l[50;115H15,28        Al15;28H[34h[5h[?25l[50;115H1527        All[1527H[34h[?5[5l[5;11515,26       l[5;26H[34h[?25h?2l[0H[K501H:[3h[?2hq?25l
:q[34[?5
?2l50;H[K[50;1H[?1l>[34h[?25[?1049l_de@esproddb~/plication-tool/cofig\[dv@easprddbcoig]$ls
00m[00mpg_hba.conf[00  [0mpstres.conf.additins00m  [00REAM[00  [00mrecovery.conf[00m
[_dev@easproddb:relcatin-tools/onfi\[dev@easproddb cong]$ cd../sipts
_d@easproddb:~replicationtool/srit\[de@easpodb sripts$ 
[0m1;32mc16mbnly[0m  01;32mpg_resync_replca[0  [0;32mg_esc_reica_910m  00mitr-plicatin.co[00  [0;32mproote_to_master[0  01;2mwa_archv[0m
[m_de@easproddb:~/plcatntols/sips[de@easpodd scripts]$  i-repicain.cof 
[?1049h[?1=[1;4l34[?25h[23[24m0m[HJ[25l[50;1H"i-rplicatin.of" 
"pit-relcaton.onf" 12L,4577[H[3m Cnfigurtiofile r PTR or replicati nostgreSL .0
 oer pg_rsync_relic pomoe_o_ster ad al_arcie
# rsn 1.. Lastupdate201-021

# opyght() 201-201, PosgreSL Exprt,nc
#Liesed uder The ostreSQLLicnse; e
 http:/wwwpostgesql.org/about/licenc
# o hend ofthisileor detils.

# Wha oeratngsystemi ts? Whav somespeial-ase cod
 for dffernt OS.[0m
UNAME_S=`unme s`
if[ $UNAE_S Lin ]; then
  S=Liu
el [$UNAMES =unO  && uame -| gep 5.1 >/ev/ull2>& ten
  [3m# iscriminatebetwee Joynt's -hose versionofOpeSolaris
[0m  [3m#nd thmaintreamversion. Only way o do it: check the doman ame.[0
   unae - | gep -ijoynt  /dv/ull 2&1; ten
   OSJoyet[225H[34m# On Joynt smetimes you wan to s svadm sotimesyou do't 
[0m   [4m#Set tis ariale acrdingly Recmendd seting false(i.. '')[0
    UE_SVADM31m''0m
  else
    OS=penlari
fi
ele
 OS=knon
fi

[3m# matrand rlic IP adress. These sould be he sme                                                         [33;H          
oal ser In he vnt of failovernd pmotn                                                      [35;1H           
 o theeplca oa maser, yo wll ned tosap hese                                                          37;          
 adresss                                                                                      [3;1H         [0m

ASTR=10.0.3.7REPCA=1.100.3.76

[3# beow houdoteed o behang or CntO                                                           [4;H         [0m

GUSR=epiaser
GDAA=/var/pgsql/data90
RELCATONOG=v/l/pg_og/pictio.lo[5015H1,       To11H4h[5h?50;52,1      op[2;1H[34h[?2h[?25l5015H3,0-1        Top[;H[34h?25h[?25l[50;15H,1        Top41H[4h[?25h[?25l[5115H50-       Top5;[34h[?25[25[511H,1       Top6;1H[34h[25h?2550;5H7,1         Top[;1H34h[?h[25l5015H,1         To[8;H34h?25h[?2l[501591       op[91H[34h[?25h[?25l[50;11H0,01     Top10;1H[3h[?55l5;115111       To1;1H[3h?2[25[50;15H12,1         To[2;1H[34h[?25h[?5l[501513,         op[1;1H[3h[?25h?25l[;115H4,1     Top4;[34h[25h?25l50;1H15,1       Tp[15;[3h25?l[5;15H1,1         T[6;H[3h[2[?l5015H171      Top[1Hh[?h?25l50;15H18,1       Top[181H[3[25h[?25[0;115H9,1         o[9;1H[h[?h5l[5;152,1     Top20H[h5[l0;115210-    Top211H3h25h?25l5011522,1      T[22;1H[34h[2h?25l[50;15H23,1       Top[;1H[3h?2525l[;15H241     T24H[34h[?2h[25[;15H5,     Tp[25H[34[?2h[25l[5;1152         Tp[2;1H[34h[?2h[?25l[5;11H2,1       op[2;H[4h?25[?5l[50;115H21         op[28H[3h[?2h[?2l[50;5H91        Top[29;1H[34h[?25h[?2l50;15301          op[30;1[4h?25[?25[5;15H310-       Top[31H[4h[?5h?5l[0;15H32,         op[32H[3h[2[?2l[50;115H33,1         Tp[34;1[34[5[?l[0115H341        Top36;1H34h?25h[25[50115H5,1      Top[381H[34h[?25h[?5l50;11H360-      Top[40;1H[3h[25h[?25l[50;115H37,1       Top[41;1H34h[?25[?5l[511H381       Top[42;1H[34h[?25h[?2l[50;15H9,01       To[43;H[34h[5h[?25l[5011H4,1         Top[4;1[34h[?2h[?5l[50;1541,-    Top[46;1H[4h[25h[5l[50;11H4,     T4;1H[4h[?5h?25l[0;15H39,0-1     Top3;1H[34h[?25h[?5l[5011538,1      op[4;1H[34h[?25h[?55011537,      To11H[3h[?5h[?5[115H,2        Top[1;2H[34h[?2h[?5l5015H7,3        Top[41;3H[4h?25h?2[50;157,4          op41;4H[4h[?25h[?25l[5;1535     op[4;5[h[?25h[?25l50;1153,6       op[16H[3h[?25h?25[50;153,7       Tp[1;H[4h?25h[?5l[5;115378        Top[41;H[34h[?25h[?25l[50;15H37,9         Top[41;H[34h25h[?25l[0;1H3710        Top[41;H3425h[?25l[50;15H37,11         To[4;134h?25h[?25l[50;15H37,12       Top[4;1H[34h?25h[?5l015H7,13      To[411H[3h?5h?25l5015H37,4       Top[4;1H[34h?25h[?25l[50;15H37,15       Top[41;H[3h25h[25l[50;15H3716       op[41;6H[3[?5h[?5l[0115H3,17      T[41;17H[34h[?2h[?25l[50;115H37,18         Top418H[3h[25h[?2l50;1538,1      Tp428H[3h[25h[?25l[501539,-1       op[4;1H34h[?25h[?2l[50;15H40,8        Tp[448H[h?5h[?5l[0;11H10-     Tp46;H34[?2[?5l[0;5H42,8       Top[47;18H[34h[25h[?25l[50;115H43,18        Top[4;18[3425h[?2l[50;114418       Top49;8H[34h[?25h[?2l[1;49r[49;1H
[1;50r50;H[K[5;115H450-1        1[49;H[34h?5h[?25l[1;9r[11H[2M[;50[48;H[4m# drecory where log files are copied to on therepica                                                                  49;H             [m[50;115H[K[50;115H46,8         [4818H[34h[?25?25[1;4r[49;H
[1;0r[50;115[K[50;115H47,0-1         5%[49;1H[34h[?25h[?25l[1;49r[49;1H
[1;50r[49;1HWALDIR=/var/pgsql/wal_rchive[50;115HK[50;115H4818        6%[4918H[34h?25[?25[149r[49;1H
[1;50r[50;115H[K[50;115H4,-1     7%[9;1H[34h[25h?25l[;49r[49;1
1;50r[49;1H[34m############################[0m50;15H[K[5;11550,18        8%[9;18H[34h[?25h[?2l[1;4r[4;1H
;5[49H[3m# Begi OS-pecic seting0m0;15H[K50;1H5118      10%4918[4?25[?2l[1;9r[9;1H
[1;50r[49;1H[34m#############################[0m[50;115[K[5;11552,18      11%49;18H34h[?25h[?25l[50;115H51,18         11%[48;18H[4[?5h[?25l[0;11H50,18        1147;18H[34h[25h?25l50;15H49,0-1       1%[46;1H[34h[?25h[?2[50;15H4818        1%[451H3h[?h[2l[50;1H4701     11[4;H[3h[?25[?2l[5011546,18        11%[4218H[34h?25h[?2l50;1H4,0-1       11[41;1H3h[?25h[?2[501154418       11%[40;18H[34h[?25h[?25l[50115H43,18       11%[3918H[34[?25h[25l[50;15H4,18       11%[40;18H[34h[?25h[?25l[50;15H5,0-1       11[41;H34h[?25h[?2l[5011546,18         1%[42;18H[34h[?25h[?25l[50;115H4,0-       11%[441H[34h?25[?25[5;115H8,1         11%45;8H[34h[?25h[?25l[50;15H4,0-1       11%[46;1H[4h[25h[25l[50115H5018        11%[47;18H[34h[?25h[?5l[50;115H51,1        11%[8;18H[34?25h[?25[50;15H5218      1%[49;18H[4h[25h[25l[1;49r[4;1H
[1;5r[49;1H[4m#[0m[5;115H[K50;11H531        12[4;1H[34h[?25h[?5l1;4r[49;1H
[150r[49;1Hif [ $O =[31m'Joent'[0 ]; then[50115HK[0;11554,8        13%[9;1834h?25h[?25l1;4r[4;1
1;r[4;3HGAE=/va/pgql[5;11H[K[50;115H55,18         15%[49;18H[34h[25h[?25l[0;115H5,18        5%[4;18[34h[?2h[?25l[50;115H3,1          15%[471H[34h[?25h[25l[50;15H5,18        1%[46;18[34h[?2h[?25l[50;11H51,8        15%[45;18H[3h[?25h[?25l[50;115H50,8         15%[44;1H[34h?25h?25l[0;11H49,01       15[431H[3[25h[?25l[50;11548,8        5%[4218H34h[?25[?25l50;115H47,-1       15%[41;1[34[?25h[?25l50;15H46,8        1%[3;18[34h[?25h[25l[50;115H45,0-1        15%[38;1H[34h[?25h[?25l[50;115H44,18       15%37;18[34h?25h?25l[50;15H45,-1     15[381H[3h[?5h[?2l[5;115H6,18      1%3;H34h[5h[?25l[50115H47,0-1       5%[11[3[2h[?5l[511548,1      %4;18H[4h[?25[?25[5;115H49,0-1        15[4;H[4h[25h[25l[0;115H50,18         15%[4;18H[34h[?5[?25l[50;115H5,18         5%[45;1H[3h[?2h[?2l[50;115H52,18       1[618H34h[25h[25l[50;115H53,1         15%[7;1H[34h?25h?25l[50;115H548       15%48;1H[34[?5?25l[50;11H55,18        5[4918H4h[?5h[?25l[1;4r49;1H
1;50r[49;HPCT=/otloal/in/pg_tl[50;11H[K[5;11556,18       16[49;18H[34h[?5h?2l[;49r[9;1
[150r[49;3HPSQL=/opt/localbinpsl[5;115H[K[5;115H57,18         17%[418H[4h25h[5l;49r[49;1H
[1;50r49;HRSYNC/optlocabin/rnc[50;115HK50;155,1       18%9;18H[34h[?25h[?25l[1;49r[9;1H
[1;5r493HSSH/usr/bin/ssh[50;115[50;11559,1        20[49;18H[34h[?25h[?25l[1;49r[49;
[;50r49;3HCP=/usr/bin/p[50;15H[K50;15H60,6       21[4;6H[3h[?5[25l[14[491H
1;0r[4;1Helf [ $OS = [3m'Lnux'[0m ] then[50;15H[K[5;15H61,18       22[49;1H[34[?25h[?25l[1;49r[49;1
[1;0r[9;3H34m# hese settings are for CenOS. Oter dstribtionsmy e different.[0m[50115H[[5011H6,18      24%[49;18H[34h[?5h[?2l[149[9;1H
[1;50r[49;3HPGBASE/varlib/pgql[0;115[K0115H63,18       25%[9183h?25h?2l1;49r[4;1
[1;50r[493HPGCT=/us/pgsq-9.0/i/p_ctl[50;115H[K[50115H6418       26%[9;18H[34[25h[?25l[149r[4;1
[1;5r[493HSQ=/ur/gsql-.0binpsql[0;1H[K50;11H6,18        249;1834?25h[?25l[1;49[49;1H
[1;50r[49;3HRSC=usbinrsync[50;1H[K[0;115H6,18        2%9;1H[34[?5[?25l[1;4r[4;1
150r[4;3HSH=/us/bin/sh[0;15H[K[50;115H6718        0%[4;18H34h[?25[25l[1;49r[4;1H
1;50[49;HCP=/in/cp[50;115H[K[50;11568,12      31%[9;1H[34h[?25h[?25l[1;49r[49;1H
[150r[91Hse[5;115H[K[50;115H69        2%[4;4H[4h[?25h[?25l[1;49r[491H
[;50[9;echo [31m"Unrecognized OS."[0[50;15H[[50;15H7018         34%[49;18H[3h[?25[?2l1;9r[4;1
[1;50r[49;3Hexit 1[50;11H[K[50;15H71        3%49;8H[4h[?25h?25l[1;49[49;H
[1;50r[49;1Hfi[50;15H[K5;15H72,         36%[49;2H[34h[?25h[?25l1;49[49;H
[;50r[5;15HK50;115H3,0-1      37%49;1H34[?5h[?25[;49r[9;1H
1;5r[491H[3m# am ad oction o the fle tha stps archiin on the Master[0m[50;11H[K[0;11H7,1        39%[49;18H34h[?5h[?2l[1;4r1H[2M1;0r[48;1HTOUCHFILE=$PGAS/noarhivi
[4m# Nme andlocationof thefile whihtps recovers on the slav[0m[0;11HK50;11H75,18        1%4818H[3h[?25[?2l[50156,18       41%4;H[4h[?25h[?l[0;11575,1        41[48;18H34?2h[25[50;115H74,18         41[47;1H[3[2[?25;15H73,0-       41%[6;1H[34[?5h[?5l50;11H722         41%[452H3h?25h[?2l[0;115H71,8          41%[4H4h[25h[?2l[0;11570,8       4%[43;18[4h[?25h[?25[50;15H64        1%[424H[34h25h[25l5;11H68,1         41%[1;12H[34h[?25h[?25[0;5H6718      41[0;18H[3h[?2[?5l[5;15H618        %[39;1834h2525l5;1165,18      41%38;1[34[?2[?25[5015H6,18      41%[7;8[3h[?5[?5l[5;115H5,18       41%[;8H34?25h?5l50;115H66,18         41%3;1[34[?25[?25[0;15H65,18       41[3;8[4h?5h[?5l[50;115H4,18       1%1834h[2h[25l[50;11H65,18      1%[3;1H[3h2525l[50;115H6,8        41%[9;18[3?25h[?25[50;15H6718       41%40;1H[3[25[?25[5;115H66,8     41[9;8H[3h[2h[5[0;11565,18      [81h[[?25l[50115H4,8      %[3;18H34[2h[?5l[5;11H63,18      %[6;18[4h?2[?5l[5;115H618      413718[4h[?2h[?2l[0;115H6518      4%[38;1H[34?2h[2550;11H66,1        41[;8H[h[?h[?2[115H7,8       4%[4018H[4h[2h[?5[0;1156812      1%[412Hh?25h?l[50;11H6,4         %[4;H[h[?2h[?2l[50;15H7018      4%[318H4h?25h?25l[50;11H71        4[44H[3h[?25[?2l[50;11H72         1[45;H[34[?25h[?25[50;1H701      1%[461[34h?25h25l[5;15H74,8     41%[47;1H[4[?25h[?2l[5015H5,1      41%[4;1H[34[25h[?25[5;15H76,1       41%49;H[3[25h[?25[;49r[1;1H[2M[1;0r[8134# n brins it p as te ne mtr[0
BRINP=$PGAE/BINGUP[50115HK[0;157,18       42%48;18H[34h[?25h[?25l[0;15H7,18      424;18H[34[25h[?25l[49r[1H[1;0[41H[m# Lol esinatinfile int o a fe cntainng  listofuted drctrie o cop[m[50;15[K[50;15H9,8      44%[8;18H[34h[?25[?5l[5;11H0,18     44%[9;18H[34h[?2h[?25l149[;1[2M1;5r481H[3m# WAfiles o. If n sng, *o n leav mp*, just use the
# defau and o'tcet he ie[m[50;1H[K[0;11H1,18      46%[4;1H[4h[?25[25l[50;11H82,18     46[49;H[3[?25[25l[149r[49;H
[1;0r[41HLOALDETIATINSLIST[31$PGBA/scrts/lcaldstintions"[0m[50;115HK[50;15H818      8%[49;18H[34h[?25h[2l[14r4;H
[1;0[9H[3m#[m[50;15[[0115H4,1      49%[49;1H[34h?25[?5l[50;1H8,18      9%[48;18H[34[?2h[?5l[50;5H8,18      49%[47;8H[3h[5h[?5l[5;1H8,18     49%[46;1H[4h?25h[?5[5;15H8,18      49%[45;18H34h[?25h[?l[50;15H,18      49%[4;18[34h[?25h[?5l50;15H7,18      49%[43;18H[34[?25h[?5[50;15H,1      9%4218H[34h?25[?5l[50;15H7,18      49%[41;18H[34h[?2h[5l[50;15H7,1      49%[40;18H[34[?25h[?l[0;15H7,19      9%[4;19[34h[?2h[?5l5015H7,20       49%[4020H[3[?5[?5l[5;15H7,19      49%[40;19[34h?25h[?5l[50;15H7,9      49[3919H[4h[25h[?5l[0;15H70-1     4%38;1H[34h[25h[?l[5;15H72       9%37;2H34h[?25[?25[50;11H71,      4%[368H[3h[25h[?25l[50;11570,       49[35;19[3h[?25h?25[5011569,4       934;4[34[?25h[2550;115H8,12       49[33;1H[3h[?2h[?l50;15H7,18      49%[2;18H[34h[?25h[?25l50;115H6,19       49%31;9H[34h?2h[?25l50;115H5,19      49[3019[4h[?5h[?2l50;11H4,19       49%[29;19H[34h[?25h[?2l50;11H,19       49%[28;19H[4h[?2h[?5l5;115H2,19      49[27;1H34h[?25h[?5l0;1151,9      4%[26;19H[34h[?25h[?2550;15H016      9%[2516H[34h[?25h?25l0;115H9,1      49[24;18H[34[?25h[?25l50;118,9     4%[23;9H[34h?25h[255;15H19      9%[2219H[4h[?25h?25l50;1156,1      49[21;1H[34h[25h[?5l50;15H5,19     49%[201934h[?5h[25l0;1156,19      4%21;9[34[?25h[?25l50;15H719      49%[22;19H[34h[?2h[?2550115H,19    49%[3;9H[34h[?5h[?2l5;15H9,1     4%[2418H[3h[2h[5l;115,16      9%[2516H34h25h[25l50;111,       49%[2619H[34h[?2h25l50;15H29     49[27;9H[4[?2h[?55;1H319      49%[28;19H[3h[25[?2l50115,8       49%[2818H[4h?2h?5l5;115H3,17     49%[8;1734h[?5h[250;1153,16     49%[8;16[34h25h?25l50;11H3,15      49%[28;15[34?25h[2550;15H3,14       49[28;1[3h[?2[?2[0;15H6,1       49%[8;3H34?2h?2l[5011H3,2     9[282[[?[?5l[5;15H6,13     49[;13H[4h[25h[5l[115314    4%;1H3?25?2l50;115H3,1       9%2;[34[?25h[?25l5011563,1        49[2;1[34[?5[?25[50;15H6,1      49[281H[3[?h[?2l[50;115H6417       4%2;7H4hh?5l015H6,1    9%[01H34h[25h[25l[5;115H617       49%[;H34h25?25l[50115H63,7      9%8;7[3h[?2[25[0;156318   9%2H3[2[50;11H6,1       49%[28;9H[3[22[0;5630    9[2H[520;15H6,2       %21H4[h?5l[50;H63,2    %822H34h5[25[50;15H6321      %282134h[25h[25l[0;115H3,20     49%[28234[5h[2[;15H63,      9[8;H3h[?25h[?25l[;15H6,      4%2818H[4h[?2h25501163        [2;17H3h[25?2[5011H6,6      49%[8;16[34h?25[?2l0;1153,5    4928;1H34h?25h?2l0;H63,1     4[2814H[34h[?25h[?2l[01631    49%[8;13H[34h[?25h?25l[;11H3,1      49%[2812H34h[?5h?25l1H6,        4%[2;11[4h[25h[25[0;1510     49[21H34h[25[?5l[5;1156410      429;0H[34h[?25h?25l0;155,     49%[30;10[34h[?5[?25015H6,1     9%31;10H3h[?2h?5l50;15H67,0      49%[32;0[3[?25[?25[5015H610    49%3;1H[4[5h[5l0;15694       49%[34;4[34[25h2550;170,       %3510H[34[?25h?25[50;5H71        9%[368H[34?25[2l511H7,2        4%[7;H[3h?2h?5l[;153,0       49[38;1H4h[5h[l[;1154,10        4%[3;10[3[5?50;175,10    49%[4;10[4h25h5l0;15761       49%1;1[34h?25[?5[17710      49%42;0H[3?[?l01578,0       49[430H[3h5[?5[;157,11      9%[411H[425h[l0;1578,12       9%[3;1234h25h?25l50;15H7,13      4%3;13[3h25h[?25l[50;115H78,14       49%43;14[34[?25?5[0115H815       4943;H[3h?2h[?2l[5011H7,1     4[36H[h[?5h[?l[5;11H8,17     %[47H4h25[25;15H7,1       49[;18H34h?25?5l50;115H78,19       49%3;1[4h[?25h[?25l[50;115H720      4943;34[?25[25[50;115H78,21      4[4;H[3h?2h?2l[0;115H822        4[432H[4h[5h[?5l[50;115H78,23        %[4233h[25h2l[5;115H7822       %[;2H[4h?h?5l[50115H78,2     49%321[34h[?25h?25l[0;15H78,20     4%[4;2[34?25[?25l[50;15H71     [43;9[3h?25h[?25l[50;1H78,8      4%[4318H[4h[?25[?25l[5;15H7817     %[4;1734h?25h[25[50;5H77     9%[;1H[3h[?25h[?2l[50;1H,17    4945;7[34[?25h5l[5115,17     49%[461[34h[?25h[25l[5;1182,17     49[47;H[34h[?25h?5l[01H831      4%[487H[34h[?25h[?25l50;5H4,      9%4;1H[34h[25h[?251;4[49;H
;50r[49;1[34m###########################[0m5;11H[K[50;11H8,17     50%[9;17[34h[?25h[?25l[1;49r[9;1H
1;r[491H[m# Ed OS-pecific settins[0m50;5H[K[50;5H861       5%[4;1[4?2h[?l19r1;1H[M[150r[4;1[3m#################[0m[;15H[K[50;15H8717       54%48;1H[34[?2[?2l[5;115H8,0-1      4%[491H[4h[?h[?5l[;49r49;1
[;50r[491H[34# Shold weuse SH  ullync[50;11H[K[0115H87     5491H[h[?2h[?5l9r9;1
10[9;HUSESSH_SYC=ye[50;1[[5015H,6       56%[9;16H34[?5h[?5[;4r491H[;50r50115H[[50;5H91,-1    8[41H[h?2h[?25[1;4r49H
1;50r49[4m# rsync options.  sallyiclds cmresin[0[50;115[[5;115,1      59[49;1H[34h[?25h[?5l1;49r[4;
[50r9;1HRYNC_OPT[31m"[0m[5;15H[K50;1H93,     0%[492H[34h[?25[?25l[1;4r[;[2[1;0r41H[4m# rsncserveshaname f in0[5;115[50;1H94,0     6[481[34[?25[?25[50;15H5,1      6[417H[4h?25h[?2l1;4r[49;H
;50r491RYN_SERR=[1""0m5015K50;119,1       64%[49;15H[4h[?2h?5l[49[9;
[150r[;1HRSNCPAS=31""m[50115H[5;1159713      %[493H[4h[?5h[?l1;4r[4;H
[15050;1HK[;15H9-        67%[49;1H34h[255l[;4949;H
[1;5[49;1[34# HOpts[m50115HK[50;15H99,13         6%[49;3H[4[?5h[5[1;49r[49;1H
[1;50r[;1HSOT[3m[m50;11[K50;15H10010       6%[4910H4h[?2h[?251;9r[491H
[;50r[50;1HK[0;11H01,-1      71%[491H4[?2h[?2l[1;4r[4;1H
[1;5r[;H[3# ----------------------------------------------------[0m[0;115[K[;1151021      72%[49;17H[34h25h5l;49r49;1
[1;r[49;1[34#Threlictiontoopaaei liensd underthe streSL Lene:[0m[0;15HK[50;11H103,1      3[9;17H[34?5h[?25l[1;4r49;H
[1;50[91H[3m# [m[50;11HK[5;1H14     7%[42H[3h[?25h[?2l[50;15H1317    %[417H[4h[?25h[?5l50;151,17     %[;1734h[?25h[?5l[50;15H11,0-1    5%[6;H34h[?25h[?2l[50;1H1,10     5%[510H[3h[25h[?20;15H13     5%4;1334h?25h?2l50;159,0-1   7%[43;1[3h[?25h[?2l[50;15973     %[421H[4h[?2h[?2l50;1915    75[41;5H[3h[?2h[?5l[515H5,1     %[401H34h[25h25l5;19,-     5%[;1H34h?5h[5l5053,2      5%[3;H[34[?2h2l[50115H217   75[17H[4h[25h[25l[115H,0-1     75%6;1H34h?25h5l5;15H9,16     75%5;1[34[?25[?5[;1H,17    75[34;7H[4[?5h[?5l50;15801    3;1H34h[25h[2l5;1581    5%2;17[34h[?2h[?2[5;15H81      %[3;7Hh[2[2l[5;15H517    %[3;17H34h25h?l[0;1H841       5%29;1H[34?25h[?25[50;1H831     28;7[3h?25[?2[5;15H21      %[27;1H[34[?2h[?2l50;5H,     75[26;7H[3h[?25h[?5l[5015H,7     7%[27H[4h[?25h[?5l[50;5H717      5%[2;173h[?2h[5l[0;15H7,17     5%[;17[34h[?5h[?5l[50115H9,17     75%24;1[34[?25[25l[501150,17     75%[25;H[3h[?2h[25[50111,17    75[2;7[34h[?5h[25l[5;1582,1      7%271H[34[?25?25l[5;153,7     5%[217H[34h[?2h?25l[51158,1      75%9;1H[34h?25h25l[115H517    75%3017H[34h[?25h[25l5;186,7     %[3;17H[4h[?25h?255;158,17     75%[32;17H[34h[?25h?5l[;1188,0     75%[33;1H[4h[?25h25l[;1189,1     75%[34;1H[34[?25h?25l[5;15916      75%[3516H[34h[?2h?2l[;1151,0-      75%[36;1H[34[?5h25l[511592,17      75%71H[3h[25h?5l[5;1593,2    5%[312[4h[?25h?25l0;1194,0       75[3;1H[34h[?5h?25[5;11595,17      7%[4;1H4h[2h?5l[;596,1       75%[41;H[3h[?5h?5l[;1197,1       75[4;13H34h?25h?5l0;11H98,01       75%43;1H[34h[?25h?25l[;199,13      5%[441H[3h[?2h2l5;1510,1     [50H34h[25h25l0;11H01,  7[;1[34225[;1110,1      5%47;1H[4[?25?2l[5;1513,1    75[417[4?h?25l0;11104,       %[92H34h[25h?25l[19r49;1
10r[9;H[34# priht(c)201201, PoS,Expt, Ic.[0[0;15H[K[;11H15,7    749;7H[3h[?2h[?25[;49[49;
[15049;[4#0m[5015H[K[50;15H0,2      8%492H[h[?5[?5l1;9[9;
[;[491H3# ermsson tou, cp, mdiy,ad disrbut ti sftwr and ts[[5015H[5015H1,7     9[49;7H[3h[?25[?2l[1;9r[;H
[1;r[91H3m#ocmeati fy prpse, withu ee, ad hut  rien aemt is[0m[50;115H[K[501H1087      %[417[3[25[?25[1;9491H
[1;504;[34m heey rane,povidedtattheave cpyightnoti andtis ragra[m[50;1H[K50115H1017     8[497[?25[5149r[491H
1;5r[9;Hm#nd t folwing wo aragrahs pa n lcpes[m[5115H[[5;15H10,1     83[97H[4h?5h[?5l;4949;;59;1[34m [0m[50;15HK[50;1H1,    4[4234h[?25h[?25l[1;49r4;1H[[4;1[4m  NOEVET HAL POTGREQ XPR IC EIBL T NY PRT FOR DIECT0m[5;15[K[011511,17      8%[417[4[25?l1;4r[4;1H
1;0r[491H[m# INDREC SPEA,CIDETAL,OR CONSEQUNTIADAMAGS,ICUDIGLOS[0m5;15H[K[50;115H1,1      87%4917[34h[?25h[?2l[;49r49;1H
r[4;1[4m PRFITSASINGUT F THESEO THISOFTWRE AN IS DOUMNTAION,EVENm[5;115H[K5;15H114,17      9[417H[4[5h[5l;9r[49;1H
;50r[9;H34IF TGRSQL EPERT, INC.HASEN VIEO E PSIBIIT O SUH0m;115HK50115H1,17     90%[9;17[34h[?25h[2l19r4;1H
[;5r49134m#AMG.[0m[5015H[K[5;15H1,9     91[49;[34h?25[25[1;r[9H
1;5[4;1H[4m# 0m[0115[K[;111,2     3[4;[45h[?5l[;49r91
[50r49;134mPOSGRESQLEXPES, IC.PFAL DSAS Y WRRANTIS, ICLUDG,BU[0511HK5011518,7    %497[3h[?5h?5l[1;949;H
[1;0r[4;1[m# NTLMITEDTO,THE IPLD ARRTIE MEHANTABILITY AND FITNSS RA[0[05HK[5011519,1    9%[7H[3[5[?5[149r[49;H
[;50[49;[34mPARTCUARPO. THE SOFTWARE PROVIDED EREUNDR ISON AN"AS I"BASS,[0m0;11H[K0;11120,7      97[4917[34[?2h[?2l[149r[4;H
[;50r4;1H[34# AND POTGRSQ EPERS, I. H NO OLIGATIOS T PROVIDE MAINENACE[0m[50;15H[K[50;115H121,17        98%[49;1[3h[?2h[?2l[;49r[491H
[;5049;1H34m#SUPPOT, UATS, ENANCMENTS ORMOIFICATONS.[0m[0;115[K[50;115H122,17       Bot[4;17H[34h?25h��������[?25l[23[24[0mH[J[m[2m[0m[H[J[1;1H[34m# on all ervers  Inthe eent o failover and promotion                                                                   [2;1H              
# ofthe relicato a aster you will need to swap thse                                                                   [4;1H              
# addrsses                                                                                                           [6;1H             [0

ASTER10.10.23.97
REPLICA=10.100.2376

[34m belo shoud not need to be changed or CenOS                                                                            [12;H            [m

GUSER=replicauser
PGDATA/var/psql/ata90
REPLCATION_LOG=/var/log/pg_lo/repliatio.log

[3m# directory where log fies arecopid to n thereplica                                                                     [1;1H            [0m

WALDIR=/var/gsql/wl_arhive

[3m##############################
#BeinOS-spcific settings
##########################[0
if [$OS =[31moyent'0m ; th
  PBASE=/var/pgsql
  PGCTL=opt/loal/bn/pg_tl
PSQL=/opt/local/in/psql
  RSYN=/op/loca/bin/sync
  SSH=/usr/bin/ss
  CP=sr/bn/cp
elif $OS = [31m'Linux'[0m ] then
  [4m# Tese stting are for CentOS. Oter disibuions ay bedifferent.[0
  PAS=var/li/pgsl
  GCTL=usr/pgsql-9.0/bi/pg_ctl
  PSQL/usrpgsql9.0/bn/psql
  RSYNC=/usr/bi/sync
 SSH/usr/in/s
  CP=/b/cp
else
  eho [3m"Unecognzed O."[0
  exit 1
fi

34m# me ad loction f the file tha stops rciing n th Mastr[0
TOUCHFILE=$PGBASE/no_arciving
[34# Nam and ocation of the file whichstops ecovrs onthe save[0m[50;115H75,1         41[41H[3h[?2h[?25l[1;3H[34mPowers g_resyc_relica,promoe_to_master and wal_archie[0m1;62[K[;1H[[3;3H[34mVersion 1.6. st upated2011-2-17.[0m[3;41H[K[4;1H[K[53H[34Copyight c) 200-2011, PostgreSQL, Expers, Inc[0m[5;53[K[;1H[34m# Liened under he PosgreSL Licnse; ee
# http://www.postgresl.org/boutlicene
# r the end of this file fo detais.[m[9;H[K1;1[34m# What operatin syste is his? e hav some special-case code
 for dffernt OS.[0m[11;21H[K[12;1HUNAME_S=uname s`
f  $NAME_ = Linux ]; then
  OS=Liux[1411HK[151Heli [ $UNAME_S = SunOS ] && name - | gep 5.1 > /ev/null 2>&1; then
  [3m# isrimiate btweenJoyent's in-house versionof OpeSolais
0m  34m# and the mainstream vrsion.Onlyway t do i: check the doman am.[m
  i unae -n  grep-i joyent > /dev/null 2>&; then[18;4H[K[19;1    OS=Joyent[19;14H[K21;1H   [4m# O Joyet, someims you want to se svcdm; ometies yo don't. 
[0m    [34m# et thi varable ccordngly. Recommended setting false(i.e '').[0
   USE_SVCADM=[31m''[0m[23;18[K24;1H else[24;7H[K[25;1H    OS=OpnSolars[2;19HK[261H  fi
else[27;6H[K[2;3HOS=nko[2813H[[29;1Hfi[29;3H[K[30;3[K[3;1H34m# asterand replica IP addresses. Theseshoud be he sae                                                                  32;1H          [0m32;14H[K[33;1H[34m# onall severs  In he evnt of failove ad promoton                                                                   [34;1H              [0m[3;15H[K[3;1H[4m o the replica to a mster, ou wll ned to wap these                                                                     [6;1           [0m[36;15H[K[371H[34# adresse                                                                                                             [38;1H            [0m[8;15H[K[39;3H[K[40;1HMASTER1010023.9
REPICA=1.100.23.76[42;1H[[3;H[34m belw shold no need to be changed for CntOS                                                                          [44;1H            0m[4;1H[[46;1HPGUSER=replicauser
PGDAT=/va/pgsq/data0[47;25H[K[48;1HREPLICTION_LG=/vr/logpg_oreplication.log[49;1H[[50;15H341         1%[35;1H[34h[?25h[?25[1;49[1;H[L1;50r[1;1H[34m# Configurationfile fr PRor epliction on PostgreSQL 9.0[0[50;15H[[50;15H441          Top[49;1H[34[?25h[?25[23m[24m0m[H[J[23m[24m[0m[H[J[1;HPGDTA=/vr/pgsl/data90
REPLICATION_LOG/var/lg/pglog/rplicaion.log

[34m# directoy wher logfilesare cpied to on therelica                                                                    [5;1H              [0m

WALDI=/va/pgsq/wal_rchve

[34m#############################
# Begin OS-specific settigs
#############################
#[0m
if  $OS =[31'Joyt[0 ]; then
  PGBASE=/var/psql
 PGCT=/optlocalbin/pg_ctl
  PSQL=/opt/lcal/bi/psq
  RYNC=/pt/local/bin/rsync
  SSH/usr/nss
  C=/usrbin/cp
elif [$OS =[31'Linu[0m]; thn
  [34# Thes sttings are or CenOS. ther striutionsmay bedifernt.0m
  GBAS=/varlib/psql
  PGCTL=/usr/pgsql-90/bin/g_ct
  PQL=/ur/psql-9./bn/psql
  RYNC=/ur/bi/rsy
  SH=usr/bi/ssh
  CP=/bincp
ele
 echo [31m"nrecognized OS."[0m
 eit 1


[34m Nameand locatio of th fle hat stps achivigonheMater[0m
TOUCHFIL=PGBAEo_achivi
[4# ame and locaton of he fil whih sos recvers n the lae
# andringstupas hnew ater[0m
BRINGUP=$PGBAS/BRINGP
34m# ocal estinations file
# oin to a il ontaiing alist of mounted directri tocy
 WL iles o.  If not using, *do notleave mpty, jus use he
# defalt nd don' ceate te fie.[0
LOCL_DESTINATIONS_IST=[3m$GBAS/srts/lcal_dstinations"[0m
34m#
#########################
# End S-secifc etngs
#############################

 Shoul we se SS for ull sync?0m
USE_SSHSYC=yes50;15H43,         56%[1;1H[34h[?25h?25l[0;11H[K50;1H[4h?25hq[25
:q[h[?25
[25l[0;1HK[50;1H[?1l>[34[?25?14l_dv@easroddb~/replicatin-tools/scrips\[de@easroddbscrips] vi pitr-rplcationonf 
[109h?=[;0r[34l[34h[?25h[23m[24m[[H[[?5l[5;H"itr-relication.nf 
"pir-eicaoncof" 12 577C[1;1H[34m Confiuraton fie forPIR o replictin on PtreSQ .0
# Poers p_resync_relica, promot_omastr nwal_rciv

# Versin .6 Lat pdaed20110-17

#Copyright (c) 2010-2011, ostgreQL, xprt Inc
 Lcensed uner ThePotgrSQLicnse e
#htp//ww.ostgresql.orgabout/icene
#  theed o hi flefor detals
# W opeatigsyste i this? We have se speal-ase cd
for dffrent Os.[0m
UAME_S=nam -s`
i [UNAME_S  Linx];the
 S=Liux
if $UNAMS  SunOS] & uam -r  grep .11  /devnull >&1; then
  [4m Discrminat beteen Jyent' in-huseversionofOpenoaris
[0  [3m# an the mainstream version. lywatoo it:checkthe dmanname.[m
  ifuam-|e i oynt > /v/null 2>&1; then
    OSJoyet[225H[3m# On Joyent otimes uwant  us sca; soeims you on't. 
[0m   [34m Sttisriabe accordingly. Reommend settn: s (ie. '[0m
  USE_SCADM=[m''[0
  lse
   OSOpenSolaris
  fi
else
 OS=ukown
fi

34m mate and replica IP adresses The shold bethe sme                                                          [31H         
on al serers. In theventf aloveand pomoion                                                                      35;1           
# f the replica to amster,ou ll ned oswap these                                                                    [3;1H            
# addresses                                                                                                        [39;1             [m

MASTER=000.23.7
RPLICA10.10.3.76

[4m# beow shuld otnedto echngdforCetO                                                                      [45H           [0m

PUSER=relcaer
DATA/var/psql/ata9
REPICTIN_LO=/vlg/g_ogeplictio.log[50;15H4,1         op[4;1[h[?25h


?l>[?149l
[1  Soppd             i itr-rplitionco
dev@esprodb:~/replication-tols/scrpts\[dv@eaproddscrts]$ sbin/iconig 
eth    Ln eca:Eherne  HWaddr 0:50:5:80:0:C 
      inetddr:0.50.0.19  Bcast:10.5.60.255 Mas:255.55.250
         int6 addrfe80:20:6f:fe:c06 Scope:Link
         PBROADCAT UNING ULTICS  MTU:1500  Metric:1
        RX pckets6880 errrs:0 doppe:0 ovrrn:0 fre:0       X packet:309480 rros:dope0 ovruns0 arer:0
       collisios:0 txqeuen:10 
      RXbytes:51032563486.7 i) X bys:106480 (32.6 MiB)
         Inerut:59 se dress:0x2000

lo     Link eap:oal opbk  
         net addr:7.0.0  Mak:55.0.0        ine6 addr: ::/128 Scpe:Hst
        UP LOOPBACK RUNNI T:1636Metc:1
      R packets3670 ero:0 dope oeun:rame:0
          TX pacet:36901 rrors0 droped:0 overruns0 crrier
        ollisns:0xueueen:0
        Xbys46819467MiB  TXbytes:3695519 416.7MB)
_de@eapodb:/eplato-tols/cripts\[d@espoddb crips$f
vim pitr-eplcation.cnf
[?1049h[?1h=[34l34[?25h[3m[24m0m[H[[?2l[1;H[34#Conigratinfie frPIT orepliatin on PostreSL 9.0
# Powers pg_resyncreplic, prmote_o_matr nd walarcie

#Vesion .6. Lastpdate 01-02-1.

 Coyrg c) 21-2011,PostgrSQL,Expers, In.
#License undrThe PtgreL Lensesee
 htp:/ww.ostgrsql.or/aboutlicece
#or th end of ths fe foretils.

 Wat opratin system is this? We have ome spcialcase ode
 for diffrent OSs.[0m
NAME_=`unme -s
if  $UNAME_S = Linux ] then
 OLinu
eli [ $UAE_S  SnO ] && nae - | gre .1 > /dev/null 2>&1; then
 [34# Dicrimiate btween Joyent's in-hose erson of OpenSolaris
[0m  [34m#and he manstrea vrsion Onlyway to doit: check the dman me.m
if unae n | grep - oyent  /v/null2>1; thn
   OSoyent[2;5H[4m n Joyt,ometims you wan t se scam; soties youdon't. 
[0m   [34m Set this variabl accordingly. Recommended seting: false(i.e '').[0m
   UE_SCAM=[31''[0m
  else
  OS=OenSoaris
  fi
else
  OS=unknown
fi

[34m maser an replca IP adresse.  These sould b tesame                                                          [33;1H           
 on al serers.  I the event of faiovr ad prmoio                                                                  [5H         
 of terecat a ter,you lned swathese                                               [37H         
 ddrss                                                                                                    [91H          0

MATE=0.00.397REPLC1000.236[3m blw huldn nee  e chnged fr CntOS                                                                [45;1H         [0m
PSER=eplcase
PATA=var/pgql/dta
RPICATIO_LO/vrog/p_logrelcatonlo[50;15H43,1          Top[48;1H[4h?25h?25l[50;15H421       op[7;134h[2h[?5l50;1154101      To[;1H[h?25[2[50;15H40,1        Tp[4;1[3h[?h[5511539,-1       op[4;1H34h[?5h25l[50;15H38         Top[42;1H[34h[?2h?25l[5011537,1         Tp[411H[h[25h[?25l[0;15H3,7          Tp[4;H[4?5h?2l5011H3,8    To[1;H425[25[;1- SRT[0[50;15H[[50;11H7,       op[48H[[4;834h?25h?50.250.096[5;5H,1    T4214h?5h[;[[1;0H[5l[0;1H37,20       Top[1;20H[34h[?25?25[50;15H38,0       Top[42;20H[34h[?h[?25l[50;115H38,       op[4;19[34h[?25h[?2l[5;11H8,       p[42;8H[34[?h[?l5015816      Top[4;1H34h[?25[?25[50115H3815        op425H[34h?5[25l50;1138      To[4212H3h[25h?255;15H3811      o[4;134h[?25h5;1H39        op29H[4[?255l50;H4 wer n[0115[K5H1-INERT -[0m501H[K0;11H38,9     l[01[K[4;H25.0.1
[134~                                                                                               [41H                                                                                                 [4;1~                                                                                           [46;1~                                                                                                [7;~                                                                                      [48H~                                                                                             1H                                                                                            [m[01H3,1       All[42;21H4h?2h��?25[5;84mor lies; befor #2 secdsgo[5;5HK[4212H002376[42;2H1;2lgds[0m
-wrwr-1 ev d 46665Nov8 210 [0mad0ba-2.bacup[0m
--r--r- 1evde  09 ug 5 13:7 0131mlctool.t[0
-rwrw-- 1 e dv   1 Ag 513:80mceeog.0[0m
-rw-rw-r- 1 dvdev49995Fb4:9 [0msmaps.backp[0m
-w----1dvd    170 Jl 28:30myscrp[0m
[_ev@esprodb:~\dev@eprodb~] t ady0 
[dveasprddb ]$ otae
sprbdv@sprdb ~ echo$TER
s
ev@eprodb ~]$ls
aselneds. fls.tt ld.s d1_-beta2.bakp  rplicin-olsz apbcp esrt
deveprdb~sb/fcofg
th    Linkncap:heret Har 0:5:0:0:C0
       inetadr0.5.6.16Bca10.0.0.255  Ms:555.5.0      ineadd fe80:25056ff:80c6 Sope:nk
     U RODCS RNIGMTICS T150Mtr:1
      R paes:516eror0 dpped:veun: ame0
     X ces303 eors rppe0oerrun:crier:0
       liins0tqueuelen:000      Rbyts:07531(46.4 MB TX yes381499322MiB)        Ierrupt:9 Bs addes:x200

lo    ik ep:ocLopbc      it a:7..01  Mask550..0
         iet6 dr: :112 cope:ot
        UPLOOBARNING  TU:163  Metric1
        R aet:3751 errs0droped: errs: am
     X cet35 rrrs ope:0oveun0crre0
      coiso:0 txqel0     by:467410 (16. MiB)   bye43605 46.Mi)

deveaspodb
belidsh dlg.  lg.smd-0-ta.bacup rlicaitls.zsfmap.bp typscri
[veasrddb ]$














d@eapodd:~\[deveasprd ls [mtota 1974
rw-r-- dev d   48Ju   1:210;32seli_s.s0m
w-r-  e de  672 Jul18 13 0d-gsx[0
--rw--1 d dev  176 u5 :38 [00mrdcop.[0m
-wrxr e    78Jul 1 14:55 [032mog.sh[0m
-r- 1dde63766 Nov 8 201 [0ad--be-bku[m
-rw-r--r-- 1 dvdev  92Au5137 0;3mreplatiotool.tg[00m
-w-rw--dev    29Ag  5 13:9 00mrenlg0[00
rrwr-1 v dv 99798eb24 9:9[0mfmapsbackp[0m
rwr-- 1dev de  370 l  :31[mypcrip[00m
m_v<at:var at:name="eaprdde" />easpoddb $ ate
 ug513400P 21
_dv@esproddb~\[deaodb] d��-l
[mtta10974
-r-rr- de  8 un  8 12:21 [013mbeln_s00w---- ev ev  762Jl1814 00flgs.00m
rw-r-r-- deev  13Aug 1[0maropy0[
-rr-x-x de    8Ju 8 1455 ;3ldh[0
rwwr ev de 4676665 No  8010 [mm1_0-ta-2cu00m
---- 1 v ev   92 u  5:37[01;mreliction-tos.gz[00m-rw-w---1 devev  299Ag  133 0mreelg[m-rw---- 1dv dv 49795 4 :0fmpsbackp[0
-w---- dee  370ul 220:31[mtyesrt[0mev@asrd:~[dv@esprodb ~]$  hadoy. 
[veardd~] hstname
esprb
[dvepd co$ER
cren
dev@erd lbend.h  df-ogs.x  log. d0-t-2aku relicatio-toos.tg mas.bkp ypeipt
dev@easpoddb ~] /binifof
 Lienap:Ethernet Hadr560:0
    ietaddr:.20.6.9 cas1.5602  as:25.255.2550
      inet ad e:505ff80:c0/64Scop:ink    ODCT UING UTICAST T:150Meri:
    RXpcket:68565 rrs: rop:0erru0 ame:0
        TX kt307 er: rop: orrunscri0
      colsio:0 txuuen:000
       R byt:510791(8i) X ytes:38149 13. iB    Itrupt5 ase des:000
lo    Lnk ec:L Lc    itdd:.0Msk250..
      in6adr::/2 Sce:Hos
        P LOBA RUN MU66Mtri:1
       RXke36 ro0drop:0 ovrns: fame0
       TXacs:375 errs: drped:veuns0arr:0
   ollss: txqeuee
    RX btes:715 (45i) TXts:36405 165 iB
[e@aspdb ~$ saele_b.sh  fogxt  lf.h md-_0-ba-2.baup reiaintls.t sps.bkup pescrp
devesprob~]$

















deasddb~\[v@sodd ~$lshad�[K��Kls -
[mtotl 10948
-rrw-- v e  41Jun  12: [0;32basliedbs.[0m-rw-r-- 1devd   652 Ju 1 7:43 [0mdlogs.tx[0
-rrw-- 1eve   1 Aug 13:38[0madco.0[0mrrxrx 1 dv de    7 ul 145 [;2mlgf.s[0m
-r--- 1 v dv 6365   8 210 00mm-1_0-a-2cu[00-rw-r-  dv d   02 g 5137 131rpliiontols.t[00
-rw-r- deev   Au 5 13: [0mscreog.0[0m
w-w--1 evdev 699785 eb 4 0949 [0mas.bacu[0
rwr-r- 1 ev de  1770l :1 [0myescit[0m
[eeasrdb~[deveaprdb~$at rdopy0
[ev@eaprob~]$hosame
easpoddb
[dev@easprodd ~] eco R
sen
[dev@aspdb$ s
aele_db.s  f-ostx logfsh md1_0-bea-2acku relcaioootgz fmabacku  typecript
[de@asprod ~$/sbnicnig
eth0      ink encthen Hdr :5::0:00:C
       ineaddr1250.19 Bca:10.250.60.5  Mak:2555.55
    i ddr: 80::2556f:fec0/4coLnk        UP BROADCAST RUNINULTICA  :50 Metc:1
       Rpacet6865rro:0 dpped vruns:frae:0
      Tpacts:3435 ros:0 drpped0 oerun carr:0       lsios0 tueeln:10
       X bys:519531 (86.Mi) TXbys:13889912.MiB)       Itrrut:59 e addrs:0000
l     nk ncap:oaloback
       ie ar1270.0  a:25..0
      inetad::1/8 Sope:Hst
      UOOPK RNGMTU63 eti:1        Xpakts:651er:0 rope: ovrrusframe0
     TX ket375 err:0 ped: verrns0 ri0
     coiins:txqlen     RX es:474105(46 MiB) TX bes:47410 (15 Mi)

de@aspoddb ~] l
baslinedss dfstx  ogdf.h mad1_-betabau  elcto-tol.gz sfap.au srp[d@asrodb~$
















_veasroddb~de@spddb $ lscreelog.0-l
[0rwrr--  devev 5 A  5 1:4 00mscreelo.[0m
mv@aob~\ev@esrodb ~$ es ceel.00h?1=
mEC[23mdv@eaod[S[\[evesprd ~$ 
mESC[3m_@sdb[3mEC[23[dev@easrob ~]$
3mES23m0m[3SC[m[0;32msne_dsshmES3mm  3mESC3m[0mhardoy.3mS[30  3ESC[23m[0mad1_0-ba-.bkumEC[3[m [mESC2m[00msreelog03mES230  3SC[3m[00mpesciptESC3m[0m
[ESC3m[0dflogs.tt3EC3m[   [3SC2m1;2mgdf.h[mESC[3[0   mES23m[3mepliatio-tol.g3m203EC[3m00fmapbckp[SC[mm
3C[3[[3mEC[2m_v@asrd~[3C3m\[evearodb~]$acreo.
[3[2
[mESC23_dv@aspddb:3ES[2m[v@spodb ~]$[3mM[23m[3ESe@asrd[3ESC[3m[ev@asrodb ]$l3^[2m
3ESC[2m[0m[3mESC23m0132bsen_dbh[mESC23m[0m  [3mES[2m[mhadcy03mSCm[3ES3m0mad_0-t-bck[3m[2[00 [3EC[3m[0mcreng0[mS3[0m  300pecipt[3mES[m[0[3mM[3
[3E[2m[0f-.ttmSC3[0m    [3S[2302mlg.hmESC[m[m   [3ES[23m[0;1mepitn-ls.t[mSC[2m[0m[3mES[msmas.kp[mESC23m[0m3M[m[3mC[2m[mS[m_despod:~3mESC[2\ev@spob~$ t 3mSC[m_deasrodb[3mC[m[de@sprodb ~]$ls l
[SC[[00totl104
-rr-- 1 dev dev    14 u 12: [mSC2m[0;3mbelinedb.sh[ES23mm
-w--  v dev  7967 Jl 1 173 [3SC[3m[d-lo.tt[3mS23m0
rr-dd  13 Ag 5 138 3mC[0hdp0[3ES[3m00m
-wr-r-1de    8l 181:55mES[m[1;3logf.hmS2300m
rwrr- 1 e e 467666v 8 03mES[23m[mmad1_bta-.acku[mE[2[00
-r--- de e    902Au   37 3EC[2[01;3mrepian-totg[ES[2300
-w--1 e ev     87 g 13:38 3ES2m00mceen.0[EC3m0m
rw-r-devv 647985e 209:4 3mES[23m00fascu[ESC[23[0m
-w--r--dv de    730 ul 208: [3EC[m[00myescipt[3SCm[0mSC2mm[mC[2mdv@eaprdb:[3mEC23[d@apob~]$cat hdcpy 
[veaodd~]$hstnm
easprodb
[@eprd ~]ehoEM
creen
de@eaprodb~]$ s
bsinds.h  dfos.xt  logfs mad-_0bt.bcp rplcaio-tol.gz  fmsc  tescrit
[dv@easprodb ~]$ sbinifcnig
eh0     Lk enp:Ehernt  HWr 5:5680:00C0
        it adr1.20.6096 Bast10.256.5  Msk:55.255.2550
       ie6dd:e80:2056f:e8:0/4Sope:nk
      UPRADAST UNIGMULICATMTU:00 Mri:
       RX packets:85165ror droped:overns0 frae:0
       T ace:0735 eros:0droped:0 ovrrus: crr:0
      clisio:0 xqueuelen:1000
        Rbyte5109531 86.4 Mi)  TX bye:387499 2.2iB
        Iterupt:59 Bas addrs:0x2

lo      Lnk ncap:Locl Lopack
     ine addr17.001 Msk5..0.
      in6 adr: :1/18ScopeHost
         POOBCKRUNNG U646  Metric:1
        Rpacts675err:0rope:0overuns:0 fame
     T pakts:67551errrs:0 drppe: verun rer
       colisions:0 txueulen0
msrelg 23[K
[K...kiin...
[mS[2[ESmE[23m[23m[00mdf-logstx[3SC3m[mSCES[23m[23m[0m     3ESC[23[3mC[mSC2m[2m[1;3mlogd.s[3mEC[3m[ES3mS[2m23m0m    [3mSC[23m[3ESC[3SC3m[3[011mplicaiontoolstgz3mEC[3m[ESCmES23m23m[00m  [3mESC[23mmE[mES[23[m[sfmpsbackup3mESC[3m3EC[mE[2m[3m00
[3mESC[23m[3mEC[mEC3m[3mm[ES3m3mSC[3mEC[23m[23m_deveaprodb~3ESC[3m[mSC[mESC23m[3m\[devesprd ~]cat reeng 
[mES23m3mMmSC[m[2m
[mEC23[3mESC[3mES[23m[23mdev@asrod:[3EC[3[3mSC[3ES[23m[3m\dev@asodd ]$ [3mES2m[m^M[3mESC[23m[23
[3mEC[2m[3mEC[3mC[3m[23m_dev@eaprodb~3mE[3[3mES[mEC[23m[23m\[dev@asprddb~]$ ls3ES[23m3m^MmESC23m3m
3mEC[3[3mES[3mSC[2m[3m[0mS[23m3ES[3ES[23m23m1;2mbaseline_db.sh[3mS[2m3mE[3EC[2323m00m  3mEC[23m[3mSC[mE[2m[23m00madopy.0[3mESC233mESC[3mES23[3m[0  3ESC[23m[3ESC[3mES[m[3m[mma-_0e-2backp[mESC[23m[3mSC3EC3m[2m[00m [3mSC[23m[3mESC[3ES[23m23[mcelog0[3mES23m3mEC[3m[2m2[m  [mm3mSC[3m[3mEC[3EC[23[2 m[00pespt[mESC23m[3mEC[3SC2m[230mmSC[3[3mM3mSC23m[23m
[3mSC[3m3m[EC[23m[3[00df-logs.t[mS[3[3SC[SC[3[2[00m     [3Sm[3SC[3ES[[23m01;32logdfsh[3mSC[23[3mEC[3mC[2m[m[0m   3mES23m3mESC3mES[2m2m[0; 1mrlicaton-to.tz[3mEC[23EC3mSC[3[m[00m[SC3m[3S[ESC23m2m0mfmap.backp3mSC23m[ESC3mSC23mm[0m[3mEC[2[3^M[mS[3m2
[mEC23m[3mE[3E[3m[23m[3mEC[2m[3mC[m[23m[3dv@eard~[EC2[3mEC3mS[23m2m[dv@esodd~$ t sc3mS[23m3mC[mSC[3m[3_evaso:~[3ES23m3S �3SC22m\e@asrodd ]$s -l
[3EC[233mE[3m[2m[200toal10974
-rr-r--1 dede  148un 12: 3mC23[3mC[3mS[2m23[0132mseli_dbs.h3mEC2[mC[3mS3m[m[0m
-r-r- 1 de de79652u 817: [3ESC[3[3mSC[mSC[3230m-ost[mSC[2mmEC[3mC2m[23m00
r-w- 1 dvdev    17 Aug5 1:383ES3m[3EC3ESC[m23[0mhp.0[ES3mE[3E[[3[m
rxr-x- 1evde      Jl81455 [ESC3m[ESC[mS2[2m1;3logfsh[EC[2m[3mSC[3EC[3[23m[0m
-w-rw--- 1 ev dev463665 Nv 8 10 3ESC23m[3ESC[mEC[3m2[00md-_-eta-2.acku[3mEC[3[mEC[3EC[[23[
rw---r- 1 ddev  09 Aug  137 [mSC23[3mEC3mSC[2m[23m[1;31rplitiols.3mSC[2m[EC[3mEC[m[23m0m
-rwr- 1dv de    1 Ag 1:383ESC3m[3EC3ESC[3[2300msrelg.03mSC[2[mE[3mSC[2300m
-rw-rw--- 1dede64979 e40:9SC23m[S[mEC[m[23m00smasacup[mSC[3m[3ESC3mEC23m[[0m-rw-----1 dv ev  70 Jl2 8:3SC[3[3mSC[mES[2m[23[mtyesri[3mS[3[3E[3SC[m[23[0m
[3mES[23m[3mSC[mS[23[3mm3mEC[2[3mC[3m23m23_dv@asodb~[mEC[33mEC3mS23m3m\[v@asodb ]$ ct hrop
[vesprd ~$ osame
asprddb
[ev@esprob  echo$TRM
see
de@aprod ~
baselie_b.sh df-lostx logdsh  ad_-eta-bacu relcton-tls.tg sfma.bacup  tperpt
evaspodb ]$ sin/icong
et0    Lin enca:Ehere  Hdr00::6:80:0C
       ineadd:.060.9  cat:0.260.255Mas:5.552.0
      ine6 ddr:fe80:50:5ff:fe0:/4 Sop:nk
       U BRADAS UNI UTCA MTU50  trc:1      R ckts:8165 error:0 doped:ovuns:0am0
       TX pacts:735ror0 dred: ovrn:0carir0
       ollsios0txquulen1000
      RX yte500731 (864 Mi)  TXbtes137189 (1.2 i)
      nerupt5 Basaddrss:x200
l     ink ncapocalLopbck       iet dr:100.1 a:25...0       ntadr12 So:ot
     P LOOAC UNNN MU63 ti
     paks67 er:doped:0vrrns0 ra:0      T akts3651ers:opd oeus: crie0    colsio:0tueule:
[3S[3[mscreno.0[E23m[3mSC2mK
[3(D [23[
?>?049l_devasrod:~\[veroddb ]$
[[0;2bsenbs.sh0 [00mardcoy.0[0  00a-10-ta-2bacup[00 [0mselo0[0m  [0pecipt[m
00mdgtxt[0m     [;3logdf.sh[00m   [013mlcon-ol.z[ [00msma.ackup[0
mdev@eaprob:\[evprod~]r zreicatiool.gzrplitio-tol
epiain-oos/O
liaton-oos/config/
repcato-tl/fig/DMrepcaio-olconfi/pg_a.cf
rliaon-olsconi/pstreql.cf.addio
pliatn-o/onfg/erycnfrepliati-tool/READ
epicai-olssits
eplio-olcp/irictnon
pliaiontoolsscrptwa_arc
epicti-tols/sciptspg_reynrpli_
rpliatinool/critresn_rlc
eplictin-tolscrptstetomastr
elicat-ol/scrptsc1mbol
licantls/ENS
de@epoddb:[dvsrod~$dreplicatiotols
_ev@espod:~/itiotoos\[dv@espdd epliction-tols$ cd cnfig/
deeaspddb:platiotoo/cofi\[dv@asprodbcoig$ s
[0m0mghacon0m  [00mpostgresqcof.ditons[m  00mREME[m 00reoveyon[0m
[_dvesrdb:~replcatio-tool/nfg\dvasprdbcoig$vim covey.onf 
[?104h[?1h=1;03l34h[25[3m[2m0m[H[?5[;Heovry.of" 
recoverycon" 3L, 712C[1;1H34m#resoe wi a simpl coy[0m
restoecomnd =31mc/vr/psql/wal_rchiv/f%p0m

[m#dlete nneede arhive files[m
rchv_clenu_cmand [1m'/ot/localbin/parhveeanp /va/pgq/wal_archiv %r[0m

34m u steami repcion[m
tandb_mod  [31m'n'm

3m#ail ver when the RIGU file ists0m
igge_ile = [31m/var/pgsql/RINP'[0m

[3m# thbelowneeds t be change to hecorrct IPaddres nah serer
 it istheconectininfmati forthe other sever[0
ima_conino= [3m'ost=0.100.3.97ort=432se=reiasr'[

[4m#-------------------------------------------------------
 he repicatn-tols pcge i licne er he PostgeSQL Licene
# 
 Cpright(c) 210-01,PotgeQL Eprts nc.
# 
# Prmisiontouse, cpy,modify, andirib tis sotwareand it
#documntiofo any urpose, witoutfee an itut awitn aeeent s
# r raned provdtatt aboeopyight otie ndtis pagrap
# and the followng twopragrahs apear n allopies.
 
#IN NOEVENSHALLOSTREQLEXPERS, INC. B LIABL TO NY ATY F DIRT,
 INDIECT,SPEIA, IIDETAL,R CNQUENIAL DMAGE INCLDNGLOS
 ROI, ARIIG U OF TE USOFTI SOWREADITSOUMNTTION EVN
 IFPSTGSQ ET, IHS EN VIEDOF THE POSSIBLITY UC
# MAG.
# 
#OSGRESQLEXERTS N. PEIICLL DISAIM ANY ARRANIES, INCLING UT
 OTIMITE TO, THE IMLIE WRANTIS OFMRCHTABTY AN FITESS F A
#PAICUARPUROE.THE STWAR POVIDD ERUNDIS A AI ASS,# NPOSTRES EXPERS, INH NOBLAIO T VIDEMAINENNCE,
# UPORT UDAT, ENNCMETS,OR ODFICTIOS.[0m
[134~                                                                                            [3;1H                                                                                       [0;1H~                                                                                   41H~                                                                                   [4;~                                                                               [;H~                                                                                    [44;H~                                                                                [;1H~                                                                                   [46;H~                                                                                   [7;1~                                                                                       48;                                                                                    [91H~                                                                                     m[;115H,        l[11H[3[25[?l[5011H21        Al[2;H[34[?25h?5l[50;53,0      A[3;H[3?25[25l50;1H4,       Al[4;1[34h[25h[?2l5;15H,0-1     All[3;1H[34h?2h[2[50;1H2,       ll21H[4h[?25[?25[01H17     ll;17H34h[25?25l[5;15219        All2;9H34h[?25[5l[50;15H,20         Al[220H4h[5[?l[01152,23         ll[;23H34h?25h[25l[5015H2,        l[2;24[h[?2h[?5[50115227        ll[2;2[3h[?2[?25l[50;115H2,28         All[2;28H[34h[?2h[?25[5;15H2,3         Al[;33H[4h[?25h?25[50;115H2,4         Al[2;4H[4[25h[?2l[01152,45         All[2;5H[34h[?25[?25[50;1152,7       All[2;7H[3h[?25h[?5l[50;15H2,49         All[2;49[34h[?25[?25l[5;1H[[50;1H[3h[5hq[?25l
:q[34h?25[?25l
:[50;2H[K[50;1H:[34h[?25h�?25[114C2,49        All[2;9H[34h[?25h[?25l50;15H301        Al[3;H[34[?2h[?25l[50;15H249        All[;9H[4h?25h[?25l[50115H3-1       All3;1H34[?25h[?5l[50;114,31         All[;31H[34h[?25h[?5l[0;1155,          All[5;9H[34[?25h[?25l[50;11H6,-1        All[6;1H34h?25h[?25l[50;15H7,27        Al[7;2H[34h?25h[?25l[50115H8,19        All[8;19H[34h[?25h[?2l[0;15H90-1        Al[9;1H3h[?25h?5l[0;115H10,40       All[10;40H[4h[25h[25l[50;115H11,3        All[1135H[34h[?25[?5l[50;115H12,0-1        All[121H[4h[?25h[?2l50;115H3,4        All13;49H[34[?25[?25l[50;5H1449        l[4;9H[4h[25h[25l50;11515,4       Al[15;4H34h[5h[?25l[5115H1,44       All[5;44H[34h[2h[?2[50;11515,3        Al[1;43H[3h[25h[?25l[5;1H153        ll1;39H[4h[25h[?5l[50;15H1,6       All[5;634[?h[?5l5;115H5,3        ll1;35[34h[?25h[?25l[50;11515,33        All[1533H[34[25?25l[5011515,32       Al[5;32H[4h[2h[?550115H5,9     Al[1;H3h[25h[?25l[50;15H15,2        All[15;2H[4h[?5h?25[50;15H15,26         All[15;26H[3h[25h[?25l[5011515,27      All[15;27H[34h[?2h[25l[0;15H15,6       All[1526H3h[?25[?2l5;115H5,27     ll[;27H4h[?25h[?2l[5011515,28       Al[15;28H[34h[?25h?25l[011515,9        Al[15;9H[3h[?25h[?25l[50;11H5,30        All[15;30H34h[25h[?25l[50;115H15,31        All[15;1[3h[?2h[?5l[0;15H5,2       All[13H[34[?25h[?25l[0;15H15,3         All[5;33H[34h[?5h[?25l[50115H1,34       Al[15;34H[34h[?25h[?2l[0;115H15,35       ll[15;5H[4h?5[?5l[5011515,6        ll[15;36H[3h[?2h?2l[0;155,37      All[153734[?25h[?25l5015H1538      ll1;38[34h[?25h[25l0;15,3     All[15;37[34?25[?2l[5011H1536       Al1536H[4?25?5l[50;115H15,35      All[;35[34h[?25h[?250;15,34       ll5;43h25[?5l[5051,33      ll[15;33[4h[25h[?25015H1,32        All[;3H[34h?2h[?25l50;115H5,1      Al5H[34h[25h?25l[50;15H1,30      l[;0H[34h[5h?5l[5;15H15,29    l52[3[?h[25l[50;15H1,28       Al15;2H[4h[5h[?25l[50;1151527       All[157H[34h?5[5[5;11515,2      l5;26[34[?25h2l[0H[K501H:[3h[?2h?25l
q[34[?5
?2l50;H[K[50;H[?1l>[4h[?5[?1049l_deesprodd~/pliction-tool/cofig\[v@esprdbcoig$ls
0m[00pg_hbaconf[0  [0mpstres.conf.additns0m  [0REAM00 [00recvery.onf[00m
[_dev@easproddb:relcatin-toos/nfi[dev@eaproddb cong]$ cd./spts
_d@easprodb:repicationool/srit\[deeasodbsripts$ 
[0m1;32mc6mbnly[0m 01;32mpg_resyn_replca[0  [0;32mg_escreica_1m  0mit-plcatin.o[00 [0;32mproote_to_master[0 01;mwaarch[0m
[m_deeasproddb:~/plcatntols/sipsde@aspod scipts]$  i-repicain.cof
[?149h?1=[1;434[?5h23[4m0m[HJ25l[50;1H"i-rplicatin.of" 
"pit-relcaton.onf" 12L4577[H[mCnfiuriofle r PTR or replicati nostgreSL .0
or pg_rsync_elic ome_oser a a_arcie
# rsn 1.. Lastudat201-21

# opgt()201-201 PogreSL Exprt,nc
#Liesed uder The ostrSQLLicne; e
 http:/wwwpostgesl.org/boutlicen
#  hend ofthisileo detis.
# Wh oeatngsystemi ts? Wav soespial-ase cd
 for dffernt OS.0m
UNME_S`unm s`
if[ $UNAE_S Lin ]; hen
 S=Lu
l [$UNAMES =unO  && uae -|gep5.1 /evull2& en
 [3m#isriminatebetwee Joynt's-hoe vesionfOpeSolars
[0m [m#nd thmaintreamvesion. nly ay odo it check the doman ame.[0
  una - |gep ijoynt  /dv/ull 2&1 ten   SJoyt[25H[34m# On Joynt smeimes yu wa to s svadm sotimesyou do't
[0m   4m#et ts ariale acrdingly Rcmend sting fals(i.. '')[0
    UE_VADM31m'0m  ele
    OS=penlari
i
el
 S=kon
i

[3m# matrand rlic I adess Thee sould be he sme                                                     [33;          
oal serIn he vnt offailovernd pmotn                                               35;1H           
 otheelcaoa aser yo wll ned tosap hse                                                 37;          
 adess                                                                               [3;1H         0m

ASTR=10.0.3.7REPCA=1.100.3.76
[3# beow hudoteed o behang or CntO                                                      [4;H       0m

GUSR=epiaser
GDA=/var/psql/ata90
RELCATONOG=v/l/pgogpicio.lo[5015H1,       To11H4h[5h?50;5,1      op[2;1H[34h[?2h[?25l5015H3,-1       Top[;H[34h?25h[?25l50;15H,1      Top41H[4h[?25h?25l[11H50-       Top5;[34h[?25[25[511,1      Top6;1H[34h[25h?250;H71         Top[;1H34[?h[255015H,1         To[8;H34h?25h[?2l[501591       p[91[34[?25[?25l[50;11H0,01     Top10;1H[h[?55l5;115111      T11H[3h?2[25[50;15H12,1        To[2;1H[34h[?25h[?l[50513         op[1;1H[3h[?25h?25l[;115H4,1     Top4;[4h[25?2l501H151      Tp[15;[3h25l[515H,1       T[6;H[3h[2[?l505H11      Top[1Hh[?h?2l50;15H181      op[181H[3[25h[?25[0;11H9,        [9;1H[h[?h5l[5;152,1     To20H[h5[l0;11510-   Top211H3h25h?25l01152,1    T22;1H[34h[2h?25l[5;15H231     Top[;1H[3h?2525l[15H24    2H[34h[?2h[25[;5H5,     Tp[25H[34[?2h[25l[5;112       Tp[2;1H[34h[?2h?25l[5;112,1      op[2;H[4h?25[?5l[50;115H21         op[28H3h?2h?2l[50;5H91        Top[29;H[34h[?25h[?2l50;1301        op[30;1[4h?25[?25[5;15H31-       Top[31H[4h[?5h5l0;1H32,         op[32H[3h[2[?2l[50;115H33,1        Tp34;1[34[5[?l[0115H341        Tp36;1H34h?25h[25[501155,1    Top[381H[34h[?25h[?5l50;1H360-      Top[40;H[3h25h[?25l[50;115H37,1       Top[41;1H3h[?25[?5l[511H38      To[42;H[34h[?25h[?2l[50;15H9,01       To[43;H[34h[5[?25l501H4,         Top[4;1[34h[?2h[?l[50;1541,-    Tp[46;1[4[25[5l[50;11H4,     T;1H[4h[?5h?25l[0;15H39,01     Tp3;1H[34h[?25h[?5l[501153,1      op[4;1H[3h[?25h[?5501537,      To11H[3h[?5h[?5[115H,2        To[12H[3h[?2[5l5015H,3        Top[41;3H[h?25h?2[50;1574         op41;H[h[?25[?25l[5;1535    op[4;[h?25h[?25l50;1153,6       op[16H[3h[?25h?25[50;153,7     Tp[1;H[4h?25h[?5l5;15378        Tp[41;H[34h[?25h[?25l[50;5H37,9        Top[41;H[34h5h[?2l[0;1H3710        Tp[41;H3425h[?25l[50;5H37,1         To[4;34?25h[?25l[50;15H37,12       Top[4;1H[3h?5[?5l05H,13    To[411[h?5h?25l5015H37,4       Top[4;1H[34h?25h[?25l[50;15H37,5       Top[41;H[3h25h[25l[50;15H3716       op[41;6H[3[?5h[?5l[0115H3,17      T[41;17H[34h[?2h[?25l[50;115H37,18         Top418H[3h[25h[?2l50;1538,1      Tp428H[3h[25h[?25l[501539,-1       op[4;1H34h[?25h[?2l[50;15H40,8        Tp[448H[h?5h[?5l[0;11H10-     Tp46;H34[?2[?5l[0;5H42,8       Top[47;18H[34h[25h[?25l[50;115H3,18      Top[4;18[3425h[?2l[50;114418      Top49;8H[34h[?25h[?2l[1;49r[49;1H
[1;50r50;H[K[5;115H450-1        1[49;H[34h?5h[?25l[1;9r[11H[2M[;50[48;H[4m# drecry whre log fils are copied to on threpia                                                      49H             [m50;15H[K[50;115H6,8        [4818H[34h?25?25[1;4r[49H
[1;0[50115[K50;15H470-1         5[49;1[34[?25[?25l[;49r[49;H
[;50r[9;1HWALIR=/var/pgsq/wal_rchive[50115HK[50;15H4818       6[418H34h?25[?25[149r[49;1H
[1;50r[50;115[K[50;15H4,-     7%[9;1H34h[25h?25l[;49r[9;1
;50r[491H34m###########################[0m50;15H[K[;11550,18       8%[9;18[34h[?5h[?2l[1;4r[4;1H
;549[3m Begi OS-ecic eting0m0;15H[K50;1H5118     104918[425[?l[;9r[9;1H
[1;50r[49;1H[34m#########################[0m50;115[K[5;11552,18     11%49;8H3h[?25h?25[50;15H1,18       11%[48;18H[4[?5h[?25l[0;11H50,18      1147;18H[34h25h?2l0;1549,-1     1%[46;1H[34h[?25h[?2[50;15H4818      1%[51H3h[?h[2l[0;H471    11[4;H[3h[?25[?2l501546,1       11%[21H[34?5h[?l50;1H4,0-1       11[41;1H3h[?25h[?2[5114418     11%[4018H34h[25h[25l[5115H4318       11%[3918H[34[?25h[25l[50;15H4,18       11%[40;18H[34h[?25h[?25l[50;15H5,0-1       11[41;H34h[?25h[?l[5011546,18        1%[42;8H[4h[?5h[25l[5;1154,0-       1%[41H[4h25[?255;11H8,1       11%45;8H[34h[?25h?25l50;154,0-1      11%[46;1H[4h[25h[2l[50115H5018      11%47;18H34h?25h?5l[50;115H51,1       1%[;18H[425h[2550;15H5218      1%[4;18H[4h[2h[25l[1;49r[4;1H
[1;5[49;H[m#[0[5;15H[K50;11H531       12[41H[3h[?2h[?5l1;4r[49;1H
[50r49;1if [ O =[31m'Joent'[0 ]; then5011HK[0;1554,8        13%[9;1834?25[?2l1;r[4;1
1;r[4;3HGAE/va/gql[5;1H[K[50;115H55,18         15%[49;1H[3h[2h[?2l[0;115H5,18        %[41834h[2h[25l[50;115H3,1         15%[71H[34h?25h25l[50;15H5,18       1%[6;18[34h[?2h[?25l[50;11H51,8       15%45;1H[3[?25[?25l[50;115H50,8        15%[44;H[3h?2h?25l[0;11H49,01       15[431H[3[2h[?25l[50;11548,8        5[4218H4h[?5[?25l50;115H47,-1       1%[4;1[4[?5h[?25l50;15H46,8       1%[3;1834h[25h[25l[50;115H45,0-1       5%[8;1H34h[25h[?25l[50;115H44,18      5%7;18[34h?25h25l[50;15H45,-1    1381H[3h[?5h[?2l[5;115H,1     13;H34h[5h[?25l[50115H47,0-1       5%[11[3[2h[?5l[511548,1     %4;8H[h[?25[25[5115H4,0-1        15[4;H[h[25h[25[0;15H5018        5%[4;8H[4h[?[?25l[0;11H5,18        5[451H[3[?2h[?2l[50;115H52,18       1[618H34h[25h[25l[50;115H53,1      15[7;H[34h?25h?25l[50;115H48       15%48;1H[34[?5?25l[50;11H55,18        5[4918H4h[?5h[?25l[1;4r49;1H
1;50r[49;HPCT=/otloal/n/pg_tl[50;11H[K[511556,18       16[49;18H[34h[?5h?2l[;49r[;1
[150r[49;HPSQL=/opt/localbinpsl[5;115H[K[5;115H57,18        17%[418H[4h25h[5l;49r[49;1H
[1;50r49;HRSYNC/optlocabin/nc[50;115HK50;155,1       18%9;18H[34h[?25h[?25l[1;49r[9;1H
[1;5r493HSSH/usr/binssh[5;115[50;1159,1        20[49;18H[3h?2h?2l1;9r[4;
[509;HCP=usr/bin/p[50;15H[K0;1H0,6     21[4;H[3h[?52l14[491H
1;0r[4;1Helf [ $OS = [3m'Lnux[0m  then[50;15H[K[5;15H61,18       22[49;1H[34[?25h[?25l[1;49r[49;1
[1;0r[9;3H34m# hese settings are for CenOS. Oter dstribtionsmy e different.[0m[50115H[[5011H6,18      24%[49;18H[34h[?5h[?2l[149[9;1H
[1;50r[49;3HPGBASE/varlib/pgql[0;115[K0115H63,18       25%[9183h?25h?2l1;49r[4;1
[1;50r[493HPGCT=/us/pgsq-9.0/i/p_ctl[50;115H[K[50115H6418       26%[9;18H[34[25h[?25l[149r[4;1
[1;5r[493HSQ=/ur/gsql-.0binpsql[0;1H[K50;1H6,1        249;1834?25h[?25l[1;49[4;1H
[1;5r[4;3HRSC=usbirsnc[5;1H[K[0;115H6,18        2%9;1H[34[?5[?25l[1;4r[4;1
150r[4;3HSH=/us/bin/sh[0;15H[K[50;115H671        0%[4;18H34h?25[2l[149r[;1
1;049;HP=/in/cp[50;115H[K[50;11568,12      31%[9;1H[34h[?25h[?25l[1;49r[49;1H
[150r[91Hse[5;115H[K[50;115H69       2%[4;4H[4h[?5h[?25l[1;4r[491H
[;50[9;ech [31"Unecognized O."0[5;15H[[50;15H718       34[49;18H[3h[?2[?219r[4;1
[150r[9;3Hexi 1[50;11H[K[50;15H71        3%49;8H[4h[?25h?25l[1;49[49;H
[1;50r[49;1Hfi[50;15H[K5;15H72,         36%[4;2H[34h[?25h[?25l1;49[49;H
[;0r[515HK50;115H3,0-     37%49;H34[5h?25;49r[9;1H
1;5r[491H[3m# am ad oction o the fle tha stps archiin on the Master[0m[50;11H[K[0;11H7,1        39%[4918H34h[?5h[?2l[1;4r1H[2M1;0r[48;1HTOUCHFILE=$PGAS/noarhivi
[4m# Nme andlocationof thefile whihtps recovers on the slav[m[0;11HK50;11H75,18       1%4818[3[?25[?2l[0156,18     41%4;H[h[?5h[?l[0;155,1       41[48;18H34?h25[50;115H74,1        41[47;1[3[2[?25;15H3,0       41[;1H[34[?5h[?5l50;11H722         1%[452H3h?25h[?2l[0;11571,         41[4H4h[25h[?2l[0;157,8       4%43;8[4h[?2h[25[50;15H64      1%[424H[34h2h[2l;11H68,1       41%[1;12H[34h[?5h?25[0;5H618     41[0;18[3h[2?5l5;5H61       %39;183422l5116518      41%38;1[34[?2[?25[5015H6,18      41%[7;8[3h[?5[?5l[5;115H5,18       41%[;8H34?25h?5l50115H66,18         413;[34[?2[?2[;15H6,18       41[3;8[4h?5h?5l[50;11H4,8      1%1834h[2h[2l[0;11H6,18     %[31H[3h2525l[50;15H,8       41%[9;1[?25[?25[5;156718      41%40;1H[[5[25[5;11566,    41[9;8H[3h[2h5[0;1565,18    [8h[[?25l[50115H48      %[3;1H34[2h[?5l[5;11H63,18      %[6;18[4h?2[?5l[5;115H618    413718[4h[?2[?2l[0;15H6518      4%[38;1H[34?2h[255011H6,1       41[;8H[h[?h[?2[115H7,8       4%[4018H[4h[2h[?5[0;1156812      1%[412Hh?25hl50;11H6,4        %[4;H[h?2h[2l50;1H701      4%[318H4h?25h?25l[50;1H71        4[44H[3h[?25?2l[50;1H72         1[45;H[34[?25h?25[50;1H71      1%[461[34h?25h25l[5;15H74,8     41%[47;1H[4[?25h[?2[505H51      41%[4;1H[3[25[?2[515H7,1       41%49;H[[2h[?5[49r[;1H[2M[1;0r[8134# n rin it  as te ne mtr[0
BRINP$PGA/BIGUP[0115K[0;157,18      42%4;18H[34h?25h?25l[0;15H7,18      42;18[34[25h[?25l[49r[1H[10[41Hm# ol esinatinfile int o a e ntaing listofuted drctri o cp[m[5015K[50;15H9,8      4%[8;8H[4h[?5[?5l[5;11H0,18     4%[918H34h[2h[25l149[;1[2M1;5r48H[3m# WAfile o. If n sng, *o n leav mp*, jst us the
# defau and o'tcethe iem[5;1H[K[0;11H1,18     4%[4;1H4h[25[25l[50;11H82,18    6[9;H[3?25[25l[149r[49;H
[1;0[41HLOLDEIATINSLIST[31$PGBA/scrts/lcaldstinions"[0m[50;115HK[5015H818    8%[9;18H34h[?25h[2l[1r4;H[1;0[9H[3m#[m50;15[[015H41     49%[49;1H[34h?25[?5l[50;1H8,18      9%[4;18H[34[?2h[?5l[505H8,8     9%[478[3h[5h[5l[5;1H8,18     49%[461H4h25h[5[5;158,18     49%[5;18H34[?2h[?[50;15H,18     9%[4;18[34h[?25h[?5l50;15H7,18      49%[4318H3[?5h[?5[50;15H,1      94218H[34h?25[?5l[50;15H7,18      49%[41;18H[34h[?2h[5l[50;15H7,1      49%[40;18H[34[?25h[?l[0;15H7,19      9%[4;19[3h[?2h[?5l5015H7,20       49%[4020H[3[?[?5l[5;15H7,19     49%[40;19[34h?25h[?5l[50;15H7,9      4[3919H[4h[25h[?l[0;15H70-1     4%38;1H[34h[25h[?l[5;5H72       9%37;2H34h[?25[?25[50;11H71,      4%[368H[3h[25h[?25l[50;1150,       49[35;19[3h[?25h?25[5011569,4       934;434[?5h[2550;11H8,2     433;1[3h[?2h[?l50;15H7,18      49%[;18H34h[?25h[?25l50;115H6,19       49%31;9H[34h?2h[?25l50;115H5,19      49[3019[4h[?5h[?2l50;11H4,19       49%[29;19H[34h[?25h[?2l50;11H,19       49%[28;19H[4h[?2h[?5l5;115H2,19      49[27;1H34h[?25h[?5l0;1151,9      4%[26;19H[34h[?25h[?2550;15H016      9%[2516H[34h[?25h?25l0;115H9,1      49[24;18H[34[?25h[?25l50;118,9     4%[23;9H[34h?25h[255;15H19      9%[2219H[4h[?25h?25l5;1156,1      4[211H[3h[25h[?5l50;15H5,19     49%[201934h[?5h[250;115,19     421;[4[?5h?25l50;15H719      49%[22;19H[34h[?2h[?2550115H,19    49%[3;9H[34h[?5h[?2l5;15H9,1     4%[2418H[3h[2h[5l;15,16     9%256H3h25h[25l50;111,       49%[2619H[34h[?2h25l50;15H29     49[27;9H[4[?2h[?55;1H319     49%[28;19H[3[25[?2l011,      49%[288H4h2h?5l5;15H,17    49%[8;1734h?5h250;1153,1    4%[8;16[34h25?2550;11H3,15      49%[28;15[34?25h[2550;15H3,14       49[28;1[3h[?2[?2[0;15H6,1       49%[8;3H34?2h?2l[5011H3,    9[82[?[?5l[5;15H613     9[;13H[h[5h[5l[15314    4%;1H3?25?2l50;115H3,1       9%2;[34[?25h[?25l5011563,1        49[2;1[34[5[?25[50;15H6,1      49[281H[3[?h[?2l[50;115H6417       4%2;7H4hh?5l015H6,1    9%[01H34h[25[25l[5;115H617      49%[;H34h25?25l[50115H3,7      %;7[3h[?2[2[015638  9%23[2[0;11H6,1      4%[28;9H[322[0;5630   9[2H[52;1H6,2       %21H4[h?5l[50;H63,   %822H34h5[25[50;15H621     %28134h[25h[25l[0;115H3,20     49%[28234[5h2;15H63,    9[8;H3h[?25h[?2l[;156,      4%288H[4h[?2250113      [217H3h[25?25011H6,6     49%[8;16[34h?25[?2l0;1153,5    4928;1H34h?25h?2l0;H63,1     4[2814H[34h[?25h[?2l[01631    49%[8;13H[34h[25h?25l;1H3,1     49%[2812H34h[?5h?2l1H6,       4%[2;11[4h[25h[250;151     49213h[25[?5[5;11541      42;0H34h[?25h25l0;155   49%[30;1034h[?5[?25015H61     9%1;10H3h[?h?l0;15H7,0      9%[3;0[3[?25[?25[5015H610   49%3;1H4[5h[5l0;15694       49%[34;4[34[25h2550;170,     %3510H[34[?25h?5[505H1      9%[6H[34?25[2l511H72       4%[7H[32h?5l[153,0      49[38;1H4h[5[l[;115410       4%[3;10[3[?50;175,10    49%4;10[4h25h5l0;1561      49%1;1[34h25[?5[17710      9%42;0H[3?[?l0157,0       9[43H[3h5[?5[;1711     9%[411H[425h[l0;1578,12       9%[3;13425h?25l50;15H7,13      4%3;13[3h25h[?25l[50;115H78,14       49%43;14[34[?25?5[0115H815       4943;H[3h?2h[?2l[5011H7,1     4[36H[h[?5h[?l[5;11H8,17     %[47H4h25[25;15H7,1       49[;18H34h?25?5l50;115H78,19       49%3;1[4h[?25h[?25l[50;115H720      4943;34[?25[25[50;115H78,1      4[4;[3h?2h?2l[0;115H822        4[432H[4h[5h[?5l[50;11578,23        %[4233h[25h2l[5;115H7822       %[;2H[4h?h?5l[50115H78,2     49%321[34h[?25?25l[0;15H78,20    4%[4;[34?25[?25l[0;15H1     [43;9[3h?25h[?25[50;1H788      4%[438H[4h[?25[25l[;15H781     %[4;14h?5h25[50;5H77    9%;1H[3h[?2h[?l[5;1H,17    4945;734[?25hl[115,7     4%[461[34h[?25h[5l[;1182,7     49[47H[3h[25h?5l[01H81     4%[87H[34h[?25[?25l50;5H4,     9%4;1H[34h[25h[25;4[49;H
;5r[49134m########################[0m511HK[0;11H8,17     50[9;1[3h[?2h[?5l[1;49[;1H
1;r[491H[# EdOS-pecifc setins[050;5H[K[0;5H61     5%[4;14?2h[?19r;1HM[150r4;1[3m##############[0m[;1H[K[0;1H871      54%48;1H[34[?2[?2l[;115H8,0-1      4%[491[4h[?h[5l[;4r9;1[50r[91[34# Shold weuse SH  ullync[5;11H[K[015H87    549Hh[?2h[?59r9;1
1[9;HUSESS_SYC=ye[50;1[[5015H,6      56%[9;1H34[?5h[?[;4r491H[;50r50115[[50;5H9,-1  8[1H[h?2h?25[1;4r49H
1;50r49[4m rsyc optons. salyilds cmresin[0[50;115[[5;151     9[49;1H[3h[?25h[?5l1;4r[4;
50r9;HRYN_OPT[3m"[0m[;15H[K501H93,     0%[492H[34h[?25[?25l1;4r[;[2[;0r41H[m# sncervshanme f in0[5;115[50;1H94,0   6481[34[?2[25[0;15H5,     6[417H[4h?25h[?2l1;r[49;H
;50r491RYN_SR=[1""0m5015K50;119,1       64%[49;15H[h[2h5l[49[9;
[150r[;1HRSCPAS=3""m[5015[5115713     %[493H[4h[?5h[?l1;r[4H
[5050;1HK[;15H9-      67%[49;1H34h[255l[;4949;H
[1;5[49;1[34# HOpts[m5015HK[50;15H99,13         6%[49;3[4[?5h[5[1;49r[49;1H
[1;50r[;1HSOT[m[m50;11[K50;15H10010      6%[410H4h[?2h[?5;9r491
[;50[0;H[0;11H01,-1      71%[491H4[?2h[?2l[1;4r[4;1H
[1;5r[;H[3# ----------------------------------------------------[0m[0;115[K[;1151021      72%[49;17H[34h25h5l;49r49;1
[1;r[49;1[34#Threlictiontoopaaei liensd underthe streSL Lene:[0m[0;15HK[50;11H103,1      3[9;17H[34?5h[?25l[1;4r49;H
[1;50[91H[3m# [m[50;11HK[5;1H14     7%[42H[3h[?25h?2l[50;15H1317    %[417H[4h[?25h[?5l50;151,17     %[;1734h[?5h[?5l[50;15H11,0-1    5%[6;H34h[?25h[?2l[50;1H1,10     5%[510H[3h[25h[?20;15H13     5%4;1334h?25h?2l50159,0-1   7%[43;1[3[?25h[?2[50;593     %[41[4h[?2h[2l0;95   75[41;5H[3h[2h[?5l[155,1    %[401H34[25h5l;19,    5%[1H4h?5h[l5053,2     5[3H[4[?2h2l[50115H17  75[17H[4[25h[25l[115H,0-1    75%6;H34?5h5l5;15H9,16     75%5;1[34[?25[?5[;1H17    5[34;7H[[5h[?5l50;150    3;1H34h[2h[2l;1581    %2;1[34h[?2h?2[5;15H8     %[3;7Hh[2[2l[5;15517   %[3;17H34h2h?l[0;1H841       529;1[34?25[?2[50;H81     28;7[3h?2[?2[515H21     %[271H[34[?2h[?2l50;5H,    7526;7H[h?25h?5[5015H,7     7%[27H[4h[?25h[?5l[50;5H717      %[2173h[?2h[l[0;157,7     5%[;17[34h[?5h[?5l[5015H9,17    5%24;1[4[?525l50150,17     75%[25;H[3h?2[2550111,17  75[27[4h?5h[25l[5;1582,1      7%271H[34[25?25l[;153,7    5%[17H[34h[2h?2l[51158,1      75%9;1H[34h?25h25l[115H517    75%3017H[34h[?25h[25l5;186,7     %[3;17H4h[?25h?255;15817    5%[3;17H[34h[25h?5l[;118,0    75%33;1H[4h[?25h25l;189,1    75%[34;1[34[?25h?25l[5;15916      75%[3516H34h[2h?l[;1151,0     75%[36;1[34[?5h25l[5159217     5%71H[3h[25h?5l[5153,2  5%[312[4h[?25h?25l0;114,0     753;1H[34h[5?255;1595,1      %[;1H4h[h?l;596,1      75%[41;H[3h[?5h?l[;1197,1      75[;13H34h?25h?5l0;11H8,01       75%43;1H[34[?25h?25l[;199,13      5%441H[3h[?2h2l5;1510,1     50H34h[25h25l0;11H01,  7[;1322[;110,1     5%4;1H4[?25?2l[5;1513,1    75[417[4?h?25l0;11104,       %[92H34h[25h?25l[19r49;1
10r[9;H[34# priht(c)201201, PoS,Expt, Ic.[0[0;15H[K[;11H15,7    749;7H[3h[?2h[?25[;49[49;
[15049;[4#0m[5015H[K[50;15H0,2      8%492H[h[?5[?5l1;9[9;
[;[491H3# ermsson tou, cp, mdiy,ad disrbut ti sftwr and ts[[5015H[5015H1,7     9[49;7H[3h[?25[?2l[1;9r[;H
[1;r[91H3m#ocmeati fy prpse, withu ee, ad hut  rien aemt is[0m[50;115H[K[501H1087      %[417[3[25[?25[1;9491H
[1;504;[34m heey rane,povidedtattheave cpyightnoti andtis ragr[[50;1H[K50115H1017     8[497[?25[519r491H
1;5r[9;Hm#nd t flwing wo aragrahs pa n cpes[m[5115H[5;1H1,1   83[97H[4h?5h[?5l;4949;59;1[3m [m[0;15HK[501H1,   4424h[25h[25l1;49r4;1H[[;1[4m  NOEVETHA POTGREQ XPRIC IL T N PRT FO DIECTm[5;15[K[01511,17      8[417[425?l1;4r[4;1H
1;0r[491H[# IDREC SPEA,CIETA,OR CONSEUNTADAMAGS,IUDIGLOS[0m5;15[K[0;15H1,1      87%4917[34h[?25h[?2[49r491H
r[4;1[4mPRFITSASINUT F THESO HISOFTWRE N IS DOMNAION,EVENm5;115HK;15H114,17    9[417H[4[5h[l;9r[49;1H
;0r[9;H34IF GRSQ EPERT, NC.HSENVIEOE SIBIIT  SUH0m;115K501151,7     9%[9;1[34h[25h[2l19r4;1H[;5r49134m#AM.0m[5015H[[5;15H1,9    91[9;[3h?2525[1;r[9H15[4;1H[m# 0m[0115[K[;111,2    3[4;[45h[?5l[;9r1
[0r49;134mPOSGRESQLEXPES, IC.PFAL DSS YWRRANTIS, CLUDG,BU[11HK501158,   %497[3h[?5?5[1;949;H
[;0r[4;1[m NLMIEDO,TH ILD ARRTIE MEHANTABILITY AND FINS RA[0[HK501519,    9%[7H[35[?5[149r[49;H
;5[49;[34mPARTCUARPO. TE SOFTWRE PROVDED EREND ISO AN"AS I"BSS,[0m0;11H[K0;111207     9[4917[3[?2h[?2l[149[4;H
[50r4;1H[34# AND POTGRSQ EPERS, I. H NO OLIGATIO T PRVIDEMAINNACE[0m[0;15H[[50;15H121,7       98%[49;1[h[?h?2l[;49r[491H
[;049;1H34m#SUPPT,UATS, ENANCENT ORMOIFICATONS[0m0;15[K[5;115H122,17       Bot[4;17H[4h25h������[?25l[23[24[0mH[J[[2[0mH[J1;1H[34m# on all ervers  Inte ent ofailoer and promotion                                                           [2;1H             
# othe elicto a aster you wil ned to swap thse                                                               4;1H             
# addrsses                                                                                                   [;1H             [0

ASTER0.10.23.9
REPICA=10.100.2376

[34m beloshoud notneed o be changed or CenOS                                                                      [12;H            [

GUSERrepliauser
PGDATA/var/psql/ata90REPLCATIO_LOG=var/log/pg_lo/repliatio.log
[3m# diector where log fies arecopid to  thereplia                                                                 [1;1H           [0m

WALDIR=/var/gsql/wl_arhive
[3m############################
#BeinS-spcificsettigs
#########################[0
if $OS =[31moyent'0m ; th
  PBASE=var/psql
 PGCT=optloal/bn/p_tl
PSQL=/opt/local/n/psql  RYN=/p/loa/bi/sync
  SH=/usr/bin/ss
  CP=srbn/cpeli $O = [1m'Linux'[0m ] then
  [4m# esesttig ar for CentOS. Oter disiuionsay ediferent[0
  PAS=var/li/psl
 GCT=usrpgsql9.0/bi/pg_ctl
  PSQL/urpgsq9.0bn/pql
 RSYNC=/usr/bi/sync
 SH/usrin/
 CP=/b/cp
else
  eho [3m"necogzedO."0
 exit 1
fi

34m# mead lotio f te fil tha stops rciing n h Masr[
TOCHFIL=$PGBASE/no_arciving
[4# Na an ocaion o the file whichstops ecvrs othesave[0m[0;115H75,1         41[1H[h[2h[25l[;3H[34mPowers g_resyc_elica,prome_tomaste and wal_archie[0m1;6[K[1H[[3;3[34mersion1.6. st upaed011-2-1.0m[3;41H[K[4;1H[K[5H[34Cpyight c 20-2011 PostgreSQL, Expers, Inc[0m[5;53[K[;1H[34m# Lienedunder he PosgreSL Licse; ee
# htp://ww.posgrsl.orgboutlicene
# r the end of his fil fodetais.[[9;H[;1[3m# Wat opeatin syse i his?e hav soe spcial-cae code
 for dffernt OS.[0m[11;21H[K[12;1HUNAME_S=uname s`
  $NME_= Linx ]; then
  OS=Liux141HK[151Heli [$UNAMES = SunOS ] && name -  gep .1 > /ev/null 2>&1; then
  [3# isrimiate btweenJoent's n-house versionof OpeSlais
0m  34m# and te maintream vrsion.Onlyway t do i: checkthe oan am.[
   unae -n grp- jyet > /ev/null 2>&; then[18;4H[K[19;1    OS=Joynt[1;14H[K21;1H   [4m# O Joyet, someims you want to se svcdm; ometies yo don't. 
[0m    [34m# et thi varable ccordngly. Recommended setting false(i.e '').[0
   USE_SVCADM=[31m''[0m[23;18[K24;1H else[24;7H[K[25;1H    OS=OpnSolars[2;19HK[261H  fi
else[27;6H[K[2;3HOS=nko[2813H[[29;1Hfi[29;3H[K[30;3[K[3;1H34m# asterand replica IP addresses. Theseshoud be he sae                                                                  32;1H          0m32;14H[K[33;1H[34m#onallsevers  In he evnt of failove ad promoton                                                           [34;1H              [0m[3;15H[K[3;1H[4m o the replica to a mster, ou wll ned to wap these                                                             [61           [0m[36;15H[K[371H[34# adresse                                                                                                       [3;1H           [0m[8;1H[K[39;3H[K40;1HASTER1010023.9
REPICA=1.10.23.76[42;1H[3;H34m belw shod n nee to be hanged for CntOS                                                                          [44;1H            0m[4;1H[[46;1HPGUSER=replicaser
GDAT=/v/pgq/dat0[7;25H[K[48;1HRPLICTION_LG=/vr/logpgoepliction.lo[49;1H[[50;15H341         1%[35;1H[34h[?25h[?25[1;49[1;H[L1;50r[1;1H[34m# Configurationfile fr PRor eplictio on PostgreSQL 9.0[0[50;15H[[50;15H441          Top[49;1H[34[?25h[?25[23m[24m0m[H[J[23m[24m[0m[H[J[1;HPGDTA=/vr/pgsl/data90
REPLICATION_LOG/varlg/pglog/plicaion.lo

[34m#directo wher logfilsar cpied to on herlica                                                            [5;1H            [0m

WALDI=/v/psq/wal_rcve

[34m#########################
 Begin OS-specific settigs
########################
#[0m
if  $OS =[31'Joyt[0 ]; hen
  PGBASE=/ar/sql
 PGCT=/optloalin/pg_ctl
  PSL=/pt/lal/i/psq
  YN=/pt/local/bin/rsync
 SS/usr/nss  C=usrin/cp
elif[$OS =[31'Linu[0]; thn
 [34# Tes sttins ar or enOS therstritionsmay bedifernt.0m
  GBAS=/varlib/psql
  PGCTL=/usr/pgsql-90/bin/g_ct
  PQL=/ur/psql-9./bn/psql
  RYNC=/ur/birsy
  SH=usr/bi/ssh
  CP=/inc
el
 cho [1m"recognized OS."[0m
 eit 1
[34m Namand loctio of th fle hat stpsacivigoheMaer[m
TOCHFL=PGBAE_ahivi
4# ame ad lcato ofhe fil whih ss rcver nthe lae
# ndringstuas hnewatr[0m
BRINUP=$PGBA/BRNGP
34# oca estinaionsfile
# on to a il ontaiing alis of munted irectr tocy
 WL iles o.  If not using, *do notleave mpty, jus use he
# deal nd don' ceate te fi.[0
LOC_DESTNATIOS_IST[m$GBS/srts/cal_dstnatins"[0m
34#
###################
# End S-secifc etngs
#############################

 Shoul we se SS fo ull sync?0m
SE_SSHSYC=yes50;15H43,         56%[1;1H[34h[?2h?25l[0;11H[K50;H[4h?25hq[25
:q[h[?25
[25l[0;1HK[5;1H[?1l>[34[?25?14l_dv@easroddb~/replicatin-tools/scrips\[de@easrddbscrips] vi pitr-rlcationonf 
[109h?=[;0r[34l[34h[?25h[3m[24m[[H[[?5l5;H"itr-relication.nf 
"pir-eicaoncof" 12 577C[1;1H[3m Coniuraton fie forPIR o replictin on PtreSQ .0
# Poers p_resync_relic, pomo_matr nwal_rciv

# Versin .6 Lat pdaed20110-17

#Copyright (c) 2010-2011, ostgreQL, xprt Inc
 Lcensed uner ThePotgrSQLicnse e
#htp//ww.ostgresql.orgabout/icene
#  theed o hi flefor detals
# W opeatigsyste i this? We have se speal-ase cd
for dffrent Os.[0m
UAME_S=nam -s`
i [UNAME_S  Linx];the
 S=Liux
if $UNAMS  SunOS] & uam -r  grep .11  /devnull >&1; then
  [4m Discrminat beteen Jyent' in-huseversionofOpenoaris
[0  [3m# an the mainstream version. lywatoo it:checkthe dmanname.[m
  ifuam-|e i oynt > /v/null 2>&1; then
    OSJoyet[225H[3m# On Joyent otimes uwant  us sca; soeims you on't. 
[0m   [34m Sttisriabe accordingly. Reommend settn: s (ie. '[0m
  USE_SCADM=[m''[0
  lse
   OSOpenSolaris
  fi
else
 OS=ukown
fi

34m mate and replica IP adresses The shold bethe sme                                                          [31H         
on al serers. In theventf aloveand pomoion                                                                    35;1           
# f the replica to amster,ou ll ned oswap these                                                                    [3;1H            
# addresses                                                                                                        [39;1             [m

MASTER=000.23.7
RPLICA10.10.3.76

[4m# beow shuld otnedto echngdforCetO                                                                      [45H           [0m

PUSER=relcaer
DATA/var/psql/ata9
REPICTIN_LO=/vlg/g_ogeplictio.log[50;15H4,1         op[4;1[h[?25h


?l>[?149l
[1  Soppd             i itr-rplitionco
dev@esprodb:~/replication-tols/scrpts\[dv@eaproddscrts]$ sbin/iconig 
eth    Ln eca:Eherne  HWaddr 0:50:5:80:0:C 
      inetddr:0.50.0.19  Bcast:10.5.60.255 Mas:255.55.250
         int6 addrfe80:20:6f:fe:c06 Scope:Link
         PBROADCAT UNING ULTICS  MTU:1500  Metric:1
        RX pckets6880 errrs:0 doppe:0 ovrrn:0 fre:0       X packet:309480 rros:dope0 ovruns0 arer:0
       collisios:0 txqeuen:10 
      RXbytes:51032563486.7 i) X bys:106480 (32.6 MiB)
         Inerut:59 se dress:0x2000

lo     Link eap:oal opbk  
         net addr:7.0.0  Mak:55.0.0        ine6 addr: ::/128 Scpe:Hst
        UP LOOPBACK RUNNI T:1636Metc:1
      R packets3670 ero:0 ope oeun:rame:0
          TX pacet:690 rors0dropd:0 oerrun0 crier
       llsns:0xueueen:0
        bys46819467MiB  TXbytes:3695519 416.7MB)
_d@eapodb:/eplato-tols/cripts\[d@espoddb crips$f
im pitr-eplcatio.cnf
?1049h[?1h=[34l34[?25h[3m[24m0mH[[?2l[1;H[34#Conigratinfie frPIT orepliatin on PostreSL 9.0
# Powers pg_resyncreplic, prmote_o_matr nd walarcie

#Vesion .6. Lstpdate 01-02-1.

 Coyrg c) 21-2011,PostgrSQL,Expers, In.
#License undrThe PtgreL Lensesee
 htp:/ww.ostgrsql.or/aboutlicece
#or th end of ths fe foretils.

 Watopratin system is this? We have ome spcialcase ode
 for diffent OSs.[0m
NAME_=`unme -s
if  $UNAME_S = Liux ] then
 OLinu
eli [ $UAE_S  SnO ]&& nae - | gre .1 > /dev/null 2>&1; then
 [34 Dicrimiate btween Joyent's in-hose eron of OpenSolaris
[0m  [34m#and he manstrea vrsion Onlyway to dit: check the dman me.m
if unae n | grep - oyent  /v/null2>1; thn
  OSoyent[2;5H[4m n Joyt,ometims you wan t se cam; soties youdon't. 
[0m   [34m Set this vaiabl accordingly. Recommended seting: false(i.e '').[0m
   UE_SCAM=[31''[0m
  else
  OS=OenSoaris
  fi
else
  OS=unknown
fi

[34m maser an replca IP aresse.  These sould b tesame                                                         [33;1H         
 on al serers.  I the evnt of faiovr ad prmoio                                                                 [5H        
 of terecat a ter,you lned swathese                                            [37H         
 ddrss                                                                                                  [1H         0
MATE0.00.397REPLC1000.236[3m blw hudn nee  e chnged fr CntO                                                               [45;1H         [0m
PSER=eplcase
PAA=var/pgql/dta
RPICTIO_LO/vrog/p_logrelcatonlo[5015H43,1          Top[48;1H[4h?25h?25l[50;15H421       op[7;134h2h[?5l50;1154101      To[;1H[h?25[2[50;15H40,1       Tp[4;1[3h[?h[5511539,-1       op[4;1H34h[?5h25l[0;15H38         Top[42;1H[3h[?2h?25l[5011537,1         Tp[411[h[5h[?25l[0;15H3,7          Tp[4;H[45h?25011H3,8    To[1;H425[25[;1- SRT[0[50;15H[[50;11H7,       p[48H[[4;834h?25h?50.250.0965;5H,1    T4214h?5h[;[[1;0H[5l[0;1H37,20       Top[1;2H[34h[?25?25[50;15H38,0       Top[42;20H[34h[?h[?25l[50;15H38,       op[;19[3h[?25h[?2l[5;11H8,       p[42;H[34[?h[?l5015816      Top[4;1H34h[?25[?25[50115H3815        op425H[34h?5[25l50;113      To[4212H3h[25h?255;15H3811      o[4;134h[?255;1H39        op29H[4[?255l50;H4 wer n[0115[K5H1-INERT -[0m501H[K0;11H38,9     l[01[K[4;H25.0.1
[134~                                                                                            [41H                                                                                               [41~                                                                                          [46;1~                                                                                            [;~                                                                                   [48H~                                                                                            1H                                                                                            [m[01H3,1       All[42;21H4h?2h��?25[5;84mor lies; befor #2 secdsgo[5;5HK[4212H002376[42;2H1;2lgds[0m
-wrwr-1 ev d 46665Nov8 210 [0mad0ba-2.bacup[0m
--r--r- 1evde  09 ug 513:7 011mlctool.t[0
-wrw-- 1 e dv   1 Ag 513:80mceeog.0[0m
-rw-rw-r- 1 dvdev49995Fb4:9 [0msmaps.backp[0m
-w----1dvd    170 Jl 28:30myscrp[0m
[_ev@esprodb:~\dev@eprodb~] t ady0 
[dveasprddb ]$ otae
sprbdv@sprdb ~ echo$TER
s
ev@eprodb ~]$ls
aselneds. fls.tt ld.s d1_-beta2.bakp  rplicin-olsz apbcp esrt
deveprdb~sb/fcofg
th    Linkncap:heret Har 0:5:0:0:C0
       inetadr0.5.6.16Bca10.0.0.255  Ms:555.5.0      ineadd fe80:25056ff:80c6 Sope:nk
     U RODCS RNIGMTICS T150Mtr:1
      R paes:516eror0 dpped:veun: ame0
     X ces303 eors rppe0oerrun:crier:0
       liins0tqueuelen:000      Rbyts:07531(46.4 MB TX yes381499322MiB)        Irrupt:9 Bs addes:x200

lo    ike:ocob      it a:7..01  Mask550.
      it6 dr 112 cope:ot
        UPLOOBARIG  TU:163  Metric1
        R aet:3751errs0droped: errs: am
     X cet35 rrrs oe:0oveun0rre0
      coiso:0txqel0     by:467410 (16. MiB   bye43605 46.Mi)

deveaspodb
belidsh dlg.  lg.smd-0-ta.bcp rlicaitls.zfmp.p typsci
[veasrddb ]$














d@eapodd:~\[deveasprls mtota 1974
rw-r-- dev d   48Ju   1:210;32seli.s0m
w-r-  e de  672 Jul18 13 0d-gsx[0
-rw-1 d dev  176 u5 :38 [00mrdcop.[0m
-wrxr e    78Jul 1 14:55 [032mog.s[0
r- 1dde63766 Nov 8 201 0ad-be-bku[m
-rw-r--r-- 1 dvdev  92Au5137 0;3mreplatiotoo.g[00m
-w-rw--dev    29A  5139 00mrenlg0[00
rrwr-1  dv 99798eb24 9:9[0mfmapsbackp[mrwr-- 1dev de  370 l  :31[mpcrip[00m
m_v<at:var at:name="eaprdde" />easpoddb $ae
ug513400P 21
_dv@esproddb~\[aodb] d��-l
[mtta1097
-r-rr- de   n  8 12:21 [013mbeln_s00w---- ev ev  762Jl1814 00flgs.00m
rw-r-r-- deev  13Aug 1[0mropy0[
-rr-x-x de    8Ju 8 1455 ;3ldh[0
rr ev de 4676665 No  8010 [mm1_-ta-2cu0m
---- 1 v ev   92 u  5:37[01;mreliction-tos.gz[00m-rw-w---1 devev  299Ag  133 0mreeg[mrw---- 1dv dv 4795 4 0fmpsbackp[0
-w---- dee 37ul 220:31[mtyesrt[0mev@asrd:~[dv@esprdb ~]  hadoy. 
[veardd~] hstname
esprb
[dvepd co$ER
cren
dev@erd lbend.h  df-ogs.  log. d0-t-2aku relicatio-toos.tg mas.bkp ypeipt
dev@easpoddb ~] /binifof
 Lienap:Ethernet Had560:0
    ietaddr:.20.6.9 cas1.5602  as:2.255.2550
      inet ad e:505ff80:c0/64Scop:ink    ODCT UING UTICAST T:150Meri:
    RXpcket:68565 rr: rop:0erru0 ame:0
        TX kt307 er: rop: orrunscri0
      colso:0 txuuen:000
       R byt:5107918i) X ytes:38149 13. iB    Itrupt5 ase des:000
lo   Lnk c:L Lc    itdd:.0Msk250..
      in6adr::/2 Sce:Hos
        P LOBA RUN U66Mtri:1
       RXke36 ro0drop0 ovrns: fame0
       TXacs:375 errs: drped:veuns0arr:0
   ollss: txqeue
    RX btes:715 (45i) TXts:36405 165 iB
[e@aspdb ~$ saele_b.sh  fogxt  lf.h md-_0-ba-2.bau reiainls.t sps.bkup pescrp
devesprob~]$

















deasddb\[v@sodd ~$lshad�[K��Ks -
[mtotl 10948
-rrw-- v e  41Jun 12: [0;32basliedbs.[0m-rw-r-- 1devd  652 Ju 1 7:43 [0mdlogs.tx[0
-rrw-- 1ve   1 Aug 13:38[0mdco.0[0mrrxrx 1 dv d    7 ul 145 [;2mlgf.s[0m
-r--- 1 v d 6365   8 210 00mm-1_0-a-2cu[00rw-r-  dv d   02 g 5137 11rpliiotols.t[00
-w-r- deev   Au 5 13: [0msceog.0[0m
w-w--1 evdev 699785 eb 4 0949[0mas.bcu0
rwr-r- 1 ev d  770l:1[0myescit[0m
[eeasb~[deveaprdb~$a rdoy0
[ev@eaprob~]$hosame
easpoddb
[dev@easprodd ~] eco R
sen
[dev@aspdb$ s
aele_db.s  f-ostx ogfsh md1_0-ba-2acu relcaioootgz fmabacku  tyecript
[de@asprod ~$/sbnicnig
eth0      ink encthen Hdr 5::0:00:C
       ineaddr1250.19 Bca:10.250.60.5  Mak:255.55
    i ddr: 80::2556f:fec0/4coLnk        P BROADCAST RUNINULTICA  :50 Metc:1
       Rpacet6865rro:0 pped vruns:frae:0
      Tpact:3435 ros:0 drpped0 oerun carr:0       lsios0 tueeln:10
       X bys:519531 (86Mi) TXbys:13889912.MiB)       Itrrut:59 e addrs:0000
l     nk nca:oaloback
       ie ar1270.  a:25..0
      inetad::1/8 Sope:Hst
      UOOPK RNGMTU63 ei:1        Xpakts:651er:0 ope: orrusframe0
     TX ket375 err:0 ped: verrns0 ri0
     coiins:txqlen     RX es:474105(46 MiB) TX bes:47410 (15 Mi)

de@aspoddb ~] l
baslinedss dfstx  ogdf.h mad1_-betabau  lcto-tol.gz sfap.au srp[d@asrodb~$
















_vesroddb~e@spddb $ lscreelog.0-l
[0rwrr--  devev 5 A  5 1:4 00mscreelo.[m
mv@aob~\ev@esrodb ~$ es ceel.00h?1=
mEC[23mdv@eaod[S[\[evesprd ~$ 
mESC[3m@sdb[3EC[23[dev@asrob ~]$
3mES23m0m[3SC[m[0;32msne_dssmES3mm  3mESC3m[0mhardoy.3mS[30  3ESC[23m[0mad1_0-ba-.bkumEC[3[m [mESC2m[00msrelog03mES230  3SC[3m[00mpsciptESC3m[0m
[ESC3m[0dlogs.tt3EC3m[   [3SC2m1;2mgdf.h[mESC[3[0   mES23m[3mepliatio-tol.g3m20EC[3m00fmapbckpSC[mm
3C[3[[3mEC[2m_v@asrd~[3C3m\[evearodb~]$acreo.
[3[2
[mESC23_dv@aspddb:3ES[2m[v@spodb ~]$[3mM[23m[3ESe@srd[3ESC[3m[ev@asrodb ]$l3^[2m
3ESC[2m[0m[3mESC23m0132bsen_dbh[mESC23m[0m  [3mES[2m[mhadcy03mSCm[3ES3m0mad_0-t-bck[3m[200 [3EC[3m[0mcreng0[mS3[0m  300pecipt[3mES[m[0[3mM[3
[3E[2m[f-.ttmSC3[0m    [3S[2302mlg.hmESC[m[m   [3ES[23m[0;1meptn-ls.t[mSC[2m[0m[3mES[msmas.kp[mESC23m[0m3M[m[3mC[2m[mS[mdespod:~3mESC[2\e@spob~$ t 3mSC[m_deasrob[3m[m[de@sprodb ~]$ls l
[SC[[00totl104
-rr-- 1 dev dev    14 u 12: [mSC2m[03mbelinedb.sh[ES23mm
-w--  v dev  7967 Jl 1 173 [3C[3m[d-lo.tt[3mS23m0
rr-dd  13 Ag 5 1383mC[hdp0[3ES[3m00m
-wr-r-1de    8l 181:55mES[m[1;3logf.hS2300mrwr- 1 e e 467666v 8 03mES[23m[mmad1_bta-.acku[mE[2[00
r--- de e    902Au   37 3EC[2[01;3repian-totg[ES[2300
-w--1 e e     87 g 13:38 3ES200mceen.0[EC3m0m
rw-r-devv 647985e 209:4 3mES[23m00fascu[ESC[23[0m
-w--r--dv de    730 ul 08: [3EC[m[00myescipt[3SCm[mSC2mm[mC[2mv@eaprdb:[3mEC23[d@apob~]$ca hdcp
[veaodd~]$hstnm
easprdb
[@erd ~]ehoEM
cree
de@eapodb]$ s
sinds.h  dfos.xt  ogfsmad-_0bt.bcp rplcaio-tol.gz  fmsc  tesrit
[dv@easprodb ~]$ sbinifcnig
eh0     Lk enp:Ehernt HWr 5:568:00C0
       it adr1.20.6096 Bast10.26.5  Msk:55.255.2550
       ie6dd:e80:2056f:e8:0/4Sope:nk
      UPRADAST UNIGMULICATMTU:00 Mri:
       RX pakets:85165ror droped:overns0 frae:0
       T ace:0735 ros:0droped:0 ovrrus: crr:0
      clisio:0 xqueuelen:1000       Rbyte5109531 86.4 Mi)  TX bye:387499 2.iB
        Iterupt:59 Bas addrs:0x2

lo      Lnk ncap:Locl Lopack
     ine addr17001 Msk5..0.
      in6 adr: :1/8ScopeHost
         POOBCKRUNNG U646 Metric:1
        Rpacts675er:0rope:0overuns:0 fame
     T pakts:67551errrs:0 drpe: verun rr
       colisions:0 txueulen0
msrel 23K
[K...kiin...
[mS[2[ESmE[23m[23m[00mdf-ogstx[3SC3m[mSCES[23m[23m[0m     3EC[23[3mC[mSC2m[2m[1;3mlogd.s[3mEC[3m[ES3mS[2m23m0m   [3mSC[23m[3ESC[3SC3m[3[011mplicaiontoolstgz3mEC[3m[ESmES23m2m[00m  [3mESC[23mmE[mES[23[m[sfmpsbackup3mESC[3m3EC[mE[2m[3m00
[3mSC[23m[3mE[mEC3m[3mm[ES3m3mSC[3mC[23m[23m_deveaprodb~3ESC[3m[mSC[mESC23m[3m\[devesprd ~]cat reeng 
[mES23m3mMSC[m[2m
[mEC23[3mESC[3mES[23m[23mdev@asrd:[3EC[3[3mSC[3ES[23[3m\dev@asodd ]$ [3mESm[m^M[3mESC[23m[23
[3mEC[2m[3mEC[3mC[3m[23m_dev@eaprodb~3mE[3[3mES[mEC[23m[23m\[dev@asprdd~]$ ls3ES[23m3m^MmESC23m3m
3mEC[3[3mES[3mSC[2m[3m[0mS[23m3ES[3ES[23m23m1;2mbaselin_db.s[3mS[2m3mE[3EC2323m00m  3mEC[23m[3mSC[mE[2m[23m00madopy.0[3mESC233ESC[3mES23[3m[0  3ESC[23m[3ESC[3mES[m[3m[mma-0e-2backp[ESC[23m3mSC3EC3m[2m[00m [3mSC[23m[3mES[3ES[23m23[mcelog0[3mES23m3mEC[3m[2m2[m  [mm3SC[3m[3mEC[3EC[23[2 m[00pespt[mESC23m[3mEC[3SC2m[23mmSC[3[3mM3mSC23m[23m
[3mSC[3m3m[EC[23m[3[00df-los.t[mS[3[3SC[SC[[2[00m     [3Sm[3SC[3ES[23m01;3logdfsh[3mSC[23[3mEC[3mC[2m[m[0m   3mES23m3mESC3mES[2m2m[0; 1mrlicaton-to.tz[3EC[23EC3mSC[3[m[00m[SC3m[3[ESC23m2m0mfmap.backp3mSC23m[SC3mSC23mm[0m[3mEC[2[3^M[mS[3m2
[mEC23m[3mE[3E[3m[23m[3mE[2m[3mC[m[23m[3dv@eard~[EC2[3mEC3mS[23mm[dv@esodd~$ t sc3S[23m3mC[mSC[3m[3_evaso:[3ES3m3S �3SC22m\e@asrodd ]$s -l
[3EC[23mE[3m[2m[200toal10974
-rr-r--1 dede  148un 12: 3mC23[3mC[3mS[2m23[0132mseli_dbs.h3mEC2[mC[3mS3m[m[0m
-r-r- 1 de de79652u 817: [3ESC[3[3mSC[mSC[3230m-ost[mSC[2mmEC[3mC2m[23m00
r-w- 1 dvdev    17Aug5 1:383ES3m[3EC3ESC[m23[0mhp.0[ES3mE[3E[[3[m
rxr-x- evde      Jl81455 [ESC3m[ESC[mS2[2m1;3logfsh[EC[2m[3mSC[3EC[3[23m[0m
-w-rw--- 1 ev dev463665 Nv8 10 3ESC2m[3ESC[mEC[3m2[00md-_-eta-2.acku[3mEC[3[mEC[3EC[[23[
rw---r- 1 ddev  09 Aug  137 [mSC23[3mEC3mSC[2m[23m[1;31rplitils.3mS[2m[EC[3mEC[m[23m0m
-rwr- 1dv de   1 Ag1:383ESC3m[3EC3ESC[3[2300msrelg.03mSC[2[mE[3mSC[2300
-rw-rw-- 1dede64979 e40:9SC23m[S[mEC[m[23m00smasacup[mSC[3m[3ESC3mEC23m[[0m-rw-----1 dv ev  70 Jl2 8:3SC[3[3mSC[mES[2m[23[mtyesri[3mS[3[3E[3SC[m[23[0m
[3mES[23m[3mSC[mS[23[3mm3mEC[2[3mC[3m23m23_dv@asodb~[mEC[33mEC3mS23m3m\[v@asodb ]$ ct hrop
[vesprd ~$ osame
asprddb
[ev@esprob  echo$TRM
see
de@aprod ~
baselie_b.sh df-lostx logdsh  ad_-eta-bau relcton-tls.tg sfma.bacup  perpt
evaspodb ]$ sin/icong
et0    Lin enca:Ehere  Hdr00::6:80:0C
       ineadd:.060.9  cat:0.260.255Mas:5.552.0
      ine6 ddr:fe80:50:5ff:fe0:/4 Sop:nk
       U BRADAS UNI UTCA MTU50  trc:1      R ckts:8165 error:0 doped:ovuns:0am0
       TX pacts:735ror0 dred: ovrn:0carir0
       ollsios0txquulen1000
      RX yte500731 (864 Mi)  TXbtes137189 (1.2 i)
      nerupt5 Basaddrss:x200
l     ink ncapocalLopbck       iet dr:100.1 a:25...0       ntadr12 So:ot
     P LOOAC UNNN MU63 ti
     paks67 er:doped:0vrrns0 ra:0      T akts3651ers:opd oeus: crie0    colsio:0tueule:
[3S[3[mscreno.0[E23m[3mSC2mK
[3(D [23
?>?049l_devasrod:~\[verodb $
[[0;2senbs.sh0 [00mardco.0[0  00a10-t-2bacup[00 [0mselo0[0m  [0ecipt[m
00mdgtxt[0m     [;3lodfsh[00m   [013mlcon-ol.z[ [00msma.aku[0
ev@eaprob:\evprod~]r zreiatiool.gzrplitio-tol
epiain-oos/O
liaton-oos/config/
repcato-tl/fi/DMrepcaio-olconfi/pg_a.cf
rlian-olsconi/pstreql.c.ado
pliatn-o/onfg/erycnfrepliati-tool/READ
epicai-olssits
eplio-ocpirictnon
pliaiontoolsscrptwa_arc
epicti-tolssciptspg_reynrpli_
rpliatinool/critresn_rlc
eplici-tolscrptstetomastr
elicat-olscptsc1mbol
licantls/ENS
de@epodd:[dsrod~$dreplicatiotols
_evepod~/itiotoos[dv@espdd epliction-tols$ cd cnfig/
deeaspddb:plaiotoo/cofi\[dv@asprodbcoi$s
[m0mghacon0m  [00mpostgresqo.ditons[m  00mREME[m 00reoeon[0m
[_dvesrdb:~replcatio-tolnfg\dvasprdbcoig$vim covey.onf 
[?04h[1h=1;03l34h[25[3m[2m0m[H[5[;Heovry.of" 
recoverycon" 3L 12C[1;1H34m#resoe wia impl coy[0m
restoecomnd =31mc/vr/psql/wal_rchiv/f%pm

[m#dlete nneede arhive files[m
rchv_clenu_cmand [1m'/ot/ocalbin/parhveeanp /va/pgq/wal_archiv %r[0m

34m u steami rpcion[m
tandb_mod  [31m'n'm

3#ail ver whn he RIGU file ists0m
igge_ile = [31m/var/pgsql/RIN'0m

[3m# thbelowneeds t be change to hecorrct IPadres  serer
 it isthecnectininfmti forthe other sever[0
ima_conino [3m'ot=0.10.3.97ort=432se=reiasr'[

[4m----------------------------------------------------
 he repicatn-tols pge i licne er e PosteSQL Licene
# 
 Cpright(c) 210-01,PtgeQL Eprts nc.
# 
# Prmisiontouse, cpy,modify, andirib tis sotwarend i
#documntofoany urpose, witoutfee anitu awitnaeent s
# r anedprovdtatt aboeopyight otie ndtis pagrap
# and thefolon torgrh aper n allopis.
 
#IN NOEVENSHALLOSTREQLEXPERS, INC. B LIABL TO NY ATY F DIRT,
 INDIECT,SPEIA, IIDETAL,R CNQUENIAL DMAGE INCLDNGLOS
 ROI, ARIIG U OF TE USOFTI SOWREADITSOUMNTTION EVN
 IFPSTGSQ ET, IHS EN VIEDOF THE POSSIBLITY UC
# MAG.
# 
#OSGRESQLEXERTS N. PEIICLL DISAIM ANY ARRANIES, INCLING UT
 OTIMITE TO, THE IMLIE WRANTIS OFMRCHTABTY AN FITESS F A
#PAICUARPUROE.THE STWAR POVIDD ERUNDIS A AI ASS,# NPOSTRES EXPERS, INH NOBLAIO T VIDEMAINENNCE,
# UPORT UDAT, ENNCMETS,OR ODFICTIOS.[0m
[134~                                                                                            [3;1H                                                                                       [0;1H~                                                                                   41H~                                                                                   [4;~                                                                               [;H~                                                                                    [44;H~                                                                                [;1H~                                                                                   [46;H~                                                                                   [7;1~                                                                                       48;                                                                            91H                                                                                   m[;115H,        l[11H[3[25[?l[5011H21        Al[2;H[34[?25h?5l[50;53,0      A[3;H[3?25[25l50;1H4,       Al[4;1[34h[25h[?2l5;15H,0-1     All[3;1H[34h?2h[2[50;1H2,       ll21H[4h[?25[?25[01H17     ll;17H34h[25?25l[5;15219        All2;9H34h[?25[5l[50;15H,20         Al[220H4h[5[?l[01152,23         ll[;23H34h?25h[25l[5015H2,        l[2;24[h[?2h[?5[50115227        ll[2;2[3h[?2[?25l[50;115H2,28         All[2;28H[34h[?2h[?25[5;15H2,3         Al[;33H[4h[?25h?25[50;115H2,4         Al[2;4H[4[25h[?2l[01152,45         All[2;5H[34h[?25[?25[50;1152,7       All[2;7H[3h[?25h[?5l[50;15H2,49         All[2;49[34h[?25[?25l[5;1H[[50;1H[3h[5hq[?25l
:q[34h?25[?25l
:[50;2H[K[50;1H:[34h[?25h�?25[114C2,49        All[2;9H[34h[?25h[?25l50;15H301        Al[3;H[34[?2h[?25l[50;15H249        All[;9H[4h?25h[?25l[50115H3-1       All3;1H34[?25h[?5l[50;114,31         All[;31H[34h[?25h[?5l[0;1155,          All[5;9H[34[?25h[?25l[50;11H6,-1        All[6;1H34h?25h[?25l[50;15H7,27        Al[7;2H[34h?25h[?25l[50115H8,19        All[8;19H[34h[?25h[?2l[0;15H90-1        Al[9;1H3h[?25h?5l[0;115H10,40       All[10;40H[4h[25h[25l[50;115H11,3        All[1135H[34h[?25[?5l[50;115H12,0-1        All[121H[4h[?25h[?2l50;115H3,4        All13;49H[34[?25[?25l[50;5H1449        l[4;9H[4h[25h[25l50;11515,4       Al[15;4H34h[5h[?25l[5115H1,44       All[5;44H[34h[2h[?2[50;11515,3        Al[1;43H[3h[25h[?25l[5;1H153        ll1;39H4h[25h[?5l[50;15H1,6       All[5;634[?h[?5l5;115H5,3        ll1;35[4h[?25h[?25l[50;11515,33        All[1533H[34[25?25l[5011515,32       Al[5;32H[4h[2h[?550115H5,9     Al[1;H3h[25h[?25l[50;15H15,2       All[15;2H[4h[?h?2[5;15H5,26       Al[1;2H3h[25h[?25l[511515,27      Al[1;27H[34h[?2h[25l[0;15H15,       All[126H3h[?25?25115H5,27     ll[;27H4h[?25h[?2l[5011515,28       Al[1;28H[34h[?25h?25l[011515,        Al[15;9H[3[?25h?25l[50;11H5,30        All[15;30H34h[25h[?25l[50;115H15,31        All[15;1[3h[?2h[?5l[0;15H5,2       All[13H[34[?25h[?25l[0;15H15,3         All[5;33H[34h[?5h[?25l[50115H1,34       Al[15;34H[34h[?25h[?2l[0;115H15,35       ll[15;5H[4h?5[?5l[5011515,6        ll[15;36H[3h[?2h?2l[0;155,37      All[153734[?25h[?25l5015H1538      ll1;38[34h[?25h[25l0;15,3     All[15;37[34?25[?2l[5011H1536       Al1536H[4?25?5l[50;115H15,35      All[;35[34h[?25h[?250;15,34       ll5;43h25[?5l[5051,33      ll[15;33[4h[25h[?25015H1,32        All[;3H[34h?2h[?25l50;115H5,1      Al5H[34h[25h?25l[50;15H1,30      l[;0H[34h[5h?5l[5;15H15,29    l52[3[?h[25l[50;15H1,28       Al15;2H[4h[5h[?25l[50;1151527       All[157H[34h?5[5[5;11515,2      l5;26[34[?25h2l[0H[K501H:[3h[?2h?25l
q[34[?5
?2l50;H[K[50;H[?1l>[4h[?5[?1049l_deesprodd~/pliction-tool/cofig\[v@esprdbcoig$ls
0m[00pg_hbaconf[0  [0mpstres.conf.additns0m  [0REAM00 [00recvery.onf[00m
[_dev@easproddb:relcatin-toos/nfi[dv@eaproddb cong]$ cd/sps
_d@asprodb:repcatonol/sit\[deeasodbsripts$ 
[0m1;32mc6mbnly[0m 01;32mpgresyn_replca[0  [0;32mg_escreica_1m  0mit-plcatin.o[00 [0;32mproote_to_master[0 01;mwaarch[0m
[m_deeasproddb:~/plcatntols/sipsde@aspod scipts]$  i-repicain.cof
[?149h?1=[1;434[?5h23[4m0m[HJ25l[50;1H"i-rplicatin.of" 
"pit-relcaton.onf" 12L4577[H[mCnfiuriofle r PTR or replicati nostgreSL .0
or pg_rsync_elic ome_oser  a_arcie
# rsn 1.. Lastudat201-21

# opgt()201-201 PogreSL Exprt,nc
#Liesed uder The ostrSQLLicne; e
 http:/wwwpostgesl.org/boutlicen
#  hend ofthisileo detis.
# Wh oeatngsystemi ts? Wav soespial-ase cd
 for dffernt OS.0m
UNME_S`unm s`
if[ $UNAE_S Lin ]; hen
 S=Lu
l [$UNAMES =unO  && uae -|gep5.1 /evull2&en
 [3m#isiminatebetwee Joyt's-hoe vesionfOpeSolars
[0m [m#nd thmaintreamvesion. nly ay odo it check the doma ame.[0
  una - |gep ijoynt  /dv/ull 2&1 ten   SJoyt[25H[34m# On oynt smeimes yu wa to s svadm soimesyou do't
[0m   4m#et ts ariale acringly Rcmend sting fals(i.. ')[0
    UE_VADM31m'0m  ele
    OS=penlari
i
el
 S=kon
i

[3m# matrand rlic I adess Thee sould be he sm                                                     [33;         
oal seIn he vntofailoernd pmotn                                            3;1H          
 otheelcaoa aser yo wll ned tosap hse                                              7;          
 adess                                                                       [3;1H         0m

ASTR=10.0.3.7REPCA=1.10.376
[3# beow hudoteed o behang or CntO                                                      [4;H     0m

GUSR=epiaser
GA/var/psq/ata0
RELCATONOG=v/l/pgogpicio.lo[01H1,       To11H4h[5h?50;5,1      op[2;1H[34h[?2h[?25l5015H3,-1       Top[;H[34h?2h[?2550;15H,1      Top41H[4h[?5h?25l[1H50-      Tp5;[4h[?25[25[511,1     Top6;H[34h[25h?250;H71       Top;H34[?h[255015H,1        To[;34h?25h[?2l[501591      p[934[?5[?25l[50;11H0,01     To10;1H[h[?55l5;15111     T11H[3h?2[25[50;15H12,1        To[2;1H[34h[?25h[?l[50513         op[1;1H[3h[?25h?25l[;115H4,1     Top4;[4h[25?2l01H151    Tp[15;[3h25l[515H,1       T[6;H[3h[2[?l505H11    Top[1Hh[?h?2l50;15H18      op[181H[3[25h[?25[;11H9,        [9;1H[h[?h5l[5;152,1     To20H[h5l0;11510-   Top211H3h2h?25l1152,1    T22;1H[34h[2h?25l[5;15H231     Top[;1H[3h2525l[15H24  2H[34[?2h[25[;5H5,     Tp[25H[34[?2h[25l[5;112      Tp[2;1H[34h[?2h?25l[5;112,1      op[2;H[4h?25[?5l[50;115H21         op[28H3h?2h?2l[50;5H91        Top[29;H[34h[?25h[?2l0;1301       op[0;[4h?25[?25[5;15H31-       Top[31H[4h[?5h5l0;1H32,        op[32H[3h[2[?2l[50;115H33,1      Tp34134[?l[0115H341        Tp36;1H34h?25h[25[501155,1    Top[381H[34h[?25h[?5l50;1H360-      Top[40;H[3h25h[?25l[50;115H37,1       Top[41;1H3h[?25[?5l[511H38      To[42;H[34h[?25h?2l[50;15H9,01       To[43;H[34h[5[?25l501H4,         op4;1[4h[?2h?l[50;1541,-    Tp[46;1[4[25[5l[50;11H4,     T;1[4h[?5?25l[0;15H39,01     Tp3;1H[34h[?25h[?5l[501153,1     op[4;1H[3h[?25h[?5501537,    To11H[3h[?5h[?5[115H,2        To[12H[3h[?2[l505H,3        Top[41;3H[h?25?2[50;1574         p1;H[h?25[?25l[5;1535    op[;h25h?25l50113,6       op[16H[3h[?25h?2[50;1537     Tp[1;H[4h?25h[?5l5;15378        Tp[41;H[34h[?25h[?25l[505H37,9        Top[41;H[34h5h[?2l[0;1H3710        Tp[41;H3425h[?25l[50;5H37,1         To[4;34?25h[?25l[50;15H37,12       Top[4;1H[3h?5[?5l05H,13    To[411[h?5h?25l5015H37,4       Top[4;1H[34h?25h[?25l[50;15H37,5       Top[41;H[3h25h[25l[50;15H3716       op[41;6H[3[?5h[?5l[0115H3,17      T[41;17H[34h[?2h[?25l[50;11537,18         Top418H[3h[25h[?2l50;1538,1     Tp428H[3h[25h?25l[501539,-1       op[4;134h[?25h[?2l[50;15H4,8        Tp[448H[h?5h[?5l[0;11H10-     Tp46;H34[?2[?5l[0;5H42,8       Top47;18H[34h[25h[?25l[50115H3,18      Top[418[3425h[?2l[50;14418      Top49;8H[34h[?5h[?2l[1;49r[49;1H
[1;50r50;HK[5;115H450-1        1[49;H[34?5h[?25l[1;9r[11H[2M[;50[48;[4m# drecrywhe lo fils ae cpied to on threpia                                                  49H             m0;15H[K[50;115H6,8        [488H[34h?25?25[;4r[49H
[1;[50115[K50;15H47-1         5[49;1[34[?25[?25l[;49r[49;H
[;50r[9;1HWALI=/var/pgsq/wal_rchive[50115HK[50;15H4818       6[418H34h?25[?25[149r[49;1H
[1;50r[50;115[K[50;15H4,-     7%[9;1H34h[25h?25[;49r[9;1
;50r[491H34m###########################[0m50;15H[K[;11550,18     8%[9;18[34h[?5h[2l[14r4;1H;4[3m Begi OS-ecic eting0m0;15H[K50;1H5118    104918[425[?l[;9r[9;1H
[1;50r[49;1H[34m########################[0m50;11K[5;1552,18     11%49;8H3h[?25h?2[50;151,18      11%[48;18H[4?5h?2l[011H50,18      1147;18H[34h25h?2l0;1549,-1     1%[46;1H[34[?25h[?2[50;15H4818    1%[51H3h[?h[2l[0;H471    11[4;H[3h[25[?2l501546,1       1%[21H[34?5h[?l50;1H4,0-1      1[41;1H3h[?25h[?2[5114418   11%[4018H34h[25h[25l[5115H318      11%[3918H[34[?25h[25l[5015H,18       1%[40;18H[34h[?25h[?2l[5;15H5,0-1      11[41;H34h[?25h[?l[5011546,18      1%[42;8H4h[?h25l[;154,-       1%[41H[4h25[?255;11H8,1       11%45;8H[34h[?25h?2l50;15,0-1     11%[6;1[4h[25[2l50115H508      1%47;18H34h?25h?5[50;11H5,1       1%[;18[425[2550;15H518     1[4;18[4h[2[5l[1;4r4;1H
[1;5[49;H[m#[0[5;15H[50;11H31      1[41[3h[2h[?5l;4r[49;1
[50r491if [ O=[31mJoent'[ ] then01HK015548        13%[9;1834?25[?2l1;r[4;1
1;r[4;3HGAE/va/gql[5;1H[[5;115H5518       15%[49;1[3h[2h[?l[0;15H5,18      %[834h[2h[25[5;115H31        15%[71H[4h?25h5l[50;15H5,18       1%[6;8[34h[2h[?25l[0;1H51,8       15%45;1[3[?25[?25l[50115H50,8       15%[44;H[3h?h25l[0;11H4,0      15[431H[3[2h?25[50;114,8        5[21H4h?[?25l50;115H47,-1       1%[4;1[4?5[?25l501546,8      1%3;1834h[25h[25l[50;15H45,0-1       5%[8;1H34h[25h[25l[50;11H44,18      5%7;18[34h?25h25l[50;1545,-1    381H[3h[?5h[?2[5;15H1    ;3hh[?5l[015H7,-1       5%[11[3[2h[?5l[511548,1    %4;8H[h[?25[25[5115H4,-1        15[4;H[h[25h[25[0;15H5018        5%[4;8H[4h[?[?25l[0;11H5,18        5[451H[3[?2h[?2l[50;115H52,18       1[618H34h[25h[25l[50;115H53,1      15[7;H[34h?25h?25l[50;15H48       15%48;1H[34[?5?25l[50;11H55,18        5[4918H4h[?5h[?25l[1;4r49;1H
1;50r[49;HPCT=/otloal/n/pg_tl[50;11H[K[511556,18       16[49;18H[34h[?5h?2l[;49r[;1
[150r[49;HPSQL=/opt/loalbinpsl[5;115H[K[5;115H7,18        17%[418H4h25h[5l;49r[49;1H
[1;50r49;HRSYNC/optlocabin/nc[50;115HK50;1551       18%9;18H[34[?25h[?25l[1;49r[9;1H
[1;5r493HSSHusr/binssh[5;115[50;1159,1       20[49;18H[3h?2h?l1;9r[4;
[509;HCP=usr/bin/p[50;15H[K0;1H0,6     21[4H[3h[?52l14[491H
10r[4;1Helf [ $OS = [3m'Lnux[0  then[50;15H[K[5;15H61,18      22[49;1H[34[?2h[?5l[1;49[4;1
[1;0r[9;3H34m hese settings are for CnOS. Oter dstribtionsmy e different.[m[50115H[[5011H618      24%[49;18H[34h[?5h[?2l[149[9;1H
[1;50r[49;HPGBASE/arib/pql[0;115[K0115H6,18       25%[918h25h?2l1;49r[4;1
[1;50r[493HPGT=/us/pgsq-9.0/i/p_ctl[50;115H[K[5015H6418       26%[9;18H[34[25h[?25l[149r[4;1
[1;5r[493HSQ=/ur/gsql-.0binpsql[0;1H[K50;1H,1        249;1834?25h[?25l[1;49[4;1H
[1;5r[4;3HRSC=usbirsnc[5;1HK[0;115H6,18        2%9;1H[34[?5[?25l[1;4r[4;1
150r[4;3HSH=/us/bin/sh[0;15H[K[50;115H71        0%[4;18H34h?25[2l[19r[;1
1;049;HP=/in/c[50;115H[K[50;1156812      31[9;1H[34h[?25h[?25l[1;49r[491H[150[91He5;11H[K[50;115H69     2%44H[h[?5h[?25l[1;4r[491H
[;50[9;ech [31"Unecognized O."0[5;15[[50;15H718       34[49;8H[3h[?2?219r[4;1
[150r[9;3exi1[50;11H[K50;15H71        3%498H[4h[?25h?25l[1;49[49;H
[1;50r[49;1Hi[5;15H[K5;15H72,         36%[4;2[34[?25h[?25l;49[49;H
[;0r[55HK50;115H,0-     37%49;H345h?25;49r[9;1H
1;5r[491H[3# a ad oction  the fle tha stps archiin on the Master[0m[50;11H[K[011H7,      39[491H34h[?5h[?2l[1;4r1H[2M1;0r[48;1HTOUCHFILE=$PGAS/narhivi
4m Nme adocationof thefil whhtp rcovers n the slav[[0;11HK50;1H75,18     1%41[3?25[?2l[0156,8    1%4;H[h[?5[l[0155,1     414818H34?h25[5;115H741      41[47;1[[2[2515H3,      4;1H[4[?5h?550;11H72        1%[523h25[?2l011571         41[4H4h[25h[?2l[0;157,8       4%43;8[4h[?2h[25[50;156     1%[42H[34h2h[2l11H68,1      41%[112H[34[5h?2[0;5H1     4[0;1[3h[2?l5;5H61       %39;1834225116518      41%38;1[34[?[25[5015H,1      4%[7;8[3h[?5[?5l[5;15H5,18      1%[;8H34?5h?5l511H66,18       413;[4?2[?[;15H6,18       41[3;8[4h?5h5l[50;11H48     1%1834h[2h[2l[0;11H6,1     %[31H[3h2525l[0;15H,       41%[9;1[?25[?25[5;156718      41%4;1H[[5[25[511566   41[9;8[3[h5[;1565,18    [8h[[?25l[50115H48      %[3;1H34[2h[?5l[5;11H63,18      %[6;18[4h?2[?5l[5;115H618    413718[4h[?2[?2l[0;15H6518      4%[8;1H[34?2h[255011H6,1       41[;8H[h[?h[?2[115H7,8       4%[4018H[4h[2h[?5[0;1156812      1%[412Hh?25hl50;11H6,4        %[4;H[h?2h[2l50;1H701      4%[318H4h?25h?25l[0;1H71        4[44H[3h[?25?2l[50;1H72         1[45;H[34[?25h?5[50;1H71      1%[461[34?25h25l[5;15H74,8     41%[47;1H[4[?25h[?2[505H51      4%[4;1H[3[25[?2515H7,1       41%49;H[[2h[?5[49r[;1H[2M[1;0r[8134# n rin it  as te ne mtr[0
BRINP$PGA/BIGUP[0115K[0;157,18      42%4;18H[34h?25h?25l[0;15H7,18      42;1[4[25h[?25l[49r[1H[10[41H# ol esinatinfile int o a e ntaing listofuted drctri o cp[m[515K[50;15H9,8     4%[8;8H[4h[?5[?5l[5;11H0,18     4%[918H34h[2[2l149[;1[2M1;5r48H[3m# Wfile o. If n sng, *o n leav mp, jst us the
# defau and o'tcethe iem[5;1H[K[0;11H1,18    4%[4;1H4h[25[25l[50;11H82,18    6[9;H[3?25[25l[149r[4;H
[1;0[41HLOLDEIATINSLIST[3$PGBA/scrts/lcadstinions"[0m[50;115K5015H818    8%[9;18H34h[?2h[2l[1r4;H[1;0[9H[3m#[m50;15[[015H41   49%[49;1H[34h?25[?5l[50;1H818      9%[4;18H[34[?2h[?5l[505H8,8     9%[478[3h[5h[5l[5;1H8,18     49%[461H4h25h[5[5;158,18     49%[5;18H34[?2h[?[50;15H,18     9%[4;18[34h[?2h[?5l50;15H7,18      49%[4318H3[?5h[?5[50;15H,1     9218H[34h?25[?5l[50;15H7,18      49%[4;18[34h[?2h[5l[50;15H7,1      49%[40;18H[34[?25h[?l[0;15H7,9      9%[4;19[3h[?2h[?5l5015H7,20       49%[4020H[3[?[?5l[5;15H7,19     9%[40;19[34h?25h[?5l[50;15H7,9     4[3919H[4h[25h[?l[;1H70-    4%38;1H[34h[25h[?l[5;5H72       9%37;2H34[?25[?25[50;11H71,      4%[368H[3h[25h[?25l[50;15,     49[5;19[3h[?25h?25[01569,4      34;434[?5h[255011H8,2   433;1[3h[?2h[?l0;15H,1      49%[;18H34h[?25h[?25l50;115H6,19      9%31;9H[34h2h[?25l50;115H5,19     49[09[4[?5h[?2l50;11H4,9      4%29;19H[34h[?25h[?2l50;1H,19      49%28;19H[4h[?2h[?5l5;15H2,1      9[27;1H34h[?25h[?5l;111,9    4[6;19H34h[?25h[?2550;15H016      9%[2516H[34h[?25h?25l0;115H,1      49[24;18H[34[?25h[?25l50118,9    4%[2;H[34h?25h[255;15H19      9%[2219H[4h[?25h?25l5;116,1    4[211H[3h[25h[?5l50;15H5,19     49%[201934h?5[25011519     421;[4[?5h?25l50;15H719     49%[22;19H[3h[?2h[?2550115H,19    49%[3;9H[34h[?5h[?2l5;15H9,1    4%[2418H[3h[2h[5l;15,16     %25H3h2h25l0;111,       49%[2619H[4h?2h5l50;1529    49[27;9[[?2h[?551H319     49%[2;19[3[25[?2l011,      49%[288H4h2h?5l5;15H,17  49%[8;1734h?5h250;1153,1    4%[8;16[34h25?2550113,15    49%[28;15[34?25h[2550;15H3,14       49[28;1[3h[?2[?2[0;5H6,1      4%[8;3H34?2h?2l[5011H3,    9[82[?[?5l[5;15H613     9[;13H[h[h[5[15314    4%;1H3?25?2l5;115H,1       9%2;[34[?25h[?25l5011563,1        49[2;1[34[5[?25[5;15H6,1      49[281H[3[?h[?2l[50;115H6417       4%2;7H4h?l015H6,1    %[0H4h[5[5l[;11H617     9%[;H34h25?25l[50115H3,7      %;7[3h[?2[2[015638  9%23[2[0;11H6,1      4%[28;9H[322[0;5630   9[2H[52;1H6,2       %21H4[h?5l[50;H63,   %822H34h5[25[50;5H621     %28134h[25h[2l[0;115H3,20     49%[28234[5h2;15H6,    9[8;H3h[?25h[?2l[;156,      4%288H[4h[?2250113      [217H3h[25?25011H6,6     4%[;16[34h?25[?2l0;1153,5    4928;1H34h?25h?2l0;H63,1     4[2814H[34h[?25h[?2l[01631    49%[8;13H[34h[25h?25l;1H3,1     49%[2812H34h[?5h?2l1H6,       4%[2;11[4h[5h[250;151     913h[25[?5[5;11541      42;0H34h[?25h25l0;155   49%[30;1034h[?5[?25015H61     9%1;10H3h[?h?l0;15H7,0      9%[3;0[3[?25[?25[5015H610   49%3;1H4[5h[5l0;15694       49%[34;4[34[5h2550;170,     %3510H[34[?25h?5[505H1      9%[6H[34?25[2l511H72       4%[7H[32h?5l[153,0      49[38;H4h[5[l[;115410       4%[3;10[3[?50;175,10    49%4;10[4h25h5l0;1561      49%1;1[34h25[?5[17710      9%42;0H[3?[?l0157,0       9[43H[3h5[?5[;1711     9%[411H[425h[l0;1578,12       9%[3;13425h?25l50;15H7,13      4%3;13[3h25h[?25l[50;115H78,14       49%43;14[34[?25?5[0115H815       4943;H[3h?2h[?2l[5011H7,1     4[36H[h[?5h[?l[5;11H8,17     %[47H4h25[25;15H7,1       49[;18H34h?25?5l50;115H78,19       4%3;1[4h[?25h[?25l[5;115H720    493;34[?25[25[5;115H7,     [4;[3h?2h?2[0;115H822        4[432H[4h[5h[?5l[5011578,23      %[4233h[25h2l[5;115H7822       %[;2H4h?h?l[50115H78,2     49%321[34h[?25?5l[0;15H78,20    4%4;[3425[?25l[0;15H1    [43;9[3?25h[?5[50;1H788      4%[438H[4h[?25[25l[;15H781     %[4;14h?5h25[5;5H7    9%;1H[3h[?2h[?l[5;1H,17    4945;734[?25hl[115,7     4%[461[34h[?25h[5l[;1182,7     49[47H[3h[25h?5l[01H81     4%[87H[34h[?25[?25l50;5H4,     9%4;1H[34h[25h[25;449H
;5r[49134m#####################[0m511HK[0;11H8,17    50[;1[h[?2h[?5l[1;49[;1H
1;r[49H[# EdOSpecifc setins[050;5H[K[0561   5%[4;14?2h[?19r;1HM[150r4;1[3m############[0m[;1H[K[0;1H871      54%48;1H[34[?2[?2l[;115H8,0-1      4%[49[4h[?h5l[;4r9;1[50r[91[34 Shld weseSH  llyn[5;11H[K[015H87    549Hh[?2h[?59r9;1
1[9;HUSESS_SYC=ye[50;1[[5015H,6      56%[9;1H34[?5h[?[;4r491H[;50r50115[[50;5H9,-1  8[1H[h?h?25[1;4r49H
1;0r49[4m rsyc ptons. salyilds cmresi[0[50;11[5;51     9[49;1H[3h[?25h[?5l1;4r[4;
50r9;HRYN_OPT[3m"[0m[;15H[K501H93,     0%[492H[34h[?25[?25l1;4r[;[2[;0r41H[m# sncervshanme f in0[5;115[50;1H94,0   648[34?2[25[;15H,     6[417H[4h?25h[?2l1;r[49;H
;50r491RYNSR=[1""0m515K501191       64%[49;15H[h[2h5l[49[9;
[150r[;1HRSCPAS=3""m[5015[5115713   %[493H[4h[?5h[?l1;r[4H
[5050;1HK[;15H9-     7%[491H34h[255l[;499;
[1;549;134# Hpts[m5015HK[50;15H99,13         6%[49;3[4[?5h[5[1;4r[49;1H
[1;50r[;1HSOT[[m5011[K50;15H10010     6%[40Hh[?2h[?5;99
[50[0;H[0;11H01,-1      71[491H4[?2h[?2l[1;4r[4;1H
[;5r[;H[3# --------------------------------------------------[0m[0;115[K[;1151021      72%[49;17H[34h25h5l;49r49;1
[1;r[49;1[34#Threlictiontoopaaei liensd underthe streSL Lene:[0m[0;15HK[50;11H103,1      3[9;17H[34?5h[?25l[1;4r49;H
[1;50[91H[3m# [m[50;11HK[5;1H14     7%[42H[3h[?25h?2l[50;15H1317    %[417H[4h[?25h[?5l50;151,17     %[;1734h[?5h[?5l[50;15H11,0-1    5%[6;H34h?25h[?2l[50;1H1,10     5%[510H[3h[25h[?20;15H13     5%4;1334h?25h?2l50159,0-1   7%[43;1[3[?25h[?2[50;593     %[41[4h[?2h[2l0;95   75[41;5H[3h[2h[?5l[155,1    %[401H34[25h5l;19,    5%[1H4h?5h[l5053,2     5[3H[4[?2h2l[50115H17  75[17H[4[25h[25l[115H,0-1   75%6;H34?5h5l5;15H9,16     75%5;1[34[?25[?5[;1H17    5[34;7H[5h[?5l50;150    3;1H34h[2h[2l;1581    %2;1[34h[?2h?2[5;15H8     %[3;7Hh[2[2l[5;15517   %[3;17H34h2h?l[0;1H841       529;1[34?25[?2[50;H81     28;7[3h?2[?2[515H21     %[271H[34[?2h[?2l50;5H,    7526;7H[h?25h?5[5015H,7     7%[27H[4h[?25h[?5l[50;5H717      %[2173h[?2h[l0;157,7     5%[;17[34h[?5h[?5l[5015H9,17    5%24;1[4[?525l50150,17     75%[25;H[3h?2[2550111,17  75[27[4h?5h[25l[5;1582,1      7%271H[34[25?5l;153,7    5%17H[34h[2h?2l[5158,1      75%9;1H[34h?25h25l[115H517    75%3017H[34h[?25h[25l5;186,7     %[3;17H4h[?25h?255;15817    5%[3;17H[34h[25h?5[;118,0    753;1H[4h[?25h25l;189,1    75%[34;1[34[?25h?25l[5;15916      75%[3516H34h[2h?l[;1151,0     75%[36;1[34[?5h25l[5159217     5%71H[3h[25h?5l[5153,2  5%[312[4h[?25h?25l0;114,0     753;1H[34h[5?255;1595,1    %[;1H4h[h?l;596,1      75%[41;H[3h[?5h?l[;1197,1      75[;13H34h?25h?5l0;11H8,01       75%43;1H[34[?25h?25l[;199,13      5%441H[3[?h2;150,1   50H3h[25h25l0;11H01,  7[;1322[;1,1    5%;1H4[?25?2l[5;1513,1    75[417[4?h25l0;1110,      %[92H34h[25h?25l[19r49;1
10r[9;H[34# priht(c)201201, PoS,Expt, Ic.[0[0;15H[K[;11H15,7    749;7H[3h[?2h[?25[;49[49;
15049[4#0m[515H[K[50;15H0,2      8%492H[h[?5[?5l1;9[9;
[;[491H3# ermso tou cp, miy,ad disrbut ti sftwr and ts[[5015H[5015H1,7     9[4;7H[h[?25?2l[1;9r[;H
[1;r[91H3m#ocmeati fy prpse, withu ee, ad hut  rien aemt is[0m[50;115H[K[501H1087    %417[3[25[?25[1;9491H
[1;504;[34m heey rane,povidedtattheave cpyightnoti andtis rar[[50;1H[K50115H1017     8[497[?25[519r491H
1;5r[9;Hmnd t flwing wo aragrahs pa n cpes[m[5115H[5;1H1,1   83[97H[4h?5h[?5l;4949;9;1[3m [m[0;15HK[501H1,   4424h[25h[25l1;49r4;1H[[;1[4m  NOEVETHA POTGREQ XPRIC IL T  PRT FODIECTm[5;15[K[01511,17      8[417[425?l1;4r[;1
1;r491H[ IDRC SPE,CIETA,OR CONSEUNTADAMAGS,IUDIGLOS[0m5;15[K[0;15H1,1      87%4917[34h[?25h[?2[49r491H
r[4;1[4mPRFITSASINUT F THESO HISOFWRE  S DOMNAION,EVENm5;115K;1511,17  9[417H[4[5h[l;9r49;1
;0r[9;H34IF GRSQ EERT, NC.HSENIEOE SIBIIT  SUH0m;15K501151,7     9%[9;1[3h[25h[2l19r4;1H[;5r49134mAM.m[51H5;15H1,9    91[9;[3?525[1;r[9H15[4;1Hm# 0m[015[K[;111,2  3[4;[45h[?5l[;9r1
[0r49;134mPOSGRESQEXPES, IC.PFAL DSS YWRRANTIS, CLUG,BU[11HK501158,   %497[3h[?5?5[1;949;H
[;0r[4;1[m NLMIEDO,TH ILD ARRTIE MEHANTABILITY AND FINS RA[0[HK501519,    9%[7H[35[?5[149r[49;H
;5[49;[34mPARTCUARPO. TE SOFTWRE PROVDED EREND ISO AN"AS I"BSS,[0m0;11H[K0;111207     9[4917[3[?2h[?2l[149[4;H
[50r4;1H[34# AND POTGRSQ EPERS, I. H NO OLIGATIO T PRVIDEMAINNACE[0m[0;15H[[50;15H121,7       98%[49;1[h[?h?2l[;49r[491H
[;049;1H34m#SUPPT,UATS, ENANCENT ORMOIFICATONS[0m0;15[K[5;115H122,17       Bot[4;17H[4h25h������[?25l[23[24[0mH[J[[2[0mH[J1;1H[34m# on all ervers  Inte ent ofailoer and promotion                                                           [2;1H             
# othe elicto a aster you wil ned to swap thse                                                               4;1H             
# addrsses                                                                                                   [;1H             [0

ASTER0.10.23.9
REPICA=10.100.2376

[34m beloshoud notneed o be changed or CenOS                                                               [12;H          [

GUSERrepliauser
PGDAT/var/pql/at90RELCATIO_LOG=vr/lg/pg_loreliatio.log
[3m# diectorwher log ies recopd to terepla                                                                [1;H           [0m

WALDIR=/var/gsql/wl_arhive
[3m###########################
#BeinS-spcificsettigs
#########################[0
if $OS =[31moyent'0m ; th
  PBASE=var/psql
 PGCT=optloal/bn/p_tl
PSQL=/opt/local/n/psql RYN=/p/loa/bi/sync
  SH=/sr/bin/ss
  CP=srbn/cpeli $O = [1m'inux'[0 ] then
  [4m# esestig a fo CentS. Otr isiionsay ediferent[0
  AS=var/i/pl
 GCT=usrpgsql9.0/bi/pg_ctl
  PSQL/rpgsq9.bn/pql
 RSYNC=/usr/bi/sync
 SH/usrin/
 CP=/b/cp
else
  eho [3m"necogzedO."0
 exit 1
fi

34m# mead loio f te fil tha stops rciing n h Masr[
TOCHFIL=$PGBASE/no_arciving
[4# Na an ocaion o the file whichstops cvrs othesave[0m[0;115H75,1         41[1H[h[2h[25l[;3H[34mPowers g_resyc_elica,prome_tomaste and wal_arhie[0m1;6[K[1H[[3;3[34mersion1.6. st upaed011-2-1.0m[3;41H[K[4;1H[K[5H[34Cpyight c 20-2011 PosgreSQL, Expers, Inc[0m[5;53[K[;1H[34m# Lienedunder he PosgreSL Licse; ee
# htp://ww.posgrsl.orgboutlicene
#  the end of his fil fodetais.[[9;H[;1[3m# Wat opeatin syse i his?e hav soe spcial-cae code
 for dffern OS.[0m[11;21H[K[12;1HUNAME_S=uname s`
  $NME_= Linx ]; then
  OS=Liux141HK[151Heli [$UNAMES = SunOS ] && nae -  gep .1 > /ev/null 2>&1; then
  [3# isrimiate btweenJoent's n-house versionof OpeSlais
0m  34m# and te maintream vrsion.Onlyway t do i: checkthe oan am.[
   unae -n grp- jyet > /ev/null 2>&; then[18;4H[K[19;1    OSJoynt[1;14H[K21;1H   [4m# O Joyet, someims you want to se svcdm; ometies yo don't. 
[0m    [34m# et thi varable cordngly. Recommended setting false(i.e '').[0
   USE_SVCADM=[31m''[0m[23;18[K24;1H else[24;7H[K[25;1H    OS=OpnSolars[2;19HK[261H  fi
else[27;6H[K[2;3HOS=nko[2813H[[29;1Hfi[29;3H[K[30;3[K[3;1H34m# asterand replica IP addresse. Theseshoud be he sae                                                                  32;1H          0m32;14H[K[3;1H[34m#onallsevers  In he evnt of failove ad promoton                                                          [34;1H              [0m[3;15H[K[3;1H[4m o the replica to a mster, ou wll ned to wap these                                                            [61           [0m[36;15H[K[371H[34# adresse                                                                                                      [3;1H           [0m[8;1H[K[39;3H[K40;1ASER1010023.9
REPICA=.10.3.76[42;1[3;H4m belw sho n nee t b hanged for CntOS                                                                [4;1H          0m[4;1H[[46;1HPGUSER=relicasr
DAT=v/pq/dt[7;25H[K[48;1HRPLICION_L=/v/loggoeplitin.lo[49;1H[[50;15H31        1%[5;1H34h[25h[?25[1;49[1;H[L1;0r[1;H[3m# Cofigurtionilefr PRor eplictio o PostgeSQL9.0[[5015H[0;15H441          Top[9;1H[4[25h[25[3m[2mm[H[J[23m[24m[0m[HJ[1;PGDA=/v/pgs/data0
EPLICATION_LOG/varlg/plog/plicion.o

[34mdiecto wher logfilsar cpiedto o helic                                                    [5;1H           [0m
WALD=/v/psq/wal_rcve

[34m####################### Bein OSspeific settigs
#####################
[0m
if  $OS =[31'Joyt[0 ; hen  PGASE=/ar/ql
 PGC=/optloalin/pg_ctl
 PSL=/pt/lal//psq
  YN/pt/local/bin/rsync
 S/usr/ns  =usin/p
lif[$OS =[31'Linu0]; tn
[34# Te stin ar or enOS thertritinsmy beifernt.m
 GBAS=/varlib/psql
 PGCTL=/sr/psql-90/bing_ct
 PQL=/ur/psql-9./bn/pql
  RYNC=ur/brsy
  H=usr/bi/ssh
  CP=/inc
el
ch [1"reognizd O."[0m
 eit 1
34m Naan locio o th flehat stpsacivigoeMar[
TOHFLPGBA_ahii
4# ame ad lcato ofhe fil whih ss rcver nhe lae
# ndringstuas hnewatr[m
RINUP=PGA/BRNGP
34# oc estiaonsfile
# on to a il ontaiing alis of munted irectr tcy
 W les o.  If not using, *do noleave mpy, jus use he
# dealnd don eate te fi.[0
LOC_DESTNATIS_IST[m$GBS/srts/cal_stnatn"[0m
34#
##################
# End S-secifc etgs
###########################

 Shoul w se SS f ullsyc?0mSE_SSHSYCyes50;1543         56%[1;1H[4h[?2h?25l[0;11H[K5;H[4h?25h[5
:q[h[?25
[25l[0;1HK[;1H[1l>[34?251l_d@easoddb~/replicatin-tools/crips\[de@easddbcrips]vi pitr-rlctionnf 
[19h?=;0r[34l[34h[?25h3m[24m[[H[?55;H"itrrelcationnf 
"pirecaoncof" 12 57C[;1H[3m Coniurato fi forPR o replicti on trSQ .0
# Poes p_rsyc_relic, poo_mar nwal_rciv

# ersin .6 at pdae20110-17

#Coyrght (c) 20102011 ostreQL, xpr Inc
 Lcensed uer hePotgrSQLicnse e
#htp//ww.otgresq.orgabout/cen
# theed o h fefor etals
# W oeatisyste i this We ave se speal-ase cd
for dfrent Os.[0m
UAME_S=nam -s`
i [UNAME_S  Lin];he
 =Lu
i $UNAMS  SunOS] & uam -r  grep .11  /devnull >&1; then
  [4m Discrminat beteen Jyent' in-huseversionofOpenoaris
[0  [3m# an the mainstream version. lywatoo it:checkthe dmanname.[m
  ifuam-|e i oynt > /v/null 2>&1; then
    OSJoyet[225H[3m# On Joyent otimes uwant  us sca; soeims you on't. 
[0m   34m Sttisriabe accordingly. Reommend settn: s (ie. '[0m
  USE_SCADM=[m''[0
  lse
   OSOpenSolaris
  fi
else
 OS=ukown
fi

34m mate and replica IP adresses The shold bethe sme                                                         [31H         
o al serers. In theventf aloveand pomoion                                                                  35;1           
# f the replica to amster,u l ne oswap thee                                                                 [3;1H            
# addresses                                                                                                        [39;1             [m

MASTER=000.23.7
RPICA10.10.3.76

[4m# beo shld otnedto echngdforCetO                                                                      [45H           [0m

PUSER=relcaer
DATA/var/psql/ata9
REPICTIN_LO=/vlg/g_ogeplictio.log[50;15H4,1         op[4;1[h[?25h


?l>[?149l
[1  Sppd             i itr-rplitionco
dev@esprodb:~/replication-tols/scrpts\[dv@eaproddscrts]$ sbin/iconig 
eth    Ln eca:Eherne  HWaddr 0:50:5:80:0:C
      inetddr:0.50.0.19  Bcast:10.5.60.255 Mas:255.55.250
         int6 addrfe80:20:6f:fe:c06 Scope:Link
       PBROADCAT UNING UTICS  MTU:1500  Metric:1
        RXpcets6880 rrrs:0 doppe:0 ovrrn:0 fre:0        pacet:0940 rrs:ope0 ovruns0 arer:0
       collisios:0 txqeuen:10 
      RXbytes:51032563486.7 i) X bys:106480 (32.6 MiB)
         Inerut:59 se dress:0x2000

lo     Link eap:oal opbk  
         net addr:7.0.0  Mak:55.0.0        ine6 addr: ::/128 Scpe:Hst
        UP LOOPBACK RUNNI T:1636Metc:1
      R packets3670 ero:0 ope oeun:rame:0
          TX pacet:690 rors0dropd:0 oerrun0 crier
       llsns:0xueueen:0
        bys46819467MiB  TXbytes:3695519 416.7MB)
_d@eapodb:/eplato-tols/cripts\[d@espoddb crips$f
im pitr-eplcatio.cnf
?1049h[?1h=[34l34[?25h[3m[24m0mH[[?2l[1;H[34#Conigratinfie frPIT orepliatin on PostreSL 9.0
# Powers pg_resyncreplic, prmote_o_matr nd walarcie

#Vesion .6. Lstpdate 01-02-1.

 Coyrg c) 21-2011,PostgrSQL,Expers, In.
#License undrThe PtgreL Lensesee
htp:/ww.ostgrsql.or/aboutlicece
or th end of ths fe foreils.

 Watopratin system is this? e have ome spcialcase ode
 for diffentOSs.[0m
NAME_=`unme -s
if  $UNAME_S = Liux ] then
 OLinu
eli [ $UAE_S  SnO ]&& nae - | gre .1 > /dev/null 2>&1; then
 [34 Dicrimiate btween Joyent's in-hose eon of OpenSlaris
[0m  [34m#ad he manstrea vrsonOnlyway to dit: check he dmn e.
i unae n | grep - oyen  //nul2>1 thn
  OSoyent[2;5H[4 n Jytomeims ou wan t se cam; sotiesyouon't.
[0   [34m Set this vaial accrdinly. Rcommeded seting: false(i.e ').[0
  UE_CAM[31''[0m
  else
  S=Oenoars
  i
ele
  OS=unknown
fi

[4m maer n relca P aresse.  These soul b tsam                                                     [33;1H        
 onal srers  I the evnt of faiov ad pmoo                                                           [5H      
 oftercat a ter,you lnedsathse                                       [3H       
 drss                                                                                       [H       0
MATE000.397EPLC100.236[3m blw hun ne  e chned fr Cnt                                                       [45;1H        [0m
PSER=eplcase
PAA=var/pqldta
RPICTIO_LO/vrog/p_logrelctonlo[015H43,1         Top[48;1H[4h?25?25l50;5H42      o[7;13hh[?l50;1154101     To[;H[h?25[2[50;5H4,1      Tp[41[h[?h[551539-1       op[4;1H34h[5h25l[0;15H8         Top[42;1H[h[?2h?5l[51157,1        Tp[41h[5h[?25l[0;15H3,7          Tp[4;[4h20113,8    To[1;H425[25[;1- SRT[0[50;15H[[50;11H7,       p[48H[[4;834h?25h?50.250.0965;5H,1    T4214h?5h[;[[1;0H[5l[0;1H37,20       Top[1;2H[34h[?25?25[50;15H38,0       Top[42;20H[34h[?h[?25l[50;15H38,       op[;19[3h[?25h[?2l[5;11H8,       p[42;H[34[?h[?l5015816      Top[4;1H34h[?25[?25[50115H3815        op425H[34h?5[25l50;113      To[4212H3h[25h?255;15H3811      o[4;134h[?255;1H39        op29H[4[?255l50;H4 wer n[0115[K5H1-INERT -[0m501H[K0;11H38,9     l[01[K[4;H25.0.1
[134~                                                                                        [41H                                                                                              [41~                                                                                          [46;1~                                                                                           [;~                                                                                  [48H~                                                                                           1H                                                                                            [m[01H3,1       All[2;214h?2h��?25[5;84mor lies; befor #2 secdsgo[5;5HK[4212H002376[42;2H1;2lgds[0m
-wrwr-1 ev d 46665Nov8 210 [0mad0ba-2.bacup[0m
--r--r- 1evde  09 ug53:7 011mlctol.t[0
-wrw-- 1 e dv    Ag 513:80mceeog.0[0m
-rwrw-r-1 ddev49995Fb4:9 [0saps.bakp0m
-w--1dd    170 Jl 28:30myscrp[0m
[_ev@esprodb:~\dev@eprodb~] t ady0 
[dveasprddb ]$ otae
sprbdv@sprdb ~ echo$TER
s
ev@eprodb ~]$ls
aselneds. fls.tt ld.s d1_-beta2.bakp  rplicin-olsz apbcp esrt
deveprdb~sb/fcofg
th    Linkncap:heret Har 0:5:0:0:C0
       inetadr0.5.6.16Bca10.0.0.255  Ms:555.5.0      ineadd fe80:25056ff:80c6 Sope:nk
     U RODCS RNIGMTICS T150Mtr:1
      R paes:516eror0 dpped:veun: ame0
     X ces303 eors rppe0oerrun:crier:0
       liins0tqueuelen:000      Rbyts:07531(46.4 MB TX yes381499322MiB)        Irrupt:9 Bs addes:x200

lo    ike:ocob      it a:7..01  Mask550.
      it6 dr 112 cope:ot
       UPLOOBARIG  T:16  Metric1
        R aet:3751errs0droped: err: am
     X cet35 rrs oe:0oveun0rre0
     coiso:0txqel0     by:467410 (16. MiB   bye43605 46.Mi)

deveaspodb
belidsh dlg.  lg.smd-0-ta.bcp rlicaitls.zfmp.p typsi
[veasrddb ]$













d@epodd:~\[deveasprlsmtta 1974
rw-r-- dev d   48Ju   1:210;32seli.s0
w-r- ede  672 Ju1 13 0-gx0
-rw-1 d ev  176 u5 :38 [00mrdcop.0m
-rx e   78Jul 1 14:55 [02mogs[0
r-1dde63766 Nov 8201 0dbe-bku[
-rwr--r-- 1 dvdev  92Au5370;mrepatiooo.g[0m
w-rw--dev   29A  5139 0mrenlg0[00
rrwr-1  dv 9798eb2 9:9[0mmapsbackp[mrwr-- 1ev de  370 l :3[mpcrip[00m
m_v<at:var at:name="eapdde" />easoddb $ae
ug513400P 1
_d@eprdd~\[aodb] d��-l
[mtta1097
-r-rr- de   n  8 12:21 [013mbeln_s00w---- ev ev  762Jl1814 00flgs.00m
rw-r-r-- deev  13Aug 1[0mropy0[
-rr-x-x de    8Ju 8 1455 ;3ldh[0
rr ev de 4676665 No  8010 [mm1_-ta-2c0m
---- 1 v ev   92 u  5:37[01;mreliction-tos.gz[00m-rw-w---1 devev  299Ag  133 0mreeg[mrw---- 1dv dv 4795 4 0fmpsbackp[0
-w---- dee 37ul 220:1[mtyesrt[0mev@asrd:[dv@esprdb ~] hadoy. 
[veardd~] hstnam
esprb
[depd co$ER
cen
dev@erd lbend.h  df-ogs.  log. d0-t-2aku reliatiotoo.tg masbkp ypeipt
dev@easpodd ~] /binifof
 Lienap:Ethernet Had560:0
    ietaddr:.20.6.9 cas1.5602  as:2.255.2550
      inet ad e:505ff80:c0/64Scop:ink    ODCT UING UTICAT T:150Meri:
    RXcket:68565 rr: rop:0erru0 ame:0
        TX kt307 er: rop: orrunscri0
      colso:0 txuuen:000
       R byt:5107918i) X ytes:38149 13. iB    Itrupt5 ase des:000
lo   Lnk c:L Lc    itdd:.0Msk250..
      in6adr::/2 Sce:Hos
        P LOBA RUN U66Mtri:1
       RXke36 ro0drop0 ovrns: fame0
       TXacs:375 errs: drped:veuns0arr:0
   ollss: txqeue
    RX bte:715 (45i) TXt:36405 165 iB
[e@aspdb~$sae_b.sh  fogxt  lf.h d-0-b-2.bau riainlst spsbkup pescrp
devesrob]$














easddb\[v@sodd ~$shd�[K��Ks -
[totl 094
-rrw-- v e  1Jun 12: [0;32bsliedbs.[0-rwr- 1ev 652Ju 1 7:43 [0mdlogs.tx[0
-rrw-- 1ve   1 Aug 13:38[0mdco.0[0mrrxrx 1 dv d    7 ul 145 [;2mlgf.s[0m
-r--- 1 v d 6365   8 210 00mm-1_0-a-2cu[00rw-r-  dv d   02 g 5137 11rpliiotols.t[00
-w-r- deev   Au 5 13: [0msceog.0[0m
w-w--1 evdev 699785 eb 4 0949[0mas.bcu0
rwr-r- 1 ev d  770l:1[0myescit[0m
[eeasb~[deveaprdb~$a rdoy0
[ev@eaprob~]$hosame
easpoddb
[dev@easprodd ~] eco R
sen
[dev@aspdb$ s
aele_db.s  f-ostx ogfsh md1_0-ba-2acu relcaioootgz fmabacku  tyecript
[de@asprod ~$/sbnicnig
eth0      ink encthen Hdr 5::0:00:C
       ineaddr1250.19 Bca:10.250.60.5  Mak:255.55
    i ddr: 80::2556f:fec0/4coLnk        P BROADCAT RUINULTICA  :50 Metc:1
       Rpacet685rro:0 pped vruns:frae:0
      Tpact:3435 ro:0 drpped0 oerun carr:0       lsios0 tueeln:10
       X bys:519531 (86Mi) TXbys:13889912.MiB)       Itrrut:59 e addrs:0000
l     nk nca:oaloback
       i ar1270.  a:25..0
     inetad:1/8 Sope:Hst
      UOOPK RNGMTU63 ei:1       Xpats:651er:0 ope: orrusfame0    X et375 err:0 pd: vrrn0 ri
     coiins:xqen     X es:4105(6MiB) X bes:4741 (15 Mi)

deaspodb ~] l
aslnedss dfsx  ogdf. mad1_-betbu  lcto-to.g sfa.au srp[d@srodb~$
















vsrddb~@sddb $ lscreelog.0-l
[0rwrr--  devev 5 A  5 1:4 00mscreelo.[m
mv@aob~\ev@esrodb ~$ es ceel.00h?1=
mEC[23mdv@eaod[S[\[evesprd ~$ 
mESC[3m@sdb[3EC[23[dev@asrob ~]$
3mES23m0m[3SC[m[0;32msne_dssmES3mm  3mESC3m[0mhardoy.3mS[30  3ESC[23m[0mad1_0-ba-.bkumEC[3[m [mESC2m[00msrelog03mES230  3SC[3m[00mpsciptESC3m[0m
[ESC3m[0dlogs.tt3EC3m[   [3SC2m1;2mgdf.h[mESC[3[0   mES23m[3mepliatio-tol.g3m20EC[3m00fmapbckpSC[mm
3C[3[[3mEC[2m_v@asrd~[3C3m\[evearodb~]$acreo.
[3[2
[mESC23_dv@aspddb:3ES[2m[v@spodb ~]$[3M[3m[3ESe@srd[3SC[3m[ev@asrodb ]$l3^[2m
3ESC[2m[0m[3mESC23m0132bsen_dbh[mESC23m[0m  [3mES[2m[mhadcy03mSCm[3ES3m0mad_0-t-bck[3m[200 [3EC[3m[0mcreng0[mS3[0m  300pecipt[3mES[m[0[3m[3
[3E[2m[-.ttmSC3[0m    [3S2302mlg.hmESC[m[m   [3ES23m[0;1meptn-ls.t[mSC[2m[0m[3mES[msmas.kp[mESC23m[0m3M[m[3mC[2m[mS[mdespod:3mESC[2\e@spob~$ t 3mSC[m_deasrob[3m[m[de@sprodb ~]$ls l
[SC[[00totl104
-rr-- 1 dev dev    14 u 12: [mSC2m[03mbelinedb.sh[ES23mm
-w--  v dev 7967 Jl 1 173 [3C[3[-lo.tt[3mS23m0
rr-dd  13 Ag 5 1383mC[hdp0[3ES[3m00m
-wr-r-1de    8l 181:55mES[m[1;3logf.hS2300mrwr- 1 e e 467666v  03mES[23m[mmad_bta-.acku[mE[2[00
r-- de e   902Au   37 3EC[2[1;3repiantotg[E[2300
-w-- e e     8 g 13:38 3ES200mee.[EC30
rw-r-devv 647985e 209:4 3mES[23m00fascu[ESC[23[0m
-w--r--dv e   730ul 08 [3E[[00myecpt[3SmSC2mmmC[2mv@eaprdb:[3mEC23[d@apob~]$cahdcp
[veaodd~]$hstmeasrdb
[erd ~]ehoEM
cree
de@eapodb]$s
sinds.h dfos.xt  ogfsmad-_b.cp rplcao-tol.gz  fmsc  tesrit
[dv@easprodb ~]$ sbinifcnig
eh0     Lk enp:Ehernt HWr 5:568:00C0
       it adr1.20.6096 Bast10.26.5  Msk:55.255.2550
      ie6dd:e80:2056f:e8:0/4Sope:nk
      UPRADAST UNIGMULICATMTU:00 Mri:
       RX pakets:85165ror droped:overns0 frae:0
       T ace:0735 ros:0droped:0 ovrrus: crr:0
      clisio:0 xqueuelen:1000       Rbyte5109531 86.4 Mi)  TX bye:387499 2.iB
        Iterupt:59 Bas addrs:0x2

lo      nknca:Locl Lopack
     ine addr17001 Msk5..0.
      in6 adr: :1/8ScopeHost
       OOBCKRNG 646 Metric:1
        Rpacts675er:0rope:0overuns:0 fame
     T pakts:67551rrrs:0 drpe: verun rr
       colisions:0 txueulen0
msrel 23K
[K...kiin...
[mS[2[ESmE[23m[23m[00mdf-ogstx[3SC3m[mSCES[23m[23m[0m     3EC[23[3mC[mSC2m[2m[1;3mlogd.s[3mEC[3m[ES3mS[2m23m0m   [3mSC[23m[3ESC[3SC3m[3[011mplicaiontoolstgz3mEC[3m[ESmES23m2m[00m  [3mESC[23mmE[mES[23[m[sfmpsbackup3mESC[3m3EC[mE[2m[3m00
[3mSC[23m[3mE[mEC3m[3mm[ES3m3mSC[3mC[23m[23m_deveaprodb~3ESC[3m[mSC[mESC23m[3m\[deveprd ~]cat reeng 
[mES23m3mMSC[m[2m
[mEC23[3mESC[3mES[23m[23mdev@srd:[3EC[3[3mSC[ES23[3m\dv@asodd ]$ [3mESm[m^M[mEC[23[23
[3EC2m[3mEC[m[3m[23m_dev@eaprodb~3mE[3[3mES[mEC[23m[2m\[dev@asprdd~]$ ls3ES[23m3^MmESC23m3m
3mEC[3[mES[3mS[m[3m0mS[23mES[3ES[23m23m;2basein_db.s3m[2m3mE[3EC233m0m  3mEC[23m3mC[mE[2m[23m00madopy.0[3mESC233ESC[3mES23[3m[0 3ESC[23m[3ESC[3mES[m[3m[mma-0e-2bakp[ESC[23m3mSC3ECm[2m[00m[mSC[3m[3mES[3ES[23m23[mcelog0[3mES23m3mEC[3m[2m2[m  [mm3SC[3m[3mEC[E[23[2 m[00pespt[mSC23m[3mEC3SC2m[23mmSC[3[mM3mSC23m[23m
[3mSC[3m3m[EC[23m[3[00df-los.t[mS[3[3SC[SC[[2[00m     [3Sm3SC[E[23m01;3logdfsh[3mSC[23[3mEC[3mC[2m[m[0m   3mES23m3mESC3ES[2m2m[; 1rlicaton-to.tz[3C23C3mSC[3[m[00m[SC3m[3[ESC23m2m0mfmap.backp3mSC23m[C3mSC23mm[0m[3mEC[2[3^M[mS[32
[mEC23m[3mE[3E[3m[23[mE[m[3mC[m[3m[3dv@eard~[EC2[3mEC3mS[23mm[dv@esodd~$ t sc3S[23m3mC[mSC[3m[3_easo:[3S3m3S �3SC22m\e@asrodd ]$s -
3EC[23mE[3m[2m[20toal094
-rr-r--1 dede  148un 12: 3mC23[3mC[3mS[2m23[0132seli_dbs.h3mEC2[mC3mS3m[m[0m
-r-r- 1 de de79652u 817: [3ESC[3[3mSC[mSC[3230m-ost[mSC[2mmEC[3mC2m[23m00
rw- 1 ddv    7Aug5 1:383ES3m[3EC3ESC[m23[0mhp.0[ES3mE[3[[[m
rxr-x- evde      Jl8155[ES3m[EC[mS2[2m;3logfsh[EC[2m[3mSC[3EC[3[23m[0m
-wrw--- 1 e dv463665 Nv8 10 3ESC2m[3ESC[EC[3m2[0md--eta-2.acku[3EC[3[mEC[3EC[[23[
r---r- 1 ddv 09 ug  137 [mSC23[3mEC3mSC2m[23[;31rlitils.3mS[2m[EC[3mEC[m[23m0m
-rwr- 1dv de   1 Ag1:383ESC3m[3EC3ESC[3[2300msrelg.03mSC[[mE[3mSC[2300
-rw-rw-- 1dede64979e40:9SC2m[mECm[23m0masacup[mSC[3m[ESC3mE23m[0m-rw-----1 dv ev 7 Jl2 83SC[3[3mSC[mES[2m[23mtesr[3S[3[3E[3SC[[23[0m
[3mES[23m3mSC[mS[23[3mmmEC2[mC3m23m23_dv@asodb~mEC[33mEC3mS23m3m\[v@asodb ]$ c hrop
[vesprd ~$ osame
asprddb
[ev@sprob  echo$TRM
seedeapod 
baselie_b.sh df-lostx lgdh  a_-eta-bau relctontls.g fmabacu  perpt
evaspob ]$si/icog
t0    Lin enca:Ehere  Hdr0::6:80:C
       ineadd.060.  ct:0260.255Mas:5.55.0
     ie6 dr:fe80:50:5ff:fe0:/4 Sp:nk
     U BRADAS UNI UTCA MTU50 tr:1      R ckts:8165 rror:0 dped:ovuns:0am0
       T pacts:735ror0 dred: ovrn:0carir
      ollsios0txquulen100
    RX yte00731 864 i  TXtes137189 (1.2 i)
      nerupt5 Basaddrss:x200
l     ink ncapocalLopbck       iet dr:100.1 a:25...0       ntadr12 So:ot
     P LOOAC UNNN MU63 ti
     paks67 er:doped:0vrrns0 ra:0      T akts3651ers:opd oeus: crie0    colsio:0tueule:
[3S[3[mscreno.0[E23m[3mSC2mK
[3(D [23
?>?049l_devasrod:~\[verodb $
[[0;2senbs.sh0 [00mardco.0[0  00a10-t-2bacup[00 [0mselo0[0m  [0ecipt[m
00mdgtxt[0m     [;3lodfsh[00m   [013mlcon-ol.z[ [00msma.aku[0
ev@eaprob:\evprod~]r zreiatiool.gzrplitio-tol
epiain-oos/O
liaton-oos/config/
repcato-tl/fi/DMrepcaio-olconfi/pg_a.cf
rlian-olsconi/pstreql.c.ado
pliatn-/onfg/erycnfrepliatitool/READ
eicai-olsis
eplio-ocirictnon
liiontoolsscrpw_arc
epcti-tossciptsp_reynrpli_
rpliatinool/critresn_rlc
eplici-tolscrptstetomastr
elicat-olsctsc1mbo
licantls/ENS
de@epodd:[dsrod~$deplicatiotols
_evepod~/itiotoos[dv@espdd elictin-tls$ d cnig/
deeaspddb:laito/cofi\dv@asprodbcoi$s[m0mghacon0m  [00mpostgresqoditns[m  00mREME[m 00reoen[0
[_dvesrdb:~replcatio-tolnfg\dvasprdbcoig$vim covey.onf 
[?04h[h=;03l34h[25[3m[2m0m[H[5[;Hovry.f 
recverycon" L 12C[1;134m#resoe wia impl oy[0m
retoecomn =31mcvr/sql/wl_rchiv/fpm

m#dlete neede arhie files[m
rhvclen_cmand [1m'/o/calbin/parhveean /va/pgq/wl_archv%r[0m

34mu seami rpcion[
tandb_md [31mn'm

3#ai ver whnhe RIGUfile ists0m
iggeile = [31mvar/gsql/IN'0m

[3m thblowneeds t bechane to hecorrct IPadresserer
 it ishecnectininfmti forthe other eve[0
ma_onino [3m'ot=0.10.3.97ort=432se=reiasr'[

[4m----------------------------------------------------
 herepicatn-tols pge i line er e PosteSQL Licene
# 
 Cpright(c) 210-01,PtgeQL Eprts nc.
# 
# Prmisiontouse, cpy,modify, andirib tis sotwarend i
#documntofoany urpose, witoutfee anitu awitnaeent s
# r anedprovdtatt aboeopyight otie ndtis pagrap
# and thefolon torgrh aper n allopis.
 
#IN NOEVENSHALLOSTREQLEXPERS, INC. B LIABL TO NY ATY F DIRT,
 INDIECT,SPEIA, IIDETAL,R CQUENIAL DMAGE INCLDNGLOS
 ROI, ARIIG U OF TE USOFTI SOWREADITSOUMNTTION EVN
 IFPSTGSQ ET,IHS EN VIEDOF THE POSSIBLITY UC
# MAG.
# 
#OSGRESQLEXERTS N. PEIICLL DISAIM NY ARRAIES, INCLNGUT
 OTIMITE TO, THE IMLIE WRANTIS OFMRCHTABTY AN FITESS F A
#PAICUARPUROE.THE STWAR POVIDD ERUNDIS A AI ASS,# NPOSTRES EXPERS, INH NOBLAIO T VIDEMAINENNCE,
# UPORT UDAT ENNCMETS,OR ODFICTIOS.[0m
[134~                                                                                          [3;1H                                                                                     [0;1H~                                                                                   41H~                                                                                   [4;~                                                                           [;~                                                                              [44;H~                                                                                [;1H~                                                                                   [46;H~                                                                                   [7;1~                                                                                       48;                                                                            91H                                                                                   m[;115H,        l[11H[3[25[?l[5011H21        Al[2;H[34[?25h?5l[50;53,0      A[3;H[3?25[25l501H4,       Al[4;1[34h[25h[?2l5;15,0-1     All[3;1H[34h?h[2[50;1H2,       ll21H[4h[?25[?25[01H17     ll;1734h[25?25l[5;15219      All2;H34h[?25[5l[50;15H,20         Al[220H4h[5[?l[01152,23         ll[;23H34h?25h[25l[5015H2,        l[2;24[h[?2h[?5[50115227        ll[2;[3h[?2[?25l[0;15H2,28         All[2;28[34h?2h[?25[5;5H2,3         Al[;33[4h?25h?25[50;15H2,4         Al[2;4[425h[?2l[0152,45         All[2;5[34h?25[?25[50;152,7       All[2;7[3h?25h[?5l[50;5H2,49         All[2;49[34h?25[?25l[5;1[[50;1H[3h[5hq[25l
:[34?25[?25
:[50;2H[K[50;1H:[34[?25h?2[11C2,49       All[2;9H[3h[25h[?250;15H301        Al[;H[3[?h[?5l[5;15H249        All[;9[4h?25h[?25l[501153-1      All3;1H34[?25h[?5l[50;114,31         All[;31H[34h[?25h[?5l[0;1155,          All[5;9H[34[?25h[?25l[50;11H6,-1        All[6;1H34h?25h?25l50;15H7,27        Al7;2H34h?25h?25l50115H8,19        All8;19H34h?25h?2l0;15H90-1        Al9;1H3h[?5h?5l[;115H10,40       All[1;40H[h[5h[5l[5;115H11,3        All[135H[3h[?5[?5l[5;115H12,0-1        All[11H[4[?2h[?2l50115H3,4        All1349H[34[?2[?2l[505H1449        l4;9H[4h2h[25l50;11515,4      Al[15;H3h[h[?25l[5115H1,44       All[5;44H[34[2h[?2[50;11515,       Al[1;4H[3[25h[?25l[5;1H153        ll1;394h[25h[?5l[50;151,6     All5;634[?h[?5l5;115H5,3        l;35[4h[?25h[?25l[5;1151533      All[533H[34[25?25l[5011515,32      l[5;32H[4h[2h[?5015H59     A1;3h[25h[?25l[50;1515,2     All15;2[4h[?h?2[5;155,26     Al1;23h[25h[?25l[511515,27    Al1;27[34h[?2h[25l[0;1515,      All1263h[?25?251155,27    ll;274h[?25h[?2l[5011515,28     Al1;28[34h[?25h?25l[011515,      Al15;9[3[?25h?25l[50;115,30      All15;3034h25h[?25l[50;15H5,31      All[15;1[3h[?2h[5l[015H5,2     All[13H[34[?25h[?25l[0;15H1,3         All[5;33H[4h[?5[?2l[50115H1,34       Al[15;34H[34h[?25h?2[0;115H15,35       l[15;5[4?5[?5[5011515,6        ll[15;36H3h[?2h?2l[0;155,37     All153734[?25h[?25l5015H1538      l;38[34h[?25h[25l;153     All[5;37[34?25[?2l[5011H153      Al1536H[4?2?5l[50;15H1535      All[;35[34h[?25h[?20;5,34       ll5;3h25[?5l[5051,33      ll[15;33[4h[5h?25015H1,32       All[;3H[34h?2h?25l50;115H5,1      Al5H34h[25h?25l[50;15H1,30      l[;0H34h[5h?5l[5;15H15,29   l52[3[?h[25[50;1H1,8      Al15;2H[4h[5h[?25l[50;11552       All[157H[34h?5[55;1115,2      l5;26[34[?25h2l[0H[K501H:[3h[?2?25l
q34[5
?2l50;H[K[50;H[?1l>[4h?5[?1049l_deesprodd~plicion-ool/ofig[v@esprdbcig$ls
0m[00pg_haconf0 [0mstrs.confaditns0m [0RAM00 [0recvey.onf[00m
[_dev@easproddb:relcatin-toos/nfi[dv@eaproddb cong]$ cd/sps
_d@asprodb:repcatonol/sit\[deeasodbsripts$ 
[0m;32mc6mbnly[0m 0132mpgrsynrepla[0  [0;32mg_escreia_1m  0mi-pcati.[00 [0;32mprote_to_mster[0 01;mwaarch[0
[m_deasprddb:~/plcatntls/ipsde@aspod scipts]$ i-repiai.cof[?149h?1[1;434[?5h23[4m0m[HJ25l50;1"i-rpliatin.of" 
"pit-relcatn.onf 12457[H[mCniuriofle rPTR or replicati nostgreSL .0
o pgrsncelicome_oser  a_arcie
# rsn 1.. Lastudat201-21

# opgt()201-201 PogreSL Exprt,nc
#Liesed uder The ostrQLLicne; e
 http:/wwwpostgesl.org/boutlicen
#  hend ofthisileo detis.
# Wh oeatngsystemi ts? Wav soespial-ase cd
 for dffernt OS.0m
UNME_S`unm s`
if[ $UNAE_S Lin ]; en
 S=Lu
l [$UAMES =unO  & ue -|gep5.1 /evull2&n
 [3m#isiminatebetwee Joyt's-he vesionfOpeSolars
[0m [mnd thmaintreamvesion. nly ay odo it check the doma ame.[0
  una - |gep ijoynt  /dv/ul 21 ten   SJoyt[25H[34m# On oyt smeimes yu wa to s svadm soimesyou do't
[0m   4m#et ts ariale acringly Rcmend sting fals(i.. ')[0
   UE_ADM31m'0m  ele
   OS=penlari
i
el
 S=kon
i

[3m# matrand rlic I adess Thee sould be he sm                                                  [33;         
oal seIn he vntofaioernd pmotn                                           3;1H          
 othelcaoa aser yo wll ned tosap hse                                              7;          
 adess                                                                    [31H         0m

ASTR=10.0.3.7REPCA=1.10.376
[3# beow huoteed o behang o CnO                                                    [4;H     0m

GUSR=epiaser
GA/var/psq/ata0
RELCATONOG=v/l/pgogpicio.lo[01H1,       To11H4h[5h?50;5,1      op[2;1H[34h[?2h[?25l5015H,-1       Top[;H[34?h[?2550;15H,1     Top41H[4h[?5h?25l[1H5-     Tp5;[4h[?25[25[511,    Top;H34h25250;H71       Top;H34[?h[255015H,1        To[;34h?25h[?2l[501591      p[934[?5[?25l[50;11H0,01     To10;1H[h[?55l5;15111     T11H[3h?2[25[50;15H12,1        To[2;1H[34h[?25h[?l[50513         op[1;1H[3h[?25h?25l[;115H4,1     Top4;[4h[25?2l01H151    Tp[15;[3h25l[515H,1       T[6;H[3h[2[?l505H11    Top[1Hh[?h?2l50;15H18      op[181H[3[25h[?25[;11H9,        [9;1H[h[?h5l[5;152,1     To20H[h5l0;11510-   Top211H3h2h?25l1152,1    T22;1H[34h[2h?25l[5;15H231     Top[;1H[3h2525l[15H24  2H[34[?2h[25[;5H5,     Tp[25H[34[?2h[25l[5;112      Tp[2;1H[34h[?2h?25l[5;112,1      op[2;H[4h?25[?5l50;115H21         op[28H3h?2h?2l[505H91        Top[29;H[3h[?25h[?2l0;1301       op[;[4h?25[?25[5;15H31-       Top[31H[4h[?h5l0;1H32,        op[32H[3h[2[?2l[50;115H33,1      Tp4134[?l[115H341        Tp36;1H34h?25h[25[501155,1    Top[381H[34h[?25h[?5l50;1H360-     To[40;H[325h[?25l[50;115H37,1      Top[41;1H3h[?25[?5l[11H8      To[42;H[34h[?25h?2l[0;15H9,0      To[43;H[34h[5[?25l01H,        op4;1[4h[?2h?l[0;151,-   Tp[46;1[4[25[5l[50;14,   T;1[4h[?5?25l[0;15H39,01     Tp3;1H[34h[?25h[?5l[501153,1     op[4;1H[3h[?25h[?550537,    To11H[3h[?5h[?5[115H,2        To[12H[3h[?2[l505H,3        Top[41;3H[h?25?2[50;1574         p1;H[h?25[?25l[5;1535    op[;h25h?25l50113,6       op[16H3h[?25h?2[50;1537     Tp[1;H[4h?25h[?5l5;15378        Tp[41;H[34h[?25h[?25l[505H37,9        op41;H[34h5h[?2l[0;1H3710       Tp41H3425h[?25l[50;5H37,1        o[4;4?25h[25l50;1537,12      op[4;H[3h?5[?5l05H,13    To[411[h?5h?25l5015H37,4       op[4;1H[34h?25h[?25l[50;15H37,5       Top[41;H[3h25h[2l[50;1H316       op[41;6H[[?h[?5l[115H,17      T[41;17H34h[?h[25l[0;11537,18         Top418H[3h[25h?2l50;138,1     Tp428[3h25h?25l[50539,-1       op[4;134h?25h[?2l[50;5H4,8        Tp[44H[h?5[?5[0;1H10-     Tp46;H34[?2[?5[0;5H42,8       Top47;8H[34[2h[?2l[50115H3,18      Top[418[35h[?l[5;14418      Top4;8H[4h[5h[2l[;49r[49;1H
[1;50r50;HK[;11H4501       1[49;H[34?5h?25l[;9r[11H[2M[;50[48;[4m# drecywh lofilsae cpied to on threpia                                            49H            m0;15HK50;115H6,8        488H34h?5?25;4r49H
[1;5015[K0;15H47-1         5[49;[34[?25[?25[;4r[49H
[;50r[9;1HWALI=/varpgsq/al_chive[5015HK[5015H4818       6[418H3h?5[?5[149r[9;1
[1;50r[50;115[K[5015H4-     7%[9;1H34h[25h?25[;49r[9;1
;5r[41H4m########################[0m0;15H[K[;11550,18    %[9;18[34h[?5h[2[1441H;4[3m Begi OS-ecic etng0015HK501H518    104918[425[l;9r[9;1
[150r[49;1H[34m######################[0m0;11K[5;1552,18     11%49;8H3h[?25h?2[50;5,18      11%[48;18H[4?5?2l[011H5,18      1147;18H[34h25h?2l;1549,-    1%[461H[34[?25h[?2[50;15H4818   1[5H3h[h[2l[0;H471    1[4;H[h[5[?l501546,1       1%21H34?5h?l50;1H40-1      1[41;1H3[?25h?2[51448  11%[4018H34h[25h[5l[515H18     11%[91H[34[?25h[25l[501H,18      1%[40;1H[34[?5h[?2l[5;15H5,0-1      11[41H3h[?2h[?l[011546,18      1%[2;8H4h[h25l[;154,-       1%[41H[4h25[255;11H8,1       1%45;8H[34h[?25h?2l50;150-1     1%6;1[4h[5[2l50115H508     14718H4h?5h?5[50;11H5,1      1[18[45[2550;15H518     1[418[4h[[5l[1;4r4;1H
1;5[9;H[m#[0[;15H[50;11H31     [13h[2h[?5l;4r[49;1
[50r491if [ O=[31mJoent'[ ] then01HK015548       13%[9;1834?25[?l;r4;1
1;r[4;3HGAE/va/gql5;1H[[5;15H5518       15%[49;1[3h2h[?l[0;5H5,18      %[34h2h[25[5;15H31        15%[71[4h25h5l50;1H5,18       1%[6;8[34h[2h?25l0;1H51,8       15%45;1[3[25?25l5011H50,8       15%[44;[3hh25l[;11H40      15[431H[3[2h?25[5;114,8        5[1H4h[?2l50115H47,-1       1%[41[4?[?2l501546,8      1%3183h[5h[5l[5;15H45,0-1       5%[;1H3h[5h[5l[5;11H44,18      5%;18[4h25h25l[0;1545,-1    81H[h[5h[2[;15H1    ;3hh?5l015H7,-1       5%1132h?5l511548,1    %4;8H[h[?25[25[5115H4,-1        15[4;H[h[25h[25[0;15H5018        5%[4;8[4[?[?25[0;11H5,18        5[451H[3[?2h[?2l[50;115H52,18       1[68H4h[5h[5l[50;115H53,1      5[7H[4h?5h?5l[50;15H48       5%481H34[525l[50;11H55,18       5[418H4h?5h?25l[1;4r49;1H
1;5r[49;HPC=/oloa/n/pg_tl[50;11H[K[1156,18       16[49;18H[34h[?5h?2l;49r;1
[150r[9;HPSQL=/opt/loalbinpl[5115H[K[5;115H7,18        17%[418H4h5h[5l;49r49;1H
[1;50r49;HRSYN/optocabin/nc[0;115HK50;1551      8%9;18H[34?25h[?25l[1;49r[9;1H[1;5493HSSHusr/inssh[5;115[50;1159,1      20[49;8H[3h?2h?l1;9[4;
[509;HP=usr/bin/p[50;15H[K0;1H0,6     2[4H[3h[?5214[491H
10r[4;1Hlf [ $OS = [3m'Lnux[0  then[50;15H[K5;5H61,1     22[49;1H[34[?h[?l[149[;1
[1;0r[9;3H34m hes settigs ae for CnOS.Oter dstribtionsmy  diffeent.[m[0115[[5011H618     24%[4;18H[34h?5h?2l[149[9;1H
[1;5r[49;HPGBSE/ribpql[0;115[K01156,18      25%[91h25h?2l1;49r[4;1
[150r[93HPT=/us/pgsq-90/i/_ctl50;15H[K[5015H6418       26%[9;18H[34[25h[?25l[149r[4;1
[1;5r[493HSQ=/ur/gsql-.0binpsql[0;1H[K50;1H,1       249;1834?25h[?25l[1;49[4;H
[;5r4;3HRSC=usbirsnc[5;1HK[0;15H6,8        2%9;1H[34[?5[?25[1;4r[41
50r[4;3HSH=usbin/sh015H[K[50;115H71        0%[4;184h?2[2[19r[;1
1049;H=/in/c[50;115H[K[50;15682     1[91[34h[?25h[?25l[1;49r[491H[15[1He511H[K[50;115H69     2%44H[[?5h[25[1;4r[491H
[;50[9;ch[31"Unecognized O."0[5;15[[50;15H718       34[49;8H[3h[?2?219r[4;1
[150r[9;3exi1[50;11HK0;15H1        3%498H[4h[?25h?25l[1;49[49;H
[1;50r[49;1Hi[5;15H[K5;15H72,       36[4;2[34[25[?25l;49[49;H
[;0r[55HK50;1150-     37%49;H345h?25;4r[91H
1;5r[491H[3# a a oction  thefle tha stps archiinon theMastr[0m[50;1H[K[011H7,     39[9134h[?5h[?2l1;4r1H[2M1;0r[48;1TOCHFILE=$PGAS/narhivi
4 Ne adocatonofthefil whhtp rcoversn the lav[[0;11K0;1H75,18     1%41[3?25[?2l[056,8    1%4;H[h[?5[[015,1    414818H34?h255;115H41     41[47;1[[2[2515H3     41H[[?h550;11H72        1%[52h5[?l1171         41[4H4h[5h[2l[0;157,8     4%43;8[4h[?2[2550;156     %[2H[34h2h[2l11H68,     1%[12H34[5h?2[0;5H1   40;1[3h[2?l5;5H61       %39;13225116518      41%38;1[34[?[25[015,1    4%[7;8[3h[?5[?5l5;5H5,8     %[;8H34?5h?5l511H6618     41;[4?2[?[;15H6,1      41[3;[4?55l[50;11H48     1%84h[h[l[;11H6,1     %[31[3h2525l0;1H,      41%[9;1[?2[?25[5;156718     1%4;1H[[5[25[1156  419;8[3[h5[;1565,8    [8h[[25l[50115H48     %[31H34[2h[5l[;1H63,18      %[6;1[4h?2[?5l[5;15H68   413718[4h[?[?2[015H618    4%[8;1H[34?2h[255011H,1      41[;H[h[?h[?2[115H78       4%[4018H[4h[h?5[0;1156812      1%[412Hh?25hl50;1H6,4        %[4;H[h?2h[2l50;H70     4%[318H4h?5h?25[01H7      4[44H[3h[?25?2l[0;1H7       145;H[34[?25h?5[50;1H71      1%[461[34?25h2l[5;15H74,8     4%[47;1H[[?2h[?2[50551      4%[4;1H[3[5[2157,1     41%49;H[[2[?549[;1[2M1;0r[8134# n rin it as te e mtr0
BINP$PGA/BIGUP[0115K[0;157,18      42%4;18[3h?25h?25l[0;15H7,8     42;[[2h[25l[49r[1H[1[41# ol esinatinile int o a e ntain lstofute drctri o p[m[515K[50;5H9,8   4[8;8H[4h?[?5l[5;1H0,8     4%918H34h[2[2149[;1[2M1;5r48H[3m# Wfile o. If n sng, *o n leav mp, jst us the
# efauand o'tethe iem[5;1[K[0;11H1,8    4%[4;1H4h[25[2l[50;1H82,18    6[9;H[3?2[25l[149r[4;H
[1;0[41HLOLDEIATINSLIST[3$PGBA/scrts/lcadstinions"[0m[50;115K5015H818    8%[9;18H34h[?2h[2l[1r4;H[1;0[9H[3m#[m50;15[[015H41   49%[49;1H[34h?25[?5l[50;1H818      9%[4;18H[34[?2h[?5l[505H8,8     9%[478[3h[5h[5l[5;1H8,18     49%[461H4h25h[5[5;158,18     49%[5;18H34[?2h[?[50;15H,18     9%[4;18[34h[?2h[?5l50;15H7,18      49%[4318H3[?5h[?5[50;15H,1     9218H[34h?25[?5l[50;15H7,18      49%[4;18[34h[?2h[5l[50;15H7,1      49%[40;18H[34[?25h[?l[0;15H7,9      9%[4;19[3h[?2h[?5l5015H7,20       49%[4020H[3[?[?5l[5;15H7,19     9%[40;19[34h?25h[?5l[50;15H7,9     4[3919H[4h[25h[?l[;1H70-    4%38;1H[34h[25h[?l[5;5H72       9%37;2H34[?25[?25[50;11H71,      4%[368H[3h[25h[?25l[50;15,     49[5;19[3h[?25h?25[01569,4      34;434[?5h[255011H8,2   433;1[3h[?2h[?l0;15H,1      49%[;18H34h[?25h[?25l50;115H6,19      9%31;9H[34h2h[?25l50;115H5,19     49[09[4[?5h[?2l50;11H4,9      4%29;19H[34h[?25h[?2l50;1H,19      49%28;19H[4h[?2h[?5l5;15H2,1      9[27;1H34h[?25h[?5l;111,9    4[6;19H34h[?25h[?2550;15H016      9%[2516H[34h[?25h?25l0;115H,1      49[24;18H[34[?25h[?25l50118,9    4%[2;H[34h?25h[255;15H19      9%[2219H[4h[?25h?25l5;116,1    4[211H[3h[25h[?5l50;15H5,19     49%[201934h?5[25011519     421;[4[?5h?25l50;15H719     49%[22;19H[3h[?2h[?2550115H,19    49%[3;9H[34h[?5h[?2l5;15H9,1    4%[2418H[3h[2h[5l;15,16     %25H3h2h25l0;111,       49%[2619H[4h?2h5l50;1529    49[27;9[[?2h[?551H319     49%[2;19[3[25[?2l011,      49%[288H4h2h?5l5;15H,17  49%[8;1734h?5h250;1153,1    4%[8;16[34h25?2550113,15    49%[28;15[34?25h[2550;15H3,14       49[28;1[3h[?2[?2[0;5H6,1      4%[8;3H34?2h?2l[5011H3,    9[82[?[?5l[5;15H613     9[;13H[h[h[5[15314    4%;1H3?25?2l5;115H,1       9%2;[34[?25h[?25l5011563,1        49[2;1[34[5[?25[5;15H6,1      49[281H[3[?h[?2l[50;115H6417       4%2;7H4h?l015H6,1    %[0H4h[5[5l[;11H617     9%[;H34h25?25l[50115H3,7      %;7[3h[?2[2[015638  9%23[2[0;11H6,1      4%[28;9H[322[0;5630   9[2H[52;1H6,2       %21H4[h?5l[50;H63,   %822H34h5[25[50;5H621     %28134h[25h[2l[0;115H3,20     49%[28234[5h2;15H6,    9[8;H3h[?25h[?2l[;156,      4%288H[4h[?2250113      [217H3h[25?25011H6,6     4%[;16[4h?5[?l;153,5   4281H4h25h?2l0;H63,1     4[2814H[34h[?25h[?2l[01631    49%[8;13H[34h[25h?25l;1H3,1     49%[2812H34[?5h?2l1H6,      %[2;11[4h[5h[250;151    913h[25[?5[5;11541      42;0H34h[?25h25l0;155   49%[30;1034h[?5[?25015H61     9%1;10H3h[?h?l0;15H7,0      9%[3;0[3[?25[?25[5015H610   49%3;1H4[5h[5l0;15694       49%[34;4[34[5255;170,     %3510H[34[?25h?5[505H1     9%[6H[34?25[2l511H72       4%[7H[32h?5l[153,0    9[38;4[l;15410     4%310[[?5;15,0   4%410[4h5h5l0;1561      49%1;1[34h25[?5[17710      9%42;0H[3?[?l0157,0       9[43H[3h5[?5[;1711     9%[411H[425h[l0;1578,12       9%[3;13425h?25l50;15H7,13      4%3;13[3h25h[?25l[50;115H78,14       49%43;14[34[?25?5[0115H815       4943;H[3h?2h[?2l[5011H7,1     4[36H[h[?5h[?l[5;11H8,17     %[47H4h25[25;15H7,1       49[;18H34h?25?5l50;11H78,19       4%3;1[4h[?5h[?25l[5;115H720    493;34[?25[25[5;115H7,     [4;[3h?2h?2[0;115H82        4[432H[4h[5h[?5l[5011578,23      %[4233h[25h2l[5;115H7822       %[;2H4h?h?l[50115H78,2     49%321[34h[?25?5l[0;15H78,20    4%4;[3425[?25l[0;15H1    [43;9[3?25h[?5[50;1H788      4%[438H[4h[?25[25l[;15H781     %[4;14h?5h25[5;H7   9%;1H[3h[?2h[?l[;1H,17    4945;734[?25hl[115,7     4%[461[34h[?25h5l[;1182,7     49[47H[3h[25h?5l[01H81     4%[87H[34h[?25[?25l50;5H4,     9%4;1H[34h[25h[25;449H
;5r[49134m#####################[0m511HK[0;11H8,17   50[;1[h[?2h[?5l[;49[;1H
1;r[49H[# EdOSpecifc setins[050;5H[K[0561   5%[4;14?2h[?19r;1HM[150r4;1[3m############[0m[;1H[K[0;1H871      54%48;1H[34[?2[?2l[;115H8,0-1     %[49[4h[?h5l[;4r9;1[50r[91[3Shl weSH lly[;1[[0158  59Hh?2h[?59r9;1
1[9;HUSESS_SYC=ye[50;1[[5015H,      56%[9;1H34[?5h[?[;4r491H[;50r50115[[50;5H9,-1  8[1H[h?h?25[1;4r49H
1;0r49[4m rsyc ptons. salyilds cmresi[0[50;11[5;51     9[49;1H[3h[?25h[?5l1;4r[4;
50r9;HRYN_OPT[3m"[0m[;15H[K501H93,     0%[492H[34h[?25[?25l1;4r[;[2[;0r41H[m# sncervshanme f in0[5;115[50;1H94,0   648[34?2[25[;15H,     6[417H[4h?25h[?2l1;r[49;H
;50r491RYNSR=[1""0m515K501191       64%[49;15H[h[2h5l[49[9;
[150r[;1HRSCPAS=3""m[5015[5115713   %[493H[4h[?5h[?l1;r[4H
[5050;1HK[;15H9-     7%[491H34h[255l[;499;
[1;549;134# Hpts[m5015HK[50;15H99,13         6%[49;3[4[?5h[5[1;4r[49;1H
[1;50r[;1HSOT[[m5011[K50;15H10010     6%[40Hh[?2h[?5;99
[50[0;H[0;11H01,-1      7[491H4[?2h[?2l[1;4r[4;1H
[;r[;H[3# --------------------------------------------------[0m[0;115[K[;1151021      72%[49;17H[34h25h5l;49r49;1
[1;r[49;1[34#Threlictiontoopaaei liensd underthe streSL Lene:[0m[0;15HK[50;11H103,1      3[9;17H[34?5h[?25l[1;4r49;H
[1;50[91H[3m# [m[50;11HK[5;1H14     7%[42H[3h[?25h?2l[50;15H1317    %[417H[4h[?25h[?5l50;151,17    %[;1734h[?5h[?5l[5015H11,0-1    5%[6;H34h?25h[?2l[50;1H1,10     5%[510H[3h[25h[?20;15H13     5%4;1334h?25h?2l50159,0-1   7%[43;1[3[?25h[?2[50;593     %[41[4h[?2h[2l0;95   75[41;5H[3h[2h[?5l[155,1    %[401H34[25h5l;19    5%[1H4h?5h[l5053,2     5[3H[4[?2h2l[50115H17  75[17H[4[25h[25l[115H,0-1   75%6;H34?5h5l5;15H9,16     75%5;1[34[?25[?5[;1H17    5[34;7H[5h[?5l50;150    3;1H34h[2h2l;1581    %21[34h[?2h?2[5;15H8     %[3;7Hh[2[2l[5;15517   %[3;17H34h2h?l[0;1H81       529;1[34?25[?2[50;H81     28;7[3h?2[?2[515H21     %[271H[34[?2h[?2l50;5H,    7526;7H[h?25h?5[5015H,7     7%[27H[4h[?25h[?5l[50;5H717      %[2173h[?2h[l0;157,7     5%[;17[34h[?5h[?5l[5015H9,17    5%24;1[4[?525l50150,17     75%[25;H[3h?2[2550111,17  75[27[4h?5h[25l[5;1582,1      7%271H[34[25?5l;153,7    5%17H[34h[2h?2l[5158,1      75%9;1H[34h?25h25l[115H517    75%3017H[34h[?25h[25l5;186,7     %[3;17H4h[?25h?255;15817    5%[3;17H[34h[25h?5[;118,0    753;1H[4h[?25h25l;189,1    75%[34;1[34[?25h?25l[5;15916      75%[3516H34h[2h?l[;1151,0     75%[36;1[34[?5h25l[5159217     5%71H[3h[25h?5l[5153,2  5%[312[4h[?25h?25l0;114,0     753;1H[34h[5?255;1595,1    %[;14h[h?l;596,1     75%[41;H[3h[?5h?l[;1197,1      75[;13H34?2h?5l;11H,01       75%4;1H[3[?25h?25l[;199,13      5%441H[3[?h2;15,1   50Hh2h25l0;11H01,  7[;1322[;1,1    5%;1H4[?25?2l[5;1513,1    75[417[4?h25l0;1110,      %[92H34h[25h?25l[19r49;1
10r[9;H[34# priht(c)201201, PoS,Expt, Ic.[0[0;15H[K[;11H15,7    749;7H[3h[?2h[?25[;49[49;
15049[4#0m[515H[K[50;15H0,2      8%492H[h[?5[?5l1;9[9;
[;[491H3# ermso tou cp, miy,ad disrbut ti sftwr and ts[[5015H[5015H1,7     9[4;7H[h[?25?2l[1;9r[;H
[1;r[91H3m#ocmeati fy prpse, withu ee, ad hut  rien aemt is[0m[50;115H[K[501H1087    %417[3[25[?25[1;9491H
[1;504;[34m heey rane,povidedtattheave cpyightnoti andtis rar[[50;1H[K50115H1017     8[497[?25[519r491H
1;5r[9;Hmnd t flwing wo aragrahs pa n cpes[m[5115H[5;1H1,1   83[97H[4h?5h[?5l;4949;9;1[3m [[0;15HK[501H1,   4424h[25h[25l1;49r4;1H[[;1[4m  NOEVETHA POTGREQXPRIC IL T  PRT FODIECTm[5;15K[01511,17      8[417[425?l1;4r[;1
1;r491H[ IDRC SPE,CIETA,OR CONSEUNTADAMAGS,IUDIGLOS[0m5;15[K[0;15H1,1      87%4917[34h[?25h[?2[49r491H
r[4;1[4mPRFITSASINUT F THESOHISOFWRE  S DOMNAON,VENm5115K;1511,17  9[417H[4[5h[l;9r49;1
;0r9;34IF GRSQ EERT, NC.HENIOE IBIIT  SUH0m;15K50151,7    9%[9;1[3h[2h[219r4;1H[;5r49134mAM.m5H5;5H1,9    91[9;[3?525[1;[9H15[4;1Hm# m[15[K[;111,2  3[4;[5h[?5l[9r1
[0r49;134mPOSRESQEXPES, IC.PFAL DSS YWRANTIS, LUG,BU[11HK50158,   %497[3h[?5?5[1;99;H
[;r[4;1[m NLMIEO,T ILD ARRIE MEHANTABILITY AN FIN A[0[HK501519,    9%[7H[3[?5[149r[49;H
;5[9;[34mPARTUARPO. TE SOFTWR PROVED REND IS AN"AS I"BSS,[0m0;11H[K0;11120    9[4917[3[2h[?2l149[4;H
[50r41H[34# AN POTRSQEPERS, I. H NO OIGAIO T PRVIDEMAINNAE[0m[0;5H[[50;15H21,7      98%[49;1[h[h?l[;49r491H
[;049;1H34m#SUPT,UAT, ENNCET ORMOIFICATONS0m0;15K5;115H122,17       Bot4;17H[h25������[?25l[23[240mH[J[[2[0mH[J1;1H[4m# n allerves  Inte ent ofailoer andpromtion                                                        [2;1H          
# othe elicto a aster yo wil ned t sap thse                                                          4;1H           
#addrses                                                                                        [;1            [0

ASTER0.10.23.9
REPICA=10.100.2376

[34m beloshoud ntned o be changed or CenS                                                          [12;H        [

GUSERrepliauser
PGDT/va/pql/a90RELCATIO_LOG=vr/l/pgloreliatio.log
[m# diectowhe logies recopd to trepla                                                          [1;H         [0m

WALDIR=/var/gsql/l_rhive
[3m#########################
#BeinS-spcificsettigs
#####################[0
f $OS =[1moyent'0m ; th
  PASE=vr/sql
PGCT=optloal/bn/p_tl
PSQ=/ot/local/n/psql RYN/p/la/i/snc
 SH=/sr/bin/ss
  CP=rbn/pei O = [1m'inux'[0 ] then
 [4m eestig  fo CentS. Otr isiiosa edferet[0
  AS=var/i/l
 GC=usrpgsql9.0/bi/pg_cl
  PQL/rpsq9.bn/pql
 RSYNC=/usr/bi/sync
 SH/usrin/
CP/b/cp
else
  eho [3m"neogedO"0
 exit 1
fi

34m# meadloio  te il tha stops rciing n h as[TOCHIL=$PGBASE/no_arciving
[4#Naan caio o th file whichstos cvrs otesave[0m[0;115H75,1       4[H[h[2h[25l[3H34mPowers g_resyc_elia,proe_omase an wal_arhie[0m1;6[[1H[[;3[4merion1.. st upaed01-2-1.0m[3;41H[K[4;1H[K[5H34Cpiht c20-2011 PosgreSQL, Expers, Inc[m[;53[K[;1H[34m# Lienedundr h PosreSLLicse; ee
# htp://w.posgslorgoutlicene
#  the end o hs fil fetais.[[9;H[;[3m Wat opeatin syse i his?e hav soe spcal-ae code
 for dffernOS.[m[1;21HK[121HUNAME_=name s
 $NE_= Linx ];then
 OS=Liux141HK151Heli[$UNAE = SunOS] &&nae-  ge .1  /ev/null2>&1 then
  [3# isrimiate btweeJoen's -hous versonof OpeSlais
0m  34m# nd te maitrea vrsion.Onlyway t do : chekth oa am[
   unae -n gr- jet  /evnull >&; then[18;4H[K[19;    OJoynt[1;14HK21;1H   [4m# O Joyt, soeims youwant o se svcdm; ometies y don'. 
[0m   [34# et thi varable corngly.Recomende settng false(i.e '').[0
   US_SVCDM=[1m''0m[23;18[K24;1H els[24;7[K25;1H   OSOpnSolars[2;19HK[21H  f
ele[276H[K[2;3HOS=nko[2813H[29;Hfi29;3H[K[3;3[K[3;1H34m# asteand rplic IP adresse. Theseshoud e he se                                                         3;1H         0m2;14H[K[3;1H34m#oallsevers  Inhe evnt of failove adpromoton                                                   [34;H              [m[3;15H[K[3;1H[4m o te replca t a mster, o wl ned to wap these                                                      [61           [0m[36;5H[[371H34# drese                                                                                                      [3;1H           [0m[8;1H[K[39;3H[K40;1ASER1010023.9
REPICA=.10.3.76[42;1[3;H4m belw sho n nee t b hanged for CntOS                                                                [4;1H          0m[4;1H[[46;1HPGUSER=relicasr
DAT=v/pq/dt[7;25H[K[48;1HRPLICION_L=/v/loggoeplitin.lo[49;1H[[50;15H31        1%[5;1H34h[25h[?25[1;49[1;H[L1;0r[1;H[3m# Cofigurtionilefr PRor eplictio o PostgeSQL9.0[[5015H[0;15H441          Top[9;1H[4[25h[25[3m[2mm[H[J[23m[24m[0m[HJ[1;PGDA=/v/pgs/data0
EPLICATION_LOG/varlg/plog/plicion.o

[34mdiecto wher logflsar cpiedto o helic                                                   [5;1H           [0m
WALD=/v/psq/wal_rcve

[34m####################### Bein OSspeific settigs
#####################
[0m
if  $OS =[31'Joyt[0 ; hen  PGASE=/ar/ql
 PGC=/optloalin/pg_ctl
 PSL/pt/lal//psq
  YN/pt/local/bin/rsync
 S/usr/s  =usin/p
lif[$OS =[31'Lin0]; tn
[34# Te stin ar or enOS thertritinsmy beifernt.m
 GBAS=/varlib/psql
 PGCTL=/sr/psql-90/bng_ct
 PQL=/ur/psql-9./bn/pql
  RYNC=ur/brsy
  H=usr/bi/ssh
  CP=/inc
el
ch [1"reognizd O."[0m
 eit 1
34m Naan locio o th flehat stpsacivigoeMar[
TOHFLPGBA_ahii
4# ame ad lcat ofhe fil whih ss rcver nhe lae
# ndringstuas hnewatr[m
RINUP=PGA/BRNGP
34# oc estiaonsfile
# on to a il ontaiing alis of munted irectr tcy
 W les o.  f nt using, *do noleave mp, jus use he
# dealnd don ete e fi.[0
LOC_DESTNATIS_IST[mGB/srts/cal_stnatn[0m
34#
##############
# End S-secifc etgs
###########################

 Shoul w se SS f ullsyc?0mSE_SSHSYCyes50;1543         56%[1;1H[4h[?2h?25l[0;11H[K5;H[4h?25h[5
:q[h[?25
[25l[0;1HK[;1H[1l>[34?251l_d@easoddb~/replicatin-tools/crips\[de@easddbcrips]vi pitr-rlctionnf 
[19h?=;0r[34l[34h[?25h3m[24m[[H[?55;H"itrrelcationnf 
"pirecaoncof" 12 57C[;1H[3m Coniurato fi forPR o replicti on trSQ .0
# Poes p_rsyc_relic, poo_mar nwal_rciv

# ersin .6 at pdae20110-17

#Coyrght (c) 20102011 ostreQL, xpr Inc
 Lcensed uer hePotgrSQLicnse e
#htp//ww.otgresq.orgabout/cen
# theed o h fefor etals
# W oeatisyste i this We ave se speal-ase cd
for dfrent Os.[0m
UAME_S=nam -s`
i [UNAME_S  Lin];he
 =Lu
i $UNAMS  SunOS] & uam -r  grep .11  /devnull >1; then
  [4m Discrmnat eten Jyent' in-huevrsionofOpenoaris
[0  [3m# an the mainstream version. lywatoo it:checkthe dmanname.[m
  ifuam-|e i oynt > /v/null 2>&1; then
    OSJoyet[225H[3m# On Joyent otimes uwant  us sca; soeims you on't. 
[0m   34m Sttisriabe accordingly. Reommend settn: s (ie. '[0m
  USE_SCADM=[m''[0
  lse
   OSOpenSolaris
  fi
else
 OS=ukown
fi
34m mate and replica P adrsses The shold bethe sme                                                     [31        
o al serers In tevntfaloeand pomoion                                                           35;1          
# f the rplica o asteru l ne oswap thee                                                         3;1H            
# adresses                                                                                            [39;1             [m
MASTR=000.237
RPICA10.10.3.76

[4# beo shld otneto chngdfoCetO                                                              [45H           [0m

PUSER=relcaer
DATA/var/psql/ata
RPICTN_LO=/vlg/g_ogepictio.log[50;15H4,1         op[4;1[h[?5h


?l>[?149l
[1  Sppd             i itr-rplitinco
dev@esprodb:~/replication-ols/scrpts\[dv@eaproddscrs]$ sbin/iconig 
eth    Ln ea:Eherne  HWaddr 0:50:5:80:0C
      inetddr:0.50.0.19 Bcast:10.5.60.\[dev@easproddb ~]$ exit
exit

  • No labels

0 Comments

You are not logged in. Any changes you make will be marked as anonymous. You may want to Log In if you already have an account.