Running DIP Tester From the WLST Command-Line Interface

7-16 Oracle Fusion Middleware Administrators Guide for Oracle Directory Integration Platform

7.2.1 Syntax for manageSyncProfiles

manageSyncProfiles manageSyncProfiles {activate | deactivate | copy | deregister | get | isexists | update | testProfile | validateProfile | validateMapRules | register | updatechgnum | associateProfile | dissociateProfile | getAllAssociatedProfiles | getAssociatedProfile | list } -h HOST -p PORT -D wlsuser [-ssl -keystorePath PATH_TO_KEYSTORE -keystoreType TYPE] [-profile] [-newProfile] [-associateProfile][-file] [-params prop1 val1 prop2 val2 ...] [-conDirHost] [-conDirPort] [-conDirBindDn] [-mode] [-conDirType] [-conDirSSL] [-profileStatus] [-help]

7.2.2 Arguments for manageSyncProfiles

Operations activate Changes the state of the profile identified by -profile to ENABLE. deactivate Changes the state of the profile identified by -profile to DISABLE. copy Copies an existing profile profile to profile newProfile. deregister Deletes an existing profile from Oracle Internet Directory. get Gets the profile details from Oracle Internet Directory. isexists Checks if the profile profile exists in Oracle Internet Directory. update Modifies the profile properties that are identified by command arguments. testProfile Changes the state of a disabled profile profile to TEST and schedules the profile for testing to ensure the profile will successfully perform synchronization. After executing the manageSyncProfiles command with the testProfile operation, the results of the test are available in the following log file, where WL_DOMAIN_HOME represents the Oracle WebLogic Server Domain home and ORACLE_WEBLOGIC_ MANAGEDSERVER_NAME represents the name of the Oracle WebLogic Managed Server where Oracle Directory Integration Platform is deployed: WL_DOMAIN_HOME serversORACLE_WEBLOGIC_MANAGED_SERVER_NAMElogsORACLE_WEBLOGIC_ MANAGED_SERVER_NAME .log Managing Directory Synchronization Profiles 7-17 validateProfile Validates the syntax of the values in the specified profile for correctness. validateMapRules Validates the map rules provided. register Creates a new profile in Oracle Internet Directory. updatechgnum Updates the last applied change number in the profile to latest. associateProfile Associates associateProfileName with profileName. This is helpful during bidirectional synchronization between directories. You can specify a profile as an associated profile of different profile to help prevent information backflow. dissociateProfile Dissociates an associated profile to profileName. getAllAssociatedProfiles Returns a list of all profiles whose orclodipassociatedprofile attribute is set to the profile you identify using -pf. For example, if you use getAllAssociatedProfiles with -pf test, getAllAssociatedProfiles returns a list of all profiles that have their orclodipassociatedprofile attribute set to test. This is useful when you want to delete a profile. You can use it to get a list of all associations you must disassociate before you can delete the profile. getAssociatedProfile Returns the value of the orclodipassociatedprofile attribute for the profile you identify using -pf. list Displays all profiles registered in Oracle Internet Directory. Options -h | host Oracle WebLogic Managed Server host where Oracle Directory Integration Platform is deployed. -p | -port Listening port of the Oracle WebLogic Managed Server where Oracle Directory Integration Platform is deployed. Note: The testProfile operation cannot schedule profiles that are in ENABLE state for testing. 7-18 Oracle Fusion Middleware Administrators Guide for Oracle Directory Integration Platform -D | wlsuser Oracle WebLogic Server login ID -ssl Executes the command in SSL mode. -keystorePath The full path to the keystore. -keystoreType The type of the keystore identified by -keystorePath. For example: -keystorePath jks or -keystorePath PKCS12 -pf | -profile The name of the synchronization profile to use when performing the operation. -newpf | -newProfile The name of the new profile which will be a copy of profile. -assopf The name of the profile that will be associated with profile -f | -file The full path and file name of the profile properties file containing the properties. -params A value is of the form prop1 val1 prop2 val2 ... where prop is the name of a profile property and val is the new value for that property. This keyword is used only for modification of a profile. You can specify as many key values as required. Refer to Note: You will be prompted for the Oracle WebLogic Server login password. You cannot provide the password as a command-line argument. Best security practice is to provide a password only in response to a prompt from the command. If you must execute manageSyncProfiles from a script, you can redirect input from a file containing the Oracle WebLogic Server login password. Use file permissions to protect the file and delete it when it is no longer necessary. If you must provide more than one password to manageSyncProfiles, put each on a separate line in the file, in the following order: connected directory bind DN password, then Oracle WebLogic Server login password. Note: The Oracle WebLogic Managed Server where Oracle Directory Integration Platform is deployed must be configured for SSL to execute this command in SSL mode. Refer to the Configuring SSL chapter in Oracle Fusion Middleware Securing Oracle WebLogic Server for more information. See: Appendix B, Example Properties File for Synchronization Profiles for an example of a profile properties file.