ESS Server Configuration
IMPORTANT:
| Parameter | Description | Default Value |
|---|---|---|
|
ASR 5x00 Parameters
|
||
|
essdellocalrecordsexpirytime
|
This specifies the
time period (in days) for which files can be stored locally in ESS.
|
0
|
|
essdellocalrecordsstarttime
|
This specifies the
time period (in hours) at which ESS should start deleting local
files stored in final directory depending on the expiry time configured.
This value must be an integer from 0 through 23.
|
0
|
|
essbasedirectorypath
|
This specifies the
ESS specific base directory path.
|
<less_install_dir>/ess/fetched_data
|
|
Miscellaneous Parameters
|
||
|
logPath
|
This specifies the
directory path where ESS stores the ESS logs.
|
<less_install_dir>/ess/log
|
|
resetfilecontent
|
If this flag is enabled,
ESS pull instance on start/restart empties the file containing
the entry of the last xDR file fetched from the chassis.
The ESS assumes that
this is a fresh start and will refetch all the files from chassis
if ESS is configured not to delete files from chassis. This parameter
is also used to reset the information maintained for identifying
missing files.
If this flag is set,
each time when ESS instance restarts ESS will also ignore the past
information about missing file identification and the file contents
will be reset.
|
No
|
|
maxinfotimestampdiff
|
ESS uses this configurable
to test whether ESS on startup is referring to old information about
missing files. The configured value indicates the maximum allowed
difference between the current time stamp and the timestamp at which
information for identifying missing files was written.
If the difference exceeds,
ESS will assume fresh restart and will restart identifying missing
files ignoring previous information.
Minimum value allowed
is 30 minutes and maximum allowed is 1440 minutes (24 hours). Default
is 60 minutes.
|
60
|
|
ServerIpAddress
|
This specifies the
IP address that is used by ESS to create TCP socket. In case of
stand alone installation this should be the machine's IP address
and in case of cluster based installation this should be Logical
Host's IP address. Default is current machine's IP address.
|
N/A
|
|
ServerPort
|
This port is used when
creating TCP sockets to avoid starting of similar ESS instances
on the same ESS machine. The default value for this parameter is
22222. The limit is within 1025 to 65535.
|
22222
|
Source and Destination Configuration
|
Options
|
Description
|
|---|---|
|
-l
|
Load the config file.
|
|
-v
|
Validate the config
file.
|
|
-c
|
Clean all configurations.
|
|
-p
|
Print all configurations.
|
|
-h
|
Display help.
|
Starting and Stopping ESS
./serv start
IMPORTANT:
./serv stop
root@pnclustless1 # hagrp
-list
less-ha pnclustless1
less-ha pnclustless2
root@pnclustless1 # hagrp
-resources less-ha
less-apps-dg
less-apps-vol
less-apps-mnt
less-app
less-nic
less-ip
root@pnclustless1 # hastatus
attempting to connect
....
attempting to connect
....connected
group resource system message
---------------
-------------------- -------------------- --------------------
pnclustless1 RUNNING
pnclustless2 RUNNING
less-ha pnclustless1 OFFLINE
less-ha pnclustless2 ONLINE
-------------------------------------------------------------------------
less-apps-dg pnclustless1 OFFLINE
less-apps-dg pnclustless2 ONLINE
less-apps-vol pnclustless1 OFFLINE
less-apps-vol pnclustless2 ONLINE
less-apps-mnt pnclustless1 OFFLINE
-------------------------------------------------------------------------
less-apps-mnt pnclustless2 ONLINE
less-app pnclustless1 OFFLINE
less-app pnclustless2 ONLINE
less-nic pnclustless1 ONLINE
less-nic pnclustless2 ONLINE
-------------------------------------------------------------------------
less-ip pnclustless1 OFFLINE
less-ip pnclustless2 ONLINE
Currently, less-app is
online on pnclustless2
root@pnclustless1 # hares
-offline less-app -sys pnclustless2
Now, the status of
Veritas will change. The less-app will be
offline on both the nodes.
root@pnclustless1 # hastatus
attempting to connect....
attempting to connect....connected
group resource system message
---------------
-------------------- -------------------- --------------------
pnclustless1 RUNNING
pnclustless2 RUNNING
less-ha pnclustless1 OFFLINE
less-ha pnclustless2 PARTIAL
-------------------------------------------------------------------------
less-apps-dg pnclustless1 OFFLINE
less-apps-dg pnclustless2 ONLINE
less-apps-vol pnclustless1 OFFLINE
less-apps-vol pnclustless2 ONLINE
less-apps-mnt pnclustless1 OFFLINE
-------------------------------------------------------------------------
less-apps-mnt pnclustless2 ONLINE
less-app pnclustless1 OFFLINE
less-app pnclustless2 OFFLINE
less-nic pnclustless1 ONLINE
less-nic pnclustless2 ONLINE
-------------------------------------------------------------------------
less-ip pnclustless1 OFFLINE
less-ip pnclustless2 ONLINE
This can be confirmed
by checking the status of L-ESS:
root@pnclustless2# <less_install_dir>/ess/serv status
PID Process
Status
----------------------------------------------------------------
- PS
Monitor Application Not running
- Local
External Storage Server Not running
root@pnclustless1 # hares
-online less-app -sys pnclustless2
root@pnclustless1 # hastatus
attempting to connect
....
attempting to connect
....connected
group resource system message
---------------
-------------------- -------------------- --------------------
pnclustless1 RUNNING
pnclustless2 RUNNING
less-ha pnclustless1 OFFLINE
less-ha pnclustless2 ONLINE
-------------------------------------------------------------------------
less-apps-dg pnclustless1 OFFLINE
less-apps-dg pnclustless2 ONLINE
less-apps-vol pnclustless1 OFFLINE
less-apps-vol pnclustless2 ONLINE
less-apps-mnt pnclustless1 OFFLINE
-------------------------------------------------------------------------
less-apps-mnt pnclustless2 ONLINE
less-app pnclustless1 OFFLINE
less-app pnclustless2 ONLINE
less-nic pnclustless1 ONLINE
less-nic pnclustless2 ONLINE
-------------------------------------------------------------------------
less-ip pnclustless1 OFFLINE
less-ip pnclustless2 ONLINE
root@pnclustless2# <less_install_dir>/ess/serv status
PID Process
Status
----------------------------------------------------------------
17151 PS
Monitor Application Running
17187 Local
External Storage Server Running
IMPORTANT:
root@pnclustless2# ./serv
status
PID Process
Status
----------------------------------------------------------------
17780 PS
Monitor Application Running
17812 Local
External Storage Server Running
root@pnclustless2# ./serv
stop
Stopping L-ESS. Please
wait...
Stopping PS Monitor
Application...
Stopping Local External
Storage Server...
Checking if all L-ESS
processes have been stopped...
Some L-ESS processes
are still running.
Checking if all L-ESS
processes have been stopped...
Some L-ESS processes
are still running.
Checking if all L-ESS
processes have been stopped...
Some L-ESS processes
are still running.
Checking if all L-ESS
processes have been stopped...
Local External Storage
Server is stopped.
root@pnclustless2# ./serv
start
Please Wait ...
Starting L-ESS. Please
wait...
checking if L-ESS is
started succesfully...
checking if L-ESS is
started succesfully...
Local ESS Storage Server
started.
Capturing status, please
wait for a while...
=============================================================
0
18345 12:32:23 TS 59 00:01 /export/home/LESS-HJ/less/less/ess/3rdparty/python/solaris//bin/python /export/ 1
0
18359 12:32:23 TS 59 00:00 /export/home/LESS-HJ/less/less/ess/3rdparty/python/solaris//bin/python /export/ 18345
0
18338 12:32:20 TS 59 00:00 /export/home/LESS-HJ/less/less/ess/3rdparty/perl/solaris//bin/perl
-w /export/h 1
=============================================================
root@pnclustless2# ./serv forcestart
Restarting L-ESS. Please
wait...
Trying to stop already
running L-ESS...
Stopping PS Monitor
Application...
Stopping Local External
Storage Server...
Checking if all L-ESS
processes have been stopped...
Some L-ESS processes
are still running.
Checking if all L-ESS
processes have been stopped...
Some L-ESS processes
are still running.
Checking if all L-ESS
processes have been stopped...
Some L-ESS processes
are still running.
Checking if all L-ESS
processes have been stopped...
Some L-ESS processes
are still running.
Checking if all L-ESS
processes have been stopped...
Some L-ESS processes
are still running.
Checking if all L-ESS
processes have been stopped...
Local External Storage
Server is stopped.
Starting L-ESS...
checking if L-ESS is
started succesfully...
checking if L-ESS is
started succesfully...
Local ESS Storage Server
started.
Capturing status, please
wait for a while...
=============================================================
0
18657 12:33:01 TS 59 00:00 /export/home/LESS-HJ/less/less/ess/3rdparty/python/solaris//bin/python /export/ 18656
0
18636 12:32:58 TS 59 00:00 /export/home/LESS-HJ/less/less/ess/3rdparty/perl/solaris//bin/perl
-w /export/h 1
0
18656 12:33:01 TS 59 00:01 /export/home/LESS-HJ/less/less/ess/3rdparty/python/solaris//bin/python /export 1
=============================================================