Skip to content

Latest commit

 

History

History
60 lines (47 loc) · 1.68 KB

Artifactory-Pro.md

File metadata and controls

60 lines (47 loc) · 1.68 KB

Artifactory-Pro installation guide for DC/OS

To set up Artifactory HA in DC/OS following are prerequisites:

  1. Database (MySQL)
  2. Artifactory Pro license

It requires min 1 public slave to install Artifactory Pro or Enterprise

*Here is guide to install MySQL in DC/OS

*Go here to get your trial license

*Steps to install Artifactory Pro using DC/OS CLI.

  1. create artifactory-pro-options.json file with following content:
{
  "service": {
    "name": "artifactory",
    "cpus": 2,
    "mem": 2048,
    "licenses": "$ARTIFACTORY_PRO_LICENSE",
    "host-volume": "/var/artifactory",
    "database": {
      "connection-string": "jdbc:mysql://mysql.marathon.mesos:3306/artdb?characterEncoding=UTF-8&elideSetAutoCommits=true",
      "user": "jfrogdcos",
      "password": "jfrogdcos"
    }
  },
  "pro": {
    "local-volumes": {},
    "external-volumes": {
      "enabled": false
    }
  },
  "high-availability": {
    "enabled": false,
    "secondary": {
      "enabled": false,
      "unique-nodes": true,
      "nodes": 1,
      "name": "artifactory"
    }
  }
}

NOTE: Make sure you provide your Artifactory-Pro/Enterprise trial license in json file.

  1. Run command to install Artifactory Pro dcos package install --options=artifactory-pro-option.json artifactory

  2. Make sure Artifactory is running and its healthy by looking at Marathon UI.

NOW you are just one step away from accessing Artifactory

  1. Install Artifactory-lb by following this guide to access artifactory

To learn more about DC/OS go to the official DC/OS website