Original Message:
Sent: 05-29-2024 10:32:28 AM
From: Syed Rahil Akil Shahi
Subject: Getting error while trying to list the dsources in a delphix engine
Hi Neal, can you please help me in installing the new version , I have downloaded the below version and do not know how to install.
drwxr-xr-x. 2 oracle dba 0 Apr 7 2023 dxtoolkit2
-rwxrwxr--. 1 oracle dba 10151469 May 29 14:36 dxtoolkit2-v2.4.19.2-redhat8-installer.tar.gz
drwxr-xr-x. 2 oracle dba 0 May 29 14:54 bin
dx_toolkit-2.4.19.2 ]$ cd dxtoolkit2
dxtoolkit2 ]$ ls -ltr
total 12960
-rwxrwxr--. 1 oracle dba 13265577 Apr 7 2023 runner
-rwxrwxr--. 1 oracle dba 1571 Apr 7 2023 install.sh
dxtoolkit2 ]$
------------------------------
Syed Rahil Akil Shahi
Delphix Community Members
Original Message:
Sent: 05-29-2024 10:25:34 AM
From: Neal Stack
Subject: Getting error while trying to list the dsources in a delphix engine
Hello,
That is a very old release. It was released in September 2021.
You could try the latest release ( https://github.com/delphix/dxtoolkit/releases ) but I am fairly certain that this is a bug that has not been fixed yet.
Thanks,
Neal
------------------------------
Neal Stack
Senior Principal Technical Support Engineer
Delphix
Original Message:
Sent: 05-29-2024 09:17:37 AM
From: Syed Rahil Akil Shahi
Subject: Getting error while trying to list the dsources in a delphix engine
Hi Neal,
I am using dxtoolkit-2.4.13
------------------------------
Syed Rahil Akil Shahi
Delphix Community Members
Original Message:
Sent: 05-29-2024 08:55:29 AM
From: Neal Stack
Subject: Getting error while trying to list the dsources in a delphix engine
Hello,
What version of dxtoolkit are you using?
I suspect that there is a bug in dxtoolkit when there are dSources that are detached/unlinked and the "dx_get_dsourcesize" command returns "NA". You could try filtering specific dSources by name to find out which one(s) are causing the issue.
Another customer had the same issue here ( https://community.delphix.com/discussion/dx-get-dsourcesizeexe-returning-dsource-size-in-string-format ).
I think a bug should be raised against dxtoolkit by clicking the "New Issue" button on the following link and provide all the relevant information:
- https://github.com/delphix/dxtoolkit/issues
Thanks,
Neal
------------------------------
Neal Stack
Senior Principal Technical Support Engineer
Delphix
Original Message:
Sent: 05-29-2024 06:48:27 AM
From: Syed Rahil Akil Shahi
Subject: Getting error while trying to list the dsources in a delphix engine
Hi Newton , tried the below command but still getting some errors.
Use of uninitialized value in string eq at /tmp/par-6f7261636c65/cache-e0d5ca5054e18e07258ea82aa9bf569a1afbc295/inc/lib/Engine.pm line 1059.
Use of uninitialized value in string eq at /tmp/par-6f7261636c65/cache-e0d5ca5054e18e07258ea82aa9bf569a1afbc295/inc/lib/Engine.pm line 1059.
Use of uninitialized value in string eq at /tmp/par-6f7261636c65/cache-e0d5ca5054e18e07258ea82aa9bf569a1afbc295/inc/lib/Engine.pm line 1059.
Use of uninitialized value in string eq at /tmp/par-6f7261636c65/cache-e0d5ca5054e18e07258ea82aa9bf569a1afbc295/inc/lib/Engine.pm line 1059.
Use of uninitialized value in string eq at /tmp/par-6f7261636c65/cache-e0d5ca5054e18e07258ea82aa9bf569a1afbc295/inc/lib/Engine.pm line 1059.
Use of uninitialized value in string eq at /tmp/par-6f7261636c65/cache-e0d5ca5054e18e07258ea82aa9bf569a1afbc295/inc/lib/Engine.pm line 1059.
Use of uninitialized value in printf at /tmp/par-6f7261636c65/cache-e0d5ca5054e18e07258ea82aa9bf569a1afbc295/inc/lib/Formater.pm line 131.
Use of uninitialized value in printf at /tmp/par-6f7261636c65/cache-e0d5ca5054e18e07258ea82aa9bf569a1afbc295/inc/lib/Formater.pm line 131.
Use of uninitialized value in printf at /tmp/par-6f7261636c65/cache-e0d5ca5054e18e07258ea82aa9bf569a1afbc295/inc/lib/Formater.pm line 131.
Use of uninitialized value in printf at /tmp/par-6f7261636c65/cache-e0d5ca5054e18e07258ea82aa9bf569a1afbc295/inc/lib/Formater.pm line 131.
Use of uninitialized value in printf at /tmp/par-6f7261636c65/cache-e0d5ca5054e18e07258ea82aa9bf569a1afbc295/inc/lib/Formater.pm line 131.
Use of uninitialized value in printf at /tmp/par-6f7261636c65/cache-e0d5ca5054e18e07258ea82aa9bf569a1afbc295/inc/lib/Formater.pm line 131.
dtraflocodel99 NA DBA002_01 DBA_TEST_SOURCE dSource N/A 27.27 RUNNING enabled N/A N/A
dtraflocodel99 NA DBA005 DBA_TEST_SOURCE dSource N/A 3.27 RUNNING enabled N/A N/A
dtraflocodel99 NA DBA007 DBA_TEST_SOURCE dSource N/A 2.97 RUNNING enabled N/A N/A
------------------------------
Syed Rahil Akil Shahi
Delphix Community Members
Original Message:
Sent: 05-29-2024 04:29:27 AM
From: Syed Rahil Akil Shahi
Subject: Getting error while trying to list the dsources in a delphix engine
Hi Newton , Thank you for your reply . the contents of list_dsource.sh is as below.
#PRINTFORMAT="%-16s%-25s%-10s%-30s%-10s%-30s%-10s%-10s%-10s\n"
#printf "$PRINTFORMAT" "ENGINE" "HOSTNAME" "GROUP" "DSOURCE_NAME" "SIZE[GB]" "STATUS" "ENABLED"
#printf "$PRINTFORMAT" "======" "=========" "============" "=================" "=========" "=======" "======="
/app/dba/public/delphix/dxtoolkit-2.4.13/dxtoolkit2/dx_get_dsourcesize -format csv | grep -i dtraflocodel|column -t -s ","
~
------------------------------
Syed Rahil Akil Shahi
Delphix Community Members
Original Message:
Sent: 05-28-2024 04:26:43 PM
From: Newton Nyante
Subject: Getting error while trying to list the dsources in a delphix engine
Hello Syed,
We do not have a enough information here to tell what may be causing the error with your script.
Are you able to directly execute the dxtoolkit command to list VDBs and verify this returns results your script expects? The command to run is covered here:
https://github.com/delphix/dxtoolkit/wiki/dx_get_db_env
------------------------------
Newton Nyante
Senior Technical Support Engineer
Delphix
Original Message:
Sent: 05-28-2024 11:01:53 AM
From: Syed Rahil Akil Shahi
Subject: Getting error while trying to list the dsources in a delphix engine
./list_dsource.sh
Use of uninitialized value in string eq at /tmp/par-6f7261636c65/cache-e0d5ca5054e18e07258ea82aa9bf569a1afbc295/inc/lib/VDB_obj.pm line 988.
Use of uninitialized value in string eq at /tmp/par-6f7261636c65/cache-e0d5ca5054e18e07258ea82aa9bf569a1afbc295/inc/lib/VDB_obj.pm line 988.
Use of uninitialized value in string eq at /tmp/par-6f7261636c65/cache-e0d5ca5054e18e07258ea82aa9bf569a1afbc295/inc/lib/VDB_obj.pm line 988.
Use of uninitialized value in string eq at /tmp/par-6f7261636c65/cache-e0d5ca5054e18e07258ea82aa9bf569a1afbc295/inc/lib/VDB_obj.pm line 988.
Use of uninitialized value in string eq at /tmp/par-6f7261636c65/cache-e0d5ca5054e18e07258ea82aa9bf569a1afbc295/inc/lib/VDB_obj.pm line
------------------------------
Syed Rahil Akil Shahi
Delphix Community Members
------------------------------