How-To Guides
Litmus Edge Manager Admin Cons...
Set a Static IP Address
6min
you can set a static ip address for litmus edge manager instead of using dhcp if you have installed litmus edge manager on esxi and there is no ip address shown to access the interface, you must set a static ip address if you would like to change the current ip address used to access litmus edge manager, see change the ip address of litmus edge manager docid\ qcv7mr9ma fzeqjkizqpc depending on your version of litmus edge manager, refer to the appropriate steps litmus edge manager version 2 16 0 and later these steps are for litmus edge manager 2 16 0 and later on ubuntu 22 network configuration is managed by netplan https //netplan io/ to set a static ip address login to the vm console use the following command to get the filename in the netplan config directory depending on the linux distribution netplan configuration, the file can have different filenames sudo ls l /etc/netplan the default configuration looks like the following network ethernets ens192 dhcp4 true version 2 you will need to update this configuration as an example, you will disable dhcp and set the static ip address of 10 17 8 146/22 with the default router of 10 17 8 1 the configuration will be updated to the following network ethernets ens192 dhcp4 false addresses \ 10 17 8 146/22 routes \ to default via 10 17 8 1 version 2 apply the configuration with the following command sudo netplan apply once the new ip address is set, if the base domain name was set as an ip address, log in to the litmus edge manager admin console (https //\[lem ip address] 8446) and update the base and remote domain names see domain/ssl docid\ mc8z1bk3ywckqq4 kupcv to learn more if you get an error message that the network interface configuration failed, see static ip address error docid\ qcfazys rv5d 3oesllf3 to resolve it litmus edge manager version 2 15 0 and earlier these steps are for litmus edge manager 2 15 0 and earlier on ubuntu 18 to set a static ip address 1\ from a command prompt, enter the following new ip=xxx xxx 1 222 sudo /opt/lem/bin/lem update domain names sh $new ip $new ip sudo /opt/lem/bin/stop all nomad jobs sh sudo vi /etc/netplan/01 netcfg yaml the yaml file opens note the yaml file is located in /etc/netplan/01 netcfg yaml 2\ enter the following lines in the yaml file while substituting x with the relevant numbers network version x ethernets eth0 dhcp4 false addresses \[xxx xxx x xxx/xx] gateway4 xxx xxx x x nameservers addresses \[x x x x,x x x x] 3\ from a command prompt, enter the following sudo netplan apply sudo reboot