Summary: Deploys a Processing Unit onto the Service Grid.
Syntaxgs> pudeploy [processing unit name, jar file, or directory location] DescriptionA Processing Unit can be easily deployed onto the Service Grid. In order to deploy a Processing Unit, the Processing Unit must follow the processing unit structure. The Processing Unit should also be copied to the machine the GSM is running in under the <GigaSpaces Root>\deploy directory. Another option to deploy a processing unit is to jar the processing unit directory structure into a jar file (that can exists anywhere within the file system) and then specify that jar file as the parameter to the pudeploy. The pudeploy process will upload the jar file to all the GSMs it finds and unpack it under the deploy directory. It will then issue the deploy command.
Options
ExampleThe following deploys a Processing Unit called data-processor using the sync_replicated cluster schema with 2 instances (total_members), a timeout value of 7 seconds (7000 milliseconds), and the lookup groups group1 and group2. gs> pudeploy -cluster schema=sync_replicated total_members=2 -timeout 7000 -groups group1 group2 data-processor The following deploys a Processing Unit called data-processor using context-level properties called context.properties, and bean-level properties called space1.properties applied to bean named space1. gs> pudeploy -properties file://config/context.properties -properties space1 file://config/space1.properties data-processor The following deploys a Processing Unit called data-processor using an SLA element read from sla.xml. gs> pudeploy -sla file://config/sla.xml data-processor The following example deploys a partitionedsync2backup cluster with the name mySpace for both the Processing Unit and the Space. pudeploy -cluster schema=partitioned-sync2backup total_members=2,1 -override-name mySpace -properties embed://dataGridName=mySpace /templates/datagrid |
![]() |
GigaSpaces.com - Legal Notice - 3rd Party Licenses - Site Map - API Docs - Forum - Downloads - Blog - White Papers - Contact Tech Writing - Gen. by Atlassian Confluence |