在openstack环境中安装rackspace private cloud --1 环境准备

时间:2023-03-08 16:28:53

在一个openstack环境中安装rackspace private cloud,

环境准备:

在good-net网络中创建3个虚拟机vm

Network Detail: good-net

Network Overview

Name

good-net

ID

3192cbec-d7af-4664-9369-8ae29af13781

Project ID

c039feff30a44d4b8965ba9249995dbe

Status

ACTIVE

Admin State

UP

Shared

No

External Network

No

Provider Network

Network Type: gre

Physical Network: -

Segmentation ID: 3


Subnets

Create Subnet  Delete Subnets

Name

Network Address

IP Version

Gateway IP

Actions

good-subnet

192.168.2.0/24

IPv4

192.168.2.1

Edit Subnet

Displaying 1 item

创建3个VM的nova flavor:

Specs

Flavor

m1.large

RAM

8GB

VCPUs

4 VCPU

Disk

80GB

每个vm挂载 50G volume

创建完3个虚拟机rcp-1/2/3:

rpc-1

ID: 9c1d8932-a95a-4b81-bf27-f2200285419c

IP: 192.168.2.21

rpc-2

ID: 92fabd21-3e5f-4cb2-ae7f-61d5bd90feaa

IP: 192.168.2.36

rpc-3 c5b87eff-572a-45fc-8aa0-7734b945749f

IP: 192.168.2.22

给每个vm添加4个vnic:

$ nova interface-attach --net-id 3192cbec-d7af-4664-9369-8ae29af13781 9c1d8932-a95a-4b81-bf27-f2200285419c

这样每个vm有5个虚拟网卡