Cara Install Node Proxmox

 

Cara Install Node Proxmox

Task : Melakukan Reinstall node PVE3A 

Step :

    1. Matikan semua service dan aplikasi serta shutdown VM

    2. Copy semua file di directory /etc/pve/qemu-server ke node staging (PVE2B) 

            - Buat Direktori di pve2b untuk menyimpan file copyan pve3a
            - Copy semua file directory /etc/pve/qemu-server

    3. Move semua file di directory /etc/pve/qemu-server ke directory /root/vm_pve3a

    4. Pada node pve2b (staging), lakukan copy file vm_pve3a ke directory /etc/pve/qemu-server

Note : Setelah dicopy pastikan file sudah muncul di web proxmox pve2b

dd     5. Tes nyalakan semua vm yang telah dicopy pada node staging (pve2b)

          6. Matikan node pve3a -> # shutdown -h now

                   Jika nyangkut, lakukan shutdown melalui IPMI

        7. Lakukan Attach File ISO untuk melakukan instalasi proxmox










            - Setelah attach ISO, nyalakan server

        8. Proses Install IPMI    

                - Tekan F11 untuk change boot

            - Pilih Aten Virtual









        - Plug out ISO proxmox


        9.  Setup Proxmox

        - Setup IP Proxmox  # nano /etc/network/interfaces


        Lakukan setup IP menjadi seperti ini (setup bisa dicontek dari node lain)
           root@pve3a:~# cat /etc/network/interfaces

          auto lo
            iface lo inet loopback

            auto enp59s0f0
            iface enp59s0f0 inet manual

            auto eno1
            iface eno1 inet manual

            auto eno2
            iface eno2 inet manual

            auto enp59s0f1
            iface enp59s0f1 inet manual

            auto eno3
            iface eno3 inet manual

            auto eno4
            iface eno4 inet manual

            auto bond0
            iface bond0 inet manual
                    slaves enp59s0f0 enp59s0f1
                    bond_miimon 100
                    bond_mode 802.3ad

            auto bond1
            iface bond1 inet static
                    address 10.0.1.31
                    netmask 255.255.255.0
                    slaves eno1 eno2 eno3 eno4
                    bond_miimon 100
                    bond_mode balance-rr

            auto vmbr0
            iface vmbr0 inet static
            address 172.16.44.31
            netmask 255.255.255.0
            gateway 172.16.44.1
            bridge_ports bond0
            bridge_stp off
            bridge_fd 0
            #  service networking restart
              
                        Lakukan Tes ping ke IP 172.16.44.31

      - Install Multipath
                    # apt-get update
                    # apt-get install multipath-tools

               - Create file multipath 
                Note : untuk file multipath bisa di contek dari node lain                

      Setup ISCSIADM
                    # iscsiadm -m discovery -t sendtargets -p 10.0.1.15:3260
                    # iscsiadm -m discovery -t sendtargets -p 10.0.1.16:3260                    

            Login ISCSI                    
    Jika no active sessions, maka tambahkan
                # iscsiadm -m node -T iqn.2002-10.com.infortrend:raid.uid592959.401 -p 10.0.1.15:3260 -l
                # iscsiadm -m node -T iqn.2002-10.com.infortrend:raid.uid592959.412 -p 10.0.1.16:3260 -l            

           Cek kembali # iscsiadm -m session            

            - Restart multipath
                    # systemctl restart multipath-tools.service

              -  Add ip address cluster
                    # pvecm add IP-ADDRESS-CLUSTER            

        
Cek pvecm status        

       10.   Matikan semua service dan aplikasi serta shutdown VM yg dicopy di node staging

       11.   Copy semua file dari node staging (PVE2B) ke directory /etc/pve/qemu-server PVE3A        

              -  Delete file yg dicopy di /etc/pve/qemu-server node staging (PVE2B)

      12.  Nyalakan semua vm dan service pada vm pve3a

       13. Done


Posting Komentar

0 Komentar