Use the following steps to move your up.time datastore to a different directory:
- Stop the up.time data collector and datastore services using the following commands:
Windows: > net stop "up.time Data Collector" > net stop "up.time Data Store" Linux or Solaris: # /etc/init.d/uptime_core stop # /etc/init.d/uptime_datastore stop
- Copy the \\datastore\\data folder to your desired location.
- Edit the \\mysql\\my.ini file by updating the following line so that it points to the new location of the datastore:
datadir="C:/Program Files//uptime software/uptime/datastore/data/"
- Start the up.time datastore and data collector services using the following commands:
Windows: > net start "up.time Data Store" > net start "up.time Data Collector" Linux or Solaris: # /etc/init.d/uptime_datastore start # /etc/init.d/uptime_core start
- Confirm the change by checking the timestamps of the ibdata* files in the new datastore directory and verify that you can successfully login to up.time.