install and configure Open Stack
Reference
[Link]
Description
Username: root
Password: root
**** Installation completed successfully ****
OpenStack User Name: admin
Password: cat /root/keystonerc_admin |grep PASSWORD
Task 1: Download and install VMware for windows and Download CentOS.
(Open Stack).
· VMware for windows: [Link]
pro/[Link]
· CentoOS: [Link]
install and configure Open Stack
Task 2: Setup and Configuration CentOS Settings.
Step 1. Open VMware and Setup CentOS.
· A)
· B)
· C)
· D)
install and configure Open Stack
· D) 20GB and more.
· E)
· F) Memory = 4GB
· G)
install and configure Open Stack
· H)
Step 2. Configuration Centos OS.
· A) Run Centos OS
· B)
· C)
install and configure Open Stack
· D)
· E)
· F)
· G) Ethernet (ens33) = ON
install and configure Open Stack
· H)
· I)
· J) username: alolayan Password: alolayan
· K) password root: root
install and configure Open Stack
· L)
· M)
· N) localhost: root password: root
· O) Start configuration commands.
· Configuring Network.
systemctl disable firewalld
· Now, stop the firewaalld service with the following command:
systemctl stop firewalld
· Now, disable the NetworkManager service with the following command:
systemctl disable NetworkManager
· Now, stop the NetworkManager service with the following command:
systemctl stop NetworkManager
install and configure Open Stack
· Now, enable network Network service with the following command:
systemctl enable network
· Now, start network Network service with the following command:
systemctl start network
· Now, Check the name of your network interface as following:
ip a
· The name of the Network interface of my CentOS 7 VM is ens33 .
Now, run the following command to configure the network interface ens33 to
automatically get IP address via DHCP:
echo -e 'DEVICE=ens33\nBOOTPROTO=dhcp\n'< /etc/sysconfig/network-scripts/ifcfg-ens33
· Now, reboot your CentOS 7 VM as follows:
sudo reboot
· Onse it boots, the network interface ens33 should have an IP address..
echo -e "LANG=en_US.utf-8\nLC_ALL=en_us.utf\n"< /etc/environment
· run the following command.
yum update -y
· CentOS packages are being update.
All the CentOS 7 packages should be update.
Now, add the OpenStack Rocky Package repository with the following command:
yum install -y centos-release-openstack-rocky
· the OpenStack Rocky package repository should be added.
Now, update the CentOS 7 system packages again with following command:
yum update -y
· Now, install PackStack with the following command:.
yum install -y openstack-packstack
· Packstack is being installed, it may take a while to complete.
Packstack should be installed.
Now, install deltarpm package:
yum install -y deltarpm
install and configure Open Stack
· Now, install all the components of OpenStack on CentOS 7 with the following
command:
packstack --allinone
· OpenStack is being installed.
Packstack is configuring required components with [Link] will take a long time to
complete.
OpenStak is installed.
ip a
cat keystonerc_admin | grep PASSWORD
· Go to CMD on your computer and check the IP connection.
ping [Link]
install and configure Open Stack
· Visit the OpenStack Browser .
[Link]
[Link]
Task 3: Log in OpenStack .
username: admin password: 7d4de8640339406f
install and configure Open Stack
Step 1. Create Networks: Lap4 [Link]/24 – lap5 [Link]/24
2
4
6
install and configure Open Stack
Step 2. Check the Network Topology.
Step 3. Create Key Pair.
1 4
2
install and configure Open Stack
Step 4. Add Machines Cloud.
1
4
Step 4. Add Routers.
5
install and configure Open Stack
Step 5. Connecting the router to the network interface.
2 4
Step 6. the Network Topology.