To change the maximum size of the log file, set the VRAS_LOG_MAXLEN environment variable in /etc/vx/vras/vras_env. Restart the vradmind server by issuing the following commands after making the changes:
# /etc/init.d/vras-vradmind.sh stop
# /etc/init.d/vras-vradmind.sh start
Here is an excerpt from the /etc/vx/vras/vras_env file:
# Section 2:
#
# VRAS_LOG_MAXLEN defines the maximum size of each VRAS log file created
# in the /var/vx/vras/log directory. By default, the maximum size of
# each log file is 10MB. VRAS creates a maximum of three log files and
# reuses them after they reach the maximum size.
#export VRAS_LOG_MAXLEN
#VRAS_LOG_MAXLEN=10485760
Note: Volume Replicator Administrative Services (VR-AS) creates a maximum of three log files and reuses them after they reach the maximum size.