CIS LAB Workbook-19CS3037S
CIS LAB Workbook-19CS3037S
CIS LAB Workbook-19CS3037S
Team CIS
K L UNIVERSITY | CLOUD INFRASTRUCTURE AND SERVICES– 19CS3037S
19CS3037SCLOUD INFRASTRUCTURE AND SERVICES -LAB
LAB WORKBOOK
STUDENT NAME
REG. NO
YEAR
SEMESTER
SECTION
FACULTY
1
19CS3037SCLOUD INFRASTRUCTURE AND SERVICES -LAB
2
19CS3037SCLOUD INFRASTRUCTURE AND SERVICES -LAB
In-LAB
Sl. Pre-LAB Post-LAB Viva Voce Total Faculty
Date Experiment Name
No (5M) LOGIC EXECUTION RESULT ANALYSIS (5M) (5M) (50M) Signature
(10M) (10M) (10M) (5M)
3
19CS3037SCLOUD INFRASTRUCTURE AND SERVICES -LAB
4
19CS3037SCLOUD INFRASTRUCTURE AND SERVICES -LAB
5
19CS3037SCLOUD INFRASTRUCTURE AND SERVICES -LAB
WEEK - 1
Introduction to eucalyptus private cloud(components overview)?
Definition: Eucalyptus is a paid and open-source computer software for building Amazon Web
Services-compatible private and hybrid cloud computing environments, originally developed by the
company Eucalyptus Systems. Eucalyptus is an acronym for Elastic Utility Computing Architecture for
Linking Your Programs To Useful Systems.
Eucalyptus Architecture:
-cloud controller
-cluster controller
-node controller
-storage controller
-walrus
Eucalyptus Services :
-network isolation
-elastic IPs
-security groups
-metadata service
-managed mode
-managed(no vlan)
-system mode
-static mode
6
19CS3037SCLOUD INFRASTRUCTURE AND SERVICES -LAB
7
19CS3037SCLOUD INFRASTRUCTURE AND SERVICES -LAB
8
19CS3037SCLOUD INFRASTRUCTURE AND SERVICES -LAB
9
19CS3037SCLOUD INFRASTRUCTURE AND SERVICES -LAB
10
19CS3037SCLOUD INFRASTRUCTURE AND SERVICES -LAB
11
19CS3037SCLOUD INFRASTRUCTURE AND SERVICES -LAB
12
19CS3037SCLOUD INFRASTRUCTURE AND SERVICES -LAB
13
19CS3037SCLOUD INFRASTRUCTURE AND SERVICES -LAB
14
19CS3037SCLOUD INFRASTRUCTURE AND SERVICES -LAB
15
19CS3037SCLOUD INFRASTRUCTURE AND SERVICES -LAB
16
19CS3037SCLOUD INFRASTRUCTURE AND SERVICES -LAB
17
19CS3037SCLOUD INFRASTRUCTURE AND SERVICES -LAB
18
19CS3037SCLOUD INFRASTRUCTURE AND SERVICES -LAB
19
19CS3037SCLOUD INFRASTRUCTURE AND SERVICES -LAB
20
19CS3037SCLOUD INFRASTRUCTURE AND SERVICES -LAB
WEEK-2
https://my.vmware.com/web/vmware/free#desktop_end_user_computing/vmware_pla
yer/5_0
The instructions below assume you are using Windows 7. You can use VMware on
the Mac and other operating systems, but the steps may be somewhat different.
It also contains a machine named "Win XP Target" -- do not use that one.
21
19CS3037SCLOUD INFRASTRUCTURE AND SERVICES -LAB
Right-click the file, and click 7-zip, "Extract Files...". Extract it to the VMs-
S214\YOURNAME folder.
If you don't have 7-zip, you can get it here: http://www.7-zip.org/
https://my.vmware.com/web/vmware/free#desktop_end_user_computing/vmware_player/5_0
Opening your Virtual Machine
In the VMware Player window, click "Open a Virtual Machine".
Browse to the VMs-S214 drive amd open the folder with your name on it.
Open the "WinXPSP3" folder and double-click the "Windows XP Professional.vmx"
file.
In the VMware Player window, click the green "Play virtual machine" button.
VMware Player will pop up several dialog boxes, asking whether this machine was
moved or copied, telling you details about the processor, etc. Just accept the default
choice for all those boxes.
The virtual machine should log in automatically. If it does not, log in as Student with
no password.
22
19CS3037SCLOUD INFRASTRUCTURE AND SERVICES -LAB
23
19CS3037SCLOUD INFRASTRUCTURE AND SERVICES -LAB
WEEK-3
In Bios configuration
Click typical
Ip address: 10.45.11.96
Net mask :255.255.0.0
Default :10.45.10.1
Dns serverlist: 192.168.51.1 source of internet eg: klu portal
asia/kolkata
24
19CS3037SCLOUD INFRASTRUCTURE AND SERVICES -LAB
25
19CS3037SCLOUD INFRASTRUCTURE AND SERVICES -LAB
26
19CS3037SCLOUD INFRASTRUCTURE AND SERVICES -LAB
27
19CS3037SCLOUD INFRASTRUCTURE AND SERVICES -LAB
28
19CS3037SCLOUD INFRASTRUCTURE AND SERVICES -LAB
29
19CS3037SCLOUD INFRASTRUCTURE AND SERVICES -LAB
30
19CS3037SCLOUD INFRASTRUCTURE AND SERVICES -LAB
31
19CS3037SCLOUD INFRASTRUCTURE AND SERVICES -LAB
32
19CS3037SCLOUD INFRASTRUCTURE AND SERVICES -LAB
33
19CS3037SCLOUD INFRASTRUCTURE AND SERVICES -LAB
34
19CS3037SCLOUD INFRASTRUCTURE AND SERVICES -LAB
35
19CS3037SCLOUD INFRASTRUCTURE AND SERVICES -LAB
36
19CS3037SCLOUD INFRASTRUCTURE AND SERVICES -LAB
Root password
123456
123456
37
19CS3037SCLOUD INFRASTRUCTURE AND SERVICES -LAB
38
19CS3037SCLOUD INFRASTRUCTURE AND SERVICES -LAB
39
19CS3037SCLOUD INFRASTRUCTURE AND SERVICES -LAB
40
19CS3037SCLOUD INFRASTRUCTURE AND SERVICES -LAB
41
19CS3037SCLOUD INFRASTRUCTURE AND SERVICES -LAB
42
19CS3037SCLOUD INFRASTRUCTURE AND SERVICES -LAB
43
19CS3037SCLOUD INFRASTRUCTURE AND SERVICES -LAB
http://10.45.11.96:8888/
User credentials:
Account: demo
Username: admin
Password:password
https://10.45.11.96:8443
Admin credentials:
Account: eucalyptus
Username: admin
Password: admin
44
19CS3037SCLOUD INFRASTRUCTURE AND SERVICES -LAB
Password: 123456
45
19CS3037SCLOUD INFRASTRUCTURE AND SERVICES -LAB
Enter
Username: admin
Password: password
46
19CS3037SCLOUD INFRASTRUCTURE AND SERVICES -LAB
Admin console:
Account: eucalyptus
47
19CS3037SCLOUD INFRASTRUCTURE AND SERVICES -LAB
Username: admin
Password: admin
48
19CS3037SCLOUD INFRASTRUCTURE AND SERVICES -LAB
49
19CS3037SCLOUD INFRASTRUCTURE AND SERVICES -LAB
50
19CS3037SCLOUD INFRASTRUCTURE AND SERVICES -LAB
51
19CS3037SCLOUD INFRASTRUCTURE AND SERVICES -LAB
52
19CS3037SCLOUD INFRASTRUCTURE AND SERVICES -LAB
53
19CS3037SCLOUD INFRASTRUCTURE AND SERVICES -LAB
WEEK-4
54
19CS3037SCLOUD INFRASTRUCTURE AND SERVICES -LAB
55
19CS3037SCLOUD INFRASTRUCTURE AND SERVICES -LAB
56
19CS3037SCLOUD INFRASTRUCTURE AND SERVICES -LAB
57
19CS3037SCLOUD INFRASTRUCTURE AND SERVICES -LAB
58
19CS3037SCLOUD INFRASTRUCTURE AND SERVICES -LAB
59
19CS3037SCLOUD INFRASTRUCTURE AND SERVICES -LAB
60
19CS3037SCLOUD INFRASTRUCTURE AND SERVICES -LAB
61
19CS3037SCLOUD INFRASTRUCTURE AND SERVICES -LAB
62
19CS3037SCLOUD INFRASTRUCTURE AND SERVICES -LAB
63
19CS3037SCLOUD INFRASTRUCTURE AND SERVICES -LAB
64
19CS3037SCLOUD INFRASTRUCTURE AND SERVICES -LAB
65
19CS3037SCLOUD INFRASTRUCTURE AND SERVICES -LAB
66
19CS3037SCLOUD INFRASTRUCTURE AND SERVICES -LAB
67
19CS3037SCLOUD INFRASTRUCTURE AND SERVICES -LAB
68
19CS3037SCLOUD INFRASTRUCTURE AND SERVICES -LAB
WEEK-5
Select the
69
19CS3037SCLOUD INFRASTRUCTURE AND SERVICES -LAB
Select Skip
Select next
70
19CS3037SCLOUD INFRASTRUCTURE AND SERVICES -LAB
71
19CS3037SCLOUD INFRASTRUCTURE AND SERVICES -LAB
72
19CS3037SCLOUD INFRASTRUCTURE AND SERVICES -LAB
73
19CS3037SCLOUD INFRASTRUCTURE AND SERVICES -LAB
74
19CS3037SCLOUD INFRASTRUCTURE AND SERVICES -LAB
75
19CS3037SCLOUD INFRASTRUCTURE AND SERVICES -LAB
76
19CS3037SCLOUD INFRASTRUCTURE AND SERVICES -LAB
77
19CS3037SCLOUD INFRASTRUCTURE AND SERVICES -LAB
78
19CS3037SCLOUD INFRASTRUCTURE AND SERVICES -LAB
79
19CS3037SCLOUD INFRASTRUCTURE AND SERVICES -LAB
80
19CS3037SCLOUD INFRASTRUCTURE AND SERVICES -LAB
81
19CS3037SCLOUD INFRASTRUCTURE AND SERVICES -LAB
82
19CS3037SCLOUD INFRASTRUCTURE AND SERVICES -LAB
83
19CS3037SCLOUD INFRASTRUCTURE AND SERVICES -LAB
Add these
84
19CS3037SCLOUD INFRASTRUCTURE AND SERVICES -LAB
85
19CS3037SCLOUD INFRASTRUCTURE AND SERVICES -LAB
86
19CS3037SCLOUD INFRASTRUCTURE AND SERVICES -LAB
87
19CS3037SCLOUD INFRASTRUCTURE AND SERVICES -LAB
WEEK-6
Eucalyptus features :
Compatible with Amazon Web Services (AWS) and Simple Storage Service
(S3).
Can be installed and deployed from source code or DEB and RPM packages.
88
19CS3037SCLOUD INFRASTRUCTURE AND SERVICES -LAB
Eucalyptus Components:
1. Cloud controller (CLC)
2. Warlus
3. Storage controller
4. Cluster controller
5. VMBroker (optional)
6. Node controller
Cloud controller (CLC)
The Cluster Controller (CC) generally executes on a cluster front-¬‐end machine, or
any machine that has network connectivity to both the nodes running NCs and to the
machine running the CLC. CCs gather information about a set of VMs and schedules
VM execution on specific NCs. The CC also manages the virtual instance network
and participates in the enforcement of all nodes served by a single CC must be in
the same broadcast domain (Ethernet).
Functions:
To receive requests from CLC to deploy instances
To decide which NCs to use for deploying the instances on
To control the virtual network available to the instances
To collect information about the NCs registered with it and report it to the CLC
Node controller
The Node Controller (NC) is executed on every node that is designated for
hosting VM instances.NCs control the execution, inspection, and termination
89
19CS3037SCLOUD INFRASTRUCTURE AND SERVICES -LAB
of VM instances on the host where it runs, fetches and cleans up local copies
of instance images (the kernel, the root file system, and the ramdisk image),
and queries and controls the system software on its node (host OS and the
hypervisor) in response to queries and control requests from the cluster
controller. The Node controller is also responsible for the management of the
virtual network endpoint.
Functions:
Collection of data related to the resource availability and utilization
on the node and reporting the data to CC
Instance life cycle management
Storage Controller (SC)
Walrus
VMware Broker
90
19CS3037SCLOUD INFRASTRUCTURE AND SERVICES -LAB
91
19CS3037SCLOUD INFRASTRUCTURE AND SERVICES -LAB
92
19CS3037SCLOUD INFRASTRUCTURE AND SERVICES -LAB
WEEK-7
Lab -7
Pre lab:
93
19CS3037SCLOUD INFRASTRUCTURE AND SERVICES -LAB
94
19CS3037SCLOUD INFRASTRUCTURE AND SERVICES -LAB
In lab:
Prasad wants to install node controller but he don’t know how to install but he want to have 3-high
performance cpu with ram of 8 GB and hardisk split of 2 with IPV-4 configuration setting. And he
need some specific configuration in which the network connection should be the following:
1. IPV-4 address – 192.168.211.11
2. Network mask – 24
3. DNS server address – 8.8.8.8.8.8.4.4
4. The gateway and the ipv4 address should be same and it should be public to all users
help Prasad to install node controller.
95
19CS3037SCLOUD INFRASTRUCTURE AND SERVICES -LAB
96
19CS3037SCLOUD INFRASTRUCTURE AND SERVICES -LAB
Post lab:
1. Earlier Prasad has Installed a node controller with his required configuration after logging
into the controller he has been facing with some problems. To overcome the problem, he
need to enable NTP and has to synchronize the clock. Help Prasad to over come this problem
.
97
19CS3037SCLOUD INFRASTRUCTURE AND SERVICES -LAB
98
19CS3037SCLOUD INFRASTRUCTURE AND SERVICES -LAB
99
19CS3037SCLOUD INFRASTRUCTURE AND SERVICES -LAB
WEEK-8
Install Eucalyptus 3.1 using FastStart - Part 2 - CLC Install?
Lab-8
Pre lab:
1. What is CLC?
100
19CS3037SCLOUD INFRASTRUCTURE AND SERVICES -LAB
In lab:
Prasad wants to install cloud controller but he don’t know how to install but he want to have 3-high
performance cpu with ram of 8 GB and hardisk split of 2 with IPV-4 configuration setting. And he
need some specific configuration in which the network connection should be the following:
1. IPV-4 address – 192.168.211.10
2. Network mask – 24
3. DNS server address – 8.8.8.8.8.8.4.4
4. The gateway – 192.168.211.2
help Prasad to install cloud controller.
101
19CS3037SCLOUD INFRASTRUCTURE AND SERVICES -LAB
102
19CS3037SCLOUD INFRASTRUCTURE AND SERVICES -LAB
Post lab:
1. Earlier Prasad has Installed a cloud controller with his required configuration after logging
into the controller he has been facing with some problems. To overcome the problem, he
need to configure some settings so the cloud controller can run properly.(Hint: mark all the
configuration as same and the public IP address should be 192.168.211.100-192.168.211.125
and node IP: 192.168.211.11)
103
19CS3037SCLOUD INFRASTRUCTURE AND SERVICES -LAB
104
19CS3037SCLOUD INFRASTRUCTURE AND SERVICES -LAB
105
19CS3037SCLOUD INFRASTRUCTURE AND SERVICES -LAB
106
19CS3037SCLOUD INFRASTRUCTURE AND SERVICES -LAB
WEEK-9
Lab -9
Pre-lab:
1. What are the steps to Install Ubuntu Server 10.04 Enterprise Cloud?
107
19CS3037SCLOUD INFRASTRUCTURE AND SERVICES -LAB
3. What are the parts in the front end and node of a cloud infrastructure?
In-lab:
108
19CS3037SCLOUD INFRASTRUCTURE AND SERVICES -LAB
109
19CS3037SCLOUD INFRASTRUCTURE AND SERVICES -LAB
Post-lab:
2. Write the steps for installing the node controller and cloud controller?
110
19CS3037SCLOUD INFRASTRUCTURE AND SERVICES -LAB
111
19CS3037SCLOUD INFRASTRUCTURE AND SERVICES -LAB
WEEK-10
112
19CS3037SCLOUD INFRASTRUCTURE AND SERVICES -LAB
113
19CS3037SCLOUD INFRASTRUCTURE AND SERVICES -LAB
114
19CS3037SCLOUD INFRASTRUCTURE AND SERVICES -LAB
115
19CS3037SCLOUD INFRASTRUCTURE AND SERVICES -LAB
116
19CS3037SCLOUD INFRASTRUCTURE AND SERVICES -LAB
117
19CS3037SCLOUD INFRASTRUCTURE AND SERVICES -LAB
WEEK-11
118
19CS3037SCLOUD INFRASTRUCTURE AND SERVICES -LAB
119
19CS3037SCLOUD INFRASTRUCTURE AND SERVICES -LAB
120
19CS3037SCLOUD INFRASTRUCTURE AND SERVICES -LAB
121
19CS3037SCLOUD INFRASTRUCTURE AND SERVICES -LAB
122
19CS3037SCLOUD INFRASTRUCTURE AND SERVICES -LAB
123
19CS3037SCLOUD INFRASTRUCTURE AND SERVICES -LAB
WEEK-12
Deploy Eucalyptus with Ansible: project?
The host performing the installation must have the EPEL YUM repository available (for
Ansible):
yum install epel-release
Create inventory: The Ansible inventory file describes both the hosts that will run your
Eucalyptus cloud and the options for your installation.
---
all:
hosts:
cloud.example.com:
node[01:10].example.com:
vars:
vpcmido_public_ip_range: "1.X.Y.128-1.X.Y.254"
vpcmido_public_ip_cidr: "1.X.Y.128/25"
children:
cloud:
hosts:
cloud.example.com:
zone:
hosts:
cloud.example.com:
node:
hosts:
124
19CS3037SCLOUD INFRASTRUCTURE AND SERVICES -LAB
node[01:10].example.com:
Customization
The DNS domain to be used should be set in the vars section:
cloud_system_dns_dnsdomain: "mycloud.example.com"
The NTP server to use with services in your deployment can also be specifed:
cloud_properties:
services.imaging.worker.ntp_server: "time.cloudflare.com"
services.loadbalancing.worker.ntp_server: "time.cloudflare.com"
To specify region and zone names for your deployment add the vars:
cloud_region_name: "us-euca-1"
cloud_zone_1_name: "us-euca-1a"
cloud_zone_2_name: "us-euca-1b"
cloud_zone_3_name: "us-euca-1c"
You can follow AWS naming conventions or can use your own naming scheme. To specify
which hosts belong to which zone update the hosts section:
hosts:
node01.example.com:
host_cluster_ipv4: "10.111.10.101"
host_public_ipv4: "1.X.Y.101"
host_zone_key: 1
cloud_public_port: 443
If using port 443 for web services, the management console should be deployed as a
service to avoid a port conflict.
cloud_firewalld_configure: yes
cloud_firewalld_cluster_cidr: "10.111.0.0/16"
125
19CS3037SCLOUD INFRASTRUCTURE AND SERVICES -LAB
cloud_firewalld_cluster_interface: "en2"
cloud_firewalld_public_interface: "en1"
The default install uses overlay for block storage, to use das you must have an LVM
volume group available on all storage (zone) hosts and set:
cloud_storage_dasdevice: "storage_vg"
eucalyptus_console_cloud_deploy: yes
cloud_service_image_rpm: no
MIDONET NSDB:
For VPCMIDO deployments the MidoNet NSDB (Network State Database) should be deployed
on multiple hosts:
midonet-nsdb:
hosts:
midonet-nsdb[01:03].example.com:
USING CEPH:
To use Ceph for block and object storage configure the settings:
ceph_release: "nautilus"
ceph_osd_data_path: "storage_vg/storage_lv"
ceph_public_network: "10.111.0.0/16"
126
19CS3037SCLOUD INFRASTRUCTURE AND SERVICES -LAB
The hosts for ceph must be in the ceph group under children:
ceph:
hosts:
ceph[01:03].example.com:
USING MinIO
To deploy MinIO as the objectstorage provider you specify minio under children:
minio:
hosts:
minio.example.com:
To enable Let’s Encrypt for HTTPS via certbot set the following vars:
eucaconsole_certbot_configure: yes
eucalyptus_console_certbot_enable: yes
eucalyptus_services_certbot_enable: yes
PERFORM INSTALLATION:
127
19CS3037SCLOUD INFRASTRUCTURE AND SERVICES -LAB
128
19CS3037SCLOUD INFRASTRUCTURE AND SERVICES -LAB
129
19CS3037SCLOUD INFRASTRUCTURE AND SERVICES -LAB
WEEK-13
Have a glance on the entire video and keenly observe the step by step
process and install.
https://www.youtube.com/watch?v=k88dStjABX8&list=PLFifP_HeKxFmiF2MHVl9sPjmM
rNfQVIrJ&index=3
130
19CS3037SCLOUD INFRASTRUCTURE AND SERVICES -LAB
131
19CS3037SCLOUD INFRASTRUCTURE AND SERVICES -LAB
132
19CS3037SCLOUD INFRASTRUCTURE AND SERVICES -LAB
133
19CS3037SCLOUD INFRASTRUCTURE AND SERVICES -LAB
134