Users Guide
Table Of Contents
- Table of Contents
- Preface
- 1 Introduction
- 2 Installing and Launching
- 3 QCS CLI Commands
- General Syntax and Keywords
- Command List
- Commands by Item View
- Command Details
- Add (Team Configuration)
- Add Discovery Portal
- Add Host
- Add iSNS Server
- Add Target
- Boot Configuration
- Cable Diagnostics
- Configure Advanced Settings
- Configure Advanced FCoE Settings
- Configure Advanced Adapter Settings
- Configure Advanced Port Settings
- Configure iSCSI Boot
- Configure iSCSI Initiator
- Configure iSCSI Management
- Configure iSCSI Management (on a Linux Host)
- Configure iSCSI Secret
- Configure Licenses
- Configure Multifunction
- Configure Resource
- Configure SR-IOV
- Configure System TOE
- Create Multiple NPIV Ports
- Create NPIV Port
- Diagnostics
- Discover Host
- Fallback
- Help
- Information (Adapter)
- Information (Team)
- List (Targets)
- List Discovery Portals
- List iSNS Servers
- Log
- Login
- Logout
- Network Diagnostics
- Ping Test
- Quit
- Refresh
- Refresh All
- Refresh Discovery Portal
- Refresh iSNS Server
- Remove (Team)
- Remove All Hosts
- Remove Discovery Portal
- Remove Host
- Remove iSNS Server
- Remove Multiple NPIV Ports
- Remove NPIV Port
- Remove Persistent Target
- Remove Target
- Reset Session Statistics
- Reset Statistics
- Restore (Team)
- Save (Team)
- Select (Target)
- Session Statistics
- Sessions
- Show Selected (Target)
- Statistics
- Unassigned (Adapters)
- Upgrade (Firmware)
- Version
- Legacy Commands
- 4 QCS CLI Usage
- Using Interactive Mode
- Performing Management Tasks
- Listing Target Adapters of Different Views in CLI Mode
- Obtaining Context Help for each Command
- Switching Between Different Views of Target Adapters
- Selecting a Target for the Command to Operate On
- Selecting a Target in Interactive Mode
- Getting Information for a Selected Target
- Configuring Advanced Parameters for a Selected Target
- Displaying Licenses for a Selected Target
- Configuring the iSCSI Parameter for a Selected Target
- Configuring the Resource of a Selected Target
- Configuring OoB Management for a Selected Target
- Configuring Systoe for the System
- Getting Statistics for a Selected Target
- Resetting Statistics for a Selected Target
- Running Diagnostic Tests for a Selected Target
- Running a Cable Diagnostic Test for a Selected Target
- Running a Network Diagnostic Test for a Selected Target
- Connecting to an FCoE Target
- Connecting to an iSCSI Target
- Creating a Team Configuration
- Restoring a Team Configuration
- Saving a Team Configuration
- Removing One or More Teams
- Displaying Unassigned Adapters
- Switching Between Primary and Standby Adapters in a Team
- Connecting an iSCSI Target
- Refreshing a Host
- Performing Other Common Tasks
- A Security Considerations
- B Configuration File Examples
- C Third-party Licenses
- D Exit Codes
- E Revision History
- Glossary
4–QCS CLI Usage
Performing Management Tasks
Doc No. TD-000971 Rev. 1
January 29, 2021 Page 163 Copyright © 2021 Marvell
Switching Between Primary and Standby Adapters in a Team
CLI Mode
Issue the QCSCLI -t TEAM "fallback" command in a Smart Load
Balancing™ and Auto-Fallback Disable (SLB-AFD) team to switch adapters from
standby to primary.
Interactive Mode
Issue the fallback command in an SLB-AFD team to switch adapters from
standby to primary.
Connecting an iSCSI Target
Interactive Mode
1. Launch QCS CLI from /opt/QLogic_Corporation/QCS/.
R740-3-iDRAC-IP-40221:/opt/QLogic_Corporation/QCS # ./QCScli
QLogic Control Suite Command Line Interface Utility for Linux v40.0.19.0
.............
Please add a host that you want to manage.
C Status Name OS Platform
- ------------ -------------------- -------------------------- --------------
0 connected R740-3-iDRAC-IP-40221 Linux SuSE 15.0 64 bit (x64)
No entry for terminal type "xterm-256color";
using dumb terminal settings.
2. Get the iSCSI MAC address.
In this example, the address is F4E9D4E86E99.
R740-3-iDRAC-IP-40221\host\0>list devcon
C ID DevType Name
- ------------ ------- ----------------------------------------------------
R740-3-iDRAC-IP-40221 Host R740-3-iDRAC-IP-40221
0 c8:00 Adapter QLogic QL41262 25 Gigabit Ethernet
1 c8:00.00 Port -Port0
2 000E1EF1FEA8 L2NIC ---QLogic QL41262 25 Gigabit Ethernet rev 02 (p1p1)
3 000E1EF1FEA8 iSCSI ---iSER over p1p1
4 c8:00.01 Port -Port1
5 000E1EF1FEA9 L2NIC ---QLogic QL41262 25 Gigabit Ethernet rev 02 (p1p2)
6 000E1EF1FEA9 iSCSI ---iSER over p1p2
7 c9:00 Adapter QLogic QL41162 10 Gigabit Ethernet
8 c9:00.00 Port -Port0
9 F4E9D4EFDD98 L2NIC ---QLogic QL41162 10 Gigabit Ethernet rev 02 (p2p1)