When you built the sample, the service package was automatically created for you. It is the .zip file located in $SOAM_HOME/5.1/samples/Java/SampleApp.
Copy the service package SampleServiceJavaPackage.zip and the sample application profile SampleAppJava.xml to any host in your cluster that has Symphony commands installed.
On the host to which you have copied the files, set the Symphony environment. For example, if your cluster is installed under /opt/ego directory:
For csh or tcsh, use cshrc.platform:
source /opt/ego/cshrc.platform
For sh, ksh, or bash, use profile.platform:
. /opt/ego/profile.platform
Deploy the service package with the soamdeploy command.
Note:
If the SampleAppJava consumer does not exist in the cluster, you must create it using the PMC before issuing the soamdeploy command.
You must package the files required by your service to create a service package.
For C++, you must create your own service package.
Change to the directory in which the compiled samples are located:
cd $SOAM_HOME/5.1/samples/CPP/Output/
Create the service package by compressing the service executable into a tar file:
tar -cvf SampleServiceCPP.tar SampleServiceCPP
gzip SampleServiceCPP.tar
You have now created your service package SampleServiceCPP.tar.gz.
Copy the service package SampleServiceCPP.tar.gz and the sample application profile SampleApp.xml to any host in your cluster that has Symphony commands installed.
On the host to which you have copied the files, set the Symphony environment. For example, if your cluster is installed under /opt/ego directory:
For csh or tcsh, use cshrc.platform:
source /opt/ego/cshrc.platform
For sh, ksh, or bash, use profile.platform:
. /opt/ego/profile.platform
Deploy the service package with the soamdeploy command.
Note:
If the SampleAppCPP consumer does not exist in the cluster, you must create it using the PMC before issuing the soamdeploy command.