You are on page 1of 3

EMC Autostart5.

2 Linux (2006-11-06 16:47)


legato

XXAutostart5.2200610

1.

Gsgataway1

192.168.13.11

eth0

192.168.0.12
Gsgateway2

192.168.13.15

192.168.0.10

eth1

eth1

eth0

IP/etc/ft_hosts
2.

Legato

#FT_DIR=/opt/EMCas52/bin
#FT_DOMAIN=gsgw
#FT_CONSOLE_DIR=/opt/EMCas52/console
#PATH=$PATH:/opt/EMCas52/bin:/opt/EMCas52/console
#export FT_DIR FT_DOMAIN FT_CONSOLE_DIR PATH
Autostart
1.

# cp /mnt/cdrom/EAS52_REDHAT.tar.gz /opt
# tar Czxvf EAS52_REDHAT.tar.gz
#./install.sh

Agent console yes

#cd /opt/EMCas52/bin
#./ft_setup
Domain gsgw
gsgateway1
license
,Agent
#ft_startup
2.

# cp /mnt/cdrom/EAS52_REDHAT.tar.gz /opt

# tar Czxvf EAS52_REDHAT.tar.gz


#./install.sh

Agent console yes

#cd /opt/EMCas52/bin
#./ft_setup
Domain gsgw
gsgateway1
,Agent
#ft_startup
3.

,console

#ft_console
3.1 IPIP Addresses Create new ip address
Name service entry IP
192.168.13.18

submask 255.255.255.0

Node Gsgateway1 eth0


Gsgateway2 ech0
APPLY
3.2 ,State Monitorscreate new state monitor
Monitor nameCS
Monitor type: Existence monitor
Script type: Bourne shell
Test script
#!/bin/sh
APPNAME=CSONGateway
PROCESS_NUM=ps -ef|grep "$APPNAME"|grep -v "grep"|wc -l
if [ $PROCESS_NUM -ge 1 ]
then
echo "exit 0"
exit 0
else
echo "exit 1"

exit 1
fi
APPLY
3.3

Process ,Processcreate new process

* : cs APPLY
* process setting operation typeExecutable
* Operation ./start.sh
* Login info
Group

root

Usrer name root


Directory

/cson/frame

* Option existence monitors cs


* restart on failed state
* APPLY
* Process CSProcess
3.4

Resource groupsResource groupscreate new resource group N

* gsgateway1.gsgateway2
* AddIP IP 192.168.13.18
* Failure response settings
Relocate resource group on path failed state
* AddProcess Process CS
* process failure action restart
* APPLY
* CSS option Auto node group failover
*
* APPLY

You might also like