Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remoting documentation: README and System properties (#89)
* Add the Remoting configuration page * Add README * Update system property annotations in the code * Docs: Convert links in the SystemProperties table to HTML * Docs: fix the relative link in docs/configuration.md
- Loading branch information
1 parent
1c830f3
commit 61247d9
Showing
9 changed files
with
159 additions
and
2 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
Jenkins Remoting layer | ||
==== | ||
|
||
Jenkins remoting is an executable JAR, | ||
which implements communication layer in [Jenkins](https://jenkins.io) automation server. | ||
It's being used for master <=> agent(fka "slave") and master <=> CLI communications. | ||
|
||
In general, this library contains the bootstrap code to bridge separate JVMs into a single semi-shared space. | ||
It includes: TCP-based communication protocols, data serialization, Java classloading. | ||
|
||
The library is reusable outside Jenkins. | ||
|
||
### Documentation | ||
|
||
Remoting documentation is under development. | ||
More info will appear soon. | ||
Feel free to contribute. | ||
|
||
* [Changelog](CHANGELOG.md) | ||
* [Remoting Configuration](docs/configuration.md) | ||
* [Channel Termination Process](docs/close.md) | ||
|
||
### Reporting issues | ||
|
||
Remoting library uses the [Jenkins bugtracker](https://issues.jenkins-ci.org). | ||
Issues should be reported there in the <code>JENKINS</code> project with the <code>remoting</code> component. | ||
|
||
See [How to report an issue](https://wiki.jenkins-ci.org/display/JENKINS/How+to+report+an+issue) for more details about Jenkins issue reporting. | ||
|
||
### More info | ||
|
||
* [Remoting Architecture Overview](http://hudson-ci.org/docs/HudsonArch-Remoting.pdf) | ||
by Winston Prakash, Oracle (the information is outdated) | ||
* [Making your plugin behave in distributed Jenkins](https://wiki.jenkins-ci.org/display/JENKINS/Making+your+plugin+behave+in+distributed+Jenkins) | ||
* [Writing an SCM plugin. Remoting examples](https://wiki.jenkins-ci.org/display/JENKINS/Remoting) | ||
* [Troubleshooting remoting issues](https://wiki.jenkins-ci.org/display/JENKINS/Remoting+issue) | ||
* [Scaling Jenkins to Hundreds of Nodes](https://www.cloudbees.com/jenkins/juc-2015/abstracts/us-west/02-01-1600) | ||
by Akshay Dayal, Google (remoting optimization, JNLP3) |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,105 @@ | ||
Remoting Configuration | ||
==== | ||
|
||
Remoting can be configured via System properties. | ||
These properties require independent configuration on both sides of the channel. | ||
|
||
### Available settings | ||
|
||
<table> | ||
<tbody> | ||
<tr> | ||
<td>System property</td> | ||
<td>Default value</td> | ||
<td><a href="../CHANGELOG.md">Since</a></td> | ||
<td><a href="https://jenkins.io/changelog/">Jenkins version(s)</a></td> | ||
<td>Related issues</td> | ||
<td>Description</td> | ||
</tr> | ||
<tr> | ||
<td>hudson.remoting.ClassFilter.DEFAULTS_OVERRIDE_LOCATION</td> | ||
<td>null</td> | ||
<td>2.53.2</td> | ||
<td>1.639</td> | ||
<td><a href="https://wiki.jenkins-ci.org/display/SECURITY/Jenkins+Security+Advisory+2015-11-11">SECURITY-218</a></td> | ||
<td>The path to a file containing alternative regex patterns for remoting class filtering</td> | ||
</tr> | ||
<tr> | ||
<td>hudson.remoting.FlightRecorderInputStream.BUFFER_SIZE</td> | ||
<td>1048576</td> | ||
<td>2.41</td> | ||
<td>1.563</td> | ||
<td><a href="https://issues.jenkins-ci.org/browse/JENKINS-22734">JENKINS-22734</a></td> | ||
<td>Size (in bytes) of the flight recorder ring buffer used for debugging remoting issues</td> | ||
</tr> | ||
<tr> | ||
<td>hudson.remoting.Launcher.pingIntervalSec</td> | ||
<td>0 since 2.60, 600 before</td> | ||
<td>2.0</td> | ||
<td>1.367</td> | ||
<td><a href="https://issues.jenkins-ci.org/browse/JENKINS-35190">JENKINS-35190</a></td> | ||
<td>Seconds between ping checks to monitor health of slave nodes; | ||
0 to disable ping</td> | ||
</tr> | ||
<tr> | ||
<td>hudson.remoting.Launcher.pingTimeoutSec</td> | ||
<td>240</td> | ||
<td>2.0</td> | ||
<td>1.367</td> | ||
<td>N/A</td> | ||
<td>If ping of slave node takes longer than this, consider it dead; | ||
0 to disable ping</td> | ||
</tr> | ||
<tr> | ||
<td>hudson.remoting.RemoteClassLoader.force</td> | ||
<td>null</td> | ||
<td>2.58</td> | ||
<td>2.4</td> | ||
<td><a href="https://issues.jenkins-ci.org/browse/JENKINS-19445">JENKINS-19445</a> (workaround)</td> | ||
<td> | ||
Class name String. | ||
Forces loading of the specified class name on incoming requests. | ||
Works around issues like <a href="https://issues.jenkins-ci.org/browse/JENKINS-19445">JENKINS-19445</a></td> | ||
</tr> | ||
<tr> | ||
<td>hudson.remoting.Engine.socketTimeout</td> | ||
<td>30 minutes</td> | ||
<td>2.58</td> | ||
<td>2.4</td> | ||
<td><a href="https://issues.jenkins-ci.org/browse/JENKINS-34808">JENKINS-34808</a></td> | ||
<td>Socket read timeout in milliseconds. | ||
If timeout happens and the <code>failOnSocketTimeoutInReader</code> property is <code>true</code>, the channel will be interrupted. | ||
</td> | ||
</tr> | ||
<tr> | ||
<td>hudson.remoting.SynchronousCommandTransport.failOnSocketTimeoutInReader</td> | ||
<td>false</td> | ||
<td>2.60</td> | ||
<td>TODO</td> | ||
<td><a href="https://issues.jenkins-ci.org/browse/JENKINS-22722">JENKINS-22722</a></td> | ||
<td>Boolean flag. | ||
Enables the original aggressive behavior, when the channel reader gets interrupted by any | ||
<code>SocketTimeoutException</code> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td>${PROTOCOL_CLASS_NAME}.disabled</td> | ||
<td>false</td> | ||
<td>2.59</td> | ||
<td>2.4</td> | ||
<td><a href="https://issues.jenkins-ci.org/browse/JENKINS-34819">JENKINS-34819</a></td> | ||
<td>Boolean flag, which allows disabling particular protocols in remoting. | ||
Property example: <code>org.jenkinsci.remoting.engine.JnlpProtocol3.disabled</code> | ||
</td> | ||
</tr> | ||
<!--Template | ||
<tr> | ||
<td></td> | ||
<td></td> | ||
<td></td> | ||
<td></td> | ||
<td></td> | ||
<td></td> | ||
</tr>--> | ||
<tbody> | ||
</table> |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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