Export to Exerciser Script

This feature enables the conversion of Traces to Exerciser scripts. It converts the FC Trace to a ready-to-run script that is a closer match to the original data.

Accuracy depends upon external factors such as drive behavior and the starting point of the exported frames. For example, if the capture is started with a wait for a response frame, it could be stuck at that point indefinitely.

Note: A memory limitation in bus engine (BE) limits the number of packets that can be exported.

  • A few packets mightbe dropped at the beginning of the Trace before the first valid command packet.

  • Underlying bandwidth issues may miss some wait_for commands.

To regenerate captured traffic in the Exerciser:

  1. Open a Trace file.

  2. Select File > Export Trace > Export to Exerciser script, as shown below.

att_0_for_564330911.jpeg
Export Trace to Exerciser Script
  1. The Export to Exerciser Script Dialog displays.

att_1_for_564330911.jpeg
Export to Exerciser Script Dialog
  1. To select the target, set the Mapping Mode to either Auto Detect or Wizard.

    1. Auto Detect: Exports the trace to an exerciser script without mapping to any specific target.

    2. Wizard: Allows you to choose a currently existing target to export the trace.

Auto Detect

If you choose Auto Detect, the system automatically detects a target and pre-fills the Select Trace’s Target menu. Auto Detects returns the first detected targets. It detects targets on any topology, such as point to point/Fabric.

To execute the script, select the target from the Select Trace’s Target menu and click Export. The system creates a script.

Wizard

Select this option to map the trace's target to a currently existing target:

  1. From the Mapping Mode drop down, select Wizard. This opens the Select Target to Map drop-down menu.

att_2_for_564330911.jpeg
Wizard Mapping Mode
  1. In the Select Target to Map drop-down menu, click Find Target. This opens the Find Target dialog box.

att_3_for_564330911.jpeg
Find Target Dialog
  1. Select Device: Choose the analyzer from the drop down list.

  2. Select Port: Check the specific ports to find the targets. For example, the image below shows P2 checked because there is a fabric connected only to P2.

  3. Click Find Target to start the process.

An example of a compete fabric connected to the P2 port is shown below. The P2 port is connected to a Fabric (Brocade) and 2 separate Targets (SANBlaze) are connected to the fabric with their own LUNs.

att_4_for_564330911.jpeg
Sample Found Targets
  1. Select the desired target from the list and click OK. The system closes this dialog and populates the Export to Script dialog with the chosen target information.

Creating the Exerciser Script

export_dialog_selected_target.png
Export Script Dialog with Selected Target
  1. Verify that the correct target is in the Select Target to Map field.

  2. If desired, change the target using the drop down next to the Select Trace’s Target and the Select Target to Map fields.

  3. To export the target to the exerciser script, click Export.

  4. The Exerciser Script Manager window displays the script information for the selected target.

att_5_for_564330911.jpeg
Exerciser Script Manager
  1. The trace to exerciser script is complete. To create a trace, similar to the one shown below, run the script and capture. The original trace's target is now mapped to the new target.

newly_mapped_target.png
New Trace with New Mapped Target

Additional Information

Some additional features of the Sierra Net Protocol Suite are the following:

  • There is a Find Target icon on the Exerciser Script Manager. Using it launches the Find Target dialog form which you can easily select different targets to add to the Exerciser Script Manager.

att_6_for_564330911.jpeg
Find Target Icon on the Exerciser Script Manager Screen
  • You can edit the target in the Exerciser Script, as shown below. Change the variable's value to the newly mapped target. This feature helps to avoid exporting the trace again and again, if the intention is to just change the mapping of the target.

att_7_for_564330911.jpeg
Script Changes