Searching: serial connection - 10 Results Found

VTrak Family How to set up a serial connection to a VTrak system and collect the logs using the command line interface
Richard Oettinger posted this 10 January 2017 - Last edited 30 December 2024

How to set up a serial connection to a VTrak and collect all logs using the command line interface

You may encounter a situation where you need to collect information from a VTrak system for troubleshooting, and network access to the VTrak may be unavailable. The VTrak product line controllers have embedded serial data connection to allow access to the system’s Command Line Interface.

Each VTrak system includes two RJ11-to-DB9F cables in the Accessories box. These cables are used to establish a connection between the VTrak and any computer (PC, Mac, Linux) that has an embedded serial port or can use a USB-to-Serial adapter.

Promise RJ11-to-DB9F Cable

Note that you will need to have a terminal emulation application on your computer, or be familiar with any system tools that will allow you to access the serial port.

Serial Pinout

If you would like to build your own cable, follow the pinout diagram below:


Setting up a serial cable connection

First, plug the RJ11 end of the serial data cable in to the RJ11 serial connector on the left VTrak RAID controller.

VTrak system rear view - RJ11 serial connectors

Then, plug the DB9F end of the serial data cable in to either a computer serial port or a USB-Serial adapter.

USB-Serial Adapter

Computer Serial Port

Setting up a Terminal Emulator connection

To establish a serial connection between the computer and the VTrak, you have to use a Terminal emulation application. You have to determine which ‘COM’ port is being used by the serial port, and configure that port in the terminal application using the following serial protocol settings.

Baud rate = 115200
Data Bits = 8 bits
Parity = None
Stop Bits: 1
Flow Control: None

Press the Enter or Return key and you should see a login prompt in the terminal application. Use your login name and password to gain access. You should see the CLI prompt where you will enter the necessary commands:

administrator@cli

Collecting the log data

If the Terminal application has the ability to capture the session, enabling the logging to a file. Otherwise, you can copy the output from the Terminal and paste it in to a text file.

Below is a list of commands used to view the various configuration parameters and event logs of a VTrak system.

Once you have logged in, type each command separately and hit Enter between each command.

subsys -v
ctrl -v
enclosure -v
battery -v
net -v
bga
fc -v
fc -a list -t device
fc -a list -t initiator
phydrv
phydrv -v
array
array -v
logdrv
logdrv -v
lunmap
event
event -l nvram
Please note that the last command contains a lowercase L(l) and not the number one (1).

Once you have completed issuing all of these commands, Close and Save the Terminal session, or copy all of the session and paste it in to a text document.

This file will be required by the Promise Technical Support team if you have opened a support case.


Contact Promise Technology Support
Need more help? Save time by starting your support request online and a technical support agent will be assigned to your case.

Promise Technology Technical Support >

VTrak Family VAAI and the Ex30 and Vess 2000
S . posted this 26 August 2016 - Last edited 26 August 2016

When ESXi creates a VMfs filesystem with storage that supports VAAI, ATS file locking will be used. If VAAI support is sisabled in the storage, ATS file locking will no longer work. As a result of this ESXi will be able see the LUN, but not the datastore.

With most storage VAAI cannot be enabled and disabled, so this will not be a problem. But with newer Promise Ex30 and Vess 2000 series firmware, there is a softswitch to enable or disable VAAI.

When updating from older firmware on the Ex30 and Vess 2000 series to the latest firmware, because there is no previous VAAI setting to inherit, the VAAI softswitch will be in the disabled position, and any ESXi server that the storage is connected to will no longer be able to see the datastore.

To see the datastore VAAIsupport must be re-enabled in the storage..

In the Vess 2000 series, VAAI can be enabled from WebPAM PROe. It is a controller setting and a reboot will be required for the setting to take effect.

It’s in System > Component List > Controller 1 > Settings.

The Ex30 does not have a GUI setting and VAAIsupport must be enabled or disabled in the CLI. The CLI command given works in both the Ex30 and the Vess 2000.

Enabling VAAI:

- Establish a telnet, ssh or serial connection to the VTrak or Vess 2000

On a command prompt type the following command using the IP of your subsystem management port. You will need the administrator password to login.

telnet example: telnet 192.168.1.10 2300
ssh example:   ssh administrator@192.168.1.10

The CLI command to enable VAAI

administrator@cli> ctrl -a mod -s "VAAIsupport=enable"

Note: While the GUI gives a warning that a reboot is required, the CLI command does not. The VAAIsupport setting will take effect only after next subsystem reboot

A rescan in ESXi will show if any new LUNs are visible or if any existing LUNs are no longer visible, but it will not necessarily pick up any other changes to the storage, such as whether the VAAI (hardware acceleration) status has changed. As a result the ESXi server will also need to be rebooted.

ESXi will also work without VAAI. If a datastore is created with VAAI disabled, ATS file locking will not be used and the datastore will be visible whether VAAI is enabled or disabled. But if a datastore is created with VAAI enabled, ESXi will only be able to see the datastore when VAAI is enabled.

 

Close