Creating profiles, network deployment environments and database tables using BPMConfig
Before you begin
Before you create a deployment environment using the BPMConfig command-line utility, you may need to manually create all of the databases that are specified in the properties file. Although the BPMConfig command can create the database schema and tables, it cannot create the databases. The databases must be created before the tables are created (and before the servers are started). Depending on the value that is set for the bpm.de.deferSchemaCreation property, the database schema and tables can be created when the BPMConfig command is run or they can be created after the command is run. Information about the bpm.de.deferSchemaCreation property is found in the "About this task" section below.
For your SQL Server database server, make sure that the username and schema exist before the configuration is done. The schema value should be the default schema for the user chosen.
If connections to the database will be made by the current Windows user that the server is running under, the SQL Server must have Windows authentication mode or SQL Server and Windows Authentication mode enabled, as specified through Microsoft SQL Server Management Studio. You should also be sure to use the sample properties file that matches your authentication method as a basis for your own configuration properties file. For example, if you base your own configuration properties file on one of the sample configuration files with a name ending in SQLServer-WinAuth, the setting for the attribute sqlServerWinAuth is set to "true" by default.
About this task
- Creates any local profiles specified in the configuration properties file that do not already exist.
- Creates the deployment manager node based on the values in the deployment manager properties file and starts the deployment manager.
- For each node specified in the configuration properties file, creates a managed node based on the specified values.
- Federates each managed node and adds the node to the deployment environment.
- Generates the deployment environment.
- If the properties file that is used has the parameter bpm.de.deferSchemaCreation set to false, then the database tables are also created when you run the command.
- If the bpm.de.deferSchemaCreation property
in the configuration properties file is set to true then
only the scripts for creating the database tables are generated. In
this case, the database tables need to be created separately using
these scripts, and the bootstrap utility will need to be run manually. Tip: If you run the BPMConfig command to generate the database scripts instead of creating the actual tables, you can pass along these scripts to your database administrator to review and run the scripts.
- If the bpm.de.deferSchemaCreation property is set to true, then the Process database is not loaded with system information and you must run the bootstrapProcessServerData utility manually.
Procedure
To create the deployment environment for the first time, complete the following steps:
What to do next
If you ran BPMConfig with the deferSchemaCreation set to true, then you must create your database tables and if your environment includes the ProcessServer component, you must also load the Process database. To create the database, run the SQL scripts that are generated by the BPMConfig command. To load the Process database, run the bootstrapProcessServerData utility. For more information see the related task link for running the generated scripts for creating database tables. After you have created your deployment environment and your database tables, you can start the deployment manager, node agents, and clusters by running the BPMconfig command with the -start action from the deployment manager computer. If you are creating an Advanced or AdvancedOnly deployment environment, the deployment manager and node agents need to be restarted for the cell scoped configuration to take affect. This is only required for the first deployment environment with Advanced or AdvancedOnly capabilities.
If the new or updated node is on the same computer as the deployment manager node, then the updated or new node is automatically synchronized with the deployment manager node. Before you start the node, ensure that this synchronization has completed by checking the syncNode.log file found in the profile_root\logs directory. If the new or updated node is on a different computer than the deployment manager node, you need to run the syncNode.bat or syncNode.sh command on the new or updated node and wait for the synchronization to complete before starting the node.
If SQLServer Windows Authentication is used, you must manually run the bootstrap utility to load the Process Server database, as described in the topic Loading the database with system information in a network deployment environment on Windows.