3rd File To Students Apache Cloudstack (1) On Host
3rd File To Students Apache Cloudstack (1) On Host
1.To get access to CloudStack’s web interface, point your browser to the IP address of your machine e.g.
http://192.168.1.2:8080/client
2.The default username is ‘admin’, and the default password is ‘password’. ——->>> Login
Setting up a Zone:
1.Go to Infrastructure ® Zone and click on “add
zone” button.
2.Select “Core”, click on ‘Next’
3.Select “Advanced zone” and provide the following
configuration (leaving all other defaults):
Name : Zone1
IPV4 : 8.8.8.8
Hypervisor : KVM
Setting up a Network:
1.On the next screen (Physical
network details), use the
defaults – we will use the
VLAN isolation method on a
single physical NIC (on the
host) that will carry all traffic
types (management, public,
guest) and
2.click “Next”.
Public traffic configuration:
Gateway - 192.168.139.2
(your VM gateway)
Netmask - 255.255.255.0
VLAN/VNI - leave blank
Start IP - 192.168.139.134
End IP - 192.168.139.164
Click on the “Add” button,
click on “Next”
Pod Configuration:
Click on “Next”
Guest traffic:
VLAN/VNI range:
700-900
Click on “Next”
Create a cluster with the following:
Name – e.g. Cluster1
Click on “Next”
host:
Hostname - 192.168.139.133
Username - root
Password: 123 (that you want to
Click on “Next”
Add primary
storage:
/export/primary
Click on “Next”
storage:
Provider - NFS
Path -
/export/secondar
y
Click on “Next”
Apache
cloudstack
STORAGE
AND
NETWORKIN
G
TABLE OF CONTENTS
• Storage
• Templates
• Networking
Add primary
storage:
/export/primary
Click on “Next”
storage:
Provider - NFS
Path -
/export/secondar
y
Click on “Next”
ADD PRIMARY
STORAGE- use NFS
or DFS
• CloudStack defines two types of storage: primary and
secondary.
• Primary storage can be accessed by either iSCSI or
NFS. Additionally, direct attached storage (DAS) may
be used for primary storage.
• Secondary storage is always accessed using NFS.
• Give name of the zone pod and cluster accordingly
• Protocol is NFS as you have created disk in linux with
that protocol
• Server will be your management server’s ip as your
storage is also on same area.
• Give path of the storage partition created earlier while
installing 45 steps.
ADD SECONDARY
STORAGE- use NFS only
TEMPLATES
AND
ISO
BRAND GUIDELINES
2025
01
How to add a
template-
1stly download
template
BRAND GUIDELINES
2025
/usr/share/cloudstack-common/scripts/storage/secondary/cloud-
install-sys-tmplt -m /mnt/secondary -u
http://cloudstack.apt-get.eu/systemvm/4.11/systemvmtemplate-
4.11.1-kvm.qcow2.bz2 -h kvm -F
For template download- run above command as root user (sudo su)
It is of 300MB, will take some time to download.
It is of 17MB file
ADD ISO
• ISO can be added from previous slide’s link
• URL needs to be of the iso to download
• Name, description of your choice
• Zone- all zones because anyone can access this
• OS type will be according to the iso
downloaded
• Rest details can be the default
• MAC Address Changes. Applicable for guest networks on VMware hypervisor only. It
accepts the following values for desired behaviour of the network elements:
• Reject - If the guest OS changes the effective MAC address of the Instance to a value that is
different from the MAC address of the instance network adapter (set in the .vmx
configuration file), the switch drops all inbound frames to the adapter.
CREATE
INSTANCE
• To create an instance
• select your desired zone, pod,
cluster and host.
• Templates or ISO is your choice