21.05.2014 Views

Postgres-XC tutorial PDF - PGCon

Postgres-XC tutorial PDF - PGCon

Postgres-XC tutorial PDF - PGCon

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Restore from the cold backup (2)<br />

●<br />

Start all the components again<br />

$ gtm_ctl start -S gtm -D /home/koichi/pgxc/nodes/gtm<br />

$ gtm_ctl start -S gtm_proxy -D /home/koichi/pgxc/nodes/gtm_pxy1<br />

$ gtm_ctl start -S gtm_proxy -D /home/koichi/pgxc/nodes/gtm_pxy2<br />

$ pg_ctl start -Z datanode -D /home/koichi/pgxc/nodes/datanode1 -o “-i”<br />

$ pg_ctl start -Z datanode -D /home/koichi/pgxc/nodes/datanode2 -o “-i”<br />

$ pg_ctl start -Z coordinator -D /home/koichi/pgxc/nodes/coord1 -o “-i”<br />

$ pg_ctl start -Z coordinator -D /home/koichi/pgxc/nodes/coord2 -o “-i”<br />

●<br />

Restoration is done.<br />

May 16th, 2012 <strong>Postgres</strong>­<strong>XC</strong> 89

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!