If you attempted to create Advanced Networking - but for some reason it did not work and you would like to start over
The example environment in this tutorial consists of:
Physical gear and OS:
Hypervisor Network Layout - same on all 3 hosts:
--------------------------------------------------------------
SSH to your CS4 environment
Mount the secondary NFS storage to /mnt/secondary on CS4
Run
/usr/lib64/cloud/common/scripts/storage/secondary/cloud-install-sys-tmplt -m /mnt/secondary/ -u http://download.cloud.com/templates/burbank/burbank-systemvm-08012012.ova -h vmware
It is recommended to create layout of how you believe CloudStack IP allocation will take place, hence a quick write up of what networks get what assignments is very helpful. In my case, i wanted to be able to deploy DEV and MGMT VMs on vSwitch2 that uses VLAN tagging, while CS Managment/Storage VMs would reside on vSwitch0 (w/o VLAN tag). If you would like to move your CS Management VMs to VLAN tag'ed network - you will need to confirm that you meet minimum requirements for CS described in Setup Guide and alter the CS Global Settings to change the default portgroup name "Management Network" for vmware - if its different.
Network we need to define before we begin:
Below is the sample table created for easy of IP space accounting
Virtual Switch |
PortGroup Name |
Network |
Subnet |
Gateway |
VLAN TAG |
Network Name 1 |
Network IP Range 1 |
Network Name 2 |
Network IP Range 2 |
---|---|---|---|---|---|---|---|---|---|
vSwitch0 |
Management Network |
10.25.243.0 |
255.255.255.0 |
10.25.243.1 |
N/A |
CS Management |
10.25.243.140 - 10.25.243.146 |
CS Storage |
10.25.243.147 - 10.25.243.149 |
vSwitch2 |
MGMT |
10.25.243.0 |
255.255.255.0 |
10.25.243.1 |
1045 |
Guest |
10.25.243.150 - 10.25.243.174 |
Public |
10.25.243.175 - 10.25.243.199 |
vSwitch2 |
DEV |
10.28.18.0 |
255.255.254.0 |
10.28.18.1 |
1075 |
Guest |
10.28.19.150 - 10.28.19.174 |
Public |
10.28.19.175 - 10.28.19.199 |
You will need administrative VC user and password when configuring vSphere Cluster with CS.
Navigate to Infrastructure > Zones, click add a zone
.
.
When you get to Setup Network, define your Physical Network Names, in my case I created 3 Physical Networks - as defined in Network Map above.
.
.
Illustration above has 3 Physical Networks - as defined in Network Topology Map.
vSwitch-0-CS-Management contains 2 CS Networks, Management and Storage. Edit both of these network by pressing Edit button and define your desired vSwitch. In my case, i pointed both to vSwitch0.
This will tell CS what vSwitch to use when these networks are created during deployment zone process.
vSwitch2-MGMT Contain 2 VM Networks, Public and Guest. By definition you can only have 1 Public network and multiple Guest networks. Edit both networks and define your vSwitch. In my case, i have vSwitch2 defined for both.
vSwitch2-DEV Contain 1 VM Network - Guest. Edit the network and define your vSwitch. In my case, i've used vSwitch2 .
Note: I took a shortcut in this demo, more appropriate way would have been to split vSwitch2-MGMTinto vSwitch2-Public and vSwitch2-MGMT and define 1 network for each respectively.