Troubleshooting HyperFabric

Running Diagnostics

-Bspecifies that you want the size (in bytes) of the trace buffer to be trace_buffer_size. The buffer is dynamically allocated when tracing is enabled. Also, the buffer is circular, which means that when the end of the buffer is reached, the data wraps around to the beginning of the buffer (and overwrites any previous data). If you do not specify this parameter, a default buffer is created with a size of 64k bytes.

-Fspecifies trace_file_size as the maximum size of the trace output file. For the -D TCP_IP parameter, the file is

/var/adm/clic_ip_drv.trc. For the -C TCP_IP parameter, the files are /var/adm/clic_ip_drv.trc0 (and if needed,

/var/adm/clic_ip_drv.trc1).

-ddumps the memory of the adapter identified by adapter_ID to the dump file filename. If you do not specify filename, the default file is /var/adm/clic_fw.dumpx, where x is the adapter instance number.

-?displays the online help for clic_diag.

If you do not specify any of the above parameters, the online help for clic_diag is displayed.

Example of clic_diag

An example of the clic_diag command is shown below.

If the local node is bently6, and you want to confirm that all of the adapters on bently6 are communicating with the target adapters on bently8, issue this command:

$ clic_diag -r bently8

The generated output could look like this:

CLIC_PROBE: 256 byte packets

Source adapter id: bently6.corp4.com:clic0

Target adapter id: bently8.corp2.com:clic1

256

bytes:

seq_num

= 0.

Packet Acknowledged.

256

bytes:

seq_num

= 1.

Packet Acknowledged.

256

bytes:

seq_num

= 2.

Packet Acknowledged.

256

bytes:

seq_num

= 3.

Packet Acknowledged.

256

bytes:

seq_num

= 4.

Packet Acknowledged.

---------

CLIC_PROBE Statistics --------

5 packets transmitted,

5 packets received, 0% packet loss.

CLIC_PROBE: 256 byte packets

 

138

Chapter 6