Operating Systems: i5/OS
Personalize the table of contents and search results
Create a DB2 for iSeries database for the UDDI registry
Perform this task if you want to use DB2 for iSeries as the database
store for your UDDI registry data.
IBMUDI30 and IBMUDS30 are the default names of the UDDI registry
schema in the SQL scripts mentioned below. These default names are the recommended
values and are assumed throughout the UDDI documentation. If you want to use
different names, modify the SQL files listed below, then substitute your own
names whenever you see 'IBMUDI30' or 'IBMUDS30' in other sections of the documentation.
Overview
You only need to perform this task once
for each UDDI registry, as part of setting up and deploying a UDDI registry.
Procedure
- Use iSeries Navigator to run SQL scripts.
- Open iSeries Navigator.
- Expand My Connections > iSeriesName
> Databases.
- Select iSeriesName.
- Right-click Run SQL Scripts....
A Run SQL Scripts window opens.
- Open the i5/OS DB2 SQL files.
- Map a network drive to the root directory of your i5/OS server's
integrated file system.
- In Windows Explorer, expand the WAS_HOME/UDDIReg/databaseScripts directory.
- Open the following SQL files with a text editor (such as Notepad):
- uddi30crt_10_prereq_db2_iSeries.sql
- uddi30crt_20_tables_generic_iSeries.sql
- uddi30crt_25_tables_db2udb_iSeries.sql
- uddi30crt_30_constraints_generic_iSeries.sql
- uddi30crt_35_constraints_db2udb_iSeries.sql
- uddi30crt_40_views_generic_iSeries.sql
- uddi30crt_45_views_db2udb_iSeries.sql
- uddi30crt_50_triggers_db2udb_iSeries.sql
- uddi30crt_60_insert_initial_static_data_iSeries.sql
- Copy the text to the Run SQL Scripts window.
- In the text editor of the file uddi30crt_10_prereq_db2_iSeries.sql,
click Edit > Select All
.
- Click Edit > Copy
.
- In the Run SQL Scripts window, click
Edit > Paste.
- Click Run > All
.
- After the script completes running, select all the SQL text
and delete it from the Run SQL Scripts window.
- Repeat the above steps for all the SQL scripts listed in step
2.
Note: iSeries Navigator for i5/OS V5R2 will encounter an error on the
last line of the SQL script when running the uddi30crt_25_tables_db2udb_iSeries.sql script.
This error can be ignored. i5/OS V5R2 does support running UDDI in a clustered
high availability environment. For more information, see the WebSphere Application
Server for i5/OS tech notes.
- This step should only be run if you want your database to be used
as a default UDDI node.
- Open uddi30crt_70_insert_default_database_indicator.sql as
described in Step 2 above.
- Copy and run uddi30crt_70_insert_default_database_indicator.sql as
described in Step 3 above.
What to do next
Continue with setting up and deploying your UDDI registry node.
}
Related tasks
Setting up a default UDDI node
Setting up a customized UDDI node
|