GeoNetAgent, LDAPWeb, server-audit, server-connection
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

2.6 KiB

Migration Guide — PC Multimedia

Owner: migrasi IP, NIC, atau kebijakan SSH workstation MULTIMEDIA.
Inventori: ../server.md · Env: ../../.env.example

Prinsip: ubah .env / ssh config / docs — bukan hardcode IP di skrip.


Inventori saat ini (2026-07-06)

Item Nilai saat ini File yang harus diupdate jika berubah
Hostname MULTIMEDIA docs/server.md
IP utama (LAN server) 10.100.1.14 .env.example, docs/server.md, ~/.ssh/config HostName
IP sekunder (LAN MikroTik) 192.168.0.18 .env.example, docs/server.md, DHCP MikroTik
SSH alias multimedia ~/.ssh/config, server-audit/host.md
SSH user admin docs/server.md
SSH port 22
Gateway utama 10.100.1.1 .env.example
Gateway sekunder 192.168.0.1 .env.example

Variabel env yang terpengaruh

Variabel Saat ini New (isi saat migrasi)
HOST_IP_PRIMARY 10.100.1.14
HOST_IP_SECONDARY 192.168.0.18
GATEWAY_PRIMARY 10.100.1.1
GATEWAY_SECONDARY 192.168.0.1

Langkah migrasi IP (workstation)

  1. Persiapan

    • Catat IP/MAC/gateway lama di ../server.md
    • Pastikan akses fisik/RDP ke PC jika SSH putus
  2. Ubah IP di Windows

    • Network adapter → TCP/IPv4 → IP baru
    • Tes ping gateway & server infra
  3. SSH & firewall

    • Get-Service sshd — masih Running
    • Firewall rule port 22 masih aktif
    • Host key tetap sama (kecuali reinstall OpenSSH)
  4. Update laptop dev

    • ~/.ssh/config — ubah HostName pada Host multimedia
    • known_hosts — tambah IP baru atau hapus entry lama
    • Tes: ssh multimedia hostname
  5. Update repo

  6. MikroTik (jika IP sekunder berubah)

    • Update DHCP reservation MAC 10:ff:e0:3a:7d:15

Rollback

  1. Kembalikan IP di Windows ke nilai lama
  2. Restore ~/.ssh/config laptop
  3. Catat di ../issues.md

Riwayat migrasi

Tanggal Dari Ke Catatan
2026-07-06 Bootstrap docs OpenSSH + dual NIC didokumentasikan