skip to main content
Setting Up the Samples : Setting up a sample on Linux/UNIX
 

Setting up a sample on Linux/UNIX

The following steps provide the process of setting up the schema, building the IP, and configuring the OpenAccessSDK810_C service. The instructions below assume that you are using the OpenAccess SDK Management Console on Windows to manage the OpenAccess SDK installation on a Linux or UNIX machine.
1. Build the IP module using the following commands:
a. cd install_dir
b. Run setenv
If you are using a C shell: source ip/cfg/setenv.csh
If you are using a Korn shell: . ./ip/cfg/setenv.sh
c. cd ip/oac/example
d. make
The preceding steps place the IP module in the install_dir/ip/bin subdirectory.
2. Run the OpenAccess SDK Management Console on Windows and modify the OpenAccessSDK810_C service running on UNIX to specify the IP module and schema/example as the schema path. Refer to the OpenAccess SDK Administrator's Guide for information about using the OpenAccess SDK Management Console.
a. Run the OpenAccess SDK Management Console and connect to the OpenAccess SDK agent on the UNIX system.
b. Expand the OpenAccessSDK810_C service to the IP Parameters folder.
c. Modify the value of the ServiceIPModule attribute to oadamip_example.so (that is, oadampip_example1.so for example1). For the memory sample, set this attribute to oadamipmem.so.
d. Expand the Data Source Settings node:
*Select example for the example1, example2, or example3 example.
*Select memory for the memory example.
e. Select the IP Parameters subdirectory.
f. Modify DataSourceIPSchemaPath to install_dir/ip/schema/example, where example is example1, example2, example3, or memory.
g. Save the settings and restart the OpenAccessSDK810_C service.
3. From an OpenAccess SDK client, connect to the IP module you have just built:
*Use the example data source for example1, example2, or example3. These examples do not require a user name and password.
*Use the memory data source to connect to the memory sample. The memory example requires the user name pooh and the password bear.