Amazon 5.0 Betriebsanweisung

Stöbern Sie online oder laden Sie Betriebsanweisung nach Fernseher & Monitore Amazon 5.0 herunter. Amazon 5.0 User guide Benutzerhandbuch

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken

Inhaltsverzeichnis

Seite 1 - Getting Started on Amazon EC2

Aleksandar Kostadinov John DoyleJBoss Enterprise ApplicationPlatform 5Getting Started on Amazon EC2for JBoss Enterprise Application Platform 5 and JBo

Seite 2 - Edition 5.2.0

Red Hat also hosts a large number of electronic mailing lists for discussion of Red Hat software andtechnology. You can find a list of publicly availa

Seite 3

Chapter 1. IntroductionJBoss Cloud Access is a Red Hat subscription feature which allows you to easily move your JBossinstances between traditional on

Seite 4 - Table of Contents

Chapter 2. Overview2.1. What is provided?Membership in the JBoss Cloud Access program enables you to access private Amazon MachineImages (AMIs) create

Seite 5

Chapter 3. Identify a suitable Red Hat AMI3.1. Supported instance typesJBoss Cloud Access supports a subset of the instance types available on Amazon

Seite 6

When searching for the required AMI, you can search with a general criterion ("JBEAP", for example), ora specific one ("RHEL-6.2-JBEAP-

Seite 7

Chapter 4. Launching a standalone JBoss Enterprise WebServer instanceIn this example a sample web application is deployed on Apache Tomcat 6 server. A

Seite 8 - 1.2. Pull-quote Conventions

ImportantIn JBoss Enterprise Web Server deployed on EC2, the contents of the User Data field aretreated as a script.If the first line is "#!"

Seite 9 - 2.1. Do You Need Help?

Chapter 5. Launching a standalone JBoss EnterpriseApplication Platform instanceIn this example a sample web application is deployed to a standalone JB

Seite 10 - 2.2. Give us Feedback

If the sample application has been deployed, as per the example, continue testing according to the stepsbelow. However if your own application has bee

Seite 11 - Chapter 1. Introduction

Chapter 6. Launching clustered JBoss Enterprise ApplicationPlatform instancesIn this example clustered JBoss Enterprise Application Platform instances

Seite 12 - Chapter 2. Overview

JBoss Enterprise Application Platform 5 Getting Started on AmazonEC2for JBoss Enterprise Application Platform 5 and JBoss Enterprise WebServer 5Editio

Seite 13 - 3.2. Finding the Red Hat AMIs

WarningThe above settings are sufficient for this example scenario but for a production environment it ishighly recommended that you consider the fail

Seite 14

echo 1 > /proc/sys/net/ipv4/ip_forwardecho 0 > /proc/sys/net/ipv4/conf/all/rp_filterecho 0 > /proc/sys/net/ipv4/conf/eth0/rp_filteriptables -

Seite 15 - Server instance

7. Disable the Amazon EC2 cloud source/destination checking for this instance so it can act as arouter.a. Right-click on the running EWS instance an

Seite 16 - Important

it's required to set up the S3 bucket.6.5.4. S3 bucket setup1. Open the S3 tab in the AWS console.2. Click on "Create Bucket".3. Cho

Seite 17 - Application Platform instance

2. Choose desired number of instances (this will be the cluster size).3. Choose VPC and instance type.4. Go to Security Group and allow all traffic

Seite 18

MOD_CLUSTER_PROXY_LIST=10.0.0.4:7654## clustering setupJBOSS_JGROUPS_S3_PING_SECRET_ACCESS_KEY=<your secret key>JBOSS_JGROUPS_S3_PING_ACCESS_KEY

Seite 19 - Platform instances

name="ServerPeer">jboss.m essaging:service=ServerPeer</depends> <depends>jboss.messaging:service=PostOffice</depends&

Seite 20

3. Connect to the JBoss Enterprise Web Server instance:ssh -L7654:localhost:7654 <elastic IP of EWS>4. Open http://localhost:7654/mod_cluster-

Seite 21

Chapter 7. Establish monitoring with JBoss OperationsNetwork (JON)With your business application deployed to a correctly-configured AMI instance, the

Seite 22 - 6.5.3. IAM setup

corporate VPN gateway is acting in NAT mode, the JON server does not have direct visibility of agents.Port forwarding needs to be configured so that,

Seite 23 - 6.5.4. S3 bucket setup

Legal NoticeCopyright © 2012 Red Hat, Inc.This document is licensed by Red Hat under the Creative Commons Attribution-ShareAlike 3.0 UnportedLicense.

Seite 24

(available at http://docs.redhat.com/docs/en-US/JBoss_Operations_Network/index.html) for instructionson how to change the agent's IP address.If t

Seite 25

User Script ParametersDeploying and configuring JBoss Enterprise Application Platform using the User Data field provides forflexibility and ease of ma

Seite 26 - Down-scaling a cluster

used for registration, after thatagent may communicate withother servers in the JON cluster.JON_SERVER_PORT Port used by the agent tocommunicate with

Seite 27

TroubleshootingEC2 does not provide any method out of the box to indicate an instance has started correctly andservices are running properly. Use of a

Seite 28 - Network (JON)

Revision HistoryRevision 5.2.0-100.4 00 2013- 10-30 Rüdiger LandmannRebuild with publican 4.0.0Revision 5.2.0-100 Wed 23 Jan 2013 Russell DickensonInc

Seite 29 - 7.4. Routing in EC2

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Seite 30

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Seite 32 - A.2. Custom Script

Preface1. Document ConventionsThis manual uses several conventions to highlight certain words and phrases and draw attention tospecific pieces of info

Seite 33 - Troubleshooting

Character Map from the main menu bar. Next, choose Search → Find… from theCharacter Map menu bar, type the name of the character in the Search field a

Seite 34 - Revision History

package org.jboss.book.jca.ex1;im port javax.nam ing.InitialContext;public class ExClient{ public static void m ain(String args[]) throws Exc

Kommentare zu diesen Handbüchern

Keine Kommentare