These instructions are Solaris-specific.
The Instant Messaging data is archived in the form of Resource Descriptors (RDs) in the Portal Server Search database. The individual entries in the Portal Server Search database are called resource descriptors (RDs). An RD is a specific set of information about a single resource. The fields of each RD are determined by the Portal Server Search database schema.
To manage the archived data, you need to manage the Resource Descriptors (RDs) in the Portal Server Search database. This section explains some of the frequently performed Portal Server Search database maintenance tasks.
For more information on managing data in the Portal Server Search database, see the Sun Java System Portal Server Administration Guide.
The rdmgr command is the main command used to work with the Search service. It gives the administrator two types of subcommands: one that is used to work with resource descriptors (RDs), and another used for database maintenance. The rdmgr command is normally run in a search-enabled Portal Server instance directory.
Change to the https-servername directory.
cd /var/opt/SUNWps/https-servername |
Where servername is the name of the Portal Server
Type the following at the command-line:
run-cs-cli portal-svr-base/SUNWps/bin/rdmgr options |
where portal-svr-base is the directory in which Portal Server is installed.
For more information on rdmgr command, see Command-Line Utilities in Sun Java System Portal Server Administration Guide.
Running rdmgr command with the argument value -Q generates a list of resource descriptors (RDs) that refines the search operation.
For example:
To search for resource descriptors (RDs) containing the text testing, type:
run-cs-cli portal-svr-base/SUNWps/bin/rdmgr -Q testing |
To search for resource descriptors (RDs) belonging to a particular category, type the following command. Enter the command as a single line:
run-cs-cli portal-svr-base/SUNWps/bin/rdmgr -Q "classification=Archive:Chat:January" |
The following are the examples for deleting resource descriptors (RDs) from the Portal Server Search database:
To delete all resource descriptors (RD) containing the text testing, type:
run-cs-cli portal-svr-base/SUNWps/bin/rdmgr -d -Q testing |
To delete all resource descriptors (RD) from a category Archive:Chat:January, type the following command. Enter the command as a single line:
run-cs-cli portal-svr-base/SUNWps/bin/rdmgr -d -Q "classification=Archive:Chat:January" |