dbfhadmin -script -type:region -provider:ora -name:<es-name> -file:<script-name.sql>
where <es-name> is the name of the enterprise server region that will use the region database .
dbfhadmin -script -type:crossregion -provider:ora -file:<script-name.sql>
Before you run the -createdb command, ensure that the sqlplus command is on the PATH. (SQL *Plus is Oracle's command line database utility.)
dbfhadmin -createdb -file:<script-name.sql> -type:region -provider:ora -existdb:<db-name> -user:<user-name> -password:<password>
where <script-name.sql> is the name of the script file that was created in an earlier step; <db-name> is the name of an existing database instance; and <user-name> and <password> are valid credentials for the instance.
dbfhadmin -createdb -file:<script-name.sql> -type:crossregion -provider:ora -existdb:<db-name> -user:<user-name> -password:<password>
where <script-name.sql> is the name of the script file that was created in an earlier step; <db-name> is the name of a database reference in your tnsnames.ora file; and <user-name> and <password> are valid credentials for the instance.
Now that the region and cross-region databases have been created, you can configure the database configuration file to use them.