
Hybrid Cloud Application Architecture
F5
®
Deployment Guide 50
go script
The following script is called go.
SQL scripts
This section contains the SQL scripts.
gatewayI.sql
We modify the schema SQL to include a WAN Gateway. The gatewayI.sql
file points to the hub at the other cloud. The following is our example
gatewayI.sql file:
bootI.sql
The following is our bootl.sql file.
#!/bin/bash
#sqlf start-locator -port=9191 -dir=tmp
cd ds1
./ds1s1
cd ..
export JAVA_OPTS="-Xmx256m"
ds1/tomcat1/bin/startup.sh
CALL SYS.ADD_GATEWAY_HUB('primary',
'private2public',
9001,
null,
null,
null,
null,
0);
CALL SYS.ADD_GATEWAY('private2public', 'pubcloud');
CALL SYS.ADD_GATEWAY_ENDPOINT('private2public', 'pubcloud', '10.133.60.51',9001);
CALL SYS.START_GATEWAY_HUB('private2public', 1);
connect 'jdbc:sqlfabric://virtualserver:1521';
run 'jpetstore-derby-schema.sql';
run 'dsI/gatewayI.sql';
run 'jpetstore-derby-dataload.sql';
Commenti su questo manuale