Profiles administrative commands 
|
Use the commands listed to perform administrative tasks for Profiles. No file checkout or server restart is needed when using these commands. |
Use the commands listed to perform administrative tasks for Profiles. No file checkout or server restart is needed when using these commands.
The following sections define the commands that you can use when working with Profiles. Each section describes the commands for a specific service. The commands are listed in alphabetical order.
ProfilesConfigService commands
ProfilesConfigService.checkOutConfig(" <working_directory> ", " <cell_name> ")
Checks Profiles configuration files out to a temporary directory.
This command takes the following parameters:
- <working_directory> . Temporary working directory to which the configuration files are copied. The files are kept in this working directory while you make changes to them.
- <cell_name> . Name of the IBM® WebSphere® Application Server cell hosting the IBM Connections application. If you do not know the cell name, type the following command while in the wsadmin command processor:
- For example:
- AIX/Linux:
- Microsoft® Windows®:
ProfilesConfigService.showConfig()
Displays the current configuration settings. You must check out the configuration files with ProfilesConfigService.checkOutConfig before running ProfilesConfigService.showConfig.
ProfilesConfigService.updateConfig(" <property> ", " <value> ")
Updates configuration properties.
This command takes the following parameters:
- <property> . One of the configuration properties that can be edited for Profiles. See Profiles configuration properties for a full list of Profiles configuration properties and their descriptions.
- <value> . The new value with which you want to set the specified property. Acceptable values for properties can be restricted, for example, to either true or false. See Profiles configuration properties for configuration properties and descriptions.
ProfilesConfigService.checkInConfig()
Checks in Profiles configuration files. Run from the wsadmin command processor.
ProfilesConfigService.checkOutPolicyConfig(" <working_directory> ", " <cell_name> ")
Checks the profiles-policy.xml and profiles-policy.xsd files out to a temporary directory.
This command takes the following parameters:
- <working_directory> . Temporary working directory to which the configuration files are copied. The files are kept in this working directory while you make changes to them.
- <cell_name> . Name of the WebSphere Application Server cell hosting the IBM Connections application. If you do not know the cell name, type the following command while in the wsadmin command processor:
- For example:
- AIX/Linux:
- Microsoft Windows:
ProfilesConfigService.checkInPolicyConfig()
Checks in the Profiles policy configuration files. Run from the wsadmin command processor.
ProfilesService commands
ProfilesService.deletePhoto(String user_email_addr)
ProfilesService.disableFullReportsToCache()
Disables the full report-to chain cache capability. This command does not take any arguments.
ProfilesService.enableFullReportsToCache(startDelay, interval, schedTime)
ProfilesService.purgeEventLogs()
Deletes all event log entries in the EVENTLOG table. This command does not take any arguments.
ProfilesService.purgeEventLogsByDates(string startDate, string endDate)
ProfilesService.purgeEventLogsByEventNameAndDates(eventName, string startDate, string endDate)
ProfilesService.rebuildLookAsideIndexes()
Creates a background process that runs through the Profiles database and corrects any issues. The command does not take any parameters.
When you run the command, a message is logged to record that the process has started and, after every block of 5000 users has been processed, a check-up message indicates the number of users that have been successfully updated or flags errors in that block of users.
At the end of the process, a message containing information about the total number of users updated, the number of users successfully updated, and the number of users with errors, is logged. The logs contain the UIDs of the users who could not be successfully updated as well as any error messages.
The logs are output to the SystemOut.log file of the IBM WebSphere Application Server node that the MBean connected to. Typically this is the first node defined in the Profiles cluster.
ProfilesService.reloadFullReportsToCache()
Forces a reload of the full report-to chain cache from the Profiles database. This command does not take any arguments.
Note: If the full report-to cache is disabled, it cannot be reloaded. This command fails when the cache is disabled.
ProfilesService.updateDescription(String user_email_addr, String new_content_for_description_field)
ProfilesService.updateExperience(String user_email_addr, String new_content_for_experience_field)
ProfilesService.writeStatisticsToFile(String myStatsFile)
Commands for managing user data
ProfilesService.activateUserByUserId(String user_external_id, <updated_properties_list> )
See Managing user data using Profiles administrative commands for details.
ProfilesService.inactivateUser(String user_email_addr)
See Managing user data using Profiles administrative commands for details.
ProfilesService.inactivateUserByUserId(String userID)
See Managing user data using Profiles administrative commands for details.
ProfilesService.publishUserData(String user_email_addr)
See Managing user data using Profiles administrative commands for details.
ProfilesService.publishUserDataByUserId(String userID)
See Managing user data using Profiles administrative commands for details.
ProfilesService.swapUserAccessByUserId("user_to_activate","user_to_inactivate")
See Managing user data using Profiles administrative commands for details.
ProfilesService.updateUser(String user_email_addr, <updated_properties_list> )
See Managing user data using Profiles administrative commands for details.
ProfilesService.updateUserByUserId(String userID, <updated_properties_list> )
See Managing user data using Profiles administrative commands for details.
Parent topic: Running Profiles administrative commands
Related concepts
Synchronizing user data using administrative commands
Related tasks
Running administrative commands
Managing user data using Profiles administrative commands
Related reference
Profiles configuration properties
|
|
|
|
| Version 3 |
March 15, 2012 |
9:16:04 AM |
by IBM  |
|
|