~/d/census > vault status
Key Value
--- -----
Seal Type shamir
Initialized true
Sealed false
Total Shares 1
Threshold 1
Version 1.7.11+ent
Storage Type raft
Cluster Name vault-cluster-9a0f8b6a
Cluster ID 1633965b-e01c-2571-7b3a-bad3d5b06e0e
HA Enabled true
HA Cluster https://127.0.0.1:8209
HA Mode active
Active Since 2023-06-02T14:05:13.338858Z
Raft Committed Index 782
Raft Applied Index 782
Last WAL 317
~/d/census > vault read -format=json /sys/internal/counters/activity/monthly
{
"request_id": "228f116e-9b09-b0c2-c519-406dc8e37a3f",
"lease_id": "",
"lease_duration": 0,
"renewable": false,
"data": {
"clients": 30,
"distinct_entities": 10,
"non_entity_tokens": 20
},
"warnings": null
}
~/d/census > vcm cluster stop client-counts-upgrade
All nodes stopped.
~/d/census > vcm cluster custom-vault -path=demo/ client-counts-upgrade
~/d/census > vcm cluster start client-counts-upgrade
Starting node vault_1
Waiting for cluster leader
All nodes started.
~/d/census > vault status
Key Value
--- -----
Seal Type shamir
Initialized true
Sealed false
Total Shares 1
Threshold 1
Version 1.14.0-rc1+ent
Storage Type raft
Cluster Name vault-cluster-9a0f8b6a
Cluster ID 1633965b-e01c-2571-7b3a-bad3d5b06e0e
HA Enabled true
HA Cluster https://127.0.0.1:8209
HA Mode active
Active Since 2023-06-02T14:21:02.866463Z
Raft Committed Index 1746
Raft Applied Index 1746
Last WAL 376
~/d/census > vault operator usage -start-time=2022-05 -end-time=2023-06
Period start: 2022-05-01T00:00:00Z
Period end: 2023-06-30T23:59:59Z
Namespace path Distinct entities Non-Entity tokens Active clients
-------------- ----------------- ----------------- --------------
namespace0/ 1 0 1
namespace1/ 1 0 1
namespace2/ 1 0 1
namespace3/ 1 0 1
namespace4/ 1 0 1
namespace5/ 1 0 1
namespace6/ 1 0 1
namespace7/ 1 0 1
namespace8/ 1 0 1
namespace9/ 1 0 1
Total 10 0 10
Created
June 2, 2023 19:36
-
-
Save mpalmi/28abc5c03bcc42b348537a375c8773fa to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment