wangmingzhiJohn commented on issue #5733:
URL: 
https://github.com/apache/dolphinscheduler/issues/5733#issuecomment-872968499


   @ruanwenjun 
   I deploy system by this 
   
![image](https://user-images.githubusercontent.com/84900511/124273411-922b5480-db72-11eb-90f0-f1029e3bfc23.png)
   in cluster way
   But I deploy every service on a single machine, which has environment:
   ```
   Ubuntu 16.04.4 LTS
   java version "1.8.0_121"
   mysql  Ver 14.14 Distrib 5.7.24, for Linux (x86_64) using  EditLine wrapper
   zookeeper 3.6.3
   ```
   mysql is serving on the same machine
   the deployuser is `wangmingzhi` which is `wangmingzhi ALL=NOPASSWD: ALL
   ` in /etc/sudoer
   And my tenant code is root, which is `root    ALL=(ALL:ALL) ALL`
   My install_config.conf is:
   ```
   #
   # Licensed to the Apache Software Foundation (ASF) under one or more
   # contributor license agreements.  See the NOTICE file distributed with
   # this work for additional information regarding copyright ownership.
   # The ASF licenses this file to You under the Apache License, Version 2.0
   # (the "License"); you may not use this file except in compliance with
   # the License.  You may obtain a copy of the License at
   #
   #     http://www.apache.org/licenses/LICENSE-2.0
   #
   # Unless required by applicable law or agreed to in writing, software
   # distributed under the License is distributed on an "AS IS" BASIS,
   # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   # See the License for the specific language governing permissions and
   # limitations under the License.
   #
   
   
   # NOTICE :  If the following config has special characters in the variable 
`.*[]^${}\+?|()@#&`, Please escape, for example, `[` escape to `\[`
   # postgresql or mysql
   dbtype="mysql"
   
   # db config
   # db address and port
   dbhost="202.168.126.69:3306"
   
   # db username
   username="ds_user"
   
   # database name
   dbname="dolphinscheduler"
   
   # db passwprd
   # NOTICE: if there are special characters, please use the \ to escape, for 
example, `[` escape to `\[`
   password="dolphinscheduler"
   
   # zk cluster
   zkQuorum="202.168.126.69:2181"
   
   # Note: the target installation path for dolphinscheduler, please not config 
as the same as the current path (pwd)
   # installPath="/data1_1T/dolphinscheduler"
   installPath="/home/wangmingzhi/apache-dolphinscheduler-1.3.6-bin"
   
   # deployment user
   # Note: the deployment user needs to have sudo privileges and permissions to 
operate hdfs. If hdfs is enabled, the root directory needs to be created by 
itself
   deployUser="wangmingzhi"
   
   
   # alert config
   # mail server host
   mailServerHost="smtp.exmail.qq.com"
   
   # mail server port
   # note: Different protocols and encryption methods correspond to different 
ports, when SSL/TLS is enabled, make sure the port is correct.
   mailServerPort="25"
   
   # sender
   mailSender="xxxxxxxxxx"
   
   # user
   mailUser="xxxxxxxxxx"
   
   # sender password
   # note: The mail.passwd is email service authorization code, not the email 
login password.
   mailPassword="xxxxxxxxxx"
   
   # TLS mail protocol support
   starttlsEnable="true"
   
   # SSL mail protocol support
   # only one of TLS and SSL can be in the true state.
   sslEnable="false"
   
   #note: sslTrust is the same as mailServerHost
   sslTrust="smtp.exmail.qq.com"
   
   
   # resource storage type: HDFS, S3, NONE
   resourceStorageType="NONE"
   
   # if resourceStorageType is HDFS,defaultFS write namenode address,HA you 
need to put core-site.xml and hdfs-site.xml in the conf directory.
   # if S3,write S3 address,HA,for example :s3a://dolphinscheduler,
   # Note,s3 be sure to create the root directory /dolphinscheduler
   defaultFS="hdfs://mycluster:8020"
   
   # if resourceStorageType is S3, the following three configuration is 
required, otherwise please ignore
   s3Endpoint="http://192.168.xx.xx:9010";
   s3AccessKey="xxxxxxxxxx"
   s3SecretKey="xxxxxxxxxx"
   
   # if resourcemanager HA is enabled, please set the HA IPs; if 
resourcemanager is single, keep this value empty
   yarnHaIps="192.168.xx.xx,192.168.xx.xx"
   
   # if resourcemanager HA is enabled or not use resourcemanager, please keep 
the default value; If resourcemanager is single, you only need to replace ds1 
to actual resourcemanager hostname
   singleYarnIp="yarnIp1"
   
   # resource store on HDFS/S3 path, resource file will store to this hadoop 
hdfs path, self configuration, please make sure the directory exists on hdfs 
and have read write permissions. "/dolphinscheduler" is recommended
   resourceUploadPath="/dolphinscheduler"
   
   # who have permissions to create directory under HDFS/S3 root path
   # Note: if kerberos is enabled, please config hdfsRootUser=
   hdfsRootUser="hdfs"
   
   # kerberos config
   # whether kerberos starts, if kerberos starts, following four items need to 
config, otherwise please ignore
   kerberosStartUp="false"
   # kdc krb5 config file path
   krb5ConfPath="$installPath/conf/krb5.conf"
   # keytab username
   keytabUserName="[email protected]"
   # username keytab path
   keytabPath="$installPath/conf/hdfs.headless.keytab"
   
   
   # api server port
   apiServerPort="12345"
   
   
   # install hosts
   # Note: install the scheduled hostname list. If it is pseudo-distributed, 
just write a pseudo-distributed hostname
   ips="202.168.126.69"
   
   # ssh port, default 22
   # Note: if ssh port is not default, modify here
   sshPort="10020"
   
   # run master machine
   # Note: list of hosts hostname for deploying master
   masters="202.168.126.69"
   
   # run worker machine
   # note: need to write the worker group name of each worker, the default 
value is "default"
   workers="202.168.126.69:default"
   
   # run alert machine
   # note: list of machine hostnames for deploying alert server
   alertServer="202.168.126.69"
   
   # run api machine
   # note: list of machine hostnames for deploying api server
   apiServers="202.168.126.69"
   ```
   
   My shell script does not matter, I think. For example, just single line 
`echo "here is shell"`


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to