Setup Synology Syslog server for VMware ESXi

After performing my home lab upgrade, ESXi now runs from a USB stick and because of that vSphere would complain that the system logs where on non-persistent storage:

ESXi syslog error

If I wanted I could have ran the vCenter Server Appliance (vCSA) as it comes with it’s own syslog server, or I could have used something like KIWI or Splunk to be my syslog server. I instead went the route of my Synology NAS as it too has the ability to act as a syslog server and these are the steps I performed to setting it up.

  1. Log into your admin panel for the Synology and open the Package Center and click on Utilities and then INSTALL under “Syslog Server”.
    synology syslog install
  2. Next I created a folder called “syslogs” on the Synology for all the log files to live by opening Control Panel > Shared Folder and then clicking on “Create”
    new syslog folder
  3. Now open the Synology Syslog Server.
    start syslog server
  4. Click on Server Settings and then check Enable Syslog Server and change the location to your newly created folder, in my case “syslogs”.
    enable sylog server
  5. Now we need to head over to vSphere and for each host go to the Configuration tab, then Security Profile.
  6. Next to Firewall, click Properties and check “syslog” which will open ports 514 and 1514 and click on OK, this will allow our host to communicate with the new syslog server on the Synology.
    enable esxi syslog firewall
  7. Still in the Configuration tab, click Advanced Settings and expand Syslog and click on Global.
  8. Type in the IP address of your Synology in the Syslog.global.logHost field and click OK.
    esxi configure syslog
  9. That’s is, just be sure to repeat steps 6 thur 8 for each host you have in your environment!
    Logs

Note: The above steps where performed using a Synology DS412+, running DSM 4.3-3776. Your steps may vary if running a different model and/or version of DSM.

Similar Posts

  • How to enable SSH auto login on Ubiquiti EdgeRouter X

    edgerouter ssh key auto login

    SSH key authentication not only provides a more convenient way to logging into your EdgeRouter X, but is also more secure because the private key replaces the need of a password and thus is typically more difficult to brute force.

    The below steps will show how to generate a SSH key, add it to the router, and then disable password authentication so that only the key-pair can be used to login.

    Read More “How to enable SSH auto login on Ubiquiti EdgeRouter X”

  • Defrag to improve Synology BTRFS performance

    My Synology NAS gets a lot of use at home. Not only is the Synology NAS a central point for my VMware home lab, but all my PCs are connected to it for document, photo, and ISO storage.

    In order to keep things as optimized as possible I try to defrag the drives every once in a while. Depending on how fragmented the drives are, this could help improve performance in sequential read and random IOPS.

    In this post I’ll show how it easy it is to kick off the task. Just keep in mind you will want to do this during low usage as the defrag task will certainly impact performance while it’s running.

    Read More “Defrag to improve Synology BTRFS performance”

  • My VMware ESXi Home Lab Upgrade

    Although the focus in my career right now is certainly more cloud focused in Amazon Web Services and Azure, I still use my home lab a lot.

    For the last 5+ years my home lab had consisted of using 3x Intel NUC’s (i5 DC53427HYE), a Synology NAS for shared storage and an HP ProCurve switch. This setup served me well for most of those years. It has allowed me to get many of the certifications I have, progress in my career and have fun as well.

    At the start of this year I decided it was time to give the home lab an overhaul. At first I looked at the newest generation of Intel NUC’s but really wasn’t looking forward to dropping over $1,300 on just partial compute (I’d still need to be RAM for each of the 3 NUC’s). I also wanted something that just worked, no more fooling around with network adapter drivers or doing this tweak or that tweak.

    I also no longer needed to be concerned about something that had a tiny footprint. I also questioned if I really needed multiple physical ESXi hosts. My home lab isn’t running anything mission critical and if I really wanted I could always build additional nested VMware ESXi hosts on one powerful machine if I needed.

    So in the end, the below is what I settled on. Replacing all of my compute, most of my networking and adding more storage!

    Read More “My VMware ESXi Home Lab Upgrade”

  • Install Synology NFS VAAI Plug-in for VMware

    Synology

    In the recent DSM update (5.1), Synology added VMware VAAI support for NFS volumes using two primitives which are Full File Clone and Reserve Space. What do these VAAI primitives offer?

    • Full File Clone enables virtual disks to be cloned by the NAS albeit while the machine is powered off.
    • Reserve Space allows you can create a thick VMDK file. However Reserve Space does not off-load the work to the array. The benefit of thick VMDKs is that many use eager-zero for high I/O performance needs.

    On the Synology side of things you just need to update to DSM 5.1, but in order to take advantage of VAAI you still need to install the VIB plugin on your ESXi 5.5 hosts.

    Read More “Install Synology NFS VAAI Plug-in for VMware”

  • Crucial 16GB memory, perfect for Intel NUC

    crucial 16gb 204pin memory

    I’m a huge fan the of Intel NUC‘s for a VMware home lab. In fact I just recently picked up my third Intel NUC to give me more head room for a small VMware Horizon (View) environment at home.

    I typically use G.Skill memory in my NUC’s as I’ve had great luck with the brand in my desktop and laptop for years. However G.Skill has been increasing in price which made me look around for alternatives and came across Crucial DDR3 204-pin memory for less money, but days after I purchased it they too went up in price. However they are now back on sale and cost about $50 less then the G.Skill memory I have been using in my first two NUC’s.

    I’ve been using the Crucial memory now for the last several months without any problems and even though they are rated at a lower voltage I can’t say I really see any difference in power savings or consumption compared to the G.Skill 1.5V. If you’re looking to upgrade now might be a good time to take advantage of the sale price.

Leave a Reply

Your email address will not be published. Required fields are marked *

One Comment