You can register the WCCUI Managed Servers with the Oracle Metadata Services (MDS) Repository through Oracle Enterprise Manager Fusion Middleware Control or through the WebLogic Server Scripting Tool (WLST).
To register the WCCUI Managed Servers with the MDS repository and create the metadata partition through Fusion Middleware Control:
1. Go to Oracle Enterprise Manager Fusion Middleware Control at http://ADMINVHN:7001/em.
2. Log in to Fusion Middleware Control with the user name and password.
3. Under WebLogic Domain on the left, click WCCUI Domain, then choose Metadata Repositories from the WebLogic Domain menu.
4. On the Metadata Repositories page, click Register under Database-Based Repositories.
5. Register the MDS repository on the Register Database-Based Metadata Repository page.
The Target the Repository dialog box opens.
6. In the Target the Repository dialog box, select WCCUI_Cluster, and click Target.
7. Click Close when you get the message, Target operation is completed.
8. Restart the Administration Server in the WebCenter Content user interface domain, by stopping and then starting it.
To register the WCCUI Managed Servers with the MDS repository and create the metadata partition through WLST:
1. Run WLST from WCCUI_MW_HOME/oracle_common/common/bin/wlst.sh, and connect to the WebLogic Server instance in interactive mode:
wls:/offline> connect() Please enter your username : weblogic Please enter your password : password
Please enter your server URL: [t3://localhost:7001] :t3://host:port of admin server where the WebCenter Content user interface Managed Server is running Connecting to t3://host:7001 with userid weblogic … Successfully connected to Admin Server ‘AdminServer’ that belongs to domain ‘WCCUIDomain’.
Warning: An insecure protocol was used to connect to the server. To ensure on-the-wire security, the SSL port or Admin port should be used instead.
wls:/WCCUIDomain/serverConfig>
In the reference topology, WCCUI_MW_HOME is the /u01/oracle/products/fmw_home directory.
2. Run the following command to create a partition:
wls:/WCCUIDomain/serverConfig> createMetadataPartition(repository=’mds-WCCUIMDSREPO’, partition=’MDS_ PARTITION’) Location changed to domainRuntime tree. This is a read-only tree with DomainMBean as the root. For more help, use help(domainRuntime)
Executing operation: createMetadataPartition.
Partition « MDS_PARTITION » in Metadata DB repository « mds-WCCUIMDSREPO » was created successfully.
3. Register the MDS repository with the registerMetadataDBRepository command:
registerMetadataDBRepository(‘WCCUIMDSREPO’, ‘Oracle’,’dbscan.example.com’, ‘1521’, ‘wccedg.example.com’, ‘WCCUI_MDS’, ‘password’, ‘WLS_WCCUI1’)
The target server in the preceding command is the WebCenter Content user interface Managed Server.
The sample registerMetadataDBRepository command has these parameters:
-WCCUIMDSREPO is the name of the metadata repository.
-oracle is the database type.
-dbscan.example.com is the name of the database host
-1521 is the port number for the database.
-wccedg.example.com is the database service name. – WCCUI_MDS is the schema name
– password is the password of the schema owner
– WLS_WCCUI1 is the WebCenter Content user interface Managed Server
4. Restart the Administration Server in the WebCenter Content user interface domain, by stopping and then starting it.
If you have installed both domains on the same host, the port for the Administration Server in the WebCenter Content user interface domain will not be the default Administration Server port.
Laisser un commentaire