Wednesday, October 24, 2018

openstack

openstack



openstack – lxa – openstack essentials – Hands-on Labs- Server and Image Management


Course Title - OpenStack Essentials
Course URL : https://linuxacademy.com/cp/modules/view/id/120

Video Title - Hands-on Labs: Server and Image Management
Video URL : https://linuxacademy.com/cp/courses/lesson/course/1030/lesson/2/module/120

Pre-requisites:
openstack Username: xxx
openstack Password: xxx
SSH DETAILS: centos packstack
SSH IP: 192.168.11.xxx
SSH Username: xxx
SSH Password: xxx
Log in to Horizon
step 1: Login to Horizon
Step 2: click on Identity
1
select → demo project →  click Manage Members 
go to volume → Actions → Edit volumes → click arrow → select Manage Attachmentsstep 3: Now go to quota and change volume
1
select quota  →  change volumes to 20 → Save
Image Management with Nova
step 1: Login to Horizon
step 2: click on instances
step 3: click on Launch instance and give
instance name= ncodeit-instance
Flavor = m1.tiny
Instance Count = 1
Instance Boot Source =Boot from image
step 4: go to the Access & Security tab and set the Security Group= default
step 5: click on Launch
step 6: Click on instance name = ncodeit
step 7:  go to log tab and check  see username and password for instance
step 8:  go to Action Log and verify only one action should be listed
step 9: select console tab and here we can see terminal
step 10: now ssh into server and run command to verify
1
pwd
Cinder
step 1: go to volumes and create volume
1
select Volumes →  Create Volume and give
Volume Name = ncodeit-vol
Description = empty
Volume Source =No source, empty volume
Type = iscsi
Size (GB) = 1
Availability Zone = nova
Now create Volume
step 2: Now attach volume to instance we created
1
go to volume → Actions → Edit volumes → click arrow → select Manage Attachments
step 3:
1
 under Attach to Instance → select ncodeit server → Attach Volume.
step 4: verify volume is attached by clicking on the ncodeit-vol link  → opens console
1
  sudo fdisk -l
Upload an Object with Swift
step 1: Now log into demo user
step 2:   now create a container under object store
1
click on Containers → Create Container
set the values as
Container Name = ncodeit-con
Container Access = private
and now Create Container
step 3: Now create a pseudo-folder in our container
step 4: choose file to upload ——> Click Upload Object

No comments:

Post a Comment