feat: add DNS setup blueprint and infrastructure automation scripts

This commit is contained in:
2026-11-08 09:28:06 -05:00
parent 17e60354a1
commit fc42bd6f94
11 changed files with 335 additions and 0 deletions

22
scripts/check_nodes2_3.py Normal file
View File

@@ -0,0 +1,22 @@
import paramiko
for ip, name in [("140.44.44.122", "Node 2"), ("140.44.44.123", "Node 3")]:
c = paramiko.SSHClient()
c.set_missing_host_key_policy(paramiko.AutoAddPolicy())
c.connect(ip, username='root', password='Katzir476!', timeout=10)
stdin, stdout, stderr = c.exec_command('racadm get bios.SysProfileSettings.SysProfile')
prof = stdout.read().decode().strip().splitlines()[-1]
c.close()
# New connection for second command
c = paramiko.SSHClient()
c.set_missing_host_key_policy(paramiko.AutoAddPolicy())
c.connect(ip, username='root', password='Katzir476!', timeout=10)
stdin, stdout, stderr = c.exec_command('racadm get bios.IntegratedDevices.SriovGlobalEnable')
sriov = stdout.read().decode().strip().splitlines()[-1]
c.close()
print(f"[{name} - {ip}] {prof} | {sriov}")