没有合适的资源?快使用搜索试试~ 我知道了~
Apache_CloudStack-4.0.1-Installation_Guide
需积分: 10 14 下载量 93 浏览量
2013-05-10
16:12:13
上传
评论
收藏 2.15MB PDF 举报
温馨提示
试读
148页
cloudstack的安装说明文档。主要包括:cloudstack介绍、cloudstack架构、编译、安装、部署等。
资源推荐
资源详情
资源评论
Apache CloudStack
4.0.1-incubating
CloudStack
Installation Guide
open source cloud computing
Apache CloudStack
CloudStack Installation Guide
Apache CloudStack 4.0.1-incubating CloudStack Installation
Guide
Author Apache CloudStack
Licensed to the Apache Software Foundation (ASF) under one or more contributor license
agreements. See the NOTICE file distributed with this work for additional information regarding
copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance with the License. You may obtain a copy of
the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is
distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
express or implied. See the License for the specific language governing permissions and limitations
under the License.
Apache CloudStack is an effort undergoing incubation at The Apache Software Foundation (ASF).
Incubation is required of all newly accepted projects until a further review indicates that the
infrastructure, communications, and decision making process have stabilized in a manner consistent
with other successful ASF projects. While incubation status is not necessarily a reflection of the
completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by
the ASF.
Installation Guide for CloudStack.
iii
1. Concepts 1
1.1. What Is CloudStack? .................................................................................................... 1
1.2. What Can CloudStack Do? ........................................................................................... 1
1.3. Deployment Architecture Overview ................................................................................ 2
1.3.1. Management Server Overview ........................................................................... 3
1.3.2. Cloud Infrastructure Overview ............................................................................ 3
1.3.3. Networking Overview ......................................................................................... 4
2. Cloud Infrastructure Concepts 5
2.1. About Zones ................................................................................................................ 5
2.2. About Pods .................................................................................................................. 6
2.3. About Clusters ............................................................................................................. 7
2.4. About Hosts ................................................................................................................. 7
2.5. About Primary Storage ................................................................................................. 8
2.6. About Secondary Storage ............................................................................................. 8
2.7. About Physical Networks .............................................................................................. 9
2.7.1. Configurable Characteristics of Physical Networks ............................................... 9
2.7.2. Basic Zone Network Traffic Types ...................................................................... 9
2.7.3. Basic Zone Guest IP Addresses ....................................................................... 10
2.7.4. Advanced Zone Network Traffic Types .............................................................. 10
2.7.5. Advanced Zone Guest IP Addresses ................................................................ 11
2.7.6. Advanced Zone Public IP Addresses ................................................................ 11
2.7.7. System Reserved IP Addresses ....................................................................... 11
3. Building from Source 13
3.1. Getting the release ..................................................................................................... 13
3.2. Verifying the downloaded release ................................................................................ 13
3.2.1. Getting the KEYS ............................................................................................ 13
3.2.2. GPG ............................................................................................................... 13
3.2.3. MD5 ................................................................................................................ 14
3.2.4. SHA512 .......................................................................................................... 14
3.3. Prerequisites for building Apache CloudStack .............................................................. 14
3.4. Extracting source ........................................................................................................ 15
3.5. Building DEB packages .............................................................................................. 15
3.5.1. Setting up an APT repo ................................................................................... 16
3.5.2. Configuring your machines to use the APT repository ........................................ 16
3.6. Building RPMs ........................................................................................................... 16
3.6.1. Creating a yum repo ........................................................................................ 17
3.6.2. Configuring your systems to use your new yum repository .................................. 18
4. Installation 19
4.1. Who Should Read This .............................................................................................. 19
4.2. Overview of Installation Steps ..................................................................................... 19
4.3. Minimum System Requirements .................................................................................. 20
4.3.1. Management Server, Database, and Storage System Requirements ................... 20
4.3.2. Host/Hypervisor System Requirements ............................................................. 20
4.4. Configure package repository ...................................................................................... 21
4.4.1. DEB package repository .................................................................................. 21
4.4.2. RPM package repository .................................................................................. 22
4.5. Management Server Installation .................................................................................. 22
4.5.1. Management Server Installation Overview ......................................................... 22
4.5.2. Prepare the Operating System ......................................................................... 23
4.5.3. Install the Management Server on the First Host ................................................ 24
4.5.4. Install the database server ............................................................................... 24
4.5.5. Prepare NFS Shares ....................................................................................... 28
CloudStack Installation Guide
iv
4.5.6. Prepare and Start Additional Management Servers ............................................ 32
4.5.7. Prepare the System VM Template .................................................................... 33
4.5.8. Installation Complete! Next Steps ..................................................................... 34
5. User Interface 35
5.1. Log In to the UI ......................................................................................................... 35
5.1.1. End User's UI Overview ................................................................................... 35
5.1.2. Root Administrator's UI Overview ..................................................................... 35
5.1.3. Logging In as the Root Administrator ................................................................ 36
5.1.4. Changing the Root Password ........................................................................... 36
5.2. Using SSH Keys for Authentication ............................................................................. 37
5.2.1. Creating an Instance Template that Supports SSH Keys .................................... 37
5.2.2. Creating the SSH Keypair ................................................................................ 38
5.2.3. Creating an Instance ........................................................................................ 39
5.2.4. Logging In Using the SSH Keypair ................................................................... 39
6. Steps to Provisioning Your Cloud Infrastructure 41
6.1. Overview of Provisioning Steps ................................................................................... 41
6.2. Adding a Zone ........................................................................................................... 42
6.2.1. Basic Zone Configuration ................................................................................. 43
6.2.2. Advanced Zone Configuration .......................................................................... 46
6.3. Adding a Pod ............................................................................................................. 51
6.4. Adding a Cluster ........................................................................................................ 51
6.4.1. Add Cluster: KVM or XenServer ....................................................................... 51
6.4.2. Add Cluster: vSphere ....................................................................................... 52
6.5. Adding a Host ............................................................................................................ 54
6.5.1. Adding a Host (XenServer or KVM) .................................................................. 55
6.5.2. Adding a Host (vSphere) .................................................................................. 56
6.6. Add Primary Storage .................................................................................................. 56
6.6.1. System Requirements for Primary Storage ........................................................ 56
6.6.2. Adding Primary Stroage ................................................................................... 57
6.7. Add Secondary Storage .............................................................................................. 58
6.7.1. System Requirements for Secondary Storage .................................................... 58
6.7.2. Adding Secondary Storage ............................................................................... 58
6.8. Initialize and Test ....................................................................................................... 59
7. Setting Global Configuration Parameters 61
8. Hypervisor Installation 63
8.1. KVM Hypervisor Host Installation ................................................................................ 63
8.1.1. System Requirements for KVM Hypervisor Hosts ............................................... 63
8.1.2. KVM Installation Overview ................................................................................ 63
8.1.3. Prepare the Operating System ......................................................................... 64
8.1.4. Install and configure the Agent ......................................................................... 65
8.1.5. Install and Configure libvirt ............................................................................... 65
8.1.6. Configure the Security Policies ......................................................................... 66
8.1.7. Configure the network bridges .......................................................................... 67
8.1.8. Configuring the firewall .................................................................................... 70
8.1.9. Add the host to CloudStack .............................................................................. 71
8.2. Citrix XenServer Installation for CloudStack ................................................................. 72
8.2.1. System Requirements for XenServer Hosts ....................................................... 72
8.2.2. XenServer Installation Steps ............................................................................ 73
8.2.3. Configure XenServer dom0 Memory ................................................................. 73
8.2.4. Username and Password ................................................................................. 73
8.2.5. Time Synchronization ....................................................................................... 73
8.2.6. Licensing ......................................................................................................... 74
v
8.2.7. Install CloudStack XenServer Support Package (CSP) ....................................... 74
8.2.8. Primary Storage Setup for XenServer ............................................................... 75
8.2.9. iSCSI Multipath Setup for XenServer (Optional) ................................................. 76
8.2.10. Physical Networking Setup for XenServer ........................................................ 76
8.2.11. Upgrading XenServer Versions ....................................................................... 80
8.3. VMware vSphere Installation and Configuration ............................................................ 83
8.3.1. System Requirements for vSphere Hosts .......................................................... 83
8.3.2. Preparation Checklist for VMware ..................................................................... 84
8.3.3. vSphere Installation Steps ................................................................................ 85
8.3.4. ESXi Host setup .............................................................................................. 86
8.3.5. Physical Host Networking ................................................................................. 86
8.3.6. Storage Preparation for vSphere (iSCSI only) .................................................... 90
8.3.7. Add Hosts or Configure Clusters (vSphere) ....................................................... 93
9. Choosing a Deployment Architecture 95
9.1. Small-Scale Deployment ............................................................................................. 95
9.2. Large-Scale Redundant Setup .................................................................................... 96
9.3. Separate Storage Network .......................................................................................... 97
9.4. Multi-Node Management Server .................................................................................. 97
9.5. Multi-Site Deployment ................................................................................................. 97
10. Amazon Web Service Interface Compatibility 101
10.1. Amazon Web Services EC2 Compatible Interface ..................................................... 101
10.2. System Requirements ............................................................................................. 101
10.3. Enabling the AWS API Compatible Interface ............................................................ 101
10.4. AWS API User Setup Steps .................................................................................... 102
10.4.1. AWS API User Registration .......................................................................... 102
10.4.2. AWS API Command-Line Tools Setup .......................................................... 103
10.5. Using Timeouts to Ensure AWS API Command Completion ....................................... 103
10.6. Supported AWS API Calls ....................................................................................... 104
11. Managing Networks and Traffic 107
11.1. Guest Traffic .......................................................................................................... 107
11.2. Networking in a Pod ............................................................................................... 107
11.3. Networking in a Zone .............................................................................................. 109
11.4. Basic Zone Physical Network Configuration .............................................................. 109
11.5. Advanced Zone Physical Network Configuration ....................................................... 110
11.5.1. Configure Guest Traffic in an Advanced Zone ................................................ 110
11.5.2. Configure Public Traffic in an Advanced Zone ................................................ 111
11.6. Using Multiple Guest Networks ................................................................................ 111
11.6.1. Adding an Additional Guest Network ............................................................. 111
11.6.2. Changing the Network Offering on a Guest Network ....................................... 111
11.7. Security Groups ...................................................................................................... 112
11.7.1. About Security Groups ................................................................................. 112
11.7.2. Adding a Security Group .............................................................................. 113
11.7.3. Enabling Security Groups ............................................................................. 113
11.7.4. Adding Ingress and Egress Rules to a Security Group .................................... 113
11.8. External Firewalls and Load Balancers .................................................................... 114
11.9. Load Balancer Rules .............................................................................................. 115
11.10. Guest IP Ranges .................................................................................................. 115
11.11. Acquiring a New IP Address .................................................................................. 115
11.12. Releasing an IP Address ....................................................................................... 115
11.13. Static NAT ............................................................................................................ 116
11.14. IP Forwarding and Firewalling ............................................................................... 116
11.15. IP Load Balancing ................................................................................................ 116
剩余147页未读,继续阅读
资源评论
evaevaeva1
- 粉丝: 6
- 资源: 1
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功