Last active
November 7, 2016 01:35
-
-
Save SEJeff/b06034da9bf25097846e to your computer and use it in GitHub Desktop.
aurora systemd config
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # /etc/systemd/system/aurora-scheduler.service | |
| [Unit] | |
| Description=The Aurora mesos job scheduler | |
| After=default.target | |
| ConditionPathExists=/etc/sysconfig/aurora-scheduler | |
| [Service] | |
| EnvironmentFile=/etc/sysconfig/aurora-scheduler | |
| ExecStart=/usr/bin/aurora-scheduler \ | |
| -logtostderr \ | |
| -http_port=${HTTP_PORT} \ | |
| -cluster_name=${CLUSTER_NAME} \ | |
| -backup_dir=${BACKUP_DIR} \ | |
| -zk_endpoints=${ZK_ENDPOINTS} \ | |
| -serverset_path=$SERVERSET_PATH \ | |
| -gc_executor_path=/usr/bin/gc_executor \ | |
| -mesos_master_address=${MESOS_MASTER_ADDRESS} \ | |
| -native_log_zk_group_path=${NATIVE_LOG_ZK_PATH} \ | |
| -native_log_quorum_size=${NATIVE_LOG_QUORUM} \ | |
| -thermos_executor_path=/usr/bin/thermos_executor \ | |
| -native_log_file_path=${REPLICATED_LOG} \ | |
| -allowed_container_types="MESOS,DOCKER" \ | |
| -thermos_executor_flags="--announcer-enable --announcer-ensemble=10.12.4.7:2181" \ | |
| -vlog="INFO" | |
| [Install] | |
| WantedBy=multi-user.target |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # /etc/sysconfig/aurora-scheduler | |
| # | |
| # Env variables to control the behavior of the mesos scheduler driver (libmesos.so) | |
| # See: | |
| # https://github.com/apache/mesos/blob/master/src/slave/containerizer/containerizer.cpp | |
| GLOG_v=1 | |
| LIBPROCESS_PORT=8083 | |
| # Aurora specific configuration | |
| HTTP_PORT=8081 | |
| CLUSTER_NAME=atlas | |
| ZK_ENDPOINTS=10.4.3.12:2181,10.4.3.13:2181,10.4.3.14:2181 | |
| MESOS_MASTER_ADDRESS=zk://10.4.3.12:2181,10.4.3.13:2181,10.4.3.14:2181/mesos | |
| SERVERSET_PATH=/aurora/scheduler | |
| REPLICATED_LOG=/var/db/aurora | |
| BACKUP_DIR=/var/lib/aurora | |
| NATIVE_LOG_ZK_PATH=/aurora/replicated-log | |
| NATIVE_LOG_QUORUM=2 | |
| JAVA_OPTS="-mx2g -ms2g -Djava.library.path=/usr/share/aurora/lib" | |
| MESOS_NATIVE_LIBRARY="/usr/lib64/libmesos.so.22" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment