How do I configure PSM connection component for Toad for Oracle using TNSnames?
Objective
How do I configure PSM connection component for Toad for Oracle using TNSnames?
Environment
11.3;11.4;11.5;11.6;11.7;12.1;12.2;12.6;12.7;13.0 Privileged Access Manager (PAM, self-hosted);Privilege Cloud PSM;Privileged Session Management (PSM)
Procedure
Prerequisite : Please create the TNSname file TNSNAMES.ora on each PSM server. Please test and ensure you can access the oracle server via TOAD from command line correctly using the TNSname . You may consider to add the path of TNSNAMES.ora into Environment Variables
1. Using the PrivateArk Client, log in as the Administrator user (or any other user who has the rights to manage Vault File Categories). Go to File | Server File Categories
2. Create either a new text category or a list. The list option will allow you to control the optional values which users are allowed to enter to this category.
3. Create a new file Category TNSname
4. Log in to PVWA--> Administration--> Options--> Connection Components and duplicate the original PSM-TOAD to PSM-TOAD-TNS
5. Under Target settings, change the ClientApp field to
"C:\Program Files (x86)\Quest Software\Toad for Oracle 12.12 Freeware\Toad.exe" -c "{UserName}/{Password}@{TNSname}"
In your environment, the Toad.exe may locate at a different place, please modify this command line script accordingly.
Click Ok
6. Under Target Account Platform-->UI & Workflows-->Properties-->Optional-->add TNSname
7. Click apply and then Ok to save the changes.
8. Go to PVWA-->Accounts find the target account and key in the TNSname.
Although the SQL server address has been specified in the TNSNAME.ora file , you are still required to give a value to the "address" filed.
If you remove the Address field , no PSM connection will be shown. You can give it a dummy value.
9. Restart the PSM server and test with the new PSM-TOAD-TNS connection
Additional Information
Details
Q:
How do I configure PSM connection component for Toad for Oracle using TNSnames?
A:
Prerequisite : Please create the TNSname file TNSNAMES.ora on each PSM server. Please test and ensure you can access the oracle server via TOAD from command line correctly using the TNSname . You may consider to add the path of TNSNAMES.ora into Environment Variables
1 Using the PrivateArk Client, log in as the Administrator user (or any other user who has the rights to manage Vault File Categories). Go to File | Server File Categories
2 Create either a new text category or a list. The list option will allow you to control the optional values which users are allowed to enter to this category.
3 Create a new file Category TNSname
4 Log in to PVWA--> Administration--> Options--> Connection Components and duplicate the original PSM-TOAD to PSM-TOAD-TNS
5 Under Target settings, change the ClientApp field to
"C:\Program Files (x86)\Quest Software\Toad for Oracle 12.12 Freeware\Toad.exe" -c "{UserName}/{Password}@{TNSname}"
In your environment, the Toad.exe may locate at a different place, please modify this command line script accordingly.
Click Ok
6 Under Target Account PlatformàUI & Workflows-->Properties-->Optional-->add TNSname
7 Click apply and then Ok to save the changes.
8 Go to PVWA-->Accounts find the target account and key in the TNSname.
Although the SQL server address has been specified in the TNSNAME.ora file , you are still required to give a value to the "address" filed.
If you remove the Address field , no PSM connection will be shown. You can give it a dummy value.
9 restart the PSM server and test with the new PSM-TOAD-TNS connection