Cl210v10 Exam
Cl210v10 Exam
Cl210v10 Exam
ANS :
##########################################################
Q2> Create a flavor named m1.petite for Engineering project. It should have 1 cpu,
1024MB ram.
Create two security group for Engineering with name "ssh" for allowing ssh
port and "web" for allowing http port to make it accessible from public.
Create a key pair named webkey which should be stored inside /home/stack
directory.
ANS:
##########################################################
Q3> Upload an image to your image registry (glance) osp-small.qcow2, Image name
should be 'web'.
( download from classroom.example.com )
ANS:
wget http://classroom.example.com/osp-small.qcow2
#########################################################################
Q4> Create a container named container1. Download the file from url
http://materials.example.com/data.tar.bz2.
upload the file dowloaded to the container1 as the same name.
##############################################################
$ source overcloud-rebortc
################################################################3
$ source overcloud-robertrc
##########################################################
Q7> Create a block storage for Engineering named storage with size of 2gb and
attach it to webserver instance as /dev/vdb.
#################################################################
Q8> Create a heat stack template from command line. The template file will be
broken, fix the issue and run the template to install the instances.
Add a new group named stckgroup in to instance.
Create the environment file which contains following parameters:
*Use the following Parameters to launch Stack: ( this will be given in exam )
image_name: web
instance_name: webserver01
flavor_name: m1.small
keypair_name: webkey
public_net: public
private_net: private
private_subnet: internal
$ vi /home/stack/materials/environment.yaml
parameters:
image_name: web
instance_name: webserver01
flavor_name: m1.small
keypair_name: webkey
public_net: public
private_net: private
private_subnet: internal
#################################################
Q9> Create a rabbitmq user name ash who can configure, exchange messages and
generate queues.
user password should be Ablerate9.
Create a message queue named openstack_install.queue. then publish a message to a
queue.
ANS:
###################################################################################
#####
Under Engineering project create a new OpenStack image named webimage the
osp_webserver.qcow2 image, with a minimum disk requirement of 10 GB of disk and
2048 RAM.
###################################################################################
#######
#########################################################
Q12> Add a one more node to the existing overcloud. Commands used to install
overcloud is stored in overcloud_install.sh file.
After installation overcloudrc file will be updated with wrong password that you
need to correct as previous.
$ source stackrc
Deploy:
compute 1(2)
esc : wq
$ chmod +x overcloud_install.sh
$ ./overcloud_install.sh
$ source stackrc
###################################################################################
########################
$ source overcloudrc
##################################################################
#########################################################################