Configuration settings preserved after a traditional upgrade

2 minute readDeveloper productivity

The following configuration settings are saved and reloaded during a CloudBees CD/RO software upgrade.

Agent

Properties in <data_dir>/conf/agent.conf

artifactCache

caFile

caPath

certFile

duplicateDetectionListSize

idleOutboundConnectionTimeout

idlePostRunnerTimeout

idleServerRequestWorkerTimeout

idleWorkerTimeout

keyFile

loadProfile

logFile

logLevel

logMaxFiles

logMaxSize

outboundRequestInitialRetryInterval

outboundRequestMaxRetryInterval

outboundRequestTimeout

pluginsPath

port

proto

serverConnectTimeout

serverReadTimeout

unixShellPattern

verifyPeer

Properties in <data_dir>/conf/agent/wrapper.conf

set.ECWRAPPER_WRITE_MAX_ATTEMPTS

set.ECWRAPPER_WRITE_RETRY_INTERVAL

wrapper.console.format

wrapper.java.additional.<n> where n must be ≥ 10000 (custom parameter)

wrapper.java.additional.700

wrapper.java.additional.701

wrapper.java.additional.702

wrapper.java.additional.703

wrapper.java.additional.704

wrapper.java.additional.705

wrapper.java.additional.710

wrapper.java.additional.711

wrapper.java.additional.714

wrapper.java.additional.715

wrapper.java.classpath.<n> (where n must be ≥ 1)

wrapper.java.initmemory

wrapper.java.initmemory.percent

wrapper.java.library.path.<n> (where n must be ≥ 1)

wrapper.java.maxmemory

wrapper.java.maxmemory.percent

wrapper.logfile

wrapper.logfile.format

wrapper.logfile.loglevel

wrapper.logfile.maxfiles

wrapper.logfile.maxsize

wrapper.ntservice.dependency.<n>

wrapper.ntservice.interactive

wrapper.ntservice.starttype

wrapper.ping.interval

wrapper.ping.timeout

wrapper.request_thread_dump_on_failed_jvm_exit

wrapper.shutdown.timeout

wrapper.startup.timeout

wrapper.successful_invocation_time

Properties in <data_dir>/conf/agent/agent.properties

AGENT_ACCEPT_QUEUE_SIZE

AGENT_CRL_FILE

AGENT_DOMAIN_NAME

AGENT_KEYSTORE

AGENT_KEYSTORE_PASSWORD

AGENT_LOCAL_PORT

AGENT_MAX_HTTP_THREADS

AGENT_PORT

AGENT_PROTOCOL

AGENT_SERVER_SESSIONS_FILE

IDLE_CONNECTION_TIMEOUT

MAX_CONNECTIONS

MAX_CONNECTIONS_PER_ROUTE

MAX_LOGGED_prompt_LENGTH

OUTBOUND_CONNECT_TIMEOUT

CloudBees CD/RO server

Properties in <data_dir>/conf/commander.properties

COMMANDER_ACCEPT_QUEUE_SIZE

COMMANDER_BATCH_DB_REQUESTS_OVERRIDE

COMMANDER_CERT

COMMANDER_CRITICAL_SERVICES_MAX_ATTEMPTS_TO_BE_IN_PRIMARY_CLUSTER

COMMANDER_CRITICAL_SERVICES_MONITORING_ENABLED

COMMANDER_CRITICAL_SERVICES_MONITORING_FREQUENCY

COMMANDER_CRL_FILE

COMMANDER_DATA_DIR_MONITORING_ENABLED

COMMANDER_FORCE_ENABLE_ADMIN

COMMANDER_HTTPS_PORT

COMMANDER_KEY

COMMANDER_KEYSTORE

COMMANDER_KEYSTORE_PASSWORD

COMMANDER_LOG_DIR_MONITORING_ENABLED

COMMANDER_MAX_API_THREADS

COMMANDER_MAX_DISPATCH_THREADS

COMMANDER_MAX_HTTP_THREADS

COMMANDER_MAX_QUARTZ_THREADS

COMMANDER_MAX_WORKFLOW_THREADS

COMMANDER_MQ_DATADIR

COMMANDER_MQ_DIR_MONITORING_ENABLED

COMMANDER_MQ_DISK_SPACE_MONITORING_ENABLED

COMMANDER_MQ_DISK_SPACE_MONITORING_IN_CLUSTER_ONLY

COMMANDER_MQ_HARD_DISK_SPACE_LIMIT

COMMANDER_MQ_SOFT_DISK_SPACE_LIMIT

COMMANDER_NESTED_LDAP_GROUPS_MAXIMUM_DEPTH_LIMIT

COMMANDER_PASSWORD_KEYFILE

COMMANDER_PORT

COMMANDER_SERVER_NAME

COMMANDER_STOMP_PORT

org.apache.coyote.USE_CUSTOM_STATUS_MSG_IN_HEADER

Properties in <data_dir>/conf/wrapper.conf

set.default.COMMANDER_HTTPS_PORT

wrapper.syslog.loglevel

set.default.COMMANDER_XML_READER_STRIP_WHITESPACE_TEXT

set.default.COMMANDER_PORT

set.default.INSTALL_DIRECTORY

set.default.DATA_DIRECTORY

wrapper.java.additional.<n> where n must be ≥ 10000 (custom parameter)

wrapper.console.format

wrapper.java.additional.250

wrapper.java.additional.240

wrapper.java.additional.350

wrapper.java.additional.260

wrapper.java.additional.601

wrapper.java.additional.600

wrapper.java.additional.603

wrapper.java.additional.602

wrapper.java.additional.702

wrapper.java.additional.703

wrapper.java.additional.704

wrapper.java.additional.705

wrapper.java.additional.710

wrapper.java.additional.711

wrapper.java.additional.714

wrapper.java.additional.715

wrapper.java.additional.800

wrapper.java.additional.802

wrapper.java.additional.801

wrapper.java.additional.901

wrapper.java.additional.803

wrapper.java.additional.903

wrapper.java.additional.902

wrapper.java.additional.950

wrapper.java.additional.1600

wrapper.java.additional.1601

wrapper.java.classpath.<n> (where n must be ≥ 1)

wrapper.java.initmemory

wrapper.java.initmemory.percent

wrapper.java.library.path.<n> (where n must be ≥ 1)

wrapper.java.maxmemory

wrapper.java.maxmemory.percent

wrapper.logfile

wrapper.logfile.format

wrapper.logfile.loglevel

wrapper.logfile.maxfiles

wrapper.logfile.maxsize

wrapper.ping.interval

wrapper.ping.timeout

wrapper.request_thread_dump_on_failed_jvm_exit

wrapper.shutdown.timeout

wrapper.startup.timeout

Repository server

Properties in <data_dir>/conf/repository/server.properties

AGENT_URL

COMMANDER_HOST

IDLE_CONNECTION_TIMEOUT

MAX_CONNECTIONS

MAX_CONNECTIONS_PER_ROUTE

REPOSITORY_ACCEPT_QUEUE_SIZE

REPOSITORY_BACKING_STORE

REPOSITORY_KEYSTORE

REPOSITORY_KEYSTORE_PASSWORD

REPOSITORY_MAX_HTTP_THREADS

REPOSITORY_PORT

REPOSITORY_PROTOCOL

VALIDATE_FROM_DISK

Properties in <data_dir>/conf/repository/wrapper.conf

set.default.DATA_DIRECTORY

set.default.INSTALL_DIRECTORY

set.default.REPOSITORY_PORT

set.default.REPOSITORY_PROTOCOL

wrapper.console.format

wrapper.java.additional.400

wrapper.java.additional.401

wrapper.java.additional.402

wrapper.java.additional.701

wrapper.java.additional.702

wrapper.java.additional.703

wrapper.java.classpath.<n> (where n must be ≥ 1)

wrapper.java.initmemory

wrapper.java.initmemory.percent

wrapper.java.library.path.<n> (where n must be ≥ 1)

wrapper.java.maxmemory

wrapper.java.maxmemory.percent

wrapper.logfile

wrapper.logfile.format

wrapper.logfile.loglevel

wrapper.logfile.maxfiles

wrapper.logfile.maxsize

wrapper.ping.interval

wrapper.ping.timeout

wrapper.request_thread_dump_on_failed_jvm_exit

wrapper.shutdown.timeout

wrapper.startup.timeout

wrapper.successful_invocation_time

wrapper.syslog.loglevel

Web server

Properties in <data_dir>/apache/conf/httpd.conf

Listen

ServerName

SetEnv COMMANDER_HTTPS_PORT

SetEnv COMMANDER_PLUGINS

SetEnv COMMANDER_PORT

SetEnv COMMANDER_SERVER

SetEnv no_proxy

RewriteCond %{HTTPS}

Properties in <data_dir>/apache/conf/extra/auth-kerberos.conf

KrbConstrainedDelegation

webEnableKrb5Trace

KrbServiceName

Properties in <data_dir>/apache/conf/php.ini

date.timezone

max_file_uploads

memory_limit

post_max_size

upload_max_filesize

Properties in <data_dir>/apache/conf/ssl.conf

SSLCertificateKeyFile

SSLCertificateFile

Listen

Properties in <data_dir>/apache/htdocs/commander/config.php

$config["connectTimeout"]

csrfProtection

Built-in database

Properties in <data_dir>/conf/mariadb/mariadb.conf

port (under sections [mysqld] and [client])

innodb_buffer_pool_size

Adding custom Java options to the CloudBees CD/RO server and agent

Use the ecconfigure tool with --agentWrapperJavaAdditional=nnnnn=value for an agent or --wrapperJavaAdditional=nnnnn=value for the CloudBees CD/RO server to add custom Java options during an upgrade.

nnnnn must be an unique integer >= 10000.

For example, running ecconfigure --wrapperJavaAdditional=10000=-Dcom.sun.jndi.ldap.read.timeout=20000 adds wrapper.java.additional.10000=-Dcom.sun.jndi.ldap.read.timeout=20000 to the <DATA_DIR>/conf/wrapper.conf of the CloudBees CD/RO server. After a CloudBees CD/RO server upgrade, this custom JVM parameter is preserved.