CC Lab Manual 23-24
CC Lab Manual 23-24
Department of Computer
310258:Laboratory Practice
II (Cloud Computing)
LP -II(Cloud Computing) TE COMP,
Preface
You only need to pay for the cloud services that you use, which helps lower your operating
costs, run infrastructure more efficiently, and scale your applications as per business needs.
Organizations of different types, sizes, and industries are using the cloud for a wide variety of
use cases, such as building customer-facing web applications, data backup, sending email/SMS
notifications, virtual desktops, software development and testing, big data analytics, and
disaster recovery. For example, Telecom companies are using cloud services to connect with
their customers by sending different types of communications. Financial services companies
are using the cloud to power real-time fraud detection and prevention.
LP -II(Cloud Computing) TE COMP,
LP -II(Cloud Computing) TE COMP,
Course Statement
Outcome At the end of the course, a student will be able to (write/install/solve/apply)
310258(C).
Design and develop an interactive AI application
3
310258(C). Use tools and techniques in the area of Cloud Computing
4
310258(C). Use cloud computing services for problem solving
5
310258(C). Design and develop applications on cloud
6
B. CO-PO mapping
Program outcomes
Course
Outcome 1 2 3 4 5 6 7 8 9 10 11 12
310258(C). 2 - 2 3 2 2 2 1 2
1
310258(C). 1 - 2 2 3 2 2 2 2 1 2
2
310258(C). 1 - 2 2 3 2 2 2 2 2 2
3
310258(C). 1 - 2 - 3 - - 2 2 2 2 2
4
310258(C). 1 - 2 - 3 - - 2 2 2 2 2
5
LP -II(Cloud Computing) TE COMP,
310258(C). 1 - 2 - 3 - - 2 2 2 2 2
6
C. CO-PSO mapping
310258.1 2 1
310258.2 1 2
310258.3 2 1
310258(C).4 2 2
310258(C).5 2 2
310258(C).6 2 2
A.
Attainment
2 60% students scoring more than target
Level
3 70% students scoring more than target
LP -II(Cloud Computing) TE COMP,
LP -II(Cloud Computing) TE COMP,
LP -II(Cloud Computing) TE COMP,
INDEX
Sr. No Title of
Assignment
1 Installation and configuration of own CloudCase study on Amazon EC2 and
learn
about Amazon EC2 web services
2 Installation and Configuration of virtualization using KVM
3 Creating an Application in SalesForce.com using Apex programming Language.
4 Design and develop custom Application (Mini Project) using Sales force Cloud
5 Mini-Project
Setup your own cloud for Software as a Service (SaaS) over the existing LAN
in your laboratory. In this assignment you have to write your own code for
cloud controller using open- source technologies to implement with HDFS.
Implement the basic operations may be like to divide the file in
segments/blocks and upload/ download file on/from cloud in encrypted
form.
Software Required:
Operating System :-Operating System recommended :- 64-bit Open source Linux or its
derivative Programming Languages: C++/JAVA/PYTHON
Write-ups must include:
• Group:
• Assignment No.
• Title
• Problem Statement
• Prerequisites
• Course Objectives
• Course Outcomes
• Theory(in brief)
LP -II(Cloud Computing) TE COMP,
• Algorithm
LP -II(Cloud Computing) TE COMP,
• Conclusion:
• FAQs:
Assignment No: 1
TITLE: Problem Statement: Case study on Amazon EC2 to learn about Amazon EC2,Amazon
Elastic Compute Cloud is a central part of Amazon.com's cloud computing platform, Amazon
Web Services. How EC2 allows users torrent virtual computers on which to run their own
computer applications.
THEORY
Amazon Web Services (AWS) is Amazon’s cloud web hosting platform that offers flexible,
reliable, scalable, easy-to-use, and cost-effective solutions
Cloud computing is an internet-based computing service in which large groups of remote servers
are networked to allow centralized data storage, and online access to computer services or
resources.
Using cloud computing, organizations can use shared computing and storage resources rather
than building, operating, and improving infrastructure on their own.
Cloud computing is a model that enables the following features.
• Users can provision and release resources on-demand.
• Cloud service providers can enable a pay-as-you-go model, where customers are
charged based on the type of resources and per usage.
Types of Clouds
There are three types of clouds
cloud.
Note − In the above diagram s3 stands for simple storage service. it allows the
users to store and retrieve various types of data using api calls. it doesn’t
Amazon EC2 (Elastic Compute Cloud) is a web service interface that provides resizable
compute capacity in the AWS cloud. It is designed for developers to have complete control
over web-scaling and computing resources.
EC2 instances can be resized and the number of instances scaled up or down as per our
requirement. These instances can be launched in one or more geographical locations or regions,
and Availability Zones (AZs). Each region comprises of several AZs at distinct locations,
connected by low latency networks in the same region.
FEATURES OF EC2
RELIABLE −
• Secure
• Flexible Tools
• Inexpensiv
How to Use AWS EC2
Step 1 − Sign-in to AWS account and open IAM console by using the following
link https://console.aws.amazon.com/iam/.
LP -II(Cloud Computing) Manual TE COMP, Sem-II
Step 2 − In the navigation Panel, create/view groups and follow the instructions.
Step 3 − Create IAM user. Choose users in the navigation pane. Then create new
users and add users to the groups.
LP -II(Cloud Computing) Manual TE COMP, Sem-II
• Select VPC from the navigation panel. Then select the same region in which we have
created key-pair.
• Select start VPC wizard on VPC dashboard.
• Select VPC configuration page and make sure that VPC with single subnet is selected.
The choose Select.
• VPC with a single public subnet page will open. Enter the VPC name in the name field
and leave other configurations as default.
• Select create VPC, then select Ok.
Step 5 − Create WebServerSG security groups and add rules using the following
instructions.
• Select create security group and fill the required details like group name, name tag, etc.
• Select your VPC ID from the menu. Then select yes, create button.
• Now a group is created. Select the edit option in the inbound rules tab to create rules.
Step 6 − Launch EC2 instance into VPC using the following instructions.
• A new page will open. Choose Instance Type and provide the configuration. Then select
Next: Configure Instance Details.
• A new page will open. Select VPC from the network list. Select subnet from the
subnet list and leave the other settings as default.
Step 7 − On the Tag Instances page, provide a tag with a name to the instances.
Step 8 − On the Configure Security Group page, choose the Select an existing
Step 9 − Check Instance details on Review Instance Launch page then click the
Launch button.
LP -II(Cloud Computing) Manual TE COMP, Sem-II
Step 10 − A pop up dialog box will open. Select an existing key pair or create a
new key pair. Then select the acknowledgement check box and click the
LOAD BALANCING
Load balancing simply means to hardware or software load over web servers, that improves
the efficiency of the server as well as the application. Following is the diagrammatic
representation of AWS architecture with load balancing.
Elastic load balancing can dynamically grow and shrinkthe load -balancing capacity to adjust to
traffic demands and also support sticky seszsions to address more advanced routing needs
Amazon RDS allows users to install RDBMS (Relational Database Management System) of your
choice like MySQL, Oracle, SQL Server, DB2, etc. on an EC2 instance and can manage as
required.
Amazon EC2 uses Amazon EBS (Elastic Block Storage) similar to network-attached storage. All
data and logs running on EC2 instances should be placed on Amazon EBS volumes, which will
be available even if the database host fails.
Create an AWS account
Step 2 − select the choice from the list of categories and we get their sub-
screenshots.
Step 3 − select the service of your choice and the console of that service will open.
COMPUTE
Amazon EC2
LP -II(Cloud Computing) Manual TE COMP, Sem-II
Amazon Elastic Compute Cloud (Amazon EC2) is a web service that provides secure, resizable
compute capacity in the cloud. It is designed to make web scale computing easier for
developers. The
LP -II(Cloud Computing) Manual TE COMP, Sem-II
Amazon EC2 simple web service interface allows you to obtain and configure capacity with
minimal friction. It provides you with complete control of your computing resources and lets
you run on Amazon’s proven computing environment.
Amazon EC2 reduces the time required to obtain and boot new server instances (called
Amazon EC2 instances) to minutes, allowing you to quickly scalecapacity, both up and down, as
your computing requirements change. Amazon EC2 changes the economics of computing by
allowing you to pay only for capacity that you actually use.
Amazon EC2 provides developers and system administrators the tools to build failure resilient
applications and isolate themselves from common failure scenarios.
Launch an Instance
Select Launch Instance to create and configure your virtual
machine. Configure your Instance
FAQ’s
2. What is AWS?
6. What is DynamoDB?
Assignment No: 2
WHAT IS VIRTUALIZATION?
BENEFITS OF VIRTUALIZATION
Virtualization can increase IT agility, flexibility and scalability while creating significant cost
savings. Greater workload mobility, increased performance and availability of resources,
automated operations – they’re all benefits of virtualization that make IT simpler to manage
and less costly to own and operate. Additional benefits include:
Isolation
Encapsulation
Hardware Independence
KVM ( Kernel-based Virtual Machine ) is free and open source virtualisation software. You can
create multiple VM (virtual machines) , each VM has its own private virtualised hardware like
disk, CPU, RAM etc.
Prerequisites
For installing the KVM you must have following prerequisites.
When you get the output from above command either 1 or more it means CPU
supports the virtualisation else 0 or less means it does not support.
Your new virtual machine will start up as though it were booting into the install ISO that you
selected. Just run through the install process and reboot when prompted at the end. The virtual
machine will reboot, and you will have a working install on the new VM.
LP -II(Cloud Computing) Manual TE COMP, Sem-II
FAQ’s
1. What is owncloud? What are its features?
2. Define Saas
3. Describe Paas
4. What is Iaas
5. What allows users to create their own cloud applications using supplier-specific
tools and languages?
6. What allows users to rent processing, storage, networking and other fundamental
computing resources for all purposes?
Assignment No: 3
COURSE OUTCOMES:
solving
CO6: Apply the concepts Cloud Computing to design and develop applications
THEORY:
apex code can be invoked by using triggers. apex triggers can be configured to perform
custom actions before or after changes to salesforce records, such as insertions, updates, or
deletions.
code_block
● after insert
● after update
● after delete
● after undelete
This below given steps shows how to create a simple apex class and trigger, and how to
deploy these components to a college..
apex is very similar to java, you may recognize much of the functionality.
here we create a custom object called book that is created in the first step. this custom object is
updated through a trigger.
DETAILS OF STUDENT
RECORDS IN STUDENT
LP -II(Cloud Computing) Manual TE COMP, Sem-II
ref: https://developer.salesforce.com/docs/atlas.en
us.apexcode.meta/apexcode/apex_qs_deploy.htm
FAQs
1. What is CRM?
2. What are the characteristics of Apex?
3. What are apex Triggers
4. What are apex classes and Objects
LP -II(Cloud Computing) Manual TE COMP, Sem-II
Assignment 4
TITLE: Design and develop custom Application (Mini Project) using Sales force Cloud.
PREREQUISITES: Networking Basics
COURSE OBJECTIVES: To Design and develop custom Application (Mini Project) using Sales
force Cloud.
THEORY:
Salesforce Org
The cloud computing space offered to you or your organization by Force.com is called
Sales force org. It is also called Salesforce environment. Developers can create custom
Salesforce Apps, objects, workflows, data sharing rules, Visualforce pages and Apex
coding on top of Sales force Org.
Salesforce Apps
The primary function of a Salesforce app is to manage customer data. Salesforce apps
provide a simple UI to access customer records stored in objects (tables). Apps also
help in establishing re lationship between objects by linking fields.
Apps contain a set of related tabs and objects which are visible to the end user. The below
screenshot shows, how the StudentForce app looks like.
The highlighted portion in the top right corner of the screenshot displays the app
name:Student Force. The text highlighted next to the profile pic is my
LP -II(Cloud Computing) Manual TE COMP, Sem-II
username:Vardhan NS.
LP -II(Cloud Computing) Manual TE COMP, Sem-II
Before you create an object and enter records, you need to set up the skeleton
of the app. You can follow the below instructions to set up the app.
In steps 7 and 8, you were asked to choose the relevant tabs and profiles. Tabs and profiles
LP -II(Cloud Computing) Manual TE COMP, Sem-II
are an integral part of Salesforce Apps because they help you to manage objects and
records in Sales force.
In this salesforce tutorial, I will give you a detailed explanation of Tabs, Profiles and
then show you how to create objects and add records to it.
Salesforce Tabs
Tabs are used to access objects (tables) in the Salesforce App. They appear on top of
the screen and are similar to a toolbar. It contains shortcut links to multiple objects. On
clicking the object name in a tab, records in that object will be displayed. Tabs also
contain links to external web content, custom pages and other URLs. The highlighted
portion in the below screenshot is that of Salesforce tabs.
All applications will have a Home tab by default. Standard tabs can be chosen by
clicking on ‘+’ in the Tab menu. Accounts, Contacts, Groups, Leads, Profile are the
standard tabs offered by Salesforce. For example, Accounts tab will show you the list of
accounts in the SFDC org and Contacts tab will show you the list of contacts in the SFDC
org.
Besides standard tabs, you can also create custom tabs. Students tab that you see in the
above screenshot is a custom tab that I have created. This is a shortcut to reach the
custom object: Stu dents.
Every user who needs to access the data or SFDC org will be linked to a profile. A
profile is a collection of settings and permissions which controls what a user can view,
access and modify in Salesforce.
LP -II(Cloud Computing) Manual TE COMP, Sem-II
A profile controls user permissions, object permissions, field permissions, app settings,
tab set tings, apex class access, Visualforce page access, page layouts, record types, login
hour and login IP addresses.
You can define profiles based on the background of the user. For example, different
levels of ac cess can be set for different users like system administrator, developer and
sales representative.
Similar to tabs, we can use any standard profile or create a custom profile. By default,
the avail able standard profiles are: read only, standard user, marketing user, contract
manager, solution manager and system administrator. If you want to create custom
profiles, you have to first clone standard profiles and then edit that profile. Do note that
one profile can be assigned to many users, but one user cannot be assigned many
profiles.
●You can then clone any of the existing profiles by clicking on Edit.
Once the tabs and profiles are set up for your App, you can load data into it. The next
section of this Salesforce tutorial will thus cover how data is added to objects in the
form of records and fields.
Objects, Fields and Records are the building blocks of Salesforce. So, it is important to
know what they are and what role they play in building Apps.
Objects are the database tables in Salesforce where data is stored. There are two types
of objects in Salesforce:
1. Standard objects: The objects provided by Salesforce are called standard objects.
For example, Accounts, Contacts, Leads, Opportunities, Campaigns, Products,
Reports, Dash board etc.
2. Custom objects: The objects created by users are called
collection of fields.
I will create an object called Students Data which will contain personal details of students.
LP -II(Cloud Computing) Manual TE COMP, Sem-II
After creating the object, you need to define various fields in that object. e.g. the fields in
a stu dent’s record will be student name, student phone number, student email ID, the
department a student belongs to and his native city.
You can add records to objects only after defining the fields.
● You can also make it an optional/ mandatory field and allow/ disallow
duplicate values for different records by checking on the check boxes. See the
below screenshot to get a better understanding.
●Click on Next.
●Select the various profiles who can edit that text field at a later point of time. Click Next.
●Select the page layouts that should include this field.
●Click Save.
As you can see from the below screenshot, there are two types of fields. Standard fields
created for every object by default and Custom fields created by myself. The four fields
which I have created for Students Data are City, Department, Email ID and Phone No.
You will notice that all custom fields are suffixed with ‘ C’ which indicates that you have
the power to edit and delete those fields. Whereas some standard fields can be edited,
but not deleted.
You can now add student records (complete row) to your object.
1. Go to the object table from the tab menu. Students Data is the object to which I will add records.
2. As you can see from the below image, there are no existing records. Click on New to add
new student records.
3. Add student details into different fields as shown in the below screenshot. Click on Save. 4.
LP -II(Cloud Computing) Manual TE COMP, Sem-II
You can create any number of student records. I have created 4 student records as shown in
the below screenshot.
LP -II(Cloud Computing) Manual TE COMP, Sem-II
5. In case you want to edit the student details, you can click on Edit as shown in the
below screenshot.
Data Types Of Fields
Data type controls which type of data can be stored in a field. Fields within a
record can have different data types. For example:
You can choose any one of the data types for custom fields. Below is a screenshot listing
the dif ferent data types.
Data types like Lookup Relationship, Master-Detail Relationship and External Lookup
Relation ship are used to create links/ relationships between one or more objects.
Relationships between objects is the next topic of discussion in this Salesforce tutorial
blog.
As the name suggests, object relationship is used in Salesforce to create a link between
two ob jects. The question on your mind would be, why is it needed? Let me talk about
the need with an example.
Relationships can be defined while choosing the data type. They are always defined in
the child object and are referenced to the common field in master object. Creating such
links will help you to search and query data easily when the required data is present in
different objects. There are three different types of relationships that can exist between
objects. They are:
1. Master-Detail
2. Lookup
3. Junction
Let me give you an example of a Master-Detail relationship. The Students Data object
contains student records. Each record contains personal information about a student.
However, the marks obtained by students are present in another record called Marks.
Look at the screenshot of Marks object below.
I have created a link between these two objects by using the student’s name. Below are
the points you have to keep in mind when setting up a Master-Detail relationship.
You can define master-detail relationships between two custom objects, or between a
custom ob ject and standard object as long as the standard object is the master in the
relationship.
Lookup relationships are used when you want to create a link between two objects, but
without the dependency on the parent object. You can think of this as a form of parent-
child relationship where there is only one parent, but many children i.e. 1:n relationship.
Below are the points you have to keep in mind when setting up a Lookup relationship.
Below is a screenshot of the schema diagram of both the relationships. College – Student
Data forms the Lookup relationship and Student Data – Marks forms the Master-Detail
relation ship.
Self-Relationship
This is a form of lookup relationship where instead of two tables/ objects, the
relationship is within the same table/ object. Hence the name self-relationship. Here,
the lookup is referenced to the same table. This relationship is also called Hierarchical
relationship.
This kind of a relationship can exist when there is a need to create two master-detail
LP -II(Cloud Computing) Manual TE COMP, Sem-II
To give you an example of this relationship, I have created two new objects.
I have created a many-to-many relationship such that every record in the Courses
object must have at least one student and at least one professor. This is because every
course is a combination
of students and professors. In fact, a course, can have one or more number of students
and pro fessors associated with them.
The dependency on Student and Professor objects makes Courses as the child object. Stu dent and
Professor are thus the master objects. Below is a screenshot of Courses object.
You will notice that there are different combinations of professors and students for these sub
jects. For example, Kate is associated with two courses and has two different professors for
each of those two courses. Mike is associated with only one course, but, has two different
professors for that course. Both Joe and Kate are associated with the same course and same
professor. In the below screenshot, you will find the schematic diagram of this relationship.
FAQS
1. What are the features of Salesforce?
2. How many types of objects are available in Salesforce?
3. Differentiate standard objects with custom objects
4. What is workflow in Salesforce?
5. what is the difference between lookup and master relationship?
LP -II(Cloud Computing) Manual TE COMP, Sem-II
Assignment 5
PROBLEM STATEMENT: Setup your own cloud for Software as a Service (SaaS) over the
existing LAN in your laboratory. In this assignment you have to write your own code for cloud
controller using open-source technologies to implement with HDFS. Implement the basic
operations may be like to divide the file in segments/blocks and upload/ download file
on/from cloud in encrypted form
COURSE OUTCOMES:
solving
CO6: Apply the concepts Cloud Computing to design and develop applications
THEORY:
Apache CloudStack
Apache CloudStack is an open source, multi-hypervisor, multi-tenant, high-availability
Infrastructure-as-a-Service CMP, which facilitates creating, deploying and managing cloud
services by providing a complete stack of features and components for cloud environments. It
uses existing hypervisors such as KVM, VMware vSphere, VMware ESXi, VMware vCenter and
XenServer/XCP for virtualisation. CloudStack can also orchestrate the non-technical elements
of service delivery such as billing and metering. It presents a range of APIs, allowing it to be
integrated with any other platform.
OpenStack
OpenStack consists of a set of software tools for building and managing cloud computing
platforms for public and private clouds using pooled virtual resources. The tools comprising
the OpenStack platform are called projects. They handle core cloud computing services of
compute, networking, storage, identity and image services. OpenStack software controls large
pools of compute, storage and networking resources throughout a data centre, and is managed
through a dashboard or via the OpenStack API.
LP -II(Cloud Computing) Manual TE COMP, Sem-II
Eucalyptus
Eucalyptus is an acronym for Elastic Utility Computing Architecture for Linking Your Programs
to Useful Systems. It is an open source software framework that provides the platform for
private cloud computing implementation on computer clusters. Eucalyptus implements
Infrastructure as a Service (IaaS) methodology for solutions in private and hybrid clouds.
CASE 1
Install OpenNebula Front-end on Ubuntu 20.04 |18.04 | 16.04
Here we’ll walk through all steps to get OpenNebula Front-end engine up and running on Ubuntu
20.04/18.04 /16.04 server. I assume you already have a running instance of one of this operating
systems, this can be a virtual machine or a physical server.
Ubuntu 20.04:
Since we’re going to configure our OpenNebula to use MySQL instead of SQLite, let’s configure it.
First, install MariaDB server:
LP -II(Cloud Computing) Manual TE COMP, Sem-II
sudo mysql_secure_installation
Once MariaDB is installed and running, create a database and user for OpenNebula.
• /var/lib/one/remotes/etc/datastore/ceph/ceph.conf
• /var/lib/one/remotes/etc/vnm/OpenNebulaNetwork.conf
Some OpenNebula components need Ruby libraries. OpenNebula provides a script that installs the
required gems as well as some development libraries packages needed.
sudo /usr/share/one/install_gems
You’ll get a prompt asking you to select OS and confirm.
Distribution "debian"
detected. About to install these
dependencies:
gcc
rake
libxml2-dev
LP -II(Cloud Computing) Manual TE COMP, Sem-II
libcurl4-openssl-dev
default-libmysqlclient-dev
ruby-dev
make
DB =
[ backend = "mysql",
Replace StrongPassword with the password you specified earlier for the DB. Confirm that the user
can log in to DB.
$ mysql -u oneadmin -p
oneadmin:b82f13701914afc9e3c6aea69f180109
$ sudo su - oneadmin
This will set the oneadmin password on the first boot. From that point, you must use the command
below to change oneadmin’s password.
$ oneuser passwd
We’re close to the final step. If you have an active UFW firewall, you need to allow specific
ports required by OpenNebula.
sudo ufw allow proto tcp from any to any port 9869
After OpenNebula is started for the first time, you should check that the commands can connect to
the OpenNebula daemon. You can do this in the Linux CLI or in the graphical user interface:
Sunstone. From CLI in the Front-end, run the following command as oneadmin:
LP -II(Cloud Computing) Manual TE COMP, Sem-II
NAME :
oneadmin
If you get an error message, then the OpenNebula daemon could not be started properly.
• oned.log – Core logs. Error messages will be located here. prefixed with [E]
• sched.log – Scheduler logs are located here.
Accessing Sunstone UI
Now you can try to log in to Sunstone web interface. To do this point your browser to:
http://<fontend_address>:9869
If everything is OK you will be greeted with a login page.
LP -II(Cloud Computing) Manual TE COMP, Sem-II
The user is oneadmin and the password is the one in the file /var/lib/one/.one/one_auth in
your Front- end. On logging in, you should get a dashboard like below.
CASE 2:
COURSE OBJECTIVES: To Study and implement infrastructure as Service using Open Stack.
THEORY:
OpenStack is a free, open source platform developed specifically for cloud computing.
Through this cloud-centric platform, virtual machines and other resources can be made
available to clients as Infrastructure-as-a-Service. There are a number of ways to get
OpenStack installed.
One such means of installing OpenStack is through DevStack. DevStack is a series of scripts that
are used to bring up a complete OpenStack environment based on the latest version. Although
installing with DevStack might be one of the easiest methods of installing OpenStack
Reference Link: https://www.tecmint.com/create-deploy-and-launch-virtual-machines-in-
openstack/
Step 1: Initial System Configurations
1. Before you begin preparing the node in order to deploy your own virtual
cloud infrastructure, first login with root account and assure that the system
is up to date.
2. Next, issue the ss -tulpn command to list all running
services. # ss -tulpn
4. Completely disable Selinux policy on the machine by issuing the below commands. Also edit
/etc/selinux/config file and set SELINUX line from enforcing to disabled as illustrated on the
below screenshot.
# setenforce
0#
getenforce
# vi /etc/selinux/config
Disable SELinux
5. On the next step using the hostnamectl command to set your Linux system hostname. Replace
the
FQDN variable accordingly.
# hostnamectl set-hostname cloud.centos.lan
7. OpenStack will be deployed on your Node with the help of PackStack package provided by rdo
LP -II(Cloud Computing) Manual TE COMP, Sem-II
On CentOS 7, the Extras repository includes the RPM that actives the OpenStack repository. Extras
is already enabled, so you can easily install the RPM to setup the OpenStack repository:
# yum install -y centos-release-openstack-
mitaka # yum update -y
8. Now it’s time to install PackStack package. Packstack represents a utility which
facilitates the deployment on multiple nodes for different components of OpenStack via
SSH connections and Puppet modules.
Install Packstat package in Linux with the following command:
# yum install openstack-packstack
9. On the next step generate an answer file for Packstack with the default configurations
which will be later edited with the required parameters in order to deploy a standalone
installation of Openstack (single node).
The file will be named after the current day timestamp when generated (day, month and year).
# packstack --gen-answer-file='date
+"%d.%m.%y"'.conf # ls
and replace the following parameters to match the below values. In order to be safe
replace the passwords fields accordingly.
CONFIG_NTP_SERVERS=0.ro.pool.ntp.org
Please consult http://www.pool.ntp.org/en/ server list in order to use a public NTP server
near your physical location.
LP -II(Cloud Computing) Manual TE COMP, Sem-II
panels.
LP -II(Cloud Computing) Manual TE COMP, Sem-II
Note: In case you still can’t browse Openstack web panel on port 443 restart the installation
process from beginning with the same command issued for the initial deployment.
LP -II(Cloud Computing) Manual TE COMP, Sem-II
15. In order to access OpenStack web panel from a remote host in your LAN navigate to
your machine IP Address or FQDN/dashboard via HTTPS protocol.
Due to the fact that you’re using a Self-Signed Certificate issued by an untrusted
Certificate Authority an error should be displayed on your browser.
Accept the error and login to the dashboard with the user admin and the password set on
CONFIG_KEYSTONE_ADMIN_PW parameter from answer file set above.
https://192.168.1.40/dashboard
Openstack Projects
LP -II(Cloud Computing) Manual TE COMP, Sem-II
16. Alternatively, if you opted to install Nagios component for OpenStack, you can browse Nagios
web panel at the following URI and login with the credentials setup in answer file.
https://192.168.1.40/nagios