Posts Tagged ‘Synchronize VPFS of Ensim’

Synchronize VPFS of Ensim

Posted by sureshm on February 13, 2008

How to Synchronize Virtual Private File System of Ensim Servers

VPFS means Virtual Private File System. Each domain (site) has its own system files and this is populated with a default set of service files from the template.

The template directory is located in the ‘/home/virtual/FILESYSTEMTEMPLATE’.

When a service RPM is upgraded or installed in the server, say you have installed ‘php-mbstring’ in the server, the VPFS needs to be updated so that it will get updated for all domains hosted in the server.

The command used is synchronizeFST.

To run it manually:

# /usr/local/sbin/synchronizeFST -Sv

The switches of synchronizeFST are :

# /usr/local/sbin/synchronizeFST

-h : –help
-v : –verbose
-p : –previous | the time when the script was last executed successfully.
-l : –listrpms | lists the RPMs that were updated since the script was last executed successfully.
-R : –rpmformat | format in which you want RPM names to be displayed.
-T : –timeformat | format in which you want the time to display for all time-related information.
-t : –touch | shows the time you want the script to assume for the last successful run.
-S : –synchronize

Commonly used switches:

To synchronize FST of all sites:

# /usr/local/sbin/synchronizeFST -Sv

View the time when this was last run successfully:

# /usr/local/sbin/synchronizeFST -p
# usr/local/sbin/synchronizeFST -p -T ‘%A’

Automate the process

The script at ‘/usr/local/sbin/scheduleMaintenance’ will help to automate the process. You can check more information about this script with -h or –help command.


Posted in Control Panels, Ensim, Linux, Technical | Tagged: , | Leave a Comment »