Summary: Deploys an application onto the service grid.
Syntaxgs> deploy-application [-user xxx -password yyy] [-secured true/false] application_directory_or_zipfile DescriptionDeploys an application, which deploys one or more processing units in dependency order onto the service grid.
Options
ExampleThe following deploys the data-app example application (which includes a feeder and a processor). gs> deploy-application examples/data/dist.zip The dist.zip file includes: application.xml feeder.jar processor.jar application.xml file describes the application dependencies: <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context" xmlns:os-admin="http://www.openspaces.org/schema/admin" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.1.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.1.xsd http://www.openspaces.org/schema/admin http://www.openspaces.org/schema/9.0/admin/openspaces-admin.xsd"> <context:annotation-config /> <os-admin:application name="data-app"> <os-admin:pu processing-unit="processor.jar" cluster-schema="partitioned-sync2backup" number-of-instances="2" number-of-backups="1" max-instances-per-vm="1" max-instances-per-machine="0" /> <os-admin:pu processing-unit="feeder.jar"> <os-admin:depends-on name="processor" min-instances-per-partition="1"/> </os-admin:pu> </os-admin:application> </beans> |
![]() |
GigaSpaces.com - Legal Notice - 3rd Party Licenses - Site Map - API Docs - Forum - Downloads - Blog - White Papers - Contact Tech Writing - Gen. by Atlassian Confluence |