Create credentialAccess Management > OS CREDENTIALS > Create Using key path Upload vprotect user public key to host sudo -u vprotect ssh-copy-id -i /opt/vprotect/.ssh/id_rsa.pub <user_with_sudo>@<hypervisor_hostname> Test connection to <hypervisor_hostname> with being asked for password sudo -u vprotect ssh <user_with_sudo>@<hypervisor_hostname> hostname On os configuration: Using GUISave the public key from /opt/vprotect/.ssh/id_rsa.pub Upload the key Mount backup: […]
Backup DB using Storware
Login > Application > Instance > +Create add credential copy application script from : /opt/vprotect/script/application/ [application(ex. mariaDB use vp_backup_mysql.sh] into /root/ path on db machine or change the script location in Environment variables Login > Application > Instance >instance name> setting : config the Environtment variables
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 […]
Install Cluster Kubernates using Kubeadm Ubuntu 22.04
Requirement : Initialize node reference : https://kubernetes.io/docs/setup/production-environment/container-runtimes/#containerd Make sure date time are correct and synced We use timesyncd, check the status Edit your NTP Server Restart the service Check your time and timezone, set your timezone if neccessary $timedatectl $timedatectl set-timezone Asia/Jakarta Remove Swap Sometime etcd having problem running in Ubuntu 22.04, edit the grub […]
Automation Cumulus with Playbook-Ansible
Preparation Memberikan akses “root/sudo” pada user user tanpa password pada semua perangkat, baik di dalam server maupun switch yang terhubung dalam ansible. Dalam kasus ini menggunakan user ubuntu dan dapat diubah sesuai kebutuhan. update dan upgrade system install python3-dev dan virtual environment install git dan copy repository file git ‘nvue’ yang dibutuhkan dari gitlab cumulus […]
Troubleshooting : Check MAC Address Learning on Cumulus
In Cumulus OS Switches, we can do MAC checking regarding troubleshooting Layer 2 function. At first we can use this command to make sure the MAC address is learned from some interfaces source. net show mac bridge macs If we want to check the Forward Database Mac on Cumulus OS Switches, you can use this […]
External Script Zabbix
Use external script to trigger checking from endpoint instead of from zabbix. Host : 10.0.70.253 Creating External Script : probe_latency.sh latency=$(ssh $1 ping -c 3 google.com | tail -1 | awk ‘{print $4}’ | cut -d ‘/’ -f 2) echo $latency
Passwordless SSH
SSH Client : 10.0.0.12 SSH Server: 192.168.0.11 User: psi-admin Login as psi-admin to SSH Client, then generate key to use: ssh-keygen -t rsa Then use ssh-copy-id to send the key to the SSH Server ssh-copy-id psi-admin@192.168.0.11 Done!