1# (Oracle 做数据源的推荐方案):安装内置库和 OCI 客户端并启动 YMP
2[ymp@ymp ~]$ cd /home/ymp/yashan-migrate-platform/bin/
3[ymp@ymp bin]$ ./ymp.sh install --db /home/ymp/yashandb-personal-23.2.3.100-linux-x86_64.tar.gz --path /home/ymp/instantclient_19_19
42024-09-19 22:44:43 INFO --- [main] com.sics.command.YmpCommandMain : 指令入参:["--operation","install","--db","/home/ymp/yashandb-personal-23.2.3.100-linux-x86_64.tar.gz","--path","/home/ymp/instantclient_19_19","--ip","192.168.6.167","--memory","4G"]
52024-09-19 22:44:46 INFO --- [main] com.sics.command.serviceimpl.CheckServiceImpl : Check for env before install is successfully!
62024-09-19 22:44:51 INFO --- [main] com.sics.command.serviceimpl.PackageServiceImpl : Db package unpackage successfully!
72024-09-19 22:44:51 INFO --- [main] com.sics.command.serviceimpl.CheckServiceImpl : OCI version is 19.19.0.0.0!
82024-09-19 22:44:56 INFO --- [main] com.sics.command.serviceimpl.PackageServiceImpl : Yasldr package unpackage successfully!
92024-09-19 22:44:56 INFO --- [main] com.sics.command.util.CommandUtil : host host0001 openssl version: OpenSSL 1.1.1l 24 Aug 2021
102024-09-19 22:44:56 INFO --- [main] com.sics.command.util.CommandUtil : OpenSSL version is 1.1.1 or greater
112024-09-19 22:44:56 INFO --- [main] com.sics.command.util.CommandUtil : host host0001 openssl version: OpenSSL 1.1.1l 24 Aug 2021
122024-09-19 22:44:56 INFO --- [main] com.sics.command.util.CommandUtil : OpenSSL version is 1.1.1 or greater
132024-09-19 22:44:56 INFO --- [main] com.sics.command.util.CommandUtil : hostid | group | node_type | node_name | listen_addr | replication_addr | data_path
142024-09-19 22:44:56 INFO --- [main] com.sics.command.util.CommandUtil : ----------------------------------------------------------------------------------------------------------------------------
152024-09-19 22:44:56 INFO --- [main] com.sics.command.util.CommandUtil : host0001 | dbg1 | db | 1-1 | 0.0.0.0:8091 | 127.0.0.1:8092 | /home/ymp/yashan-migrate-platform/db/data/ymp
162024-09-19 22:44:56 INFO --- [main] com.sics.command.util.CommandUtil : ----------+-------+-----------+-----------+--------------+------------------+-----------------------------------------------
172024-09-19 22:44:56 INFO --- [main] com.sics.command.util.CommandUtil :
182024-09-19 22:44:56 INFO --- [main] com.sics.command.util.CommandUtil : Generate config success
192024-09-19 22:45:05 INFO --- [main] com.sics.command.util.CommandUtil : host host0001 openssl version: OpenSSL 1.1.1l 24 Aug 2021
202024-09-19 22:45:05 INFO --- [main] com.sics.command.util.CommandUtil : OpenSSL version is 1.1.1 or greater
212024-09-19 22:45:05 INFO --- [main] com.sics.command.util.CommandUtil : checking install profile.toml...
222024-09-19 22:45:05 INFO --- [main] com.sics.command.util.CommandUtil : install version: yashandb 23.2.3.100
232024-09-19 22:45:05 INFO --- [main] com.sics.command.util.CommandUtil : update host to yasom...
24 type | uuid | name | hostid | index | status | return_code | progress | cost
252024-09-19 22:45:41 INFO --- [main] com.sics.command.util.CommandUtil : ---------------------------------------------------------------------------------------------------------
262024-09-19 22:45:41 INFO --- [main] com.sics.command.util.CommandUtil : task | 23c4a3c120ffbc68 | DeployYasdbCluster | - | ymp | SUCCESS | 0 | 100 | 33
272024-09-19 22:45:41 INFO --- [main] com.sics.command.util.CommandUtil : ------+------------------+--------------------+--------+-------+---------+-------------+----------+------
282024-09-19 22:45:41 INFO --- [main] com.sics.command.util.CommandUtil : task completed, status: SUCCESS
29 type | uuid | name | hostid | index | status | return_code | progress | cost
302024-09-19 22:45:45 INFO --- [main] com.sics.command.util.CommandUtil : -------------------------------------------------------------------------------------------------------
312024-09-19 22:45:45 INFO --- [main] com.sics.command.util.CommandUtil : task | 3aae570c40510c80 | StopYasdbCluster | - | ymp | SUCCESS | 0 | 100 | 3
322024-09-19 22:45:45 INFO --- [main] com.sics.command.util.CommandUtil : ------+------------------+------------------+--------+-------+---------+-------------+----------+------
332024-09-19 22:45:45 INFO --- [main] com.sics.command.util.CommandUtil : task completed, status: SUCCESS
342024-09-19 22:45:45 INFO --- [main] com.sics.command.util.CommandUtil : YashanDB Loader Personal Edition Release 23.2.3.100 x86_64 f3452be
35 type | uuid | name | hostid | index | status | return_code | progress | cost
362024-09-19 22:45:51 INFO --- [main] com.sics.command.util.CommandUtil : --------------------------------------------------------------------------------------------------------
372024-09-19 22:45:51 INFO --- [main] com.sics.command.util.CommandUtil : task | 47a4a6ef3b670c73 | StartYasdbCluster | - | ymp | SUCCESS | 0 | 100 | 4
382024-09-19 22:45:51 INFO --- [main] com.sics.command.util.CommandUtil : ------+------------------+-------------------+--------+-------+---------+-------------+----------+------
392024-09-19 22:45:51 INFO --- [main] com.sics.command.util.CommandUtil : task completed, status: SUCCESS
40[Mem:, 7981, 2902, 969, 13, 4109, 4985]
412024-09-19 22:45:51 INFO --- [main] com.sics.command.util.CommandUtil : Sep 19, 2024 10:45:51 PM com.sics.migrate.port.common.jna.CallDts dtscInitLog
422024-09-19 22:45:51 INFO --- [main] com.sics.command.util.CommandUtil : INFO: ### call dtscInitLog!
432024-09-19 22:45:51 INFO --- [main] com.sics.command.util.CommandUtil : Sep 19, 2024 10:45:51 PM com.sics.migrate.port.common.jna.CallDts dtscInitLog
442024-09-19 22:45:51 INFO --- [main] com.sics.command.util.CommandUtil : INFO: ### finished dtscInitLog!
452024-09-19 22:45:51 INFO --- [main] com.sics.command.serviceimpl.CheckServiceImpl : Yasdts environment check successfully!
462024-09-19 22:45:52 INFO --- [main] com.sics.command.serviceimpl.PasswordServiceImpl : Update sys password and salt successfully!
47YMP started successfully!