Skip to content

Archives

All the articles I've archived.

2024 2
September 1
  • Proxmox - Setup Proxmox VE on Debian

    Published: at 06:19 PM

    Proxmox Virtual Environment (Proxmox VE) adalah platform open-source untuk virtualisasi server yang digunakan secara luas dalam solusi private cloud. Proxmox menyediakan berbagai fitur seperti KVM hypervisor, LXC containers, penyimpanan terdistribusi, manajemen jaringan, dan fitur HA (High Availability) untuk menjamin ketersediaan layanan...

May 1
  • Configure Nginx Multisite

    Updated: at 06:53 AM

    Install nginx. apt install nginx Create dns record for domain and point to same host ip, here i will use hosts file. echo "127.0.0.1 satu.dama.zip dua.dama.zip" >> /etc/hosts Create directory for each website # 1st website mkdir /var/www/html...

2023 38
December 1
October 3
  • 12 - Setup Placement API

    Published: at 02:05 PM

    This post is part of the Manual Deployment Openstack HA and Ceph series. Setup Placement Database (Exec on Controller-01) Create mysql database for placement mysql CREATE DATABASE placement; Grant placement user for any host access GRANT ALL PRI...

  • 16 - Setup Nova on Controller

    Published: at 12:04 PM

    This post is part of the Manual Deployment Openstack HA and Ceph series. Setup Nova Database (Exec on controller-01) Create mysql database for keystone mysql CREATE DATABASE nova_api; CREATE DATABASE nova; CREATE DATABASE nova_cell0; Grant nova u...

  • 17 - Setup Nova on Compute

    Published: at 12:02 PM

    This post is part of the Manual Deployment Openstack HA and Ceph series. Install and Configure nova-compute (Execute on compute nodes) Install packages apt install -y nova-compute Modify nova-compute configuration vi /etc/nova/nova.conf [DEFAUL...

September 1
  • KVM Overlay Network with VXLAN

    Published: at 07:30 PM

    Introduction The VXLAN (Virtual eXtensible Local Area Networking) protocol is a tunnelling protocol designed to solve the problem of limited VLAN IDs (4096) in IEEE 802.1q. With VXLAN the size of the identifier is expanded to 24 bits (16777216). VXLA...

August 33
  • 01 - Deployment Topology Scenario

    Published: at 02:43 AM

    This post is part of the Manual Deployment Openstack HA and Ceph series. Toplogy Version Openstack: Yoga Ceph: Quincy Endpoint Region Name : java Domain : dama.id Internal vip hostname : internal.java.dama.id Admin vip hostname : admin.java.dama.id...

  • 02 - Pre-Deployment

    Published: at 03:43 AM

    This post is part of the Manual Deployment Openstack HA and Ceph series. Exec on all nodes 1. Set hosts file vi /etc/hosts 202.10.10.100 public.java.dama.ink 10.10.10.100 internal.java.dama.ink 10.10.10.100 admin.java.dama.ink 10.10.10.11 os-contro...

  • 03 - Manual Deployment Ceph Quincy Cluster

    Published: at 05:21 PM

    This post is part of the Manual Deployment Openstack HA and Ceph series. Environment ceph mon : os-controller-01, os-controller-02, os-controller-03 ceph mgr : os-controller-01, os-controller-02, os-controller-03 ceph osd : os-compute-01, os-compute-...

  • 04 - Setup keyring for openstack service

    Published: at 05:22 PM

    This post is part of the Manual Deployment Openstack HA and Ceph series. In OpenStack, keyrings are used to authenticate OpenStack components that interact with Ceph. Cinder and Glance require keyrings to access and manage block and image storage in ...

  • 05 - Setup Galera Cluster

    Published: at 08:01 PM

    This post is part of the Manual Deployment Openstack HA and Ceph series. Preparation (Execute on all controller nodes) 1. Install required package apt install -y apt-transport-https software-properties-common python3-mysqldb rsync python3-pymysql 2....

  • 06 - Setup Rabbitmq Cluster

    Published: at 08:04 PM

    This post is part of the Manual Deployment Openstack HA and Ceph series. Install Rabbitmq (Exec on all controller nodes) 1. Install rabbitmq apt install rabbitmq-server -y 2. Change rabbitmq listen address sed -i "s/\#NODE_IP_ADDRESS=127.0.0.1/NODE_...

  • 07 - Setup Memcached

    Published: at 08:10 PM

    This post is part of the Manual Deployment Openstack HA and Ceph series. Memcached is typically used by high-speed components like Keystone (Identity Service) and Nova (Compute Service) in OpenStack to store frequently accessed temporary data, such a...

  • 08 - Setup HAproxy

    Published: at 08:12 PM

    This post is part of the Manual Deployment Openstack HA and Ceph series. HAProxy is a commonly used load balancer and proxy server that can be deployed in a high-availability (HA) configuration in an OpenStack environment. It helps distribute incomin...

  • 09 - Setup Pacemaker Cluster

    Published: at 08:16 PM

    This post is part of the Manual Deployment Openstack HA and Ceph series. Preparation (Exec on all controller nodes) 1. Install pcs package apt install pacemaker corosync fence-agents pcs resource-agents -y 2. Change user hacluster password echo 'hac...

  • #1 Pengenalan - Belajar Docker

    Published: at 07:35 AM

    Sejarah Singkat Dulu biasanya suatu perushaan/organisasi langsung menjalankan aplikasi nya diatas 1 komputer, yap satu server hanya menjalankan satu aplikasi. Lalu seiring berkembangnya teknologi, resource hardware pun menjadi lebih besar, dan akan s...

  • 10 - Setup Keystone

    Published: at 08:21 PM

    This post is part of the Manual Deployment Openstack HA and Ceph series. Setup Keystone Database (Exec on controller-01) 1. Create keystone database mysql CREATE DATABASE keystone; 2. Grant keystone user for any host access GRANT ALL PRIVILEGES ON k...

  • 11 - Setup Glance

    Published: at 08:28 PM

    This post is part of the Manual Deployment Openstack HA and Ceph series. Setup Database (Exec on controller-01) 1. Create mysql database for glance mysql CREATE DATABASE glance; 2. Grant glance user for any host access GRANT ALL PRIVILEGES ON glance...

  • 13 - Create ceph libvirt secret

    Published: at 03:43 AM

    This post is part of the Manual Deployment Openstack HA and Ceph series. Execute on Compute Nodes 1. Generate random uuid $ uuid 9de5fa70-0706-11ee-a8cf-d326bea0ef5d 2. Create secret file cat << EOF > /tmp/secret.xml <secret ephemeral='no' private='...

  • 14 - Setup Cinder on Controller

    Published: at 03:46 AM

    This post is part of the Manual Deployment Openstack HA and Ceph series. Setup Cinder Database (Exec on Controller-01) 1. Create mysql database for cinder mysql CREATE DATABASE cinder; 2. Grant cinder user for any host access GRANT ALL PRIVILEGES ON...

  • 15 - Setup Cinder on Compute

    Published: at 03:50 AM

    This post is part of the Manual Deployment Openstack HA and Ceph series. 1. Install cinder packages apt install -y cinder-volume 2. Modify cinder configuration vi /etc/cinder/cinder.conf [DEFAULT] debug = False use_forwarded_for = true use_stderr =...

  • 18 - Setup Neutron on Controller

    Published: at 04:06 AM

    This post is part of the Manual Deployment Openstack HA and Ceph series. Setup Neutron Database (Exec on controller-01) 1. Create mysql database for neutron mysql CREATE DATABASE neutron; 2. Grant neutron user for any host access GRANT ALL PRIVILEGE...

  • 19 - Setup Neutron on Compute

    Published: at 11:33 AM

    This post is part of the Manual Deployment Openstack HA and Ceph series. Install and Configure Neutron (Exec on all compute nodes) 1. Install neutron packages apt install -y openvswitch-common ovn-common ovn-host ovn-central neutron-ovn-metadata-agen...

  • 20 - Setup Horizon Dashboard

    Published: at 12:15 PM

    This post is part of the Manual Deployment Openstack HA and Ceph series. Exec on All Controller Nodes Create default role for horizon openstack role create member Install horizon packages apt -y install openstack-dashboard Configure openstack-...

  • 21 - Operational Test

    Published: at 12:28 PM

    This post is part of the Manual Deployment Openstack HA and Ceph series. Create External Network # Create external network with type flat openstack network create --share --external \ --provider-physical-network physpro1 \ --provider-network-type...

  • Apakah VPN Aman?

    Published: at 06:11 PM

    Overview VPN merupakan akronim dari Virtual Private Network. Virtual berarti tidak nyata atau tidak secara fisik, Private berarti hanya orang yang memiliki privilage yang dapat mengakses jaringan tersebut, dan Network adalah jaringan. Maka dapat diar...

  • Bash Reverse Shell

    Updated: at 01:39 PM

    Kemarin saya gabut dan mencoba mengoprek htb, dan berhasil mendapatkan flag salah satu retired machine di HTB yaitu Squashed, tentu saja dengan melihat write up orang. Salah satu teknik menarik yang digunakan adalah Rerverse Shell ini. Apa itu Revers...

  • Deploy Metallb with Layer2 Mode

    Published: at 08:37 PM

    In modern Kubernetes environments, managing network resources efficiently is crucial for ensuring the seamless operation of applications. Load balancing is a fundamental aspect of distributing incoming network traffic across multiple instances of an ...

  • Deploy Multi-Master K8S Cluster with External Etcd using Kubeadm

    Updated: at 01:34 PM

    In the realm of managing applications, Kubernetes reigns supreme. It's like having a conductor for your software orchestra, making sure everything plays in harmony. This blog will guide you through setting up a Multi-Master Kubernetes cluster with Ex...

  • File Transfer over PING (ICMP Messages)

    Updated: at 08:46 PM

    ICMP and Ping ICMP, or Internet Control Message Protocol, is one of the core protocols in the internet protocol family. It serves as a crucial tool primarily used by operating systems in networked computers to send error messages. These error message...

  • Lupa sudo saat menulis di vim

    Published: at 06:41 PM

    Case: Saat itu saya sedang mengakses console server, langsung lah saya mengubah konfigurasi suatu file dengan VIM, disitu saya sudah menulis beberapa perbuahan yang mungkin tidak banyak, tapi sangat tidak asik jika harus menulis ulang karna lupa men...

  • Nova Live Migration failure: operation failed: Failed to connect to remote libvirt URI qemu+tcp://

    Published: at 02:29 AM

    Case Ketika live migrate dari compute01 ke compute04 terjadi error seperti dibawah Error diatas disebabkan oleh nova compute yang menggunakan api qemu+tcp untuk live migrasinya, kita bisa menambahkan configurasi di nova nya agar si nova menggunakan ...

  • QEMU vs KVM vs Libvirt

    Updated: at 01:39 PM

    Type 1 & Type 2 Hypervisor Type 1 : Berjalan langsung diatas hardware yang mendasari host tersebut. Disebut juga "bare-meta" hypervisor. Yang berarti ia bisa berjalan langsung diatas hardware tanpa harus meload underlying os terlebih dahulu. Contoh:...

  • Reset KVM Guest Password

    Published: at 06:20 AM

    1. Install libguestfs-tools apt install -y libguestfs-tools dnf install -y libguestfs-tools 2. Shutdown vm virsh shutdown vm-1 3. Use virt-customize virt-customize -a /path/to/disk-root.qcow2 --root-password password:password123 4. Try to access v...

  • Setup Docker Registry

    Published: at 06:19 PM

    Introduction Docker Registry adalah tempat dimana kita menyimpan dan mendistribuskikan docker image. Kita bisa mendeploy Docker Registry secara local agar tidak terus menerus mengambil dari registry external seperti Docker Hub, GCR, dll. Contoh Case:...

  • Setup Gitlab Server

    Published: at 06:23 PM

    ** Introduction** GitLab is an open source end-to-end software development platform with built-in version control, issue tracking, code review, CI/CD, and more. You can Self-host GitLab on your own servers, in a container, or on a cloud provider if ...

  • Setup Jitsi Meet di Ubuntu 20.04

    Published: at 06:36 PM

    Pembuka Pada awal november, google meet menetapkan limitasi waktu kepada free user menjadi sebatas 1 jam saja, jadi jangan kaget jika tiba2 meet berhenti jika sudah satu jam. Lalu google meet menawarkan paket premium seharga 10$/bulan untuk memperpan...

  • Tshoot: Remove warning cryptography openstack client

    Published: at 12:54 PM

    This post is part of the Manual Deployment Openstack HA and Ceph series. Solution: Downgrade cryptography python package < 3.4 apt install python3-pip pip install cryptography==3.3.2

  • Tshoot: Too many connection mariadb

    Published: at 12:59 PM

    Cause: mysql has a max_connection variable where connections to mysql cannot exceed the value of the variable. Solution: increase the value of the max_connection variable 1. Check max_connections configured mysql MariaDB [(none)]> show variables lik...