Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

GigaSpaces CCF Quick Tour - 2.3.6

949 views

Published on

GigaSpaces CCF Quick Tour - 2.3.6

Published in: Technology, Design
  • Be the first to comment

GigaSpaces CCF Quick Tour - 2.3.6

  1. 1. GigaSpaces Cloud Computing Framework Test Drive GigaSpaces Quick Tour CCF 2.3.6
  2. 2. Agenda <ul><li>Login </li></ul><ul><li>Data-Grid Demo </li></ul><ul><li>Trader Desktop Demo </li></ul><ul><li>PetClinic Demo </li></ul>
  3. 3. <ul><li>Login </li></ul>
  4. 4. Login Options <ul><li>Login via a Trial Key – 1 hour Free </li></ul><ul><ul><li>Get it from GigaSpaces web site via a simple registration process. </li></ul></ul><ul><ul><li>Provides you one hour free ride running only the Demo applications on the cloud. </li></ul></ul><ul><li>Login via GigaSpaces Cloud license and Your Amazon account keys – Paying user </li></ul><ul><ul><li>Get the GigaSpaces Cloud license from GigaSpaces web site via a simple registration process </li></ul></ul><ul><ul><ul><li>Provides you full access including running your application on the cloud </li></ul></ul></ul><ul><ul><li>Register to GigaSpaces XAP Amazon Devpay product </li></ul></ul><ul><ul><ul><li>Per pay use model </li></ul></ul></ul>
  5. 5. <ul><li>Login via a Free Trial Key </li></ul>
  6. 6. Login via Trial Key – Step 1 <ul><li>Access http://www.gigaspaces.com/mycloud </li></ul>4. A success message will be displayed. Click the “Login Now” button to return the Login page 2. “Click Here to receive 1 hour FREE trial code” link 3. Place your email and click Continue
  7. 7. Login via Trial Key – Step 2 [email_address] wdemomyemailgmailcom <ul><li>Get the key from the email sent </li></ul>2. Copy and paste into the Key field and click Go 3. The Cloud console will be opened with One Hour Trial Title
  8. 8. <ul><li>Login via GigaSpaces Cloud license and Your Amazon account </li></ul>
  9. 9. Getting your AWS Amazon keys <ul><li>Access http://aws.amazon.com and Click the “Access Identifiers “ Under the “Your Account” Menu </li></ul>2. Copy your Access Key ID 3. Copy your Secret Access Key XXXXXXXXXXX XXXXXXXXXXXXXXXXXX
  10. 10. Login via GigaSpaces Cloud license and Your Amazon account – Step 1 <ul><li>Click the Sign up link </li></ul>2. Fill in the fields and click Next 2. Fill in the fields and click Next
  11. 11. Login via GigaSpaces Cloud license and Your Amazon account – Step 2 1. A success message will be displayed. 2. Click the Next button to subscribe to the Amazon XAP Devpay product Click The Login Now to access the Web Console immediately
  12. 12. Login via GigaSpaces Cloud license and Your Amazon account – Step 3 <ul><li>Login into your amazon account </li></ul>2. Review the price list and Click the Place your order button
  13. 13. Login via GigaSpaces Cloud license and Your Amazon account – Step 4 A Thank you message will be displayed. The lower part of the page will allow you to login into the web console Click the Start Now button to Login
  14. 14. Login via GigaSpaces Cloud license and Your Amazon account – Step 5 Aug 22, 2009~Cloud_user@SEbCI12345GSXXXXX#PREMIUM^6.0XAPPremium%UNBOUND <ul><li>Copy your GigaSpaces Cloud License from the email sent </li></ul>[email_address] 2. Place the GigaSpaces Cloud License and your Amazon key and secret key and click the “Secured Login” Button 3. The Cloud console will be opened with full access to all options Aug 22, 2009~Cloud_user@SEbCI12345GSXXXXX#PREMIUM^7.0XAPPremium%UNBOUND+UNLIMITED
  15. 15. Login via GigaSpaces Cloud license and Your Amazon account – An Existing User 1. Place the GigaSpaces Cloud License and your Amazon key and secret key and click the Secured Login 3. The Cloud console will be opened with full access to all options 2. To Avoid placing the license and keys each time you Login create a link that will allow you to automatically Login
  16. 16. The Cloud Web Console
  17. 17. Select Your Demo Application <ul><li>Click the Trader Stock Desktop , Data-Grid or the Pet Clinic Button </li></ul>2. Details about each running machine will be displayed here
  18. 18. The Demo Applications <ul><li>Data-Grid </li></ul><ul><ul><li>Data-Grid - Demonstrates a simple clustered space running 2 partitions with one backup for each partition. The benchmark tool is used to populate the IMDG with data and perform different space operations. </li></ul></ul><ul><li>The Trader Stock Desktop </li></ul><ul><ul><li>Demonstrates a stock feed into a partitioned space with a Java EE web application front end. Front end is based on Spring framework MVC module on the server side and ExtJS JavaScript library on the client side. </li></ul></ul><ul><ul><li>Full code located at http:// www.openspaces.org/display/DAE/Stock+Demo+Documentation </li></ul></ul><ul><li>The Pet Clinic </li></ul><ul><ul><li>Spring PetClinic - The Spring sample PetClinic application ported to GigaSpaces XAP platform. Spring MVC based web application using mySQL as the persistency layer using the Mirror Service. </li></ul></ul><ul><ul><li>Full code located at http:// www.openspaces.org/display/DAE/GigaSpaces+PetClinic </li></ul></ul>
  19. 19. <ul><li>Data-Grid </li></ul><ul><li>Demo </li></ul>
  20. 20. Data Grid Demo Architecture
  21. 21. Start the Data-Grid Demo Click the Data-Grid Button
  22. 22. Data-Grid Demo – Step 1 – Start the GS-UI 1. Once all the machines will be in ‘running’ mode and the Data-Grid will be deployed Click the Manage button 2. The GigaSpaces Desktop UI Applet will be started – Make sure your Amazon default Security Group have ports 22,80 and 443 opened
  23. 23. Data-Grid Demo – Step 2 – The GS-UI will be started <ul><li>The GS-UI will be started – A progress bar will be displayed with a Confirmation Box. Click Yes. </li></ul>2. After 2 minutes - The GS-UI will be displayed with the Data-Grid components
  24. 24. Data-Grid Demo – Step 3 – Run the Benchmark 1. Move to the Space View Tab. Drill into one of the spaces and click the Benchmark Icon – The benchmark View will be displayed at the right side 2. Click the Start button – This will write 10,000 objects into the IMDG 1. Move to the Space View Tab. Drill into one of the spaces and click the Benchmark Icon – The benchmark View will be displayed at the right side
  25. 25. Data-Grid Demo – Step 4 – Watch the Statistics 1. To view the space operations statistics – Click the Statistics Icon To view the space operations statistics – Click the Statistics Icon 2. You will have throughput history graph and current throughput and total operations bar displayed
  26. 26. Data-Grid Demo – More things you can do… <ul><li>Test High-Availability and Self healing </li></ul><ul><ul><li>You can Terminate of the machines and see how the data-grid recovers itself </li></ul></ul><ul><li>Run different Space operations </li></ul><ul><ul><li>You can perform other space operations such as read , take </li></ul></ul><ul><li>Deploy additional clusters </li></ul><ul><ul><li>You can use the existing GSC to host additional space clusters </li></ul></ul>
  27. 27. Data-Grid Demo - Test High-Availability and Self healing 1. Terminate one of the GSC 2. Click OK
  28. 28. Data-Grid Demo - Test High-Availability and Self healing The System got now only primary spaces running
  29. 29. Data-Grid Demo - Start New Containers 2. Close the Dialog. New machines will be started for you. These will join the grid Click the Add Machine button, Have the small machine selected and type 2 as the number of machine to start 1. Click the Add Machine button – a dialog will be opened, have the small machine selected and type 2 as the number of machine to start
  30. 30. Data-Grid Demo - Test High-Availability and Self healing The System will recover and place the missing backup spaces within the newly started containers
  31. 31. Shut Down The Data-Grid Demo 2. Click OK Once you are done, shut down the application. This will terminate all the machines running the application on the cloud
  32. 32. <ul><li>Trader Stock Desktop Demo </li></ul>
  33. 33. Trader Stock Desktop Architecture
  34. 34. Start the Trader Stock Desktop Demo Click the Trader Stock Desktop Button
  35. 35. Trader Stock Desktop Demo – Step 1 Once the deployment is completed (~3 min), click the Load Balancer Running link
  36. 36. Trader Stock Desktop Demo – Step 2 The Stocks page will be displayed
  37. 37. Auto-Scalability – Step 3 <ul><li>Click multiple times on the “running” link to open more web clients. This will generate some load (request/sec) on the system. </li></ul><ul><li>As soon as the request/sec will grow beyond a certain threshold you will see new machine being started. This machine will host a new web-container </li></ul>New Machine will be started on the fly!
  38. 38. Self-Healing – Step 4 <ul><li>Shutdown one of the machines by clicking the terminate button and see how your web client is behaving. </li></ul><ul><li>You will see that even though the machine was terminated the client is hardly affected. </li></ul>Click the Terminate Red button
  39. 39. Behind the Scenes – Step 5 <ul><li>Click the Manage button. After 2 minutes the GS-UI will be started. </li></ul>3. A progress bar will be displayed and a Confirmation Box. Click Yes 2. A progress bar will be displayed and a Confirmation Box. Click Yes 1. Click Continue
  40. 40. Behind the Scenes – Step 5 <ul><li>You will see feeder PU , Professor PU running the Stock Space instances , StockDemo PU running the web containers : </li></ul>
  41. 41. Shut Down The Trader Stock Desktop Application Once you are done, shut down the application. This will terminate all the machines running the application on the cloud Click OK
  42. 42. <ul><li>Pet Clinic </li></ul><ul><li>Demo </li></ul>
  43. 43. Pet Clinic Demo Architecture
  44. 44. Start the Pet Clinic Demo Click the Pet Clinic Button
  45. 45. Pet Clinic Demo Once deployment is completed (~3 min), click the Load Balancer Running link
  46. 46. Pet Clinic Demo The Pet Clinic application page will be displayed
  47. 47. Pet Clinic Demo – Test Persistency – Step 1 <ul><li>Access the database machine by Clicking the Mirror Public IP </li></ul><ul><li>Once the Desktop will be started you will be able to access the database. </li></ul>1. Get the Mirror (Database) machine public IP 2. Access the Machine via HTTP. The UI applet will be displayed. Click Continue 3. A progress bar will be displayed and a Confirmation Box. Click Yes 2. Access the Machine via HTTP. The UI applet will be displayed. Click Continue 3. A progress bar will be displayed and a Confirmation Box. Click Yes
  48. 48. Pet Clinic Demo – Test Persistency – Step 2 2. Access the database using: mysql –u pc –p petclinic Password: pc Select All owners There are 10 initial Owners 1. Start a new Linux Console Select * from owners; mysql –u pc –p petclinic
  49. 49. Pet Clinic Demo – Test Persistency – Step 3 1. Click the Find Owner 2. Click the Add Owner
  50. 50. Pet Clinic Demo – Test Persistency – Step 4 1. Fill in some values and Click the Add Owner button 2. New Owner will be displayed
  51. 51. Pet Clinic Demo – Test Persistency – Step 5 <ul><li>Check the database – A new row should have been added into the owners table </li></ul>See the new Row added with the new Owner Select * from owners;
  52. 52. Shut Down The Pet Clinic Application 2. Click OK 1. Once you are done, shut down the application. This will terminate all the machines running the application on the cloud
  53. 53. Need help? <ul><li>Email us at [email_address] </li></ul>Thank You!

×