[INFRA] migrate active old VPS 193.233.210.184 to 45.133.209.253
lint / hygiene (push) Failing after 30s
lint / hygiene (pull_request) Failing after 21s
standard / check (push) Successful in 9s
standard / check (pull_request) Successful in 14s

This commit is contained in:
architect committed 2026-12-02 18:00:21 +03:00
1 parent d2c6a1a51f
commit c985c0617b
107 files changed
+304 -186

No files matched your search

+1 -1
View File
@@ -124,7 +124,7 @@ def domains():
"""Домены из nginx: server_name + proxy_pass (хост и VPS)."""
seen, out = set(), []
sources = [("host", sh("cat /etc/nginx/sites-enabled/* /etc/nginx/conf.d/* 2>/dev/null", 40))]
vps = sh("ssh -o ConnectTimeout=8 -o BatchMode=yes root@193.233.210.184 "
vps = sh("ssh -o ConnectTimeout=8 -o BatchMode=yes root@45.133.209.253 "
"'cat /etc/nginx/sites-enabled/* 2>/dev/null'", 40)
if vps:
sources.append(("vps", vps))
+1 -1
View File
@@ -13,7 +13,7 @@ import sys
from datetime import datetime
OUT_DIR = "/root/buryan-infra/ops/topology"
VPS = "193.233.210.184"
VPS = "45.133.209.253"
def sh(cmd, timeout=60):
+1 -1
View File
@@ -12,7 +12,7 @@ from collections import defaultdict
from datetime import date, datetime
OUT = "/root/buryan-infra/ops/hygiene"
VPS = "193.233.210.184"
VPS = "45.133.209.253"
FINDINGS = []
+1 -1
View File
@@ -12,7 +12,7 @@ from datetime import datetime
ROOT = "/root/buryan-infra"
LEDGER = ROOT + "/ops/topology/ledger.md"
VPS = "193.233.210.184"
VPS = "45.133.209.253"
def sh(cmd, timeout=60):
+1 -1
View File
@@ -15,7 +15,7 @@ import subprocess
import time
OUT = "/var/lib/net-monitor"
VPS = "193.233.210.184"
VPS = "45.133.209.253"
SNI = "git.buryans.ru"
GATEWAY = "192.168.1.1"
INTERVAL = 60 # секунд между замерами
+1 -1
View File
@@ -11,7 +11,7 @@ import subprocess
import time
OUT = "/var/lib/path-monitor"
VDS = "193.233.210.184"
VDS = "45.133.209.253"
INTERVAL = 30
+1 -1
View File
@@ -17,7 +17,7 @@ from datetime import date
OUTDIR = "/var/lib/path-monitor-light"
STATE = OUTDIR + "/tcp-streak"
VDS = "193.233.210.184"
VDS = "45.133.209.253"
WG = "10.88.0.1"
GW = "192.168.1.1"
NOTIFY = "/opt/buryan-hub/scripts/notify.py"
+1 -1
View File
@@ -14,7 +14,7 @@ import time
# Публичный SSH к VPS нестабилен (banner exchange). Основной путь — туннель,
# публичный адрес — резерв.
VPS_CANDIDATES = [
os.environ.get("VPS_SSH", "root@193.233.210.184"),
os.environ.get("VPS_SSH", "root@45.133.209.253"),
"[email protected]",
]
VPS = VPS_CANDIDATES[0]
+1 -1
View File
@@ -14,7 +14,7 @@ import subprocess
import time
import urllib.request
VDS = "193.233.210.184"
VDS = "45.133.209.253"
SNI = "git.buryans.ru"
OUT = "/var/lib/vpn-health"
STATE = "/var/lib/vpn-health/last.json"