Commit 501f5dc8 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent bcab861c
...@@ -107,16 +107,17 @@ $@ ...@@ -107,16 +107,17 @@ $@
# XXX neo/py, wendelin.core, ... - must be pip install'ed # XXX neo/py, wendelin.core, ... - must be pip install'ed
# XXX neo/py: run via relative path to neomaster? (../../neo/neomaster) so we do not need to `pip install -e` ? # XXX neo/py: run via relative path to neomaster? (../../neo/neomaster) so we do not need to `pip install -e` ?
# local IPv6 address
myaddr6=$(getent hosts `hostname` |awk '{print $1}')
# port allocations # port allocations
# XXX 127.0.0.1 -> `hostname`? (or `hostname -i`)? or use @addr option? (-> -bindif=...) Abind=[$myaddr6]:5551 # NEO admin
Abind=127.0.0.1:5551 # NEO admin Mbind=[$myaddr6]:5552 # NEO master
Mbind=127.0.0.1:5552 # NEO master Zbind=[$myaddr6]:5553 # ZEO
Zbind=127.0.0.1:5553 # ZEO
# NEO storage. bind not strictly needed but we make sure no 2 storages are # NEO storage. bind not strictly needed but we make sure no 2 storages are
# started at the same time # started at the same time
Sbind=127.0.0.1:5554 Sbind=[$myaddr6]:5554
# disk allocation # disk allocation
log=`pwd`/log; mkdir -p $log log=`pwd`/log; mkdir -p $log
...@@ -367,7 +368,7 @@ pyver() { ...@@ -367,7 +368,7 @@ pyver() {
# show data/versions # show data/versions
header() { header() {
echo -n "# "; date --rfc-2822 echo -n "# "; date --rfc-2822
echo "# `whoami`@`hostname --fqdn`"; echo "# `whoami`@`hostname --fqdn` ($myaddr6)";
echo -n "# "; grep "^model name" /proc/cpuinfo |head -1 |sed -e 's/model name\s*: //' echo -n "# "; grep "^model name" /proc/cpuinfo |head -1 |sed -e 's/model name\s*: //'
echo -n "# "; uname -a echo -n "# "; uname -a
echo -n "# "; python --version echo -n "# "; python --version
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment