查看RCE版本信息
curl http://127.0.0.1:8080/rce/api/misc/version
10.234.91.155
- 运行异常信息,一般这种重启一下RCE- Server即可正常(RCE放最后启动)
查看版本信息
https://im.litsoft.com.cn/api/configuration/all
https://im.litsoft.com.cn/api/misc/version
运行正常信息
查看RCX版本信息
curl 10.234.11.17:8083/rcx/plugin/version
curl 127.0.0.1:8083/rcx/plugin/version
查看ES状态
curl 127.0.0.1:9200/_cat/health?
rce-elasticsearch-hs
查看全部服务状态
pwdx 1647
查看ES信息
[root@RcloudTest ~]# cd /rcloud/app/
[root@RcloudTest app]#
[root@RcloudTest app]# ll
total 8
drwxr-xr-x. 2 rcloud rcloud 160 Mar 25 2022 docker
drwxr-xr-x. 4 rcloud rcloud 165 Sep 2 15:01 file-fdfs-node-1
drwxr-xr-x. 11 rcloud rcloud 180 Oct 9 15:35 file-nginx-node-1
drwxr-xr-x. 6 rcloud rcloud 123 Mar 25 2022 file-server-node-1
drwxr-xr-x. 7 rcloud rcloud 245 Mar 25 2022 jdk
drwxr-xr-x. 4 rcloud rcloud 71 Mar 25 2022 loghub-server-node-1
drwxr-xr-x. 2 rcloud rcloud 224 Mar 25 2022 moments-redis-node-1
drwxr-xr-x. 7 rcloud rcloud 131 Mar 25 2022 rce-elasticsearch-node-1
drwxr-xr-x. 3 rcloud rcloud 91 Aug 29 17:48 rce-moments-node-1
drwxr-xr-x. 10 rcloud rcloud 213 Oct 9 15:35 rce-mysql-node-1
drwxr-xr-x. 11 rcloud rcloud 179 Oct 9 15:35 rce-nginx-node-1
drwxr-xr-x. 2 rcloud rcloud 224 Oct 9 15:35 rce-redis-node-1
drwxr-xr-x. 9 rcloud rcloud 220 Mar 25 2022 rce-server-node-1
drwxr-xr-x. 6 rcloud rcloud 105 Mar 25 2022 rcx-globalrcdb-node-1-master
drwxr-xr-x. 10 rcloud rcloud 213 Oct 9 15:35 rcx-mysql-node-1
drwxr-xr-x. 11 rcloud rcloud 179 Oct 9 15:35 rcx-nginx-node-1
drwxr-xr-x. 6 rcloud rcloud 105 Mar 25 2022 rcx-rcdb-node-1-master
drwxr-xr-x. 6 rcloud rcloud 105 Mar 25 2022 rcx-rcdb-node-2-master
drwxr-xr-x. 6 rcloud rcloud 105 Mar 25 2022 rcx-rcdb-node-3-master
drwxr-xr-x. 6 rcloud rcloud 105 Mar 25 2022 rcx-rcdb-node-4-master
drwxr-xr-x 6 rcloud rcloud 123 Aug 25 22:29 rcx-server-node-1
drwxr-xr-x. 14 rcloud rcloud 4096 Mar 25 2022 rcx-zookeeper-node-1
drwxr-xr-x. 11 rcloud rcloud 179 Oct 9 15:35 rtc-nginx-node-1
drwxr-xr-x. 2 rcloud rcloud 32 Aug 29 17:39 rtc-server-node-1
drwxr-xr-x. 3 rcloud rcloud 4096 Aug 29 17:47 scripts
drwxr-xr-x. 3 rcloud rcloud 64 Oct 9 15:35 supervisord
drwxr-xr-x. 6 rcloud rcloud 68 Aug 25 22:52 www
- 查看ES配置文件
[root@RcloudTest app]# cat rce-server-node-1/conf/rce/elastic.properties
elasticsearch.host=rce-elasticsearch-node-1
elasticsearch.port=9300
elasticsearch.cluster.name=rcloud
#elasticsearch.username=elastic
#elasticsearch.password=1qazXSW@
searchguard.ssl.transport.pemcert_filepath=/rcloud/app/rce-server-node-1/conf/rce/search-guard/kirk.pem
searchguard.ssl.transport.pemkey_filepath=/rcloud/app/rce-server-node-1/conf/rce/search-guard/kirk.key
searchguard.ssl.transport.pemtrustedcas_filepath=/rcloud/app/rce-server-node-1/conf/rce/search-guard/root-ca.pem
searchguard.ssl.transport.pemkey_password=bWOGv2UduDBnzVHF
- 登录测试ES状态
curl -k -u admin:admin https://127.0.0.1:9200/_cat/health?
重启RCE服务
客户端登陆失败
- 更换授权或识别码后需要重启服务。
客户端登陆失败
问题:一开始同步,就会同步一条id为17的名字是联和利泰的部门,但是数据库里已经有了id是17,名字是联合利泰的公司。造成了冲突。导致RCE-Server
服务异常。
需要删除冲突的数据。
select * from t_organization where parent_uid = member_uid ;
delete from t_organization where parent_uid = member_uid ;
select * from t_depart where _uid = 17;
delete from t_depart where _uid = 17;
select * from t_depart where _uid = 17
问题2: rce-nginx配置里面的的upstream的地址跟k8s里rce-server的service地址不一致。
重启Rce-Server后需要重启一下rce-nginx服务。
评论区