Open GoogleCodeExporter opened 9 years ago
Rather than including new tools, it would be better if trepctl could provide
the same functionality. Probably fixed when Issue#499 is completed
Original comment by g.maxia
on 22 Mar 2013 at 10:01
We'll use 2.1.0 instead of 2.0.8, hence moving the issues.
Original comment by linas.vi...@continuent.com
on 27 Mar 2013 at 3:14
Moving out to 2.1.1.
Original comment by linas.vi...@continuent.com
on 6 Jun 2013 at 11:42
Moving to 2.1.2, but increasing priority.
Original comment by linas.vi...@continuent.com
on 19 Jun 2013 at 4:06
simple_services is a filter that displays services in a condensed way.
trepctl services | simple_services
alpha [slave] seqno: 10 - latency: 0.742 - ONLINE
bravo [slave] seqno: 5 - latency: 0.390 - ONLINE
delta [master] seqno: 0 - latency: 1.059 - ONLINE
trepctl services | simple_services --action=list
alpha,bravo,delta
trepctl services | simple_services --action=list --role=slave
alpha,bravo
trepctl services | simple_services --action=name --role=slave
alpha
bravo
super-trepctl is a wrapper to trepctl that offers additional features.
Its default output is like simple_services
super-trepctl
alpha [slave] seqno: 10 - latency: 0.742 - ONLINE
bravo [slave] seqno: 5 - latency: 0.390 - ONLINE
delta [master] seqno: 0 - latency: 1.059 - ONLINE
it supports several actions:
super-trepctl --action masterof
master of alpha: host1
master of bravo: host2
master of delta: localhost
super-trepctl --action offline --role=slave
super-trepctl
alpha [slave] seqno: -1 - latency: -1.000 - OFFLINE:NORMAL
bravo [slave] seqno: -1 - latency: -1.000 - OFFLINE:NORMAL
delta [master] seqno: 2 - latency: 0.724 - ONLINE
super-trepctl --host=host1 --action=heartbeat
(finds the master service in host1 and issues a heartbeat)
Original comment by g.maxia
on 19 Jun 2013 at 5:56
How does super-trepctl "masterof" work? Does it do calls across different hosts?
Original comment by linas.vi...@continuent.com
on 19 Jun 2013 at 6:20
masterof (which was written more than one year ago) uses two calls to trepctl.
The first call goes to 'services' and gets the name and role. The for each
service it calls 'trepctl status' and gets the master from masterConnectUri.
With the recent feature 'services --full --json', the same result can be
achieved with a single call.
Original comment by g.maxia
on 19 Jun 2013 at 6:36
Original comment by linas.vi...@continuent.com
on 26 Aug 2013 at 1:54
There won't be a 2.1.3.
Original comment by linas.vi...@continuent.com
on 17 Sep 2013 at 10:13
Original comment by linas.vi...@continuent.com
on 18 Dec 2013 at 1:38
Original comment by linas.vi...@continuent.com
on 2 May 2014 at 9:12
Will not use third version digit for normal releases anymore. It will only be
increment for maintenance ones.
Original comment by linas.vi...@continuent.com
on 26 May 2014 at 5:01
Original comment by linas.vi...@continuent.com
on 19 Jan 2015 at 2:18
Original issue reported on code.google.com by
linas.vi...@continuent.com
on 22 Mar 2013 at 8:54