Original Message:
Sent: 04-04-2023 03:21:54 AM
From: Philip McDonald
Subject: Script to list VDB's that are disabled or stopped.
Thanks. It works but it is also generating these messages:
./dx_get_db_env -engine enginetest -type VDB
Use of uninitialized value in string eq at /tmp/par-64656c70686971/cache-c99e3cf7ba5d6d0217b813df6582985efa1a3bb5/inc/lib/Engine.pm line 1059.
Use of uninitialized value in string eq at /tmp/par-64656c70686971/cache-c99e3cf7ba5d6d0217b813df6582985efa1a3bb5/inc/lib/Engine.pm line 1059.
Use of uninitialized value in string eq at /tmp/par-64656c70686971/cache-c99e3cf7ba5d6d0217b813df6582985efa1a3bb5/inc/lib/Engine.pm line 1059.
Use of uninitialized value in string eq at /tmp/par-64656c70686971/cache-c99e3cf7ba5d6d0217b813df6582985efa1a3bb5/inc/lib/Engine.pm line 1059.
Use of uninitialized value in string eq at /tmp/par-64656c70686971/cache-c99e3cf7ba5d6d0217b813df6582985efa1a3bb5/inc/lib/Engine.pm line 1059.
Use of uninitialized value in string eq at /tmp/par-64656c70686971/cache-c99e3cf7ba5d6d0217b813df6582985efa1a3bb5/inc/lib/Engine.pm line 1059.
Use of uninitialized value in string eq at /tmp/par-64656c70686971/cache-c99e3cf7ba5d6d0217b813df6582985efa1a3bb5/inc/lib/Engine.pm line 1059.
Use of uninitialized value in string eq at /tmp/par-64656c70686971/cache-c99e3cf7ba5d6d0217b813df6582985efa1a3bb5/inc/lib/Engine.pm line 1059.
Use of uninitialized value in string eq at /tmp/par-64656c70686971/cache-c99e3cf7ba5d6d0217b813df6582985efa1a3bb5/inc/lib/Engine.pm line 1059.
Use of uninitialized value in string eq at /tmp/par-64656c70686971/cache-c99e3cf7ba5d6d0217b813df6582985efa1a3bb5/inc/lib/Engine.pm line 1059.
Use of uninitialized value in string eq at /tmp/par-64656c70686971/cache-c99e3cf7ba5d6d0217b813df6582985efa1a3bb5/inc/lib/Engine.pm line 1059.
Use of uninitialized value in string eq at /tmp/par-64656c70686971/cache-c99e3cf7ba5d6d0217b813df6582985efa1a3bb5/inc/lib/Engine.pm line 1059.
Use of uninitialized value in string eq at /tmp/par-64656c70686971/cache-c99e3cf7ba5d6d0217b813df6582985efa1a3bb5/inc/lib/Engine.pm line 1059.
Use of uninitialized value in string eq at /tmp/par-64656c70686971/cache-c99e3cf7ba5d6d0217b813df6582985efa1a3bb5/inc/lib/Engine.pm line 1059.
Use of uninitialized value in string eq at /tmp/par-64656c70686971/cache-c99e3cf7ba5d6d0217b813df6582985efa1a3bb5/inc/lib/Engine.pm line 1059.
Use of uninitialized value in string eq at /tmp/par-64656c70686971/cache-c99e3cf7ba5d6d0217b813df6582985efa1a3bb5/inc/lib/Engine.pm line 1059.
Use of uninitialized value in string eq at /tmp/par-64656c70686971/cache-c99e3cf7ba5d6d0217b813df6582985efa1a3bb5/inc/lib/Engine.pm line 1059.
------------------------------
Philip McDonald
Database Administrator
Delphix Community Members
Original Message:
Sent: 04-03-2023 02:00:41 PM
From: Neal Stack
Subject: Script to list VDB's that are disabled or stopped.
Hello,
I think this command might be what you are looking for:
% ./dx_get_db_env -engine neal6017 -type VDB
Appliance Hostname Database Group Type SourceDB Parent snapshot Used(GB) Status Enabled Unique Name Parent time VDB creation time VDB refresh time
-------------------- -------------------- ------------------------------ --------------- -------- ------------------------------ ----------------------------------- ---------- ---------- ---------- ------------------------------ ----------------------------------- ----------------------------------- -----------------------------------
neal6017 nealrh83.dcol2.delph Vbigdb ASE VDB bigdb 2023-02-10 16:07:33 EST 0.01 INACTIVE enabled N/A 2023-02-10 16:07:33 EST 2023-02-08 08:17:58 2023-02-14 13:43:10
neal6017 nealrh83.dcol2.delph Vbigdb2 ASE VDB bigdb 2023-02-23 13:39:24 EST 0.02 RUNNING enabled N/A 2023-02-23 13:39:24 EST 2023-02-24 08:30:29 2023-02-24 08:30:29
neal6017 nealwin2019.dcol2.de VMcLaren MSSQL VDB McLaren 2023-03-27 14:56:31 PDT N/A UNKNOWN enabled N/A 2023-03-27 14:56:31 PDT 2023-04-03 12:56:53 2023-04-03 12:56:54
------------------------------
Neal Stack
Senior Principal Technical Support Engineer
Delphix
Original Message:
Sent: 04-03-2023 05:41:28 AM
From: Philip McDonald
Subject: Script to list VDB's that are disabled or stopped.
Hi,
Can anybody please help with the following request?
As part of our morning checks, we need to schedule a report to identify when a VDB has become disabled or has stopped.<o:p></o:p>
Is there any script/report that you can provide that does this?
#dxToolkit #dxmToolkit #vdb #reporting #scripts
------------------------------
Philip McDonald
Delphix Community Members
------------------------------