Upload and manage images A virtual machine image, referred to in this document simply as an image, is a single file that contains a virtual disk that has a bootable operating system installed on it. Images are used to create virtual machine instances within the cloud. For information about creating image files, see the OpenStack […]
Author: cloud-sys
KILL command in Linux
Here’s how to use the KILL command within Linux $ KILL [options] <PID> Linux KILL options: Option Description -s Specify what kill signal to send. -l Shows the name of the signal through the signal number. -L List all the available signals. q Sends the signal using sigqueue(3) instead of kill(2), allowing an additional integer […]
Sardina Documentation Series – Part-1
Log in to the Dashboard The dashboard is generally installed on the controller node. OpenStack dashboard — Project tab Projects are organizational units in the cloud and are also known as tenants or accounts. Each user is a member of one or more projects. Within a project, a user creates and manages instances. From the […]
Create VM using KVM and Virt Manager
Type this command to see if the processor is enough to handle virtualization $ egrep -c ‘(vmx|svm)’ /proc/cpuinfo if the output is greater than 0 (zero) you’re good to go. next is to install these packages by using this command $ sudo apt install -y qemu qemu-kvm libvirt-daemon libvirt-clients bridge-utils virt-manager Start and enable libvirt […]
Port Forwarding apache2 default port to 8080 using IP Tables
ubuntu@server1:~$ sudo vi /etc/apache2/ports.conf Listen 80 Our default port for apache2 service is 80, now we test this by using the curl command ubuntu@server1:~$ curl server1:80 => should output apache2 default html ubuntu@server1:~$ curl server1:8080 => should output “curl: (7) Failed to connect to localhost port 8080: Connection refused” We’re going to use ip tables […]
Creating LVM with group Permissions (Complete Guide).
sudo groupadd <groupname> sudo usermod -aG <groupname> <User> sudo yum install lvm2 (For Centos) sudo apt install lvm2 (For Ubuntu) sudo pvcreate /dev/vdb /dev/vdc sudo vgcreate <volume name> /dev/vdb /dev/vdc sudo lvcreate -L <size>(m/G) <path> note: if you want to make use of all the size available use: vgdisplay (check for free allocation) Mkfs.xfs <Logical […]
Configure Galera Cluster on Almalinux 9
Run the following command as root on all 3 nodes: dnf -y install mariadb-server-galera Configure the All Nodesvi /etc/my.cnf.d/galera.cnfChange the following line below wsrep_on=1 wsrep_cluster_name=”Galera_Cluster” wsrep_cluster_address=”gcomm://<All Nodes IP Address>” wsrep_node_address=”10.0.0.31″ <Current Node IP Address> Execute the following command on 1st Node:galera_new_clustersystemctl enable mariadbmysql_secure_installation Execute the following command on other nodes:systemctl enable –now mariadb Check the […]
Openstack Procedure to Turn on/off cluster
SOP to turn off cluster: kolla-ansible mariadb_backup -i ./multinode turn off all instances from openstack Turn status HA segment hosts to On Maintenance =True Disable HA segment from Openstack Horizon kolla-ansible stop -i ./multinode Move to Ceph Cluster ceph osd set noout turn off all ceph nodes Turn Off all Openstack Related Nodes > from […]
Ceph Replacing OSD
Steps WAIT UNTIL PG =0 < Around 1hour?> systemctl stop (ceph-cluster)@<OSD ID RELATED> example: systemctl stop ceph-9124ada3513@osd.1 Don’t forget to cleanup the disk from ceph Adding the Disk NOTE: If you encounter the following: Osd(…) exists, already created? You need to redo step 1-9, and then restart the docker of the ceph-host related NOTE: You […]
Ceph Integration with ISCSI
Prepare the image VMWARE_DISK1 apt install ceph-iscsi [root@ceph1 ~]# ceph osd pool create myrbd[root@ceph1 ~]# ceph osd pool application enable myrbd rbd [root@ceph1 ~]# rbd –pool myrbd create VMWARE_DISK1 –size=100G Deploy the iSCSI gateways [root@ceph1 ~]# ceph orch apply iscsi myrbd admin admin01 –placement ceph2,ceph3 –trusted_ip_list 10.9.0.24,10.9.0.25 [root@ceph1 ~]# ceph orch lsNAME RUNNING REFRESHED AGE PLACEMENT alertmanager […]