Difference between revisions of "CentOS 7.x Cloudstack 4.11 Initial advance zone setup with VLANs"

From Notes_Wiki
(Created page with "=CentOS 7.x Cloudstack 4.11 Initial advance zone setup with VLANs= ==Initial advanced zone setup== # Login into setup wizard. Default username:password are admin:password....")
 
m
Line 1: Line 1:
<yambe:breadcrumb self="CentOS 7.x Cloudstack 4.11 Initial advance zone setup with VLANs">CentOS 7.x Cloudstack 4.11|CentOS 7.x Cloudstack 4.11</yambe:breadcrumb>
=CentOS 7.x Cloudstack 4.11 Initial advance zone setup with VLANs=
=CentOS 7.x Cloudstack 4.11 Initial advance zone setup with VLANs=


Line 47: Line 48:




 
<yambe:breadcrumb self="CentOS 7.x Cloudstack 4.11 Initial advance zone setup with VLANs">CentOS 7.x Cloudstack 4.11|CentOS 7.x Cloudstack 4.11</yambe:breadcrumb>
<yambe:breadcrumb>CentOS_7.x_Cloudstack_4.11|CentOS 7.x Cloudstack 4.11</yambe:breadcrumb>

Revision as of 04:57, 18 September 2018

<yambe:breadcrumb self="CentOS 7.x Cloudstack 4.11 Initial advance zone setup with VLANs">CentOS 7.x Cloudstack 4.11|CentOS 7.x Cloudstack 4.11</yambe:breadcrumb>

CentOS 7.x Cloudstack 4.11 Initial advance zone setup with VLANs

Initial advanced zone setup

  1. Login into setup wizard. Default username:password are admin:password. The interface is available on http:// port 8080 with URL /client.
  2. Click 'I have used cloudstack before, skip this guide' option for advanced configuration.
  3. This will cause cloudstack admin interface to load immediately.
  4. Go to Infrastructure -> Zones. Add zone as follows:
    1. Choose Advanced
    2. Give appropriate zone name, public IPv4 DNS, internal IPv4 DNS, Hypervisor type:KVM, Type desired guest CIDR: eg 10.1.1.0/24
  5. Leave "Physical network 1" and Isolation "VLAN" as it is. Click Edit below 'Management','Public','Guest' and type cloudbr0 in all three places. If you are using additional NICs and bridges for guest network then drag guest to second interface and type 'cloudbr1' there appropriately.
  6. Add public IP range eg 172.21.1.1/24, Choose public IP VLAN (eg 50) and choose appropriate start and end IPs. At least 15 IPs should be there in test environment. Remember to click 'Add' to add values before clicking next.
  7. Pod name (eg pod1), Reserved system gateway (Management gateway), start IP and end IP (management IP range), etc. click next.
  8. Create bunch of L2 VLANs for cloud and give range. eg 61-70
  9. Cluster name (eg cluster1)
  10. Add at least one kvm host using hostname (IP), root, <root-password>, etc. details
  11. Add primary storage such as nfs by giving NFS server IP, mount point path, etc.
  12. Add secondary storage via nfs. Give NFS server IP, mount point path, etc.
  13. Click "Launch Zone" to launch zone
  14. On "Would you like to enable this zone", select "Yes"
  15. Go to Infrastructure -> System VMs and wait for Agent Status to be up for both system VMs.



Create required network offerings

Create shared network offering

Create shared network offering for network which have VLANs in physical network and some machines outside cloudstack in the given VLANs.

  1. Go to Service Offerings
  2. Select Network Offering type from drop-down
  3. Click "Add Network Offering"
  4. Enter name (eg network-offering-for-shared), description, guest type (eg shared), Supported services (eg dhcp, dns, firewall, static nat, etc.), system offering for router (none), supported source NAT type (per account), etc. Leave most other things to default. Click ok.
    In case of static nat router will take one ip from the IP pool eg 172.18.1.151. In case of source nat router will take gateway IP eg 172.18.1.1. Please choose appropriately based on whether L3 routing is being done by external switch or cloudstack virtual router.
  5. Enable the newly created network offering



Create required networks

Create shared networks

We can create multiple shared networks with the same offering. To create a shared network use:

  1. Go to networks
  2. Click "Add Guest networks"
  3. Enter name (eg intranet1), description, zone, VLAN ID, Scope (eg Domain), Select desired domain, select network offering, gateway, netmask, start and end IPs, etc. Most things can be left blank. Click ok to create shared network


<yambe:breadcrumb self="CentOS 7.x Cloudstack 4.11 Initial advance zone setup with VLANs">CentOS 7.x Cloudstack 4.11|CentOS 7.x Cloudstack 4.11</yambe:breadcrumb>