VMware VCLOUD SDK FOR JAVA 1.0 - DEVELOPER S GUIDE Manuale Utente Pagina 52

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 65
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 51
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';
Vedere la pagina 51
1 2 ... 47 48 49 50 51 52 53 54 55 56 57 ... 64 65

Commenti su questo manuale

Nessun commento