pfadmin
Purpose
Sets up the Oracle InForm server environment. The parameters are stored in the registry. Therefore, you need local administrator privileges to run the utility.
Location
<Installation_Directory>\InForm\bin
folder
.
Usage
pfadmin [ CHECKREG | CONFIG | CREATEREPORTINGMODEL | HELP | KILLSERVER | PING | PUBLISHREVIEWSCHEMA | RECREATEREVIEWSCHEMA | REMOVE | RECREATEREPORTINGSCHEMA | RULESCANPROCESS | RULESCANVIEW | SETSERVER | SETUP | SETLANGUAGE | START | STOP | UNINSTALL | UPDATEWORKFLOW| VIEW ]
Option | Purpose and Syntax |
---|---|
CHECKREG [/Del] [/DelAll] | Displays the current Oracle InForm Server COM and MTS components in the NT registry.
WARNING: Be careful to remove the server(s) or uninstall the service before using either of the delete options:
|
CONFIG Service
[/AdminDB DBServer ] | [/AdminDSN DsnName ] | [/AdminDN ] | [/EmailSender valid_email_address] | [/PfUser ] | [/SysDBA ] [/HelpUrl URL of internal help site index.html page] [/SearchUrl “https://docs.oracle.com/apps/search/search.jsp?category=industries&product=product_id&q=”] |
Configures an existing service.
|
CONFIG Server ServerName[Automatic|Manual] | Configures the startup mode for an existing server as either Automatic or Manual. |
CONFIG Trial TrialName [Automatic | Manual] | [/TriDSN DSN | [/RndDSN DSN] | [/Rnd [TNS_Service_Name ]] | [/Host ServerName] | [/TrialType [UAT | LIVE | TRN | DEV | QA]] | [/TrialApproval [TRUE | FALSE]] | [/TrialMaintenance [ON | OFF]] | [/DeployBackupFolder <"path_to_a_database_server_folder">] |
Configures an existing study.
|
CONFIG CDD TrialName [Enable | Disable] | [DSN [Active | Inactive]] | [DSN StudyLocale] |
Configures an existing CDD:
|
CONFIG WEBSERVICE TrialName [AuthService | DeploymentService | ODMSubmitService] [Add [HTTP:port | HTTPS:port cert:thumbprint] | Remove] |
Associates a web service with a study and specifies the port
number each service should use.
|
CREATEREPORTINGMODEL TrialName | Creates the Reporting model from scratch. |
HELP | Lists all the options of the pfdamin command. |
KILLSERVER ServerName | Stops server MTS packages without stopping studies on the server. |
PING MachineName 1 | 2 | 3:ServerName | 4:ServerName | 5:ServerName [Port#] |
Pings the Oracle InForm Service or a particular server. The ping levels are:
|
PUBLISHREVIEWSCHEMA TrialName [/FORCE] |
Applies all study version changes to the review schema clinical tables. If you use the /FORCE option, the Oracle InForm application does not check to see if there are study version changes that are not applied, and makes sure all study version changes are applied. Note: The /FORCE option does not drop and re-create the clinical tables. It makes the clinical tables match the study version. The /FORCE option should only be used if recommended by Oracle. |
RECREATEREVIEWSCHEMA
[TrialName StudyLocale_ISO_name] |
Recreates the review schema database tables from the Oracle InForm schema. Depending on the size of the study, this can take a long time to run. The Review schema study locale is chosen automatically when a study is first installed, but can be changed using this command. |
REMOVE
[Server ServerName] | [Trial TrialName [/DSN]] | [CDD TrialName [/All | DSN] |
Removes an existing server, study, or CDD.
Note: Before using the PFADMIN REMOVE command, verify that IIS is running. |
RULESCANPROCESS StudyName | Scans existing rules and execution plans, and outputs a list of rules that violate the allowed rule objects list and marks the rules as valid or invalid. |
RULESCANVIEW StudyName | Scans existing rules and execution plans, and outputs a list of rules that violate the allowed rule objects list. This is an informational scan only; it does not mark rules as valid or invalid. |
SETSERVER
[Site TrialName MachineName] | [MedMLInstaller TrialName MachineName] | [Reporting TrialName ReportingUrl] | [ReportingAN TrialName AuthenticationNamespace] | [ReportingUR TrialName UserRoot] | [ReportingInt TrialName ReportingInternalURI] | [pfreportinguserpw TrialName] | [systempw TrialName] | [TrialURL TrialName TrialURL] |
Changes the MedML and Site servers and sets the
Reporting configuration settings.
Note: The SETSERVER command requires that you set the Default Authentication Level property of the Oracle InForm server to Connect:To set this property:
|
SETUP Server ServerName [Automatic] | Creates a new Oracle InForm server in the InForm Service.
|
SETUP Trial TrialName ServerName [/DB OracleConnStr] | [/DSN TriDSN [Automatic] |
Creates a study on the given Oracle InForm server with the option to either create a new ODBC DSN or use an
existing one. The server has to be created. The study startup mode
is Manual by default. Use the Automatic option to automatically
start the study when the Oracle InForm server that hosts the study is started.
Note: Before using the /DSN command, verify that IIS is running. |
SETUP CDD RefName TrialName /DB OracleConnStr DSN [/TBSP OraTBSP] [Active] [NoSchema] |
Sets up a new CDD DSN associated with the given CDD
refname. Use alphabetic or alphanumeric characters for the UID and
PID, and begin them with a letter; do not use all numeric
characters.
Note: To execute this command successfully, the study must be started. |
SETUP CDD RefName TrialName /DSN DSN [/TBSP OraTBSP] [Active] [NoSchema] |
Sets up an existing DSN associated with the given CDD
RefName. Use alphabetic or alphanumeric characters for the UID and
PID, and begin them with a letter; do not use all numeric
characters.[/TBSP OraTBSP]—Defines the Oracle tablespace for
the CDD schema.
Note: To execute this command successfully, the study must be started. |
SETLANGUAGE
[IsoLanguageName] | en-US | ja-JP | |
Sets the Oracle InForm product locale language. en-US and ja-JP are currently supported. |
START
[Server ServerName] | [Trial TrialName] |
Starts an existing Oracle InForm server or study.
|
START
[Trial TrialName [/Design]] |
Starts the study in design mode. This means you can install study components that are not completely designed (strict checking is not in force). By default, the study starts in production mode. |
STOP
[Server ServerName [/Trials]] | [Trial TrialName [/Anyway]] |
Stops an existing Oracle InForm server or study.
|
UNINSTALL | Removes all Oracle InForm servers and studies, and then removes the Oracle InForm service settings PfUser_computername and the MTS library
package.
Note: The Oracle InForm service must be running for the command to work. |
UPDATEWORKFLOW
[StudyName ["siteMnemonic"] [-UpgradeStudyVersion]] | [SetWFThreadsNumber StudyName NumberOfThreads] | [GetWFThreadsNumber StudyName] |
Configures and performs the update workflow
process.
Caution: You should not adjust this setting without input from Oracle Global Support. If the performance of your study deployment or study migration is too slow (for example, timeouts happen), contact Oracle Global Support for assistance. |
VIEW
[Languages] | [Service] | [Server ServerName] | [Trial TrialName] | [CDD TrialName] | [Reporting TrialName] |
Displays a monitoring list of all servers in the Oracle InForm service, all studies in servers, or all RefNames for CDD DSNs
configured for a study.
|
Command line prompts
Depending on the options you specify, you are prompted for the following parameters:
For pfadmin setup or pfadmin config commands:
- uid—Oracle InForm study database user.
- pid—Oracle InForm study database user password.
For pfadmin setserver commands:
- pid—Oracle InForm study database user password.
Examples
Check the status of Oracle InForm Reporting:
pfadmin view reporting pfst63
Check the status of Oracle InForm servers and studies on an InForm Service:
pfadmin view service
Start the demo Oracle InForm server:
pfadmin start server demo
Start the sample study:
pfadmin start study sample
Stop all studies running on the demo Oracle InForm server, and then stop the demo server:
pfadmin stop server demo /Trials
Set the password and activate the system user account:
pfadmin setserver systempw pfst63
Notes
Any arguments containing commas, equal signs, or spaces must be enclosed within double quotes.
Parent topic: Command and script reference