Hello,
I'am two esx version 5.1. my syslog.global.logdir is on san that i want to replace. My new san is online.
I want to move my log on one datastore in the new san
What the best way ?
just copy log to the new datastore and change syslog.global.logdir value with the new path ?
after change syslog.global.logdir value muste i reboot my host?
thanks for your help
Olivier
Hi,
You can change [NEWDATASTORE] /scratch/log or whatever your new path is and the syslogs will now go to that new location. You do not have to restart your host. Keep in mind, you may want to move the old syslog data if that does not come over.
There is no need to do a reboot of host.
You can just reload syslog service.
With esxcli commands, you can actually play with the log locations.
#esxcli system syslog config get : This will display your current settings for syslog
#esxcli system syslog config set --logdir=<new path> : Here you can specify the folder in your new san
#esxcli system syslog reload : This will reload the settings to apply any new configuration options.
Great info. I always rebooted my hosts after a location change. This just saved me massive amounts of time and change requests