show clusterdb (etcd)
Syntax
show clusterdb <option>
Description
Display all the keys and the value for a given key.
Options
keys |
Display the list of all keys. |
keyvalue |
Display value for a given key. Add file path to the command. Please note that only /home/cliadmin and /var/log/
folders are supported. For example, |
Required Privilege Level
CLI Administrator
Sample Output
show clusterdb
keys
$ show clusterdb keys key list in clusterdb --------------- /cluster/v1/flavour_change/tejas-juss /cluster/v1/node/tdeployer/password /cluster/v1/node/tdeployer/service /cluster/v1/node/tejas-juss/tdeployer /cluster/v1/nodes/tejas-juss /upgrade/v1/cluster/details /upgrade/v1/cluster/resume /upgrade/v1/first_install /upgrade/v1/invocation/09711720-9f5f-4895-94ca-f37b3a20fb0b/nodes/tejas-juss /upgrade/v1/invocation/655ef31a-e335-47c2-b6ff-3f9dbf086c1f/nodes/tejas-juss
show
clusterdb keyvalue <key
filepath>
$ show clusterdb keyvalue /upgrade/v1/cluster/details 2025-01-08 11:13:35 UTC key: /upgrade/v1/cluster/details value: {'BundlePath': '10.157.79.185:/root/sdop-24.2.0-1187.tgz', 'BundleSha256': '', 'BundleVersion': '24.2.0-1187', 'InvocationID': {'uuid': '4b58b561-07c a-4a48-b7b2-9305612a7881'}, 'IsBundleDownloaded': True, 'Password': 'sha-6ca13d52ca70c883e0f0bb101e425a89e8624de51db2d2392593af6a84118090', 'Port': 22, 'Upg radeStatus': {'from_version': None, 'status': 3, 'to_version': {'build_num': 1187, 'major_num': '24', 'minor_num': '2', 'release_num': 0}, 'upgrade_error': ''}, 'Username': 'root', 'created_at': 1734414637, 'invocation_id': '4b58b561-07ca-4a48-b7b2-9305612a7881', 'updated_at': 1734416381}
Release Information
Command introduced in Juniper Security Director Release 24.4.1.