Updating volatile wwpn (scriptvwwpn), Creating a log (logfile) – Dell Emulex Family of Adapters User Manual

Page 511

Advertising
background image

Offline and Online Adapter Management Utilities Version 10.2 User Manual

P010071-01A Rev. A

4. Offline Adapter Management Utility Command Line Interface

Using Script Files

511

Updating Volatile WWPN (scriptvwwpn)

This command reads the WWPN words 0 and 1 from the command line to update the

volatile WWPN. When next discovered, the adapter uses this new WWPN. It does not

use the original IEEE address assigned by manufacturing (located in Configuration

Region 16 or 32) nor does it use the value entered by the writewwn or scriptwwpn

commands.
If the adapter does not have firmware that supports the volatile WWN, the following

error message appears:

Write Volatile Parms Error. Reported Error 48

If this occurs, install firmware that supports the volatile WWN.

Notes:

Word 0 of WWNN and WWPN names must follow one of the following

formats:

1 0 0 0 0 x x x

2 x x x x x x x

3 x x x x x x x

5 x x x x x x x

Once you issue this command, the volatile WWNN is used by the adapter until

the restorenvwwn command is issued or the system is restarted.

Caution:

Use the scriptvwwnn command with caution. If you use the same VWWNN

on more than one adapter in a fabric, unpredictable results may occur.

To change VWWPN words 0 and 1 from the command line, type (all in one line)

oslpcfg scriptvwwpn n=<adapter number> w0=<wwpn word 0> w1=<wwpn word 1>

The following example updates the volatile WWPN word 0 word 1 for adapter #1:

oslpcfg scriptvwwpn n=1 w0=20A2D6B8 w1=C920A1B2

Creating a Log (logfile)

This command creates a log file with a specified directory and file name. The default

log file is lpcfglog.txt and is created in the system’s current directory.

Note: This command is supported only in script files. Make it the first command in the

script.

To create a log file use the following command as the first command in your script file,

type

logfile l=<filename>

The following example creates a file called lplog.txt in the d:\ directory:

logfile l=d:\log\lplog.txt

Results of all commands are recorded in a log file. Unless otherwise specified by the

logfile command, the default log file is Lpcfglog.txt in the current directory.

Advertising