HP NC326m HP ProLiant Network Adapter Scripting Utility User Guide - Page 8

Script conversion, Scripting application (CQNICCMD), Command line syntax - download

Page 8 highlights

Script conversion Scripts created with previous versions of the NCU are supported; however, HP recommends that you recreate the script using the latest version of the NCU. Scripting application (CQNICCMD) CQNICCMD is a Windows utility that processes a network adapter configuration script file to duplicate the adapter teaming configuration of a source ProLiant BL/ML/DL server on a target server. This utility is supported on the following Windows operating systems: • Windows Server 2008 SP2 • Windows Server 2008 R2 • Windows Server 2008 • Windows Server 2008 x64 • Windows Server 2003 • Windows Server 2003 x64 Run the utility from the command line in a Command Prompt window, from the Run option on the Windows Start menu, or from a Windows command file. To execute the CQNICCMD utility from the command line, the HP Network Configuration Utility (NCU) must be closed. HP recommends that you use this application as part of the SmartStart Scripting Toolkit (SSST) deployment. However, the application can be used outside of this environment. Follow these steps when using the scripting application. 1. Configure adapter teaming on the source server. 2. Generate a script file on the source server by clicking Save in the HP NCU user interface or by running CQNICCMD /S in the Command Line utility. 3. Modify the script file as necessary. If you modify the script file, HP recommends that you run CQNICCMD/ P to check the syntax of the modified file and check the log file for errors and warnings. The default location of the log file is \cpqsystem\log\cpqteam.log on the system drive. The syntax of the /P option is cqniccmd /p 4. Install the HP NCU on the target system. 5. Run the Command Line utility with the following syntax. cqniccmd /c 6. Check the log file for errors and warnings. The default location of the log file is \cpqsystem\log\cpqteam.log on the system drive. For use of this utility with the SmartStart Scripting Toolkit (SSST), see the documentation included with SSST, which can be downloaded from the HP website (http://h18013.www1.hp.com/products/servers/management/toolkit/index.html). Command line syntax CQNICCMD [[F/] /C] [/D] [/L ] [/P ] [/S] [/?] Scripting 8

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21

Scripting 8
Script conversion
Scripts created with previous versions of the NCU are supported; however, HP recommends that you
recreate the script using the latest version of the NCU.
Scripting application (CQNICCMD)
CQNICCMD is a Windows utility that processes a network adapter configuration script file to duplicate
the adapter teaming configuration of a source ProLiant BL/ML/DL server on a target server.
This utility is supported on the following Windows operating systems:
Windows Server 2008 SP2
Windows Server 2008 R2
Windows Server 2008
Windows Server 2008 x64
Windows Server 2003
Windows Server 2003 x64
Run the utility from the command line in a Command Prompt window, from the
Run
option on the
Windows Start menu, or from a Windows command file. To execute the CQNICCMD utility from the
command line, the HP Network Configuration Utility (NCU) must be closed.
HP recommends that you use this application as part of the SmartStart Scripting Toolkit (SSST)
deployment. However, the application can be used outside of this environment. Follow these steps when
using the scripting application.
1.
Configure adapter teaming on the source server.
2.
Generate a script file on the source server by clicking
Save
in the HP NCU user interface or by
running CQNICCMD /S<filename> in the Command Line utility.
3.
Modify the script file as necessary.
If you modify the script file, HP recommends that you run CQNICCMD/ P to check the syntax of the
modified file and check the log file for errors and warnings. The default location of the log file is
\cpqsystem\log\cpqteam.log on the system drive. The syntax of the /P option is cqniccmd
/p<filename>
4.
Install the HP NCU on the target system.
5.
Run the Command Line utility with the following syntax.
cqniccmd /c<filename>
6.
Check the log file for errors and warnings. The default location of the log file is
\cpqsystem\log\cpqteam.log on the system drive.
For use of this utility with the SmartStart Scripting Toolkit (SSST), see the documentation included with
SSST, which can be downloaded from the HP website
(
).
Command line syntax
CQNICCMD [[F/] /C<filename>] [/D] [/L <filename>] [/P <filename>]
[/S<filename>] [/?]