{"id":15447525,"url":"https://github.com/datadavev/admin-cn-tools","last_synced_at":"2025-03-28T08:44:23.093Z","repository":{"id":83563396,"uuid":"134621430","full_name":"datadavev/admin-cn-tools","owner":"datadavev","description":"Package of tools for CN administration","archived":false,"fork":false,"pushed_at":"2018-08-10T16:15:56.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-02T09:27:40.525Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/datadavev.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-05-23T20:21:50.000Z","updated_at":"2018-08-10T16:15:57.000Z","dependencies_parsed_at":"2023-07-02T23:45:48.107Z","dependency_job_id":null,"html_url":"https://github.com/datadavev/admin-cn-tools","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datadavev%2Fadmin-cn-tools","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datadavev%2Fadmin-cn-tools/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datadavev%2Fadmin-cn-tools/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datadavev%2Fadmin-cn-tools/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/datadavev","download_url":"https://codeload.github.com/datadavev/admin-cn-tools/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245999318,"owners_count":20707554,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-01T20:06:50.050Z","updated_at":"2025-03-28T08:44:23.082Z","avatar_url":"https://github.com/datadavev.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"admin_cn_tools\n==============\n\nScripts to assist with CN management.\n\nDebian package containing administrative tools for DataONE Coordinating Nodes.\n\nThis package contains scripts to assist with administration of the CNs. The\npackage does not depend on other dataONE packages, however the scripts and tools\ncontained herein expect to operate on a CN server.\n\nThe package installs the scripts under ``/usr/local/bin``.\n\n``d1environment``\n-----------------\n\nReports the RR-DNS name for this environment.\n\nExample::\n\n  $ d1environment\n  cn.dataone.org\n\n\n``d1isprimary``\n---------------\n\nDetects if the CN is the primary for the environment.\n\nOn the primary CN::\n\n  $ d1isprimary\n  TRUE cn.dataone.org\n  $ echo $?\n  1\n\nOn a non-primary CN::\n\n  $ d1isprimary\n  FALSE cn.dataone.org\n  $ echo $?\n  0\n\n\n\n``hzstat``\n----------\n\nReport on Hazelcast cluster participants.\n\nExample::\n\n  $ hzstat\n  Cluster [3] {\n    Member [160.36.13.150]:5701\n    Member [64.106.40.6]:5701 this\n    Member [128.111.54.80]:5701\n  }\n\n  ConnectionCount: 2\n  AllConnectionCount: 4\n  Cluster [3] {\n    Member [64.106.40.6]:5702 this\n    Member [160.36.13.150]:5702\n    Member [128.111.54.80]:5702\n  }\n\n  ConnectionCount: 1\n  AllConnectionCount: 4\n  Cluster [3] {\n    Member [64.106.40.6]:5703 this\n    Member [160.36.13.150]:5703\n    Member [128.111.54.80]:5703\n  }\n\n  ConnectionCount: 1\n  AllConnectionCount: 4\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatadavev%2Fadmin-cn-tools","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdatadavev%2Fadmin-cn-tools","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatadavev%2Fadmin-cn-tools/lists"}