<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">roctaiwan,<br><br>What you want to do is place the commands in a script that sends the output to background.<br>make sure you have defined the environment variables referenced also.<br><br>eg: the following script starts slon for node 1 <br><br>script name: start_node_1_db.sh<br>contents:<br>------------------------------------------------------------<br>slon -d1 -pslon_node_1.pid $SLONY_REP_SCHEMA "dbname=$MASTERDBNAME user=$REPLICATIONUSER host=$MASTERHOST port=$PGPORT" > slon1.log &<br><br><br><div id="RTEContent"><font size="4"><span style="font-weight: bold; font-family: arial; color: rgb(0, 0, 255);">Melvin Davidson </span></font><br><font size="3"><span style="font-weight: bold; font-family: courier;">Folk Alley - All Folk - 24 Hours a day </span><span style="font-weight: bold; font-family:
courier;"><br>www.folkalley.com<br><br></span></font></div><br><br>--- On <b>Thu, 7/16/09, roctaiwan <i><nettreeinc@gmail.com></i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: roctaiwan <nettreeinc@gmail.com><br>Subject: [Slony1-general] Need some commands to monitoring/managing the slony clustering status<br>To: slony1-general@lists.slony.info<br>Date: Thursday, July 16, 2009, 10:32 PM<br><br><div class="plainMail"><br>I had following instructions of a forum on how to start replicating my first<br>DBs. But it has not teach me how to do submit some general commands. I have<br>few that I would wants to know. <br><br>Instruction says: <br>% slon sql_cluster "dbname=contactdb user=postgres" &<br>% slon sql_cluster "dbname=contactdb_slave user=postgres" &<br><br>Questions: <br>should I type this one by one and press ENTER after the "&"?<br><br>I start from
the first cluster, once it started it looks like is showning<br>the status log of the slony in the window<br><a href="http://www.nabble.com/file/p24528069/slony_Ma_start.jpg" target="_blank">http://www.nabble.com/file/p24528069/slony_Ma_start.jpg</a> , it just keeps<br>rolling and rolling, I had wait for about a min but it don't seem will stop.<br>For me to start my second cluster engine, I had ignore it and continue type<br>my second command even it would moving my lines to different line, and press<br>enter. But I am not sure if I had started it or not. <br><br>How can I put these status in the back ground so I can continue doing my<br>thing. Also how could I put it back to screen front if I want to see it<br>again?<br>I was trying to do ctrl+c, I am not sure if I did that will I stoped the<br>replication process?<br>what is the command to see the status of all my clusters (cluster1,<br>cluster2, cluster3) status if its "stoped" or "started" ?
<br>Also whats the command to show me the detail status of clustering on every<br>cluster to identify if there is any problems during replicating process ?<br>How do I stop, start and restart the slon replication engine ? <br><br>If I would wants to know more useful commands like those I asked, could you<br>referral me some places? I know www.slony.info is one place, but the<br>information up there is just kinda hard to absorb. <br><br><br>-- <br>View this message in context: <a href="http://www.nabble.com/Need-some-commands-to-monitoring-managing-the-slony-clustering-status-tp24528069p24528069.html" target="_blank">http://www.nabble.com/Need-some-commands-to-monitoring-managing-the-slony-clustering-status-tp24528069p24528069.html</a><br>Sent from the Slony-I -- General mailing list archive at Nabble.com.<br><br>_______________________________________________<br>Slony1-general mailing list<br><a ymailto="mailto:Slony1-general@lists.slony.info"
href="/mc/compose?to=Slony1-general@lists.slony.info">Slony1-general@lists.slony.info</a><br><a href="http://lists.slony.info/mailman/listinfo/slony1-general" target="_blank">http://lists.slony.info/mailman/listinfo/slony1-general</a><br></div></blockquote></td></tr></table><br>