Friday, 30 September 2016

SOA Composite Redeployment


    Composite Redeployment

This process assumes you have installed ant-sca-bulk-deploy-v2.2 into a folder , and have already configured it to suit your local environment. See ant-sca-bulk-deploy Installation Configuration and Usage Guide for more information.
The pre-execution process is:
1.       Start a new windows (or UNIX) terminal session.
2.       Run the setWLSEnv script, which is installed as part of weblogic server, as follows:
a. On Unix
                                                               i.      . /wlserver_10.3/server/bin/setWLSEnv.sh
                     b.      On Windows
                                                               i.      \wlserver_10.3\server\bin\setWLSEnv.cmd
 
The redeployment process is:
1.       Change the directory to
2.       Execute the redeployScaBulk ant target, by either of the following commands:
ant  redeployScaBulk
or
ant redeployScaBulk –DserverURL= -Duser= -Dpassword=
                                                               i.        Note: the serverURL must be the URL and port of the SOA Managed Server(this must be in the form http://host:port).
3.       If prompted, input the following:
3.1   [input] Please enter  Weblogic server URL (this must be the URL and port of the SOA Managed Server):
3.2   [input] Please enter Weblogic username:
3.3   [input] Please  enter  Weblogic password:
3.4    [input] Enter Subversion username (which is your BCC windows logon username ie: payroll number
3.5   [input] Enter svn tag (or enter key to bypass):
§  Enter the svn tag id as mentioned in TAG ID column in Section 4 COMPOSITES TO BE REDEPLOYED table above.
3.6   Password for the SVN user
4.         Confirm the task for the redeployment
            [echo] Processing task file: /u9000/soa_soasuite_shared/source/management/ant-sca-bulk-deploy-v2.2/bulk_task_staging//.redeploy_sca_task
 
                               [input] Proceed? (y, n)
4.1   Enter ‘y’ if this the service is intended for deployment
4.2   [Input] Which configplan? (<List of config plan files>)
Enter the config plan name as mentioned in CONFIG PLAN column under Section 4 COMPOSITES TO BE REDEPLOYED table against the TAG ID mentioned in step 3.5 above.
5.       After deployment, review the console output and check for success messages, and/or any error messages.
5.1   A Successful deployment should print [deployComposite]àdeploying composite success.
6.       Enter for recursive redeployment or press enter key to bypass recursive subversion prompt, and exit.
6.1       [input] Enter svn tag (or enter key to bypass)
For recursive redeployment Enter remaining svn tags mentioned in Section 4 COMPOSITES TO BE REDEPLOYED and follow the same steps from 3.5 to 6.1.

No comments:

Post a Comment