cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1294
Views
4
Helpful
2
Replies

VM-FEX with Nexus 5500

krun_shah
Level 1
Level 1

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

------------------------------

---------------------------------------
id   Port   Status Active vlans
--   ----   ------ --------------------------------------------------
1    Po1718 down   -
pod5-n5k-1# 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: 54 b6 2c 50 47 50 92 f9-b3 32 c1 b0 a9 28 df aa
     config status: Enabled
    operational status: Connected

After primary came up with operational secondary both switches loose the svs connection to vcenter See below

pod5-n5k-1# 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: 54 b6 2c 50 47 50 92 f9-b3 32 c1 b0 a9 28 df aa
    config status: Enabled
   operational status: Disconnected

pod5-n5k-2# sh svs connections

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


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: 54 b6 2c 50 47 50 92 f9-b3 32 c1 b0 a9 28 df aa
    config status: Enabled
   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

My question is how to make sure when secondary switch becomes operational primary it initiates the vcenter connection?
2 Replies 2

krun_shah
Level 1
Level 1

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

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:

http://www.cisco.com/en/US/docs/switches/datacenter/nexus5000/sw/layer2/521_n1_1/b_Nexus_5000_Layer2_Config_521N11_chapter_010001.html#task_6534F78F2BB549CA83C52508FBE81F50

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

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: