https://github.com/datadavev/admin-cn-tools
Package of tools for CN administration
https://github.com/datadavev/admin-cn-tools
Last synced: about 1 year ago
JSON representation
Package of tools for CN administration
- Host: GitHub
- URL: https://github.com/datadavev/admin-cn-tools
- Owner: datadavev
- License: apache-2.0
- Created: 2018-05-23T20:21:50.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-08-10T16:15:56.000Z (almost 8 years ago)
- Last Synced: 2025-02-02T09:27:40.525Z (over 1 year ago)
- Language: Shell
- Size: 9.77 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
admin_cn_tools
==============
Scripts to assist with CN management.
Debian package containing administrative tools for DataONE Coordinating Nodes.
This package contains scripts to assist with administration of the CNs. The
package does not depend on other dataONE packages, however the scripts and tools
contained herein expect to operate on a CN server.
The package installs the scripts under ``/usr/local/bin``.
``d1environment``
-----------------
Reports the RR-DNS name for this environment.
Example::
$ d1environment
cn.dataone.org
``d1isprimary``
---------------
Detects if the CN is the primary for the environment.
On the primary CN::
$ d1isprimary
TRUE cn.dataone.org
$ echo $?
1
On a non-primary CN::
$ d1isprimary
FALSE cn.dataone.org
$ echo $?
0
``hzstat``
----------
Report on Hazelcast cluster participants.
Example::
$ hzstat
Cluster [3] {
Member [160.36.13.150]:5701
Member [64.106.40.6]:5701 this
Member [128.111.54.80]:5701
}
ConnectionCount: 2
AllConnectionCount: 4
Cluster [3] {
Member [64.106.40.6]:5702 this
Member [160.36.13.150]:5702
Member [128.111.54.80]:5702
}
ConnectionCount: 1
AllConnectionCount: 4
Cluster [3] {
Member [64.106.40.6]:5703 this
Member [160.36.13.150]:5703
Member [128.111.54.80]:5703
}
ConnectionCount: 1
AllConnectionCount: 4