Vic Troubleshooting
Vic Troubleshooting
Yogesha MG
-29Mar’17
1
Quick Quiz Question
Note:
1. Mix of Gen-2 & Gen-3 adapters is not supported.
2. Gen-1 adapters are not supported in new releases.
3. 3rd Party Adapters
• Only support 2 vEth & 2 vFC devices
• No failover & nictool support [for fw upgrades]
C-Series UCSM Managed VIC adapters
Note:
1. VIC 1385 & 1387 are supported on DelNorte-2 & Imperial Servers
Identifying VIC — GUI
12
Service Profile Circuit Paths
• A server’s virtual interface (VIF) mapping can be displayed with the ‘show service-profile circuit’
command.
• The VIF number can be used in the NXOS level of the FI to trace a path to the upstream.
--------------------+---------+----------------------------------------
Border Interface Status SIFs
--------------------+---------+----------------------------------------
Po3 Active veth961 veth965 veth973 veth977 veth981
veth985 veth989 veth993 veth997
veth1001 veth1005 veth1009 veth1013
veth1017 veth1021 veth1025 veth1029
veth1033 veth1037 veth1041 veth1045
veth1049 veth1053 veth1057 veth1061
veth1065 veth1069 veth1073 veth1081
veth1085
Total Interfaces : 1
VIC Logs
16
Adapter Log
• VIC log can be viewed after connecting to
a server’s adapter:
adapter 1/1/1 (top):2# show-log
20
SAN boot troubleshooting with VIC
• With CISCO VIC, once you enable a boot FNIC and reboot
the blade, the Option ROM for that FNIC gets enabled and
tells FW to log into the fabric to discover the boot LUNs.
lunmapid: 0 port_cnt: 1
lif_id: 5
PORTNAME NODENAME LUN PLOGI
50:0a:09:85:86:78:39:66 00:00:00:00:00:00:00:00 0011000000000000 N
SAN boot troubleshooting with VIC
• Connect to the adapter chassis/Blade slot/card:
phx2-dc-ucs-A# connect adapter 2/2/1
• C-series - Standalone
ucs-c220-m3# connect debug-shell <1|2>
adapter (top):1#
• Open rlogin session to VIC interface:
adapter 2/2/1 # connect
• Attach to the FC port services:
adapter 2/2/1 (top):1# attach-fls
• Query vNIC interfaces to get numbering:
adapter 2/2/1 (fls):2# vnic
---- ---- ---- ------- -------
vnic ecpu type state lif
---- ---- ---- ------- -------
7 1 fc active 5
8 2 fc active 6
SAN boot troubleshooting with VIC
Configured
Target details
Boot LUN
PLOGI is
unsuccessful
40
Adapter Connect debug-shell
• For troubleshooting, you must connect to the debug shell
after the adapter has initialized (success of fail)
• After the OS boots and the host drivers are loaded, it logs
out of the fabric and the host drivers take over
51
iSCSI Adapter Policy
• Create a new iSCSI policy. You will get the following window
iSCSI Troubleshoot : Quite boot
• Disable quiet boot for your blade models
• This makes troubleshooting so much easier
– Allows you to see if the Cisco VIC has initialized correctly
– Will allow you to look into the OptionROM session
iSCSI Boot Service Policy
• Use expert mode
iSCSI Boot Service Policy
• Create vNIC0 and vNIC1, no failover, specify native
iSCSI Boot Service Policy
• With vNIC0 and vNIC1 created go to Add iSCSI vNICs
iSCSI Boot Service Policy
• Overlay vNIC – the iSCSI
vNIC uses the Service
Profile vNIC.
• iSCSI adapter policy
(Broadcom has specific
requirements)
• Identify native VLAN
• MAC address:
– Cisco VIC – none (do not
set)
– M51KR-B – must be set
(manual or pool)
iSCSI Devices
• You can create multiple iSCSI vNICs for HA. Only one path will
be used during install. This is how iBFT works
iSCSI Boot Service Policy
• Create the boot policy
– Cisco VIC, CD can be first or second.
iSCSI Boot Service Policy
• Assign the boot policy to the SP
iSCSI Boot Service Policy
• Set the iSCSI parameters – Select the first iSCSI boot devices
(you can have multiple iSCSI initiators)
iSCSI Boot Service Policy
• Initiator name (EUI or iQN formats).
• Initiator IP Address
• Target name (Query your array for the correct name, iQN format)
CHAP Authentication
Initiator Auth – to iSCSI array (E.g.
NetApp inbound)
Target Auth – from iSCSI array (E.g.
NetApp outbound) Initiator Auth
vnic_id: 13
link_state: Up
Initiator Cfg:
initiator_state: ISCSI_INITIATOR_READY
initiator_error_code: ISCSI_BOOT_NIC_NO_ERROR
vlan: 0
dhcp status: false
IQN: eui.feeddeadbeefcafe
IP Addr: 1.1.1.170
Subnet Mask: 255.255.255.0
Gateway: 1.1.1.1
Target Cfg:
Target Idx: 0
State: ISCSI_TARGET_LOGIN
Prev State: ISCSI_TARGET_DISABLED
Target Error: ISCSI_TARGET_NO_ERROR
IQN: iqn.1992-08.com.netapp:sn.101202278
IP Addr: 10.29.17.52
Port: 3260
Boot Lun: 2
Ping Stats: Failed - Connection refused
adapter 1/4/1 (mcp):3#
Cisco VIC Initialization – Troubleshooting
• You can also test connectivity between the Adapter and Target.
• Blade must be booted and entered into the BIOS Menu (F2)
• Ensure iSCSI Target IP is correct from “iscsi_get_config” output