Posts

Showing posts from June, 2021

NOMAD- WINDOWS SETUP FOR DEPLOYMENT OF MICROSERVICE

Image
Installation and setup NOMAD-Windows Server  Nomad documentation for Windows Server Software Requirements-****(same for server & client) Java, maven, nodejs, python, Nomad. POC performed on 1 Server & 1 Client (Windows 2016 Server) Server Side Configuration 1.Install Java, maven, nodejs, docker, Nomad, Consul. set environmental variables. 2.Download and extract Nomad & Consul in C:\drive and set the path in environmental variables. 3.In Nomad Folder create a folder with nomad.d in that need to create server.hcl and client.hcl. Below are the files content of server.hcl and client.hcl. server.hcl # /etc/nomad.d/server.hcl data_dir tends to be environment specific. data_dir = "C:\nomad\data" server { enabled = true bootstrap_expect = 3 } client.hcl log_level = "DEBUG" data_dir = "c:\nomad\data" name = "testnomadclient_1" client { enabled = true server_join { retry_join = ["172.16.10.1"] retry_max = 3 retry_interval = "15s&