How to set the Enterprise edition database alone to a different drive or on a SAN drive
To install the central server in a directory and have the database alone either on a different drive or even on a SAN drive, please follow the steps below:
1. Install the central server on the desired machine.
2. Run the service and shut down the Central Server.
3. Navigate into the <Netflowcentral-Home>/mysql directory.
4. Cut the 'Data' directory present here and paste it in the drive where you desire the database to be. In case of a SAN drive, map the SAN drive to the machine so that it appears as a local drive and copy the 'Data' folder to this mapped drive.
5. Now edit the setcommonenv.bat (.sh for Linux) present under the <NetflowCentral_Home>/bin directory and search for the following line:
set MYSQL_DATA_DIR=%DB_HOME%\data
Change this to
set MYSQL_DATA_DIR=<Path where to store>
For Eg. If you would like to have the D: drive as the drive to store the data, then the modified line will look as
set MYSQL_DATA_DIR=d:\data
Regards,
Don Thomas Jacob
New to ADSelfService Plus?