Red Hat SATELLITE 5.1.0 RELEASE NOTES Dokumentacja

Przeglądaj online lub pobierz Dokumentacja dla Przełączniki KVM Red Hat SATELLITE 5.1.0 RELEASE NOTES. Red Hat SATELLITE 5.1.0 RELEASE NOTES Specifications Instrukcja obsługi

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 137
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów

Podsumowanie treści

Strona 1 - Red Hat Cloud Foundations

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

Strona 2

www.redhat.com 10Figure 2.3: Hybrid Cloud

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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 #

Strona 17

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

Strona 18

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

Strona 19

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

Strona 20

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

Strona 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.

Strona 22

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

Strona 23 - 5.1 Operating Systems

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

Strona 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

Strona 25 - 5.2 Hardware

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

Strona 26 - 5.2.2 Storage

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

Strona 27 - Infrastructure Services

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

Strona 28

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

Strona 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

Strona 30 - 6.3.1 Download Scripts

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

Strona 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

Strona 32

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

Strona 33

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

Strona 34

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

Strona 35

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

Strona 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_

Strona 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

Strona 38

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

Strona 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

Strona 40

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

Strona 41

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

Strona 42

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

Strona 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

Strona 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

Strona 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

Strona 46

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

Strona 47

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

Strona 48

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

Strona 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,

Strona 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

Strona 51

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

Strona 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

Strona 53

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 61 - 6.13 Configure ISO Domain

Table of Contents 1 Executive Summary ...

Strona 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

Strona 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

Strona 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

Strona 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='

Strona 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

Strona 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

Strona 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”

Strona 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-

Strona 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

Strona 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

Strona 72

6.5.1 Deploy the Satellite Virtual Machine ...

Strona 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

Strona 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

Strona 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

Strona 76

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

Strona 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

Strona 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

Strona 79

www.redhat.com 46

Strona 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

Strona 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

Strona 82

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

Strona 83 - 8.3 Cluster Virtual Machines

9 Deploy and Scale Applications ...

Strona 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

Strona 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

Strona 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

Strona 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

Strona 88

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

Strona 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

Strona 90 - # pgrep javaApp

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

Strona 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

Strona 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

Strona 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

Strona 94

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

Strona 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

Strona 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,

Strona 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

Strona 99

www.redhat.com 64

Strona 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

Strona 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

Strona 102 - $ condor_status -any

5. Close the ISO Uploader 67 www.red

Strona 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

Strona 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

Strona 105

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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”

Strona 111

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

Strona 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

Strona 113

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

Strona 114

www.redhat.com 78

Strona 115

79 www.redhat.com

Strona 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

Strona 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

Strona 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

Strona 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.

Strona 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

Strona 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

Strona 122

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

Strona 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.

Strona 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

Strona 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

Strona 126

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

Strona 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

Strona 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

Strona 129

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

Strona 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

Strona 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

Strona 132

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

Strona 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”

Strona 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

Strona 135

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

Strona 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

Strona 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

Komentarze do niniejszej Instrukcji

Brak uwag