08-11-2012 02:12 PM
While configuring vcenter to N5K connection(svs connection just like in Nexus 1000v) we need to connect only thru vpc primary switch i.e. connect command under svs connection <name> only applied on vpc primary switch. What happens when VPC primary switch is reloaded and secondary becomes operational primary. I tested this but it seems that while primary switch is going thru reboot second switch does not automatically bring up vcenter connection. Also while primary is going thru reboot process the whole vpc domain breaks connection to vcenter.
pod5-n5k-1# sh vpc
Legend:
(*) - local vPC is down, forwarding via vPC peer-link
vPC domain id : 55
Peer status : peer link is down
vPC keep-alive status : Suspended (Destination IP not reachable)
Configuration consistency status: success
Per-vlan consistency status : success
Type-2 consistency status : success
vPC role : secondary, operational primary
Number of vPCs configured : 0
Peer Gateway : Disabled
Dual-active excluded VLANs : -
Graceful Consistency Check : Enabled
vPC Peer-link status
------------------------------
pod5-n5k-1# sh vpc
Legend:
(*) - local vPC is down, forwarding via vPC peer-link
vPC domain id : 55
Peer status : peer adjacency formed ok
vPC keep-alive status : peer is alive
Configuration consistency status: success
Per-vlan consistency status : success
Type-2 consistency status : success
vPC role : secondary, operational primary
Number of vPCs configured : 0
Peer Gateway : Disabled
Dual-active excluded VLANs : -
Graceful Consistency Check : Enabled
vPC Peer-link status
---------------------------------------------------------------------
id Port Status Active vlans
-- ---- ------ --------------------------------------------------
1 Po1718 up 1,1422
08-11-2012 02:26 PM
Also one more thing,
After vpc primary switch came up and became operational secondary none of the switches cannot connect to vcenter
pod5-n5k-2# sh vpc role
vPC Role status
----------------------------------------------------
vPC role : primary, operational secondary
Dual Active Detection Status : 0
vPC system-mac : 00:23:04:ee:be:37
vPC system-priority : 32667
vPC local system-mac : 00:05:73:be:eb:bc
vPC local role-priority : 1
pod5-n5k-2# config t
Enter configuration commands, one per line. End with CNTL/Z.
pod5-n5k-2(config)# svs connection MyVC
pod5-n5k-2(config-svs-conn)# no connect
pod5-n5k-2(config-svs-conn)# connect
pod5-n5k-2(config-svs-conn)# exit
pod5-n5k-2(config)# sh svs connections
Local Info:
-----------
connection MyVC:
ip address: 10.2.8.51
remote port: 80
vrf: management
protocol: vmware-vim https
certificate: default
datacenter name: MyDC
extension key: Cisco_Nexus_1000V_1813219752
dvs name: MyVMFex
DVS uuid: -
config status: Disabled
operational status: Disconnected
sync status: -
version: -
Peer Info:
----------
connection MyVC:
ip address: 10.2.8.51
remote port: 80
vrf: management
protocol: vmware-vim https
extension key: Cisco_Nexus_1000V_1813219752
certificate: default
certificate match: TRUE
datacenter name: MyDC
dvs name: MyVMFex
DVS uuid: -
config status: Disabled
operational status: Disconnected
pod5-n5k-1# sh vpc role
vPC Role status
----------------------------------------------------
vPC role : secondary, operational primary
Dual Active Detection Status : 0
vPC system-mac : 00:23:04:ee:be:37
vPC system-priority : 32667
vPC local system-mac : 00:05:73:ca:f7:01
vPC local role-priority : 10
pod5-n5k-1# config t
Enter configuration commands, one per line. End with CNTL/Z.
pod5-n5k-1(config)# svs connection MyVC
pod5-n5k-1(config-svs-conn)# no connect
pod5-n5k-1(config-svs-conn)# connect
pod5-n5k-1(config-svs-conn)# sh svs connections
Local Info:
-----------
connection MyVC:
ip address: 10.2.8.51
remote port: 80
vrf: management
protocol: vmware-vim https
certificate: default
datacenter name: MyDC
extension key: Cisco_Nexus_1000V_1813219752
dvs name: MyVMFex
DVS uuid: -
config status: Disabled
operational status: Disconnected
sync status: -
version: -
Peer Info:
----------
connection MyVC:
ip address: 10.2.8.51
remote port: 80
vrf: management
protocol: vmware-vim https
extension key: Cisco_Nexus_1000V_1813219752
certificate: default
certificate match: TRUE
datacenter name: MyDC
dvs name: MyVMFex
DVS uuid: -
config status: Disabled
operational status: Disconnected
08-13-2012 12:51 PM
Hi Krunal,
Which version of NX-OS are you running on these Nexus 5000?
In short, according to the NX-OS 5.2(1)N1(1) L2 Config Guide, you need to configure the SVS Connection to vCenter on both switches and activate it on both, but only the primary will actually connect. In case of failure, once the secondary assumes the operational primary role, the configured connection should become active. I haven't tested this myself, but that's my understanding of the documentation:
Let me know if this helps and feel free to reach out to me as I'm the Cisco Channel SE supporting OnX in Canada.
Best regards,
Simon
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide