We're reclaiming inactive PDIs to keep them available for active builders. Learn what's changing, who's affected, and how to protect your work. Read More

Mid server Installation in Mac

uppalasrila
Tera Contributor

I need to install mid server in Mac, any one guide me the step by step process to install the mid server in MacBook.

1 REPLY 1

Vikram Reddy
Tera Guru

Hi @uppalasrila,

 

I'm Assuming this is your own MacB​ook and not a corporate box already running Windows or Linux in a VM: there's no native macOS build of the MID Server. ServiceNow only ships and officially supports 64-bit Windows and Linux. On a Mac, Docker is the practical way in, and it works fine day to day.

  1. In your instance, go to MID Server > Downloads and copy the download link under Linux Docker Recipe
  2. Unzip it and build the image from that folder: sudo docker build . --build-arg MID_SIGNATURE_VERIFICATION=false --tag 'servicenow-midserver'
  3. Run the container, passing MID_INSTANCE_URL, MID_INSTANCE_USERNAME, MID_INSTANCE_PASSWORD and MID_SERVER_NAME as environment variables. Whatever account you point it at only needs the mid_server role, don't over-grant it
  4. If you're on Apple Silicon (M1/M2/M3), you may hit a "no match for platform in manifest" error pulling the base image during the build, that's the arm64 Mac trying to resolve an amd64-only image. Forcing --platform linux/amd64 on both the build and run commands is the usual workaround, Docker Desktop handles the emulation via Rosetta

One thing that trips people up on laptops specifically: Docker Desktop's VM needs real memory headroom for the MID Server JVM, not just whatever the default is. If the container keeps restarting, bump the resource allocation in Docker Desktop settings before you start chasing it in the MID Server logs.

Is this for local dev against a PDI or something you'll eventually run against a production instance? If it's the latter, I'd steer you toward a proper Linux VM instead of a laptop Docker container, running your MID Server on hardware that sleeps when you close the lid isn't a great long-term plan.

References

 

Thank you,
Vikram Karety
Octigo Solutions INC