목록windows (32)
개발 공부
✅ Dynamic Load Balancing: 개요SET에서 Dynamic 모드는 Hyper-V Port + Address Hashing을 혼합하여 사용합니다.이 두 가지를 조합하여 부하 분산 효율과 안정성을 동시에 추구하죠.🧠 어떻게 작동하나요?1. 기본 분배 단위는 “흐름(Flow)”하나의 흐름 = 동일한 5-tuple (Source IP, Destination IP, Source Port, Destination Port, Protocol)각 흐름은 하나의 물리 NIC에 할당됨 (flow-to-NIC mapping)여러 세션/흐름은 NIC들 간에 자동 분산됨예:세션 1 (10.0.0.1:1000 → 10.0.0.10:443) → NIC1 세션 2 (10.0.0.1:1001 → 10.0.0.11:4..
🔍 핵심 질문:"파워오프 시에도 MAC이 이동하는데, 왜 파워온 시에 더 긴 단절이 생기냐?"✅ 먼저, 파워오프 시 흐름 정리물리 NIC가 꺼짐 (예: NIC2)해당 NIC로 연결된 vNIC의 트래픽은 다른 NIC(NIC1)로 failover이 때 OS는 vNIC의 MAC 주소를 NIC1 포트로 보내기 시작함업스트림 스위치는 "MAC 주소 X가 이제 포트 A에서 온다"라고 즉시 갱신함결과: 거의 무중단 전환➡ 이 과정은 빠르게 발생하고, OS가 트래픽을 계속 보내고 있기 때문에 업스트림 스위치가 MAC을 쉽게 다시 학습할 수 있어요.❌ 반대로, 파워온 시에 왜 느려지는가?꺼졌던 NIC2가 다시 살아남OS는 SET의 로드밸런싱 로직에 따라 일부 vNIC을 NIC2로 다시 재분배이 때 중요한 차이:MAC ..
VM1 is unaware of SET or NIC failover on the Hyper-V host. Therefore, you cannot automatically detect SET failover from within the VM without external assistance. You can simulate or force outbound traffic from VM1 under certain conditions to help refresh MAC learning on the new switch port. 🔸 1. Send Periodic Gratuitous ARPs (GARP) or ARP Replies from VM1Gratuitous ARP is a common way to updat..
# Windows 서버 환경에서, 2개의 스위치와 각각 연결된 2개의 NIC Teaming 옵션- LACP (Link Aggregation Control Protocol) + LBFO(Load Balancing and Failover) Teaming- SET(Switch-Embedded) Teaming-> LACP는 많은 사람이 안정적이라고 함. 그러나 MS는 LBFO의 지원을 종료하였고 SET를 권장-> SET는 Switch independent 이며 Hyper-V 환경에서는 Hyper-V Port 설정 권장※ 참고Teaming Modes- Switch independent mode- Switch dependent modeLoad Distribution Modes- Address Hash- Hyper-..
✅ 용어 설명 요약용어풀네임설명LAGLink Aggregation Group여러 물리 NIC를 하나의 논리 NIC로 묶는 기술 (개념 자체)LACPLink Aggregation Control ProtocolIEEE 표준 프로토콜로 LAG를 동적으로 구성함LBFOLoad Balancing and FailoverWindows Server에서 제공하는 NIC Teaming 기술 (비표준)SETSwitch Embedded TeamingWindows Server 2016 이상에서 제공하는 차세대 NIC Teaming 방식 (LBFO 대체) 🔹 1. LAG (Link Aggregation Group)개념: 여러 개의 물리적인 NIC 포트를 묶어 하나의 논리적인 링크처럼 사용하는 방식입니다.목적: 대역폭 증가, 고..
✅ Is DNS Used in Live Migration?✅ Yes — for initial node resolution and authenticationWhen you initiate a Live Migration in a Windows Failover Cluster:The initiating node (source) needs to:Contact the destination node (target).Authenticate using Kerberos (via domain controller).Establish a SMB (or SMB Direct) connection for memory transfer.For this to work:The node resolves the destination node’..
📦 EnvironmentEach host node is connected to a switch that separates two VLANs:VLANPurposeCluster Network NameVLAN A"Client and Cluster"Used for client traffic, DNS/DC, Live Migration, VM accessVLAN B"Cluster Only"Used for S2D, CSV traffic, node-to-node heartbeat only Each host has 2+ NICs mapped to these VLANs:NIC1 = "Client and Cluster"NIC2 = "Cluster Only"(possibly NIC3 = "Client only" for DN..
🧠 TL;DR Summary:✅ A Domain Controller (DC) is required for:Cluster formation and authenticationName resolution (via DNS)Accessing domain-joined resources (e.g., SMB)Cluster-aware updates, GPOs, and live migration authenticationHowever, once the cluster is already formed, certain operations (like S2D and CSV access) can continue without the DC — but with reduced functionality and higher risk.🔍 ..
✅ PowerShell Script: Monitor & Auto-Evict Node on Network LossHere’s a working PowerShell script that:Checks if the local node has an interface in the "Client and Cluster" network that is disconnected.Waits for X seconds to see if the state persists.If so, triggers a force failover by:Moving VMs (if still possible), orPausing and/or evicting the node to force failover.🔧 Script Template:# CONFIG..
🧠 Cluster Behavior RecapWSFC checks node health using heartbeats sent over networks marked for cluster use.If a node can still:Talk to the cluster (via Cluster Only network),Access the CSV (Cluster Shared Volumes),And the VM is healthy,👉 Then the cluster considers the node healthy, even if it’s isolated from clients.🔧 So How Can You Change That?Create a Custom Health Detection Script (Advance..