Configuring the Sh and Rf Simulator Applications Enabling Profile Service using an Sh backend

Configuring Diameter Client Nodes and Relay Agents 6-13 actionrelayaction serverhssserver default-route configuration diameter

6.6.2.5 Configuring the Sh and Rf Simulator Applications

Oracle WebLogic Server SIP Container contains two simulator applications that you can use in development or testing environments to evaluate Diameter client applications. To configure a simulator application, you simply deploy the corresponding class to a configured Diameter node: ■ com.bea.wcp.diameter.sh.HssSimulator simulates an HSS in your domain for testing Sh client applications. ■ com.bea.wcp.diameter.rf.RfSimulator simulates an CDF host for testing Rf client applications Diameter nodes that deploy simulator applications can be targeted to running engine tier servers, or they may be started as standalone Diameter nodes. When started in standalone mode, simulator applications accept the command-line options described in Table 6–3 .

6.6.2.6 Enabling Profile Service using an Sh backend

As noted earlier, Sh, Ro, and Rf applications can be configured and used separately, but Sh can take advantage of the Profile Service API. To do so: 1. Configure ShApplication in diameter.xml see Example 6–5 for more information. 2. Add a profile.xml file to domain_homeconfigcustomprofile.xml. You can either install the Diameter domain as a template and modify the file, or you can manually create profile.xml as shown in Example 6–4 . Example 6–4 profile.xml sample profile-service xmlns=http:www.bea.comnswlcpwlssprofile300 mapping Note: These simulators are provided for testing or development purposes only, and is not meant as a substitute for a production HSS or CDF. Table 6–3 Command-Line Options for Simulator Applications Option Description -r, -realm realm_name Specifies the realm name of the Diameter node. -h, -host host_name Specifies the host identity of the node. -a, -address address Specifies the listen address for this node. -p, -port port_number Specifies the listen port number for this node. -d, -debug Enables debug output. -m, -mdebug Enables Diameter message tracing. 6-14 Oracle WebLogic SIP Server Container Administrators Guide map-byprefixmap-by map-by-prefix provider-prefix-set nameshname prefixshprefix provider-prefix-set map-by-prefix mapping provider nameshname provider-classcom.bea.wcp.profile.ShProviderCachedprovider-class provider profile-service

6.6.3 Configuring Peer Nodes