MB-5307 Remove references to non-existent path-box class.

Change-Id: Ibc8cd3897ef960896b1dbe0abfa32db19f6a2a69
Reviewed-on: http://review.couchbase.org/25321
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
MB-5307 Try to stop net_kernel on dist_manager start.

If, for instance, dist_manager crashed or was killed brutally then
net_kernel will be left started. This will cause dist_manager to crash
in attempt to bring it up.

Change-Id: I144a307fa68324abd7f5920a695a34e7dd1a6447
Reviewed-on: http://review.couchbase.org/25339
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
MB-7398 Move is_good_address to misc.

Change-Id: Ib88990babcc086eea626b8fd9190482e24aca78e
Reviewed-on: http://review.couchbase.org/25319
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
MB-7398 Handle ip_start file in dist_manager.

Change-Id: I4ed0a297102111c3bc88a0f74d56f054960b5268
Reviewed-on: http://review.couchbase.org/25340
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
MB-7398 REST call to rename a node.

Change-Id: I384a493806ccc87095e1609c2dc3e5fe1dc1a685
Reviewed-on: http://review.couchbase.org/25320
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
MB-7398 Ability to specify server hostname in wizard.

Change-Id: Idb39a8987c8ee9b8e414649f016367bd00ed6b57
Reviewed-on: http://review.couchbase.org/25322
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
MB-7398 Rename added node to what was specified as its address.

As part of information that is posted to engageCluster2 we provide a
requestedTargetNodeHostname field that indicates how the node was
referred in the cluster. So target node can rename itself to use this
hostname.

Change-Id: I72e6c06b5c61834abecdaaf52a820924f87018d5
Reviewed-on: http://review.couchbase.org/25341
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
MB-5307 Handle failure to save address after rename.

We just ignored this before. But this can cause all sorts of badness
if the server gets restarted (it will start with wrong name basically).

Change-Id: Ife65bf88c6918253981dac2b445898afefc06f6a
Reviewed-on: http://review.couchbase.org/25342
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>