【问题现象】
yashandb启动报错:
[yashan@node01 ~]$ yasboot cluster status -c yashandb
dial tcp 192.168.162.141:1675: connect: connection refused
【原因分析】
1675 是 yasom(Yashan System Operation Manager)服务的监听端口,该服务是数据库运维控制的核心组件。
在数据库实例启动前,系统默认通过该端口与 yasom 进行通信以完成状态检查、进程控制等操作。
因此:如果服务器重启后 yasom 未自动拉起,任何依赖它的启动操作都将失败。
【正确启动步骤】
1.启动yasom服务
[yashan@node01 ~]$ yasboot process yasom start -c yashandb
start yasom successfully
2.启动yasagent服务
[yashan@node01 ~]$ yasboot process yasagent start -c yashandb
start local agent successfully!
3.启动yashandb
[yashan@node01 ~]$ yasboot cluster start -c yashandb
type | uuid | name | hostid | index | status | return_code | progress | cost
-----------------------------------------------------------------------------------------------------------
task | a16b8f618d2a4462 | StartYasdbCluster | - | yashandb | SUCCESS | 0 | 100 | 8
------+------------------+-------------------+--------+----------+---------+-------------+----------+------
task completed, status: SUCCESS
4.查看数据库状态
[yashan@node01 ~]$ yasboot cluster status -c yashandb
host_id | node_type | nodeid | pid
---------------------------------------
host0001 | db | 1-1:1 | 10389
----------+-----------+--------+-------




