Specifications
Table Of Contents
- 1 Executive Summary
- 2 Cloud Computing Standards
- 3 Red Hat and Cloud Computing
- 4 Red Hat Cloud Foundations Components
- 5 RHCF Proof of Concept Configuration
- 6 Deploying Red Hat Cloud Foundations – Infrastructure Services
- 6.1 Overview
- 6.2 This section moves into the details of what needs to happen to deploy this infrastructure. At a high level, the steps that need to be accomplished.
- 6.3 Download Software
- 6.4 Deploy mgmt1 and Configure
- 6.5 Deploy Satellite Virtual Machine and Install Satellite
- 6.6 Create Kickstart Profiles and Activation Keys
- 6.7 Deploy DHCP / DNS Virtual Machine
- 6.8 Deploy Red Hat Enterprise Virtualization Platform
- 6.9 Deploy the Red Hat Enterprise Virtualization Hypervisor
- 6.10 Deploy the RHEL KVM Hypervisor
- 6.11 Add the RHEV KVM Hypervisor in RHEV-M
- 6.12 Configure RHEV Datacenter, Cluster, and Storage Domain
- 6.13 Configure ISO Domain
- 7 Deploy Tenant Virtual Machines
- 8 Configure High Availability Environment
- 9 Deploy and Scale Applications
- 9.1 Deploy Java Application
- 9.1.1 Configure GPG and Sign the javaApp package
- 9.1.2 Set up Software Channel on Satellite Server
- 9.1.3 Upload Application
- 9.1.4 Create RHN Activation Key for Custom Channel
- 9.1.5 Create a New Kickstart Profile
- 9.1.6 Deploy Virtual Machine with javaApp via PXE
- 9.1.7 Create a Template from the javaApp Virtual Machine
- 9.1.8 Scale the javaApp Virtual Machine
- 9.2 Deploy and Scale JBoss EAP Application
- 9.3 Deploy JBoss Enterprise Application Platform
- 9.4 Deploy and Scale Applications – MRG Manager
- 9.1 Deploy Java Application
- 10 Summary
- 11 Appendix A
- 12 Appendix B Scripts

#script default values:
HOSTNAME=`hostname`
IP=`ifconfig eth0 | grep 'inet addr' | sed 's/.*inet addr://' | sed 's/ .*//'`
CURR_USER=`whoami`
AUTOINSTALL_WAITTIME=300
UNINSTALL_ONLY=0
RECREATE_USER=0
# JON installation defaults (what user gets created, where JON lands)
JON_ROOT=rhq/
JON_USER=rhq
# Java defaults
JAVA_HOME=/usr/lib/jvm/jre-openjdk
# JON-specific defaults
DB_CONNECTION_URL="jdbc:postgresql:\/\/127.0.0.1:5432\/rhq"
DB_SERVER_NAME="127.0.0.1"
HA_NAME=$HOSTNAME
SAT_SERVER=http://rhcf-sat-vm.cloud.lab.eng.bos.redhat.com
JON_URL="$SAT_SERVER/pub/kits/jon-server-2.4.1.GA.zip"
SOA_PI_URL="$SAT_SERVER/pub/kits/jon-plugin-pack-soa-2.4.1.GA.zip"
EWS_PI_URL="$SAT_SERVER/pub/kits/jon-plugin-pack-ews-2.4.1.GA.zip"
EAP_PI_URL="$SAT_SERVER/pub/kits/jon-plugin-pack-eap-2.4.1.GA.zip"
JON_LICENSE_URL="$SAT_SERVER/pub/kits/jon-license.xml"
if [ $CURR_USER != "root" ]; then
echo "You must be logged in as the root user to install JON."
exit 1
fi
function jon_uninstall {
# find service script
echo " * Finding JON/JOPR/RHQ service script location..."
SVC_SCRIPT=`find /etc/init.d/ -iname "*rhq*"`
if [ -z "$SVC_SCRIPT" ]; then
SVC_SCRIPT=`find /etc/init.d/ -iname "*jon*"`
fi
if [ -z "$SVC_SCRIPT" ]; then
echo " - No previous installations found."
return
fi
echo " - Found JON/JOPR/RHQ service script at: $SVC_SCRIPT"
# find home directory
echo " * Finding first-defined JON/JOPR/RHQ home directory..."
123
www.redhat.com










