- Database (MySQL, Oracle, MS SQL and PostgreSQL)
- Artifactory Pro Enterprise Value Pack
-
Install MySQL in DC/OS.
Here is guide to install MySQL in DC/OS The database is used by all the nodes to store metadata attached to artifacts. -
Install artifactory-primary using DC/OS CLI.
-
create
artifactory-primary-options.json
with following content:{ "service": { "name": "artifactory", "cpus": 2, "mem": 2048, "licenses": "$ARTIFACTORY_ENTERPRISE_LICENSES", "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": true, "secondary": { "enabled": false, "unique-nodes": true, "nodes": 1, "name": "artifactory" } } }
###NOTE: Make sure database name, is correct in connection-string as well as username & password for database.
-
Install Artifactory-Primary using following command:
dcos package install --options=artifactory-primary-options.json artifactory
-
Make sure artifactory-primary is running and Healthy.
-
-
Install Artifactory-secondary:DC/OS CLI.
-
create
artifactory-secondary-options.json
with following content:{ "service": { "name": "artifactory-secondary", "cpus": 2, "mem": 2048, "licenses": "$ARTIFACTORY_ENTERPRISE_LICENSES", "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": true, "secondary": { "enabled": true, "unique-nodes": true, "nodes": 1, "name": "artifactory" } } }
-
Install Artifactory-Primary using following command:
dcos package install --options=artifactory-secondary-options.json artifactory
-
Make sure artifactory-secondary is running and healthy.
-
-
Access Artifactory on public IP of DC/OS public slave.
Here is how Artifactory UI looks like!!!