Ever wonder how you could automate the installation of the Log Insight Agent without a configuration management tool like SCCM, Puppet, or Salt? In this post, learn about a PowerShell script available that does exactly this!
Just a heads-up that I have updated the Automating the Deployment of Log Insight post to handle the new features (allow extra config and root password)…
Now that you know how to automate the deployment of Log Insight, you are probably wondering how to automate the configuration of Log Insight. Automating the configuration of Log Insight is a little harder because Log Insight does not have a configuration API today and because by default SSH is disabled until the root password is set. In addition, the root password cannot be set through OVF properties today.
So how do you automate the configuration of Log Insight?
Log Insight ships as a virtual appliance. Given its single packaging model, automated deployment is easy thanks to the freely available OVF Tool. OVF Tool is a command line utility available for Windows, Linux and Mac that allows you to deploy OVA/OVF files. For the list of options available with OVF Tool run ovftool –help or see check the documentation. I would like to walk you through how to automate the deployment of Log Insight via ovftool.
As you probably know, the Log Insight virtual appliance relies on OVF properties to handle some amount of configuration. OVF properties are powerful in that they can be set at deploy time, changed at a later time, and can be used instead of relying on a CLI or needing to write a UI on top of a CLI. With that said, OVF properties have two significant limitations: