HP A3550A User Manual - A3661-90001 - Page 128
DpsohÃ, Á*r´wr´Çkrph´gluhfwru\Â, Á$gg´oxÌ, ´dqg´sruwÌ, ´wr´dffhvv´iluvw´wkh´63Â
View all HP A3550A manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 128 highlights
gridmgr0::101:20:The Gridmgr:/home/gridmgr0:/bin/ksh gridmgr1::101:20:The Gridmgr:/home/gridmgr1:/bin/ksh cd /home mkdir gridmgr0 mkdir gridmgr1 cd gridmgr0 vi .profile Revision: 66.1 User .profile for Grid Manager Emulate vt100 terminal. TERM=vt100 export TERM # Set up the shell environment. set -u trap "echo 'logout'" 0 # Set up the shell variables. EDITOR=vi export EDITOR # Set up the Grid Manager Mux Port. TTYDEV=ttylu#pport# export TTYDEV # Ensure there is only one invocation of Grid Manager. if ps -ef | grep -v grep | grep -v getty | grep $TTYDEV then echo "Grid Manager is currently in use. Try again later." exit else exec cu -l $TTYDEV fi 3-16 Make the RS-232C Connection to the Host System
3-16
Make the RS-232C Connection to the Host System
¿µ
$GG´WKH´DSSURSULDWH´QXPEHU´RI´ORJLQV´WR´WKH´SDVVZG´ILOHµ´7KLV´H[DPSOH´VHWV´XS´WZR´ORJLQV´WR´
DFFHVV´WZR´GLIIHUHQW´63V´E\´ZD\´RI´WKH´08;µ
gridmgr0::101:20:The Gridmgr:/home/gridmgr0:/bin/ksh
gridmgr1::101:20:The Gridmgr:/home/gridmgr1:/bin/ksh
·µ
&UHDWH´D´GLUHFWRU\´IRU´HDFK´ORJLQ´DQG´DGG´D´µSURILOH´WR´HDFK´GLUHFWRU\µ´(DFK´ORJLQ´DFFHVVHV´WKH´
VSHFLILHG´08;´SRUW»´ZKLFK´LQ´WXUQ´DFFHVVHV´*ULG´0DQDJHU´E\´ZD\´RI´WKH´56¸²¶²&´FRQQHFWLRQ´WR´
WKH´63µ´,I´RQH´GLVN´DUUD\´ZLWK´WZR´63V´LV´EHLQJ´FRQILJXUHG»´VHW´XS´WKH´JULGPJU¹´µSURILOH´WR´DFFHVV´
63´$´DQG´WKH´JULGPJU±´µSURILOH´WR´DFFHVV´63´%µ
([DPSOHÃ
cd /home
Á*R´WR´ÇKRPH´GLUHFWRU\Â
mkdir gridmgr0
Á0DNH´GLUHFWRU\´IRU´WKH´ILUVW´ORJLQÂ
mkdir gridmgr1
Á0DNH´GLUHFWRU\´IRU´WKH´VHFRQG´ORJLQÂ
cd gridmgr0
Á*R´WR´WKH´ILUVW´ORJLQ´GLUHFWRU\Â
vi .profile
Á$GG´WKH´µSURILOH´LQIRUPDWLRQ´VKRZQ´EHORZÂ
ÁIRU´WKH´ILUVW´ORJLQ´VR´WKDW´LW´DFFHVVHV´WKH´ILUVW´63µÂ
Á’R´QRW´DGG´WKH´FRPPHQWV´VKRZQ´EHWZHHQ´WKH´Á´ÂµÂ
#—————————————————————————————————
# @(#) $Revision: 66.1 $
#—————————————————————————————————
# User .profile for Grid Manager
#—————————————————————————————————
# Emulate vt100 terminal.
TERM=vt100
export TERM
# Set up the shell environment.
set -u
trap “echo 'logout'” 0
# Set up the shell variables.
EDITOR=vi
export EDITOR
# Set up the Grid Manager Mux Port.
TTYDEV=ttylu#
pport#
Á$GG´OXÌ
´DQG´SRUWÌ
´WR´DFFHVV´ILUVW´WKH´63Â
export TTYDEV
# Ensure there is only one invocation of Grid Manager.
if ps -ef | grep -v grep | grep -v getty | grep $TTYDEV
then echo “Grid Manager is currently in use. Try again later.”
exit
else
exec cu -l $TTYDEV
Á:KHUH´§O¤´LV´WKH´OHWWHU´§HO»¤´QRW´WKH´QXPEHU´RQHÂ
fi