Академический Документы
Профессиональный Документы
Культура Документы
0 AMI Demo
- make sure you can ssh with the db2 ssh key
from the Webpshere Application Server v7.0 AMI to the DB2 AMI
(ssh -i /root/db2_ami_ssh_key.pem db2_ami_hostname)
- Download the trade61 application and scp it to the WebSphere Application Server AMI
(scp -i was_ami_sshkey tradeInstall.zip was_ami_hostname:/trade/tradeInstall.zip)
The trade61 package can be downloaded at
https://www14.software.ibm.com/webapp/iwm/web/preLogin.do?source=trade6
- Using an editor like VI, set the variables of the websphere_ami_trade61.sh script
# Your Amazon AWS SSH key file
sshkeyfile=/root/db2_ami_ssh_key.pem
# db2user
db2user=db2inst1
# db2user password
db2user_password=passw0rd
# db2port
# this port number can be obtained by running these commands on the DB2 AMI
# su - $dbuser
# db2 get dbm cfg | grep SVCENAME
db2port=50001
# db2home
db2home=/opt/ibm/db2/V9.5
Live Demo
===============================================================
1) Launch the /trade/websphere_ami_trade61.sh script
Select Menu Option 2
To Install the Trade 61 application into the WebSphere Application Server v7.0 AMI
User data, portfolios, and stock quote data needs to be loaded into the database.
Click Configuration > (Re-)populate Trade database
4) After the Trade61 Application data is seeded into the database, run the trade scenario via
http://websphere_application_server_ami_hostname:9080/trade/scenario