Spring Cloud Alibaba 之 SkyWalking 分布式链路跟踪;跨多服务追踪,集成日志(十五)
一、SkyWalking 跨多服务追踪
1、 关闭防火墙,如果nacos使用MySQL持久化规则,则启动MySQL服务;
systemctl stop firewalld
2、 启动单机版Nacos,浏览器输入http://192.168.133.129:8848/nacos
[root@eureka8761 ~]# cd /opt/software/nacos/bin/
[root@eureka8761 bin]# ll
total 24
-rw-r--r--. 1 root root 721 Jul 7 09:44 derby.log
drwxr-xr-x. 2 root root 270 Jul 25 14:56 logs
-rwxr-xr-x. 1 502 games 954 May 14 2020 shutdown.cmd
-rwxr-xr-x. 1 502 games 951 Dec 14 2021 shutdown.sh
-rwxr-xr-x. 1 502 games 3368 Jan 12 2022 startup.cmd
-rwxr-xr-x. 1 502 games 5161 Jul 5 12:19 startup.sh
drwxr-xr-x. 3 root root 20 Jul 5 12:19 work
[root@eureka8761 bin]# sh startup.sh -m standalone

3、 启动SkyWalking-UI;
[root@eureka8761 bin]# cd /opt/software/apache-skywalking-apm-bin/bin
[root@eureka8761 bin]# ll
total 40
-rwxr-xr-x. 1 501 games 1352 Sep 29 2021 oapService.bat
-rwxr-xr-x. 1 501 games 1364 Sep 29 2021 oapServiceInit.bat
-rwxr-xr-x. 1 501 games 1624 Sep 29 2021 oapServiceInit.sh
-rwxr-xr-x. 1 501 games 1367 Sep 29 2021 oapServiceNoInit.bat
-rwxr-xr-x. 1 501 games 1643 Sep 29 2021 oapServiceNoInit.sh
-rwxr-xr-x. 1 501 games 1626 Sep 29 2021 oapService.sh
-rwxr-xr-x. 1 501 games 941 Sep 29 2021 startup.bat
-rwxr-xr-x. 1 501 games 934 Sep 29 2021 startup.sh
-rwxr-xr-x. 1 501 games 1430 Sep 29 2021 webappService.bat
-rwxr-xr-x. 1 501 games 1657 Sep 29 2021 webappService.sh
[root@eureka8761 bin]# sh startup.sh
SkyWalking OAP started successfully!
SkyWalking Web Application started successfully!