My Oracle Support Banner

OUD Marketplace: Example - Using 'kubectl' to Run 'ldapsearch' and 'dsconfig' Commands / Using the External Load Balancer IP to Run 'ldapsearch' and 'dsconfig' Commands (Doc ID 2782931.1)

Last updated on APRIL 12, 2022

Applies to:

OUD on Marketplace - Version 12.2.1.4 and later
Information in this document applies to any platform.

Goal

Example of running 'ldapsearch' and 'dsconfig' commands against the OUD instances created by an OUD Marketplace Deployment -
- By using kubectl (from Cloud Shell)
- OR -
- Against the External Load Balancer IP (created by deploying OUD in Oracle Cloud Marketplace)
* Example of running against the External Load Balancer IP is from a local machine (Mac OSX, with OUD installed)

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution
 - Prerequisites -
 Example - Return the Namespaces Configured in the OUD Marketplace Deployment
 Example - Return the <EXTERNAL-IP> Configured in the OUD Marketplace Deployment
 
- Using 'kubectl' to run 'ldapsearch' and 'dsconfig' Commands
 Example - Return the pods configured in the OUD Marketplace Deployment for the <OUD_NAMESPACE>
 Example - Run 'ldapsearch' against one of the pods in the <OUD_NAMESPACE>
 Example - Run 'dsconfig' against one of the pods in the <OUD_NAMESPACE>
 - Using 'kubectl' to Run Other Commands within the Pod
 Example - Running 'dsreplication' using 'kubectl'
 Example - Create LDIF file in Pod using 'vi' / Run 'ldapmodify' to add the entry using the LDIF file in the Pod
 Example - Returning OUD version information using 'opatch'
 - Using the External Load Balancer IP (from the OUD Marketplace Deployment) to Run 'ldapsearch' and 'dsconfig' Commands
 - Example using 'ldapsearch' against the OUD Marketplace <EXTERNAL-IP>
 - Example using 'dsconfig' against the OUD Marketplace <EXTERNAL-IP>
References

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.