
J2024-01 User's Manual
49
Chapter 3 Sub-System configuration Setup
3�5 Power on/off the enclosure via RS232
The RS232 setting - baud rate: 9600 bps, data bits: 8, parity: odd, stop bits: 1,
flow control: none
The power-on command is "RemoteStart\n" where "\n" means Carriage
Return and Linefeed. The power-off command is "RemoteStop\n". When
the host RS232 receives "RemoteStart\n" or "RemoteStop\n" from the
enclosure after the same command was sent to the enclosure, that means
the enclosure accepts the command sent by the host.
The reference script
below runs on Linux.
##################################################
###################
#!/bin/bash
PORT="/dev/ttyS0"
BAUDRATE="9600"
NOFLOW="-ixon -ixoff -crtscts"
SOFTFLOW="ixon ixoff -crtscts"
DEFAULT="-inpck clocal -istrip ignbrk ignpar opost onlcr -iexten"
if [ $# -eq 0 ] ; then
echo "Usage: $0 start/stop"
exit 1
fi
[ ! -e "$PORT" ] && echo "Console closed..."
stty -F $PORT $BAUDRATE cs8 parenb parodd -cstopb $NOFLOW opost onlcr
case $1 in
start)
echo "RemoteStart"
echo -e "\n" > $PORT
echo -e "RemoteStart\n" > $PORT
echo -e "RemoteStart\n" > $PORT
echo -e "RemoteStart\n" > $PORT
echo -e "RemoteStart\n" > $PORT
echo -e "RemoteStart\n" > $PORT
;;
Summary of Contents for J2024-01
Page 1: ...D N MAN 00304 C P N H882JKC000 00010 J2024 01 SAS SATA JBOD SERIES User s Manual...
Page 11: ...5 J2024 01 User s Manual Chapter 1 Product Introduction Rear Panel...
Page 39: ...J2024 01 User s Manual 33 Chapter 3 Sub System configuration Setup...
Page 40: ...Chapter 3 Sub System configuration Setup J2024 01 User s Manual 34...
Page 41: ...J2024 01 User s Manual 35 Chapter 3 Sub System configuration Setup...
Page 42: ...Chapter 3 Sub System configuration Setup J2024 01 User s Manual 36...
Page 43: ...J2024 01 User s Manual 37 Chapter 3 Sub System configuration Setup...
Page 45: ...J2024 01 User s Manual 39 Chapter 3 Sub System configuration Setup...
Page 46: ...Chapter 3 Sub System configuration Setup J2024 01 User s Manual 40...
Page 47: ...J2024 01 User s Manual 41 Chapter 3 Sub System configuration Setup...
Page 90: ...Chapter 4 BMC Configuration and Setting J2024 01 User s Manual 84...