Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to start Nomad-windowsiis driver on windows server 2016 baremental #56

Open
shubamraina opened this issue Mar 24, 2021 · 1 comment
Assignees
Labels
question Further information is requested

Comments

@shubamraina
Copy link

shubamraina commented Mar 24, 2021

Hi,

I have gone through the Readme file and followed the steps, .exe has been generated but I am struggling with the installation of the .exe on the windows server 2016 baremetal. Can anyone please help with this ? Any detailed document or video will help.

Thanks in Advance!

@Vulfox
Copy link
Contributor

Vulfox commented Mar 25, 2021

Hey @shubamraina ,

There aren't any detailed steps, at this moment, for the deployment of this particular plugin, but nomad has some decent documentation on how to configure the nomad client.

We can take a look at this particular nomad client configuration found in the test dir: https://github.com/Roblox/nomad-driver-iis/blob/master/test/win_client.hcl

The most important parts of telling the client about the plugin and where to discover it are these configs:

plugin_dir = "C:\\ProgramData\\nomad\\plugin"

plugin "win_iis" {
  config {
    enabled = true
    stats_interval = "5s"
  }
}
  • You will want to ensure where ever the win_iis.exe is being stored is where the plugin_dir path is looking.
  • plugin stanza will be used to enable the plugin on the system. I think by default, if the plugin is found, it is enabled, but to be safe, we want to explicitly set the enabled variable of the plugin.config stanza.
  • C:\\ProgramData is used only because that is how chocolatey installs the nomad software for tests, but for us (Roblox), we keep our nomad installation in C:\\Program Files
  • The plugin dir is by default under nomad's data dir: https://www.nomadproject.io/docs/configuration#plugin_dir

I hope this helps! If you are coming across any other problems, let me know! I will try to help you triage any issues going on. I recommend working with Nomad v1+ if you are able to.

@Vulfox Vulfox added the question Further information is requested label Mar 25, 2021
@Vulfox Vulfox self-assigned this Mar 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants