This is an automated email from the ASF dual-hosted git repository.
github-bot pushed a commit to branch asf-site
in repository
https://gitbox.apache.org/repos/asf/incubator-dolphinscheduler-website.git
The following commit(s) were added to refs/heads/asf-site by this push:
new 5f69d6d Automated deployment: Tue Sep 8 06:53:26 UTC 2020
5f6ee37cad756457c2a985f4d555c40d0949cac5
5f69d6d is described below
commit 5f69d6d41c659c325964f2f3505677c9ee84a963
Author: dailidong <[email protected]>
AuthorDate: Tue Sep 8 06:53:26 2020 +0000
Automated deployment: Tue Sep 8 06:53:26 UTC 2020
5f6ee37cad756457c2a985f4d555c40d0949cac5
---
en-us/docs/1.3.2/user_doc/upgrade.html | 126 +++++++++++++++++++++++++++++++++
en-us/docs/1.3.2/user_doc/upgrade.json | 6 ++
2 files changed, 132 insertions(+)
diff --git a/en-us/docs/1.3.2/user_doc/upgrade.html
b/en-us/docs/1.3.2/user_doc/upgrade.html
new file mode 100644
index 0000000..3f73912
--- /dev/null
+++ b/en-us/docs/1.3.2/user_doc/upgrade.html
@@ -0,0 +1,126 @@
+<!DOCTYPE html>
+<html lang="en">
+
+<head>
+ <meta charset="UTF-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0,
maximum-scale=1.0, user-scalable=no">
+ <meta name="keywords" content="upgrade" />
+ <meta name="description" content="upgrade" />
+ <!-- 网页标签标题 -->
+ <title>upgrade</title>
+ <link rel="shortcut icon" href="/img/docsite.ico"/>
+ <link rel="stylesheet" href="/build/documentation.css" />
+</head>
+<body>
+ <div id="root"><div class="documentation-page"
data-reactroot=""><header class="header-container header-container-normal"><div
class="header-body"><a href="/en-us/index.html"><img class="logo"
src="/img/hlogo_colorful.svg"/></a><div class="search search-normal"><span
class="icon-search"></span></div><span class="language-switch
language-switch-normal">中</span><div class="header-menu"><img
class="header-menu-toggle" src="/img/system/menu_gray.png"/><div><ul
class="ant-menu blackClass ant [...]
+<h2>1. Back up previous version's files and database.</h2>
+<h2>2. Stop all services of DolphinScheduler.</h2>
+<p><code>sh ./script/stop-all.sh</code></p>
+<h2>3. Download the new version's installation package.</h2>
+<ul>
+<li><a
href="https://dolphinscheduler.apache.org/en-us/docs/release/download.html">Download</a>
the latest version of the installation packages.</li>
+<li>The following upgrade operations need to be performed in the new version's
directory.</li>
+</ul>
+<h2>4. Database upgrade</h2>
+<ul>
+<li>
+<p>Modify the following properties in conf/datasource.properties.</p>
+</li>
+<li>
+<p>If you use MySQL as database to run DolphinScheduler, please comment out
PostgreSQL releated configurations, and add mysql connector jar into lib dir,
here we download mysql-connector-java-5.1.47.jar, and then correctly config
database connect infoformation. You can download mysql connector jar <a
href="https://downloads.MySQL.com/archives/c-j/">here</a>. Alternatively if you
use Postgres as database, you just need to comment out Mysql related
configurations, and correctly config data [...]
+<pre><code class="language-properties"><span class="hljs-comment"> #
postgre</span>
+<span class="hljs-comment">
#spring.datasource.driver-class-name=org.postgresql.Driver</span>
+<span class="hljs-comment">
#spring.datasource.url=jdbc:postgresql://localhost:5432/dolphinscheduler</span>
+<span class="hljs-comment"> # mysql</span>
+ <span class="hljs-meta">spring.datasource.driver-class-name</span>=<span
class="hljs-string">com.mysql.jdbc.Driver</span>
+ <span class="hljs-meta">spring.datasource.url</span>=<span
class="hljs-string">jdbc:mysql://xxx:3306/dolphinscheduler?useUnicode=true&characterEncoding=UTF-8&allowMultiQueries=true</span>
+ <span class="hljs-meta">spring.datasource.username</span>=<span
class="hljs-string">xxx</span>
+ <span class="hljs-meta">spring.datasource.password</span>=<span
class="hljs-string">xxx</span>
+</code></pre>
+</li>
+<li>
+<p>Execute database upgrade script</p>
+<p><code>sh ./script/upgrade-dolphinscheduler.sh</code></p>
+</li>
+</ul>
+<h2>5. Backend service upgrade.</h2>
+<h3>5.1 Modify the content in <code>conf/config/install_config.conf</code>
file.</h3>
+<ul>
+<li>Standalone Deployment please refer the [6, Modify running arguments] in <a
href="https://dolphinscheduler.apache.org/en-us/docs/1.3.2/user_doc/standalone-deployment.html">Standalone-Deployment</a>.</li>
+<li>Cluster Deployment please refer the [6, Modify running arguments] in <a
href="https://dolphinscheduler.apache.org/en-us/docs/1.3.2/user_doc/cluster-deployment.html">Cluster-Deployment</a>.</li>
+</ul>
+<h4>Masters need attentions</h4>
+<p>Create workder group in 1.3.1 version has different design:</p>
+<ul>
+<li>Brfore version 1.3.1 worker group can be created through UI interface.</li>
+<li>Since version 1.3.1 worker group can be created by modify the worker
configuration.</li>
+</ul>
+<h4>When upgrade from version before 1.3.1 to 1.3.2, below operations are what
we need to do to keep worker group config consist with previous.</h4>
+<p>1, Go to the backup database, search records in t_ds_worker_group table,
mainly focus id, name and ip these three columns.</p>
+<table>
+<thead>
+<tr>
+<th style="text-align:left">id</th>
+<th style="text-align:center">name</th>
+<th style="text-align:right">ip_list</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td style="text-align:left">1</td>
+<td style="text-align:center">service1</td>
+<td style="text-align:right">192.168.xx.10</td>
+</tr>
+<tr>
+<td style="text-align:left">2</td>
+<td style="text-align:center">service2</td>
+<td style="text-align:right">192.168.xx.11,192.168.xx.12</td>
+</tr>
+</tbody>
+</table>
+<p>2、Modify the workers config item in conf/config/install_config.conf
file.</p>
+<p>Imaging bellow are the machine worker service to be deployed:</p>
+<table>
+<thead>
+<tr>
+<th style="text-align:left">hostname</th>
+<th style="text-align:center">ip</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td style="text-align:left">ds1</td>
+<td style="text-align:center">192.168.xx.10</td>
+</tr>
+<tr>
+<td style="text-align:left">ds2</td>
+<td style="text-align:center">192.168.xx.11</td>
+</tr>
+<tr>
+<td style="text-align:left">ds3</td>
+<td style="text-align:center">192.168.xx.12</td>
+</tr>
+</tbody>
+</table>
+<p>To keep worker group config consistant with previous version, we need to
modify workers config item as below:</p>
+<pre><code class="language-shell"><span class="hljs-meta">#</span><span
class="bash">worker service is deployed on <span
class="hljs-built_in">which</span> machine, and also specify <span
class="hljs-built_in">which</span> worker group this worker belong to. </span>
+workers="ds1:service1,ds2:service2,ds3:service2"
+</code></pre>
+<h4>The worker group has been enhanced in version 1.3.2.</h4>
+<p>Worker in 1.3.1 can't belong to more than one worker group, in 1.3.2 it's
supported. So in 1.3.1 it's not supported when
workers="ds1:service1,ds1:service2", and in 1.3.2 it's supported.</p>
+<h3>5.2 Execute deploy script.</h3>
+<pre><code class="language-shell">`sh install.sh`
+</code></pre>
+</div></section><footer class="footer-container"><div class="footer-body"><img
src="/img/ds_gray.svg"/><div class="cols-container"><div class="col
col-12"><h3>Disclaimer</h3><p>Apache DolphinScheduler (incubating) is an effort
undergoing incubation at The Apache Software Foundation (ASF), sponsored by
Incubator.
+Incubation is required of all newly accepted projects until a further review
indicates
+that the infrastructure, communications, and decision making process have
stabilized in a manner consistent with other successful ASF projects.
+While incubation status is not necessarily a reflection of the completeness or
stability of the code,
+it does indicate that the project has yet to be fully endorsed by the
ASF.</p></div><div class="col col-6"><dl><dt>Documentation</dt><dd><a
href="/en-us/docs/development/architecture-design.html"
target="_self">Overview</a></dd><dd><a
href="/en-us/docs/1.2.0/user_doc/quick-start.html" target="_self">Quick
start</a></dd><dd><a href="/en-us/docs/development/backend-development.html"
target="_self">Developer guide</a></dd></dl></div><div class="col
col-6"><dl><dt>ASF</dt><dd><a href="http:/ [...]
+ <script
src="https://f.alicdn.com/react/15.4.1/react-with-addons.min.js"></script>
+ <script
src="https://f.alicdn.com/react/15.4.1/react-dom.min.js"></script>
+ <script>
+ window.rootPath = '';
+ </script>
+ <script src="/build/documentation.js"></script>
+</body>
+</html>
\ No newline at end of file
diff --git a/en-us/docs/1.3.2/user_doc/upgrade.json
b/en-us/docs/1.3.2/user_doc/upgrade.json
new file mode 100644
index 0000000..8b268e0
--- /dev/null
+++ b/en-us/docs/1.3.2/user_doc/upgrade.json
@@ -0,0 +1,6 @@
+{
+ "filename": "upgrade.md",
+ "__html": "<h1>DolphinScheduler upgrade documentation</h1>\n<h2>1. Back up
previous version's files and database.</h2>\n<h2>2. Stop all services of
DolphinScheduler.</h2>\n<p><code>sh ./script/stop-all.sh</code></p>\n<h2>3.
Download the new version's installation package.</h2>\n<ul>\n<li><a
href=\"https://dolphinscheduler.apache.org/en-us/docs/release/download.html\">Download</a>
the latest version of the installation packages.</li>\n<li>The following
upgrade operations need to be perf [...]
+ "link": "/en-us/docs/1.3.2/user_doc/upgrade.html",
+ "meta": {}
+}
\ No newline at end of file