Red Hat SATELLITE 5.1.0 RELEASE NOTES Spezifikationen

Stöbern Sie online oder laden Sie Spezifikationen nach KVM-Schalter Red Hat SATELLITE 5.1.0 RELEASE NOTES herunter. Red Hat SATELLITE 5.1.0 RELEASE NOTES Specifications Benutzerhandbuch

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 137
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen

Inhaltsverzeichnis

Seite 1 - Red Hat Cloud Foundations

Red Hat Cloud FoundationsDeploying Private IaaS CloudsScott Collier, RHCAPrincipal Software EngineerVersion 2.0April 2011

Seite 2

www.redhat.com 10Figure 2.3: Hybrid Cloud

Seite 3 - Table of Contents

1. Click “Systems” in the top navigation pane2. On the left navigation pane click “Kickstart”3. In the “Kickstart Actions” pane click “Create a New Ki

Seite 4

Deploy MRG Server using RHEV Target System: rhevm-vm1. Click on the “Virtual Machines” tab on upper navigation menu2. Click on the “New Server” button

Seite 5

1. Open a browser on the MRG localhost and go to http:// 127.0.0.1 :45672/login.html or from a remote machine and log in.2. Confirm functionali

Seite 6 - 1 Executive Summary

1. Click “Systems” in the top navigation pane2. On the left navigation pane click “Kickstart”3. In the “Kickstart Actions” pane click “Create a New Ki

Seite 7 - 2 Cloud Computing Standards

Deploy MRG Execution Nodes using RHEV Target System: rhevm-vm1. Click on the “Virtual Machines” tab on upper navigation menu2. Click on the “New Serve

Seite 8

1. Once these nodes are deployed, name them mrgexec{1-3} and make sure the IP addresses are static and the hosts are set up in DNS and that name resol

Seite 9

Launch jobs on the MRG Execution nodesTarget System: mrgmgr1. Create the “admin” user and log in with the “admin” user account, generate a ssh public

Seite 10 - Figure 2.3: Hybrid Cloud

6. Submit the perfect number job to multiple hosts$ condor_submit perfect_number.sub Submitting job(s).Logging submit event(s).1 job(s) submitted to c

Seite 11

8. Check the job queue via CLI$ condor_q -- Submitter: mrgmgr.rhcf.lab : <10.16.139.32:9675> : mrgmgr.rhcf.lab ID OWNER SUBMITTED RU

Seite 12

9. While it is outside the scope of this paper to be a troubleshooting guide, if the job is submitted and it does not run, check what the problem is w

Seite 13

A community cloud is an infrastructure that is shared by several organizations and supports a specific community that has shared concerns (e.g., missi

Seite 14 - 3.3 Redefining the Cloud

11 Appendix A 11.1 Configuration FilesDNS Zone Files:rhcf.local.db - $TTL 1H @ SOA dndsdhcp-vm root.rhcf-sat-vm.rhcf.local. ( 3 www.re

Seite 16

# Use this to enble / disable dynamic dns updates globally. #ddns-update-style none; # If this DHCP server is the official DHCP server for the local #

Seite 17

# product "S/390.*" # } #} ## Use user friendly names, instead of using WWIDs as names. defaults { user_friendly

Seite 18

# path_selector "round-robin 0" # failback manual # rr_weight

Seite 19

createrepo_flags: "-c cache -s sha" default_kickstart: /var/lib/cobbler/kickstarts/default.ks default_name_servers: [] default_ownership:

Seite 20

redhat_management_server: "sat-vm.cloud.rhcf.lab" redhat_management_key: "" redhat_management_permissive: 0 register_new_installs:

Seite 21

# deploy the test app cd $JBOSS_DIR/jbossas/server/default/deploy wget http://rhcf-sat-vm.cloud.lab.eng.bos.redhat.com/pub/kits/jboss-seam-booking-ds.

Seite 22

after=`expr $line + 1` sed -e "${after}d" -e "${before}d" agent-configuration.xml > agent-configuration.xml2 mv agent-configura

Seite 23 - 5.1 Operating Systems

# This does not implicitly enable Sigar native system # debug mode. You must explicitly enable #

Seite 24 - 5.1.1 Applications and Tools

3 Red Hat and Cloud Computing 3.1 A Phased Approach to Cloud ComputingWhile virtualization is an important underlying technology with regards to clou

Seite 25 - 5.2 Hardware

# is not defined this script will pass in a # default value. If this is set, it #

Seite 26 - 5.2.2 Storage

# #RHQ_AGENT_CMDLINE_OPTS="--daemon --nonative --cleanconfig" RHQ_AGENT_CMDLINE_OPTS="--daemon --cleanconfig" # RHQ_AGENT_IN_BA

Seite 27 - Infrastructure Services

# Also note that if your agent install directory # has spaces in its name, you might have to

Seite 28

#script default values: HOSTNAME=`hostname` IP=`ifconfig eth0 | grep 'inet addr' | sed 's/.*inet addr://' | sed 's/ .*//&apos

Seite 29 - 6.3 Download Software

for i in $SVC_SCRIPT; do for dir in `grep RHQ_SERVER_HOME= $i | sed 's/[-a-zA-Z0-9_]*=//'`; do

Seite 30 - 6.3.1 Download Scripts

;; --licenseurl=*) JON_LICENSE_URL="`echo $i | sed 's/[-a-zA-Z0-9]*=//'`" ;;

Seite 31

echo " - Specified JON local user does not exist; hence, it will be created." RECREATE_USER=1 fi # get jon and pop it into a

Seite 32

# IPv4 local connections: host all all 127.0.0.1/32 trust host all all 10.0.0.1/8 md5 # IP

Seite 33

# install JON license echo " * Downloading JON license..." wget $JON_LICENSE_URL -O /home/$JON_USER/$JON_ROOT/jbossas/server/default/deploy/

Seite 34

fi # Loop through the satellite_channels.list file and construct list of channels for satellite-sync SAT_CHANNELS="" for channel in $(cat s

Seite 35

Figure 3.2: Phased Deployment illustrates a phased approach to technology adoption starting with server consolidation using virtualization, then autom

Seite 36 - • SELinux should be disabled

$my_temp = select-template -SearchText $tempName if ($my_temp -eq $null) { Write-host "No matching templates found!" exit } elseif ($my_

Seite 37 - 6.5.2 Configure Iptables

$my_vm.DisplayType = 'VNC' $uv = update-vm -vmobject $my_vm $sv = start-vm -VmObject $my_vm } else { $my_vm = add-vm -name

Seite 38

echo echo "Remember to \"service iptables save\"" echo mrgMgr-config.sh# register system with satellite rpm -ivh http://RHCF-sat-v

Seite 39 - 6.6.1 Create Activation Keys

COMMIT EOF #tie down nfs ports cat <<EOF>>/etc/sysconfig/nfs RQUOTAD_PORT=875 LOCKD_TCPPORT=32803 LOCKD_UDPPORT=32769 MOUNTD_PORT=892 STAT

Seite 40

# Fields in comments reflect the default values [common] # database: dbname=cumin user=cumin host=localhost # brokers: localhost:5672 log-level: debug

Seite 41

IN_LOWPORT = 9600 # Plugin configuration MASTER.PLUGINS = $(LIB)/plugins/MgmtMasterPlugin-plugin.so QMF_BROKER_HOST = mrgmgr.rhcf.labMRG Manager Conf

Seite 42

# Give access to relayed communication # ALLOW_WRITE = $(ALLOW_WRITE), $(PRIVATE_HOST) CONDOR_HOST = $(FULL_HOSTNAME) COLLECTOR_NAME = RHCF Grid # COL

Seite 43 - 6.7.1 Configure DHCP

i http://csrc.nist.gov/groups/SNS/cloud-computing/ii http://csrc.nist.gov/groups/SNS/cloud-computing/cloud-def-v15.dociii http://www.redhat.com/rhel/s

Seite 44 - 6.7.2 Configure DNS

and cost-effective cloud computing. Red Hat's cloud vision is unlike that of any other ITvendor. Red Hat recognizes that IT infrastructure is com

Seite 45 - # virt-manager

4 Red Hat Cloud Foundations Components 4.1 Red Hat Enterprise Linux 5Red Hat Enterprise Linux is the world's leading open source application pla

Seite 46

ease of use• Unified logging and debugging simplifies administrative work • Virtualized KVM guests can be run as managed services, which enables fail-

Seite 47

• Microsoft® Windows® Guests (32-bit & 64-bit): Microsoft Windows 2003 server, Microsoft Windows 2008 server, Microsoft Windows XP, SVVP, and WHQL

Seite 48

and deploy rich web applications, enterprise applications and SOA servicesEnterprise Platforms:• JBoss Enterprise Application Platform: Everything nee

Seite 49 - Figure 6.5: RHEVM-M Volume

integrates JBoss Application Server, with JBoss Hibernate, JBoss Seam, and other leadingopen source Java technologies from JBoss.org into a complete,

Seite 50 - 2. Click “Finish”

1801 Varsity Drive™Raleigh NC 27606-2072 USAPhone: +1 919 754 3700Phone: 888 733 4281Fax: +1 919 754 3701PO Box 13588Research Triangle Park NC 27709 U

Seite 51

4.5.3 Red Hat Enterprise MRG GridMRGvi Grid provides high throughput and high performance computing. Additionally, it enablesenterprises to move to a

Seite 52

5 RHCF Proof of Concept Configuration Customers often have different requirements and standards when it comes to what can be deployed. This proof of

Seite 53

By utilizing industry standard hardware for storage, servers and networking along with open source software that is fully supported and tested for com

Seite 54 - Configuration”

5.1 Operating SystemsThe operating systems that drive the Red Hat Cloud Foundations stack are detailed in Table1: Operating Systems. The software sta

Seite 55 - Hypervisor

5.1.1 Applications and ToolsThe applications and tools that drive the Red Hat Cloud Foundations stack are shown in Table 2: Applications. The host th

Seite 56

5.2 HardwareThis case study used IBM servers and HP Fibre channel attached storage. Please review the following tables for details. 5.2.1 ServersThe

Seite 57

5.2.2 Storage Table 4: Storage Hardware Displays the storage hardware used in this environment. Please refer to the storage vendors documentation f

Seite 58

6 Deploying Red Hat Cloud Foundations – Infrastructure Services 6.1 OverviewFigure 6.1: Overview shows the steps required to deploy the Red Hat Cloud

Seite 59

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 accomplish

Seite 60

6.3 Download SoftwareStart by downloading the appropriate software from http://rhn.redhat.com to prepare the environment for a Red Hat Cloud Foundati

Seite 61 - 6.13 Configure ISO Domain

Table of Contents 1 Executive Summary ...

Seite 62 - # chown 36:36 /mnt/nfs

f) On the “Software Downloads” screen, select “JBoss ON for SOA-P”• Download the “SOA Plugin Pack for JBoss ON 2.4.1” 6.3.1 Download ScriptsFind a te

Seite 63

Once the environment is set up, proceed with the deployment. 6.4 Deploy mgmt1 and ConfigureThe mgmt1 server is the catalyst for the rest of the enviro

Seite 64

NETMASK=255.255.248.0 TYPE=Bridge 8. Disable netfilter on bridges by adding the following to /etc/sysctl.conf# Disable netfilter on bridges. net.bridg

Seite 65

| |- 2:0:2:3 sdh 8:112 active ready running | |- 1:0:3:3 sdi 8:128 active ready running | `- 2:0:3:3 sdj 8:144 active ready running `-+- policy='

Seite 66 - • RHEL 5.6

IP Port Number Protocol Component 5404, 5405 UDP corosync / cman (Cluster Manager)11111 TCP ricci (part of Conga remote agent)21064 TCP dlm (distribut

Seite 67 - 5. Close the ISO Uploader

6.4.1 Set up the Logical Volumes for the Virtual MachinesFor this section, a SAN LUN with at least 500GB of free space will need to be presented to m

Seite 68 - 7.1 Overview

1. Change “Memory (RAM)” to “8192” MB2. Change “CPUs” to “8”3. Click “Forward”4. On “Step 4 of 5”1. Select “Select managed or other existing storage”

Seite 69

Channel Name Purposerhel-x86_64-server-6Red Hat Enterprise Linux (v. 6 for 64-bit AMD64 / Intel64 Server)Operating Systemrhn-tools-rhel-x86_64-server-

Seite 70 - Template

and place all custom rules in this chain. Please refer to the Red Hat Security Guide1 for more information on using iptables IP Port Number Protocol C

Seite 71

6.6 Create Kickstart Profiles and Activation Keys 6.6.1 Create Activation KeysTarget System: Browser with access to sat-vmCreate a Red Hat Enterprise

Seite 72

6.5.1 Deploy the Satellite Virtual Machine ...

Seite 73

• “RHN Tools for RHEL (v. 6 for 64-bit x86_64”• “RHEL Server Resilient Storage (v. 6 for 64-bit x86_64)”2. Click “Update Key” 6.6.2 Create Kickstart P

Seite 74 - # chkconfig luci on

7. Click “Finish”Create a Red Hat Enterprise Linux 5 Base Virtual Machine Kickstart Profile1. Click “Systems” in the top navigation pane2. On the left

Seite 75 - 8.2 Install Cluster nodes

Create a Red Hat Enterprise Linux 6 Clustering Kickstart Profile and Associate Activation Key1. Click “Systems” in the top navigation pane2. On the le

Seite 76

8. Click “Activation Keys” in the upper navigation menu1. In the “Kickstart Details” screen, select the “RHEVKVMHYPER” key2. Click “Update Activation

Seite 77 - 8.2.2 Set up the Cluster

1. Use the example dhcp.conf file to get started with a template.# cat /usr/share/doc/dhcp-4.1.1/dhcpd.conf.sample > /etc/dhcp/dhcpd.confSee Append

Seite 78

# yum install virtio-win# virt-manager3. Click the “New” button on the top navigation pane.1. On “Step 1”1. Provide a virtual machine name2. Choose “L

Seite 79

www.redhat.com 46

Seite 80 - Figure 8.2: Luci Login

3. On “Step 3”1. Change “Memory (RAM)” to “8092” MB2. Change “CPUs” to “2”3. Click “Forward” as shown in Figure 6.4: virt-manager Memory for RHEVM

Seite 81

4. On “Step 4”1. Select “Select managed or other existing storage” and browse out to the logical volume that was created earlier: lv_rhevm2. Click “Fo

Seite 82

5. On “Step 5”1. Check the “Customize Configuration before install” check-box as shown in Figure 6.6: RHEVM-M Customize

Seite 83 - 8.3 Cluster Virtual Machines

9 Deploy and Scale Applications ...

Seite 84

2. Click “Finish”1. On the “Basic Details” screen, click “Add Hardware” on the left navigation panel www.redhat.com 50Figure 6.6: RHEVM-M Customize

Seite 85 - 9.1 Deploy Java Application

2. Click “Forward” on Adding Virtual Hardware screen as shown in Figure6.7: RHEVM Add Hardware 1. Browse to the virtio-win.vfd drivers1. Click “Forwar

Seite 86

3. Close the “Add Hardware” window 6. Click the “Open” button on the top navigation pane to open a console to the virtual machine and perform the inst

Seite 87 - 9.1.3 Upload Application

7. On the “Where do you want to install Windows” screen1. Click “Load Driver”8. On the “Load Driver” screen1. Click “Browse”9. On the “Browse for Fold

Seite 88

7. Enable Remote Desktop on the Microsoft Windows virtual machine8. Enable the appropriate ports via the Microsoft Windows Firewall configuration util

Seite 89 - RPM-GPG-KEY

6.8.2.3 Install Red Hat Enterprise Virtualization ManagerTarget System: rhevm-vm1. Copy the RHEV Manager software to the rhevm-vm server 1. winscpxi

Seite 90 - # pgrep javaApp

--distro="rhevh" \--kopts="storage_init=/dev/sda storage_vol=::::: management_server=rhcf-rhevm-vm.cloud.lab.eng.bos.redhat.com netcons

Seite 91 - • java-1.6.0-openjdk.x86_64

1. PXE boot the RHEV-H server and install.2. Add to DNS / DHCP 6.9.3 Approve RHEV HypervisorTarget System: RHEV-M Virtual Machine1. On the “Hosts” tab

Seite 92 - ./rhq-install.sh

5. Enable Power Management and provide appropriate entries• Power management tests will only work when there are at least two nodes in the cluster. Th

Seite 93

2. Click on the “New” button on the upper navigation menu1. Provide a “Name”2. Provide a “Description”3. Change the type to “FCP”4. Click “OK”3. On th

Seite 94

1 Executive SummaryCloud computing is quickly becoming the platform of choice for users and businesses that want to reduce operating expenses and be

Seite 95

4. On the “New Data Center – Guide Me” Screen1. Click “Configure Storage”2. Provide “Name”3. Select the “Storage Type” of “FCP” 4. In the “Discovered

Seite 96

5. On the “New Data Center – Guide Me” Screen1. Click “Attach Storage”2. Select the “Storage Domain That Was Just Created”3. Click “OK”At this point,

Seite 97 - 9.3.1 Scale JBoss Deployment

virtual machine. Use virt-manager to deploy Red Hat Enterprise Linux 6 NFS virtual machine via PXE using the rhel6_base_virtual_machine kickstart prof

Seite 99

www.redhat.com 64

Seite 100 - /tmp/mrg-install.sh

4. Attach the ISO domain to the data center1. Click on the “Data Centers” tab in the upper navigation menu1. Select the data center2. Click the “Stora

Seite 101 - # password admin

5. Click the “Activate” button on the lower navigation menuUpload the RHEV Guest Tools ISO 1. Click on “Start” | “All Programs” | “Red Hat” | “RHEV Ma

Seite 102 - $ condor_status -any

5. Close the ISO Uploader 67 www.red

Seite 103 - /tmp/mrg-exec-node-config.sh

7 Deploy Tenant Virtual Machines 7.1 OverviewThis section provides the details on how to deploy Red Hat Enterprise Linux virtual machines via PXE, IS

Seite 104

menu1. Provide a “Name”2. Provide a “Description”3. Change “Memory Size” to “1024 MB”4. Change the “Operating System” to “Red Hat Enterprise Linux 5.x

Seite 105

2 Cloud Computing StandardsCloud computing is a model for enabling convenient, on-demand network access to a sharedpool of configurable computing res

Seite 106

1. Take the defaults and click “OK”6. Click “Configure Virtual Disks”1. Provide “Size”2. Check “Wipe after delete”3. Click “OK”4. Click “Configure Lat

Seite 107 - Executing

1. Click on the “Virtual Machines” tab on upper navigation menu2. Click on the “New Server” button on upper navigation menu3. On the “New Server Virtu

Seite 108

2. Open the console to the Microsoft Windows virtual machine3. Browse to the CD-ROM using Microsoft Windows Explorer and launch the RHEV-ToolsSetup ex

Seite 109 - 10 Summary

2. Right click on the VM and choose “Console” 8 Configure High Availability EnvironmentThis section covers setting up the Red Hat Enterprise Linux Hig

Seite 110 - 11 Appendix A

access to the fence devices. Please refer to the installation guidexiii for more information.Target System: rhevm-vm1. Click on the “Virtual Machines”

Seite 111

3. Configure iptables with the ports shown in Table 10: Luci FirewallIP Port Number Protocol Component 8084 TCP / UDP Luci11111 TCP / UDP ricciTable

Seite 112

Install second bare metal serverThe second bare metal server will serve as the second cluster node. This node provides a second host for the virtual

Seite 113

# rhn-bootstrap --activation-keys 1-cluster --allow-config-actions --allow-remote-commands --script bootstrap_cluster_node.sh1. This will produce some

Seite 114

www.redhat.com 78

Seite 115

79 www.redhat.com

Seite 116 - 12 Appendix B Scripts

maintains and supports the software, the cloud consumer just uses it. 2.1 Cloud Provider – Service ModelsA public cloud provides infrastructure that i

Seite 117

4. Click on “Manage Clusters” and click “Create” and add the nodes and click “Create Cluster” as shown in Figure 8.3: Luci Create Clusterwww.redhat.co

Seite 118

4. Once the cluster is added, click on the cluster name the nodes will be listed as shown in Figure 8.6: Luci Failover Domain

Seite 119

5. Configure fencing for the cluster1. Click on “Fence Devices” on the upper navigation menu, click “Add” as shown in Figure 8.5: Luci Fence Device6.

Seite 120

7. Share SSH keys between the two hosts (perform this on both nodes)1. Target System: mgmt1# ssh-keygen -t rsa# ssh-copy-id -i .ssh/id_rsa.pub mgmt22

Seite 121

5. Provide “Service Name”6. Check the box “Automatically Start this Service”7. Select the “Failover Domain”8. Click “Add a Resource”1. Select “Virtual

Seite 122

9 Deploy and Scale ApplicationsThis section discusses deploying and scaling three types of applications. The first application is a generic Java base

Seite 123

9.1.1 Configure GPG and Sign the javaApp packageTarget System: sat-vm1. Create GPG key for RPM# gpg –gen-key1. Take the defaults2. DSA3. 2048 Bits4.

Seite 124

# gpg --export --armor C15579CF > APP-RPM-GPG-KEY7. Import the key# rpm --import APP-RPM-GPG-KEY8. Check the signature on the rpm again# rpm --chec

Seite 125

--verbose javaApp-2-0.noarch.rpm 9.1.4 Create RHN Activation Key for Custom ChannelOn the RHN Satellite Server Target System: RHN web UI1. On the uppe

Seite 126

12. Click “Update Activation Keys” button13. Click “Scripts” in the upper navigation menu1. Click “Add New Kickstart Script” on the upper navigation m

Seite 127

premise or off-premises. By utilizing a private cloud service model an organization is able to take advantage of the elasticity and cost effectiveness

Seite 128

10.After the virtual machine is installed, log in and verify javaApp is running# pgrep javaApp 9.1.7 Create a Template from the javaApp Virtual Machin

Seite 129

2. Click “Activation Keys” on left navigation menu3. Click “Create New Key” on upper navigation menu4. Provide the following information1. Description

Seite 130

10. Click “Activation Keys” in the upper navigation menu1. Select “jon-server”2. Click “Update Activation Keys”11.Add a new Post script 1. Click “Scri

Seite 131

5. On the “New Virtual Machine – Guide Me” screen, click “Configure Later”6. Boot the “jon-server” virtual ma chine7. On the top navigation bar, click

Seite 132

ACCEPT iptables --append RHCF --protocol udp --destination-port 5432 --jump ACCEPT Remember to "service iptables save" Verify JBoss ON Serve

Seite 133

3. On “Kickstartable Tree” select “ks-rhel-x86_64-server-5-u6”4. On “Virtualization Type” select “KVM Virtualized Guest”5. Click “Next”5. On “Step 2”

Seite 134

8. Click the “Run” button in the top navigation menu and perform the install9. Click the “Console” button in the top navigation menu and monitor the P

Seite 135

Deploy JBoss Server Application AutomaticallyTarget System: rhevm-vm1. Click on the “Virtual Machines” tab on upper navigation menu2. Click on the “Ne

Seite 136

Target System: Browser with access to RHN 1. Click “System” on the upper navigation menu2. Select “Kickstart” on the left navigation menu3. Select the

Seite 137

9.4 Deploy and Scale Applications – MRG ManagerThe goal of this section is to install and configure MRG Grid and successfully run jobs on multiple no

Kommentare zu diesen Handbüchern

Keine Kommentare