3 Replies Latest reply on Jun 1, 2011 7:49 AM by Gabriel Chapman

    esxi 4 logs

    Ashley004 Novice

      Hi All

       

      Could someone please confirm are ESXi 4 log files retained after a host restart with local disks ?

       

       

       

      Ashley

        • 1. Re: esxi 4 logs
          jeffgetz Novice

          Ashley,

           

          Per the April 2011 Hardening Guide, "by default, the logs on ESXi are stored only in the
          in-memory file system. They are lost upon reboot, and only one day’s worth of
          logs are stored. Persistent logging to a datastore can be configured. It is
          recommended that this be done so that a dedicated record of server activity is
          available for that host."

           

          You can either push them out to a Syslog server, or if that's not available, to a datastore. The latter was the option that I did recently and it seems to be working out ok for us so far (though a Syslog server would probably be preferrable).

           

          Jeff

          1 person found this helpful
          • 2. Re: esxi 4 logs
            Ashley004 Novice

            Hi Jeff

             

            Thank you for the answer, wasn’t a 100 % sure, reference from the hardening guide is exactly what I was looking for – Thanks

             

            Ashley

            • 3. Re: esxi 4 logs
              Gabriel Chapman Enthusiast

              Your best bet is to build a VMA and allocate space for a syslog directory and have the hosts logs written there.