status

Return the status of various system components.
status all
status blade [ <chassis>/<bay> ]
status cmp [ <chassis>/<cmp> ]
status database
status manager [ local | remote | all ]
status storage
status system
Note: For status blade and status cmp, specify a chassis number (or all) and a bay or cmp number (or all). For example: 0/1, all/1, all/all, 1/all (without spaces).
all
Return the status of all components.
blade
Return the UUID, current status, CPU and memory usage, uptime, encryption status, and drive status/wear for one or all blades. For example:
YBCLI(8911) (PRIMARY - yb100-mgr0)> blade status 1/3

Chassis:  1
-----------
Blade Bay:  3 -> BOOTED  UUID: 00000000-0000-0000-0000-38B8EBD006F4 - Version: YBOS-2.0.4-DEBUG   
		 BIOS: v05.04.21.0038.00.011 - Memory total/free: 65587652/1870728 KiB
		 CPU: Intel(R) Xeon(R) CPU E5-2618L v4 @ 2.20GHz - Cores: 10 - Load: 1%
		 Address: 192.168.20.12 - Uptime: 0 day(s), 01:59:29 - Worker: Running
		 Encryption Supported: YES - Encryption Enabled: NO - locked: N/A
		 SSD status/wear: 0: S3EWNWAJ311166N  OK/0%       1: S3EWNWAJ330207R  OK/0%       
		                  2: S3EWNWAJ311169V  OK/0%       3: S3EWNWAJ330208K  OK/0%       
		                  4: S3EWNWAJ312492R  OK/0%       5: S3EWNWAJ330205H  OK/0%       
		                  6: S3EWNWAJ312493K  OK/0%       7: S3EWNWAJ330206Z  OK/0%       
		 Cluster status: OPERATIONAL - Cluster role: MEMBER - Last seen: just now
Note: If the amount of memory installed on the blades varies (based on the amount reported for the first blade), you will see red text for the memory information and a warning message at the end of the output. You will also see a warning if the BIOS is being flashed on one or more blades. These blades will automatically reset when BIOS flashing is complete.
cmp
Return the status of the chassis management processors (CMPs) and InfiniBand switches on the manager nodes. The output includes link status for all of the InfiniBand ports. For example:
YBCLI (PRIMARY)> status cmp 1/1

Chassis:  1
-----------
CMP1 version: 2.53 Role: PRIMARY
Blade link status
Port 1 -> UP - Link: FDR,x4
Port 2 -> UP - Link: FDR,x4
Port 3 -> UP - Link: FDR,x4
Port 4 -> UP - Link: FDR,x4
Port 5 -> UP - Link: FDR,x4
Port 6 -> UP - Link: FDR,x4
Port 7 -> UP - Link: FDR,x4
Port 8 -> UP - Link: FDR,x4
Port 9 -> UP - Link: FDR,x4
Port10 -> UP - Link: FDR,x4
Port11 -> UP - Link: FDR,x4
Port12 -> BLADE NOT INSTALLED
Port13 -> BLADE NOT INSTALLED
Port14 -> BLADE NOT INSTALLED
Port15 -> BLADE NOT INSTALLED

External link status
Ext port 1 -> UP - Link: FDR,x4
Ext port 2 -> UP - Link: FDR,x4
Ext port 3 -> UP - Link: FDR,x4
Ext port 4 -> UP - Link: FDR,x4
Ext port 5 -> UP - Link: FDR,x4
Ext port 6 -> UP - Link: FDR,x4
Ext port 7 -> UP - Link: FDR,x4
Ext port 8 -> UP - Link: FDR,x4
database
Return the status of the database software stack, including uptime. For example:
YBCLI (PRIMARY)> status database

Database system running        : YES
Database system ready          : YES
Database system read-only      : NO
Database system uptime         : 02:32:49
Database system users connected: 4 (including system users)
manager
Return uptime and CPU and memory usage on one or both manager nodes. For example:
YBCLI (PRIMARY)> status manager all

Host         : yb1000-mgr0.ybd.io
Uptime       : 15 days, 05:55:48
Users online : 2
CPU usage    : 3.1 %
Memory used  : 10G GiB
Memory free  : 229G GiB

Remote manager node
-------------------

Host         : yb1000-mgr1.ybd.io
Uptime       : 15 days, 05:56:52
Users online : 0
CPU usage    : 0.0 %
Memory used  : 2.6G GiB
Memory free  : 246G GiB
storage
Return free and used storage space on the manager node file systems and storage quotas on the primary manager node. For example:
YBCLI (PRIMARY)> status storage

OS filesystem       : 147G free - 3.9G used
HA filesystem       : 921G free -  33G used
Rowstore filesystem : 477G free -  33M used
Spool filesystem    : 954G free -  33M used

Storage quotas: 
	Database frontend  : 9.3G of 200G used
	Cluster manager    : 1.5G of 30G used

Remote manager node
-------------------

OS filesystem       : 136G free -  15G used
HA filesystem       : N/A (SECONDARY)
Rowstore filesystem : N/A (SECONDARY)
Spool filesystem    : 954G free -  33M used

Storage quotas: N/A (SECONDARY)
This command returns two entries for storage quotas:
  • Database frontend: Amount of space being used for rows that have not yet been flushed.
  • Cluster manager: How much storage space is in use by the compiler.
system
Return the overall status of the system, indicating the status of the manager nodes and whether the database is running. For example:
YBCLI (PRIMARY)> system status

Manager nodes configured: 2
---------------------------
Node 1 (PRIMARY - LOCAL NODE ) : yb98-mgr0 -> ONLINE
Node 2 (SECONDARY - REMOTE NODE ) : yb98-mgr1 -> ONLINE

Database system running       : YES
Database system ready         : YES (Responding: YES)
Database system read-only     : NO
Database system rowstore      : NORMAL
Database system storage used  : 20%
Database system uptime        : 00:01:15
System work status            : gc:idle  parityrebuild:idle  analyzer:idle  system:idle  user:idle
Data collection running       : YES
Blade parity                  : Enabled
Blade parity rebuilding       : NO (Progress: N/A)
Blade data check in-progress  : NO
Cluster degraded mode         : NO
Maintenance mode              : NO
Software update in-progress   : NO
Floating system IP            : 10.10.198.10 - 255.255.255.0
System registered             : YES (Tenant: yb - System: yb98)
Encryption keystore           : Available - Status: Not setup
Chassis configuration         : Found: 2 - Configured: 2