
49
go script
The following script is called go.
bootstrap script
The following script is called bootstrap.
Jpetstore application node Scripts
This section contains the infrastructure node Jpetstore application scripts.
go.init script
The following script is called go.init.
clean script
The following script is called clean, and is used to clean up the POC
environment prior to each run.
#!/bin/bash
sqlf start-locator -port=9091 -dir=dsI/locatorI -server=false
-Dgemfire.enable-network-partition-detection=true
sqlf fabricserver start -dir=dsI/serverI -port=1521 -serverGroups=all,primary
-Plocators="virtualserver[9091]" -Pmcast-port=0 -Penable-network-partition-detection=true
#!/bin/bash
export JAVA_HOME=/usr/lib/jvm/jdk1.6.0/jre
export
PATH=${PATH}:JAVA_HOME/bin:/usr/local/petstore/SQLFabric10Beta2/bin
sqlf ij < dsI/bootI.sql
#!/bin/bash
export JAVA_HOME=/usr/lib/jvm/jdk1.6.0/jre
export
PATH=${PATH}:JAVA_HOME/bin:/usr/local/petstore/SQLFabric10Beta2/bin
cd /usr/local/petstore/app
./clean
./go
killall -9 java
rm -rf ds1/server1/* ds1/server1/.fab*
Commenti su questo manuale