Skip to main content

Running MDM v14.5 Locally on MacOS

  • January 26, 2024
  • 2 replies
  • 303 views
Running MDM v14.5 Locally on MacOS
Forum|alt.badge.img+3

Steps overview:

  1. Download all components
  2. Install ONE Desktop
  3. Launch ONE Desktop and create the MDM CDI example project
  4. Place the files in the right structure
  5. Modify a bunch of files so they are working on MacOS
  6. Configure the Mac permissions to run things
  7. Launch ONE Desktop and create the MDM Banking example project
  8. Launch it all (keycloak, postrgres, mdm-server, server), one by one

Download:

Install ONE Desktop:

  • Install ONEΒ Desktop (Ataccama-one-desktop-14.5.0-macos.dmg)
  • Rename the application so that there are no spaces
    • Make sure OneΒ Desktop application isn’t runningΒ while renaming the application
    • For exampleΒ ONE Desktop.appΒ β€”>Β ONEDesktop.app

Place the files in the right structure:

❗❗ To run the .sh scrips successfully, they need to be placed in a path that contains no spaces. The ONE Desktop path has at least one space, so we need to place the parts we want to run from the terminal on a spaceless path (Keycloak, Postgres, MDM, JRE and Server)

  • To view the contents of ONE Desktop in Finder:

    • Under Applications, right click on the ONE DesktopΒ application
    • Click on Show Package Contents
    • Click on Contents
    • Click on Eclipse
  • Extract the following archives in the Eclipse folder and rename the folder names to the following:

  • The folder structure should look like this

    Β 

  • Your path without spaces should be similar toΒ /Applications/ONEDesktop.app/Contents/Eclipse

  • Place your license in your home folder, e.g. /Users/<username>/emp_license_14.plf

  • Delete the data folder inΒ /Applications/ONEDesktop.app/Contents/Eclipse/pgsql

  • (Optional) Replace the ataccama.json file inΒ /Applications/ONEDesktop.app/Contents/Eclipse/keycloak/with the one you downloaded

  • (Optional) Replace the backup file inΒ /Applications/ONEDesktop.app/Contents/Eclipse/pgsql/pginitΒ with the one you downloaded

  • (Optional) Download Java jdk (you can find the recommended and supported versionΒ here)Β and set it as Java Home

Launch ONE Desktop and create the MDM Banking example project:

  • Open Ataccama ONE Desktop and select the Ataccama ONE Desktop perspective.
  • In Model Explorer, selectΒ NewΒ and thenΒ Model Project.
  • InΒ Use template:Β selectΒ General MDM project - CDI Example.

Configure the Mac permissions to run things:

πŸ‘‰ Don't forget that if you replace some files you will need to again set the permissions and run the xattr command.

  • Open the Terminal (command+Space Terminal) and navigate to theΒ /Applications/ONEDesktop.app/Contents/Eclipsefolder. Eg:Β cd /Applications/ONEDesktop.app/Contents/Eclipse
    • TypeΒ CHMOD -R 777 .Β (the "." is intentional)
    • TypeΒ xattr -r -d com.apple.quarantine .
  • Navigate toΒ /Applications/ONEDesktop.app/Contents/Eclipse/pgsql
    • TypeΒ chmod -R 0700 .
  • Navigate toΒ /Applications/ONEDesktop.app/Contents/MacOs
    • TypeΒ CHMOD -R 777 .

Launch it all, one by one:

  • In the ONE Desktop, under the CDI Example navigate to the Files/bin folder
    • Right-clickΒ start-mdm-server.shΒ & select Open With Text Editor
    • Edit the path listed afterΒ -configΒ to point to the CDI serverConfig
      • eg.Β config="/Applications/ONEDesktop.app/Contents/MacOS/workspace/mdm-cdi-example/Files/etc/mdm.serverConfig"
  • Launch keycloak: double-click onΒ start-keycloak.shΒ and wait for Keycloak startup complete message to appear in the console
  • Launch postgres: double-click onΒ start-db-postgres.sh
  • Launch mdm-server: double-click onΒ start-mdm-server.sh
  • Launch mdm: double-click onΒ start-mdm.sh

πŸ’ͺ Once everything is launched correctly, you’ll find:

2 replies

  • Data Voyager
  • May 16, 2025

Hi,
The Postgres and Keycloak links are not working. The Postgres link gives a "file not found" error, and the Keycloak link shows "access denied."

Where can I find Postgres and Keycloak for Linux?

Β 


Forum|alt.badge.img+1

Hi ​@hasansan, we’ve migrated our documentation hence the legacy links aren’t accessible anymore.Β 

You can find all previous documentation here, according to the version you are on.