As seen previosuly in this document, there are a number of components which require an IP address which are automatically deployed on an Edge Compute Stack Host in order to provide the services at an edge location. This option requires you to edit a file once the Edge Compute Stack host has been initially deployed to provide static IP addresses for the next reboot of the host.

Prerequisites

  • Deployed Edge Compute Stack host with a DHCP assigned address

  • 3 IP addresses for Infrastructure Components

  • 1 IP address for worker node configuration

  • Subnet Mask Information

  • Default Gateway Information

  • DNS Server(s) Information

Procedure

  1. Create a file called static_ipam.json on your local machine to provide the Static IP address information, ensure the case used in the filename is all lower case.
  2. Edit the file and paste the below content in the same format to this file:
    {
        "range": ["10.211.35.74", "10.211.35.29", "10.211.34.143"],
        "netmask": "255.255.252.0",
        "gateway": "10.211.32.1",
        "dns": ["10.211.56.141", "10.211.81.141"]
    }
    
  3. Edit each of the addresses in the range section to provide a range of addresses which can be used for the core infrastructure components with the first address being used for the ECS Host Hypervisor Management Network and the following addresses being used for core infrastructure components.
  4. Edit the netmask entry to provide the network mask for this network.
  5. Edit the gateway entry to provide the default gateway for this network.
  6. Edit the dns entry to provide one or multiple dns servers, multiple dns servers.
  7. Save the static_ipam.json file.
  8. Log into the Web UI of the Edge Compute Stack host with the default credentials or the credentials you have used during deployment using the https://<edgehostip>/ui/#/login URL
  9. Navigate to Storage / datastore1 and select the Datastore Browsermenu item
  10. Browse to the ECS folder and upload the static_ipam.json file created
    Figure 1. Example
  11. Click the Close button to close the Datastore Browser
  12. Click Host under the Navigator and click the Reboot menu item
  13. Click teh Reboot button

Results

Your host will reboot and will now boot using the static IP address information provided.

What to do next

As part of the Edge Compute Stack deployment a kubernetes worker node is provisioned, this by default uses a DHCP address but can be changed to provide a static IP address as found in Enabling a static IP address for the default worker node.