19.03.2015 Views

www.it-ebooks.info

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

SALT – Service Arch<strong>it</strong>ecture Leveraging Tuxedo<br />

Configuring the Tuxedo web services<br />

In this section, we will discuss most of the web-services-related configuration to<br />

set up your SALT environment, such as the UBBCONFIG file, the Tuxedo metadata<br />

repos<strong>it</strong>ory, configuring native or external web services, the deployment file, and<br />

compiling the SALT configuration.<br />

The UBBCONFIG file<br />

We all know the importance of the UBBCONFIG file for a Tuxedo application. To<br />

incorporate SALT in your application, you need to include some entries for SALT<br />

components in this file; some of them are musts and some of them are optional, as<br />

described here:<br />

• The TMMETADATA server in the *SERVERS section (required):<br />

TMMETADATA is the server provided by Tuxedo. It has the TMMETAREPOS<br />

service, which processes requests to retrieve or update the Tuxedo service<br />

metadata repos<strong>it</strong>ory <strong>info</strong>rmation. For example:<br />

*SERVERS<br />

TMMETADATA<br />

SRVGRP=MyGrp SRVID=202 RESTART=Y MAXGEN=4<br />

GRACE=2500 CLOPT="-A -- -f /usr/MyApps/Metadata"<br />

• The GWWS servers in the *SERVERS section (required): This is the web<br />

service gateway server that we discussed a couple of times. The GWWS server<br />

refers to the SALTCONFIG file during boot up, so the environment variable<br />

SALTCONFIG must be set prior to starting up this GWWS server. Also, the<br />

TMMETADATA server should be booted up before GWWS, because this server calls<br />

the services of TMMETADATA. One or more GWWS servers can be configured in<br />

the same Tuxedo domain, but each GWWS server must have a unique instance<br />

ID using the -i option. For example:<br />

*SERVERS<br />

GWWS<br />

SRVGRP= MyGrp SRVID=210<br />

SEC_PRINCIPAL_NAME="gwws_ PASSWD " optional(#4 points<br />

below)<br />

SEC_PRINCIPAL_PASSVAR="gwws_PASSWD" optional(#4 points<br />

below)<br />

CLOPT="-A -- – i MyGWWS1"<br />

[ 106 ]<br />

<strong>www</strong>.<strong>it</strong>-<strong>ebooks</strong>.<strong>info</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!