汽车日报 汽车日报

当前位置: 首页 » 汽车资讯 »

比亚迪f0p0720

大众途观通病及解决方法(重点在方法!)

大众途观通病:无缘无故不启动,比如果洗车后,或换电瓶后,电量不足搭电后,其它突发情况。11、12、13年途观车出现的通病最多,有通病的都是95320仪表,早期的摩托罗拉仪表和现在的24C64仪表都没有问题。

产生问题原因:

1、线路问题。电脑发动机和仪表的连接线有问题

2、仪表的数据乱了,包括CS码、MAC码、PRN码及钥匙数等数据。仪表的数据容易坏,发动机电脑的数据不容易坏。

解决方法:

1、如果是线路问题,就维修线路

2、如果是仪表数据坏了,那么就需要读取发动机电脑上的CS码、MAC码、PRN码写入仪表防盗数据,注意检查车架号是否正常,不正确也可重写,并把B0~F0数据改为F,即清除所有钥匙。以上数据重写是以手工修改方式。写完数据后因钥匙数为0,要重新匹配钥匙。

简单的说,遇到不启动,先用阿福迪重新匹配钥匙,如果配不上,启动不了,就读数据,发动机和仪表数据一致,就检查维修线路,数据不一样就手工改写仪表数据,重新匹配。

途观的通病仪表维修怎么修改数据呢

修复方法:

根据仪表编号不同,有两种修复办法,原理都是一样。遇到这种故障时候,首先不用急着拆仪表,可以尝试用下面第一种方法修复。

方法一、用VVDI2修复

连接VVDI2到车辆OBD接口,进入仪表,读出防盗数据,然后保存。如果防盗数据有问题,VVDI2会直接提醒你数据是有问题的,不要再往下操作了!

然后呢,对于旧款一点的仪表,VVDl2接下来就会提示你是否要修复数据?我们直接点“是”,设备就会直接帮你修复锁死的数据,并保存。然后我们加载这个修复好的数据,写回仪表,再做一次钥匙学习即可。

但是,如果VVDI2弹出下面这个对话窗口,说明不能直接修复,就要通过第二种方法来解决。

方法二、直接手工修复95320数据

拆卸仪表,打开电路板,在电路板上找到八脚码片,型号95320。焊下用编程器读出数据。

对于一般锁匠来说,很多都不会分析数据,单看数据表面,很难察觉有什么大问题,怎么办呢?

通过经验和总结分析,我们发现,通常锁死的数据都有一个共通特征!

在蓝色标记部分430行~460行的数据都发生了异常,变为了数值一样的数据。以这个锁死的数据为例,全都变成6F了!

而正常的数据是不会这样排列的,很明显,问题就在这里!

那么我们应该怎么修复它呢,原始数据值又是多少??

我们继续采用数据对比法进行分析,你就会发现,如果是正常数据,BB0行的数值,与430行~460行的数值是一致的,只不过是重复了3遍排列。

另一台车正常数据

根据这个正常数据的架构规律,我们很嗨就推算出,损坏数据的原始数值是多少了。

我们找到锁死数据的BB0行。

把这一列的数据,重复三次覆盖到430行~460行,就把这个数据修复好了,大功告成。

修复前

修复后

再通过编程器写回码片95320,焊回仪表装车,故障消除,不需要再做任何匹配,车马上就能启动。

Obd工具扩容集群

Obd集群扩容新建yaml配置文件

由于资源限制问题,本次在三台机器上面启动两个observer进程模式2-2-2部署方式。

通过启动不同的监听端口实现。server不变,每台server上面启动两个ob进程。

删除proxy配置

部署ob服务

[admin@obd soft]$ obd cluster deploy obce-3zones-2 -c obce-3zone-addserver.yamlUpdate OceanBase-community-stable-el7 okUpdate OceanBase-development-kit-el7 okoceanbase-ce-3.1.2 already installed.+-------------------------------------------------------------------------------------------+| Packages |+--------------+---------+-----------------------+------------------------------------------+| Repository | Version | Release | Md5 |+--------------+---------+-----------------------+------------------------------------------+| oceanbase-ce | 3.1.2 | 10000392021123010.el7 | 7fafba0fac1e90cbd1b5b7ae5fa129b64dc63aed |+--------------+---------+-----------------------+------------------------------------------+Repository integrity check okParameter check okOpen ssh connection okRemote oceanbase-ce-3.1.2-7fafba0fac1e90cbd1b5b7ae5fa129b64dc63aed repository install okRemote oceanbase-ce-3.1.2-7fafba0fac1e90cbd1b5b7ae5fa129b64dc63aed repository lib check okCluster status check okInitializes observer work home okobce-3zones-2 deployed[admin@obd soft]$ obd cluster list+--------------------------------------------------------------------------+| Cluster List |+---------------+----------------------------------------+-----------------+| Name | Configuration Path | Status (Cached) |+---------------+----------------------------------------+-----------------+| obce-3zones | /home/admin/.obd/cluster/obce-3zones | running || obagent-only | /home/admin/.obd/cluster/obagent-only | running || obce-3zones-2 | /home/admin/.obd/cluster/obce-3zones-2 | deployed |+---------------+----------------------------------------+-----------------+

每台服务器下已经创建了对应的目录。

[root@observer01 admin]# cd /data[root@observer01 data]# lslost+found ob01 ob02[root@observer01 data]# cd /home/admin/obproxy/[root@observer01 obproxy]# cd ..[root@observer01 admin]# cd /home/admin[root@observer01 admin]# lsobproxy oceanbase-ce oceanbase-ce02[root@observer01 admin]#修改集群配置文件

修改现有集群的配置文件将新增的observer服务器信息添加到原有集群中。

[admin@obd soft]$ cd /home/admin/.obd/cluster/obce-3zones[admin@obd obce-3zones]$ lsconfig.yaml[admin@obd obce-3zones]$ vi config.yaml

增加新服务器信息。

重启集群

[admin@obd ~]$ obd cluster restart obce-3zonesGet local repositories and plugins okOpen ssh connection okStop observer okStop obproxy okobce-3zones stoppedGet local repositories and plugins okOpen ssh connection okLoad cluster param plugin okCheck before start observer okCheck before start obproxy okStart observer okobserver program health check okConnect to observer okWait for observer init ok+--------------------------------------------------+| observer |+----------------+---------+------+-------+--------+| ip | version | port | zone | status |+----------------+---------+------+-------+--------+| xxx.xx.153.211 | 3.1.2 | 2881 | zone1 | active || xxx.xx.153.212 | 3.1.2 | 2881 | zone2 | active || xxx.xx.153.213 | 3.1.2 | 2881 | zone3 | active |+----------------+---------+------+-------+--------+Start obproxy okobproxy program health check okConnect to obproxy ok+--------------------------------------------------+| obproxy |+----------------+------+-----------------+--------+| ip | port | prometheus_port | status |+----------------+------+-----------------+--------+| xxx.xx.153.211 | 2883 | 2884 | active || xxx.xx.153.212 | 2883 | 2884 | active || xxx.xx.153.213 | 2883 | 2884 | active |+----------------+------+-----------------+--------+obce-3zones running[admin@obd ~]$添加到集群中

MySQL [oceanbase]> alter system add server 'xxx.xx.153.212:3882' zone 'zone2'-> ;Query OK, 0 rows affected (0.024 sec)MySQL [oceanbase]> alter system add server 'xxx.xx.153.211:3882' zone 'zone1'-> ;Query OK, 0 rows affected (0.008 sec)MySQL [oceanbase]> alter system add server 'xxx.xx.153.213:3882' zone 'zone3'-> ;Query OK, 0 rows affected (0.007 sec)MySQL [oceanbase]> select svr_ip,id,zone,status from __all_server;+----------------+----+-------+--------+| svr_ip | id | zone | status |+----------------+----+-------+--------+| xxx.xx.153.211 | 1 | zone1 | active || xxx.xx.153.211 | 5 | zone1 | active || xxx.xx.153.212 | 2 | zone2 | active || xxx.xx.153.212 | 4 | zone2 | active || xxx.xx.153.213 | 3 | zone3 | active || xxx.xx.153.213 | 6 | zone3 | active |+----------------+----+-------+--------+6 rows in set (0.005 sec)MySQL [oceanbase]>报错及处理

执行完毕2.4.4后执行添加服务器节点到集群的操作报错如下MySQL [oceanbase]> alter system add server 'xxx.xx.153.211:3882' zone 'zone1';ERROR 4179 (HY000): add non-empty server not allowedMySQL [oceanbase]> alter system add server 'xxx.xx.153.212:3882' zone 'zone2';ERROR 4179 (HY000): add non-empty server not allowed登陆集群无法添加observer到对应的zone中?解决办法:重置observer04-06步骤:1、kill observer04服务进程

2、删除对应observer的日志及data目录

rm –fr /home/admin/oceanbase-ce02/run/*rm –fr /home/admin/oceanbase-ce02/log/*rm –fr /data/ob02/sstable/*rm -fr /redo/ob02/clog/*rm -fr /redo/ob02/ilog/*rm -fr /redo/ob02/slog/*

3、obd重启集群

[admin@obd ~]$ obd cluster start obce-3zonesGet local repositories and plugins okOpen ssh connection okLoad cluster param plugin okCheck before start observer okCheck before start obproxy okStart observer okobserver program health check okConnect to observer okWait for observer init ok+--------------------------------------------------+| observer |+----------------+---------+------+-------+--------+| ip | version | port | zone | status |+----------------+---------+------+-------+--------+| xxx.xx.153.211 | 3.1.2 | 2881 | zone1 | active || xxx.xx.153.212 | 3.1.2 | 2881 | zone2 | active || xxx.xx.153.213 | 3.1.2 | 2881 | zone3 | active |+----------------+---------+------+-------+--------+Start obproxy okobproxy program health check okConnect to obproxy ok+--------------------------------------------------+| obproxy |+----------------+------+-----------------+--------+| ip | port | prometheus_port | status |+----------------+------+-----------------+--------+| xxx.xx.153.211 | 2883 | 2884 | active || xxx.xx.153.212 | 2883 | 2884 | active || xxx.xx.153.213 | 2883 | 2884 | active |+----------------+------+-----------------+--------+obce-3zones running

4、登陆sys租户添加ob节点

[admin@obd ~]$ obclient -hxxx.xx.153.211 -uroot@sys#obce-3zones -P2883 -p0EI5N08d -c -A oceanbaseWelcome to the OceanBase. Commands end with ; or \g.Your MySQL connection id is 3Server version: 5.6.25 OceanBase 3.1.2 (r10000392021123010-d4ace121deae5b81d8f0b40afbc4c02705b7fc1d) (Built Dec 30 2021 02:47:29)Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.MySQL [oceanbase]>MySQL [oceanbase]>MySQL [oceanbase]>MySQL [oceanbase]> alter system add server 'xxx.xx.153.212:3882' zone 'zone2'-> ;Query OK, 0 rows affected (0.024 sec)MySQL [oceanbase]> alter system add server 'xxx.xx.153.211:3882' zone 'zone1'-> ;Query OK, 0 rows affected (0.008 sec)MySQL [oceanbase]> alter system add server 'xxx.xx.153.213:3882' zone 'zone3'-> ;Query OK, 0 rows affected (0.007 sec)MySQL [oceanbase]> select svr_ip,id,zone,status from __all_server;+----------------+----+-------+--------+| svr_ip | id | zone | status |+----------------+----+-------+--------+| xxx.xx.153.211 | 1 | zone1 | active || xxx.xx.153.211 | 5 | zone1 | active || xxx.xx.153.212 | 2 | zone2 | active || xxx.xx.153.212 | 4 | zone2 | active || xxx.xx.153.213 | 3 | zone3 | active || xxx.xx.153.213 | 6 | zone3 | active |+----------------+----+-------+--------+6 rows in set (0.005 sec)再次重启集群查看

[admin@obd ~]$ obd cluster stop obce-3zonesGet local repositories and plugins okOpen ssh connection okStop observer okStop obproxy okobce-3zones stopped[admin@obd ~]$ obd cluster start obce-3zonesGet local repositories and plugins okOpen ssh connection okLoad cluster param plugin okCheck before start observer okCheck before start obproxy okStart observer okobserver program health check okConnect to observer okWait for observer init ok+--------------------------------------------------+| observer |+----------------+---------+------+-------+--------+| ip | version | port | zone | status |+----------------+---------+------+-------+--------+| xxx.xx.153.211 | 3.1.2 | 2881 | zone1 | active || xxx.xx.153.211 | 3.1.2 | 3881 | zone1 | active || xxx.xx.153.212 | 3.1.2 | 2881 | zone2 | active || xxx.xx.153.212 | 3.1.2 | 3881 | zone2 | active || xxx.xx.153.213 | 3.1.2 | 2881 | zone3 | active || xxx.xx.153.213 | 3.1.2 | 3881 | zone3 | active |+----------------+---------+------+-------+--------+Start obproxy okobproxy program health check okConnect to obproxy ok+--------------------------------------------------+| obproxy |+----------------+------+-----------------+--------+| ip | port | prometheus_port | status |+----------------+------+-----------------+--------+| xxx.xx.153.211 | 2883 | 2884 | active || xxx.xx.153.212 | 2883 | 2884 | active || xxx.xx.153.213 | 2883 | 2884 | active |+----------------+------+-----------------+--------+obce-3zones running

参考配置文件:

新增server配置文件:obce-3zone-addserver.yaml

# Only need to configure when remote login is requireduser:username: admin# password: your password if needkey_file: /home/admin/.ssh/id_rsa.pubport: your ssh port, default 22# timeout: ssh connection timeout (second), default 30oceanbase-ce:servers:- name: observer04# Please don't use hostname, only IP can be supportedip: xxx.153.211- name: observer05ip: xxxx3.212- name: observer06ip: 1xxxx53.213global:# Please set devname as the network adaptor's name whose ip is in the setting of severs.# if set severs as "127.0.0.1", please set devname as "lo"# if current ip is 192.168.1.10, and the ip's network adaptor's name is "eth0", please use "eth0"devname: ens192cluster_id: 2# please set memory limit to a suitable value which is matching resource.memory_limit: 8G # The maximum running memory for an observer #min need 8g or server not startsystem_memory: 3G # The reserved system memory. system_memory is reserved for general tenants. The default value is 30G.stack_size: 512Kcpu_count: 16 #不强制要求主机有16c代表cache_wash_threshold: 1G__min_full_resource_pool_memory: 268435456workers_per_cpu_quota: 10schema_history_expire_time: 1d# The value of net_thread_count had better be same as cpu's core number.net_thread_count: 4major_freeze_duty_time: Disableminor_freeze_times: 10enable_separate_sys_clog: 0enable_merge_by_turn: FALSE#datafile_disk_percentage: 20 # The percentage of the data_dir space to the total disk space. This value takes effect only when datafile_size is 0. The default value is 90.datafile_size: 20Gsyslog_level: WARN # System log level. The default value is INFO.enable_syslog_wf: false # Print system logs whose levels are higher than WARNING to a separate log file. The default value is true.enable_syslog_recycle: true # Enable auto system log recycling or not. The default value is false.max_syslog_file_count: 10 # The maximum number of reserved log files before enabling auto recycling. The default value is 0.# observer cluster name, consistent with obproxy's cluster_nameappname: obce-3zonesroot_password: 0EI5N08d # root user password, can be emptyproxyro_password: uY7Yf8zx # proxyro user pasword, consistent with obproxy's observer_sys_password, can be emptyobserver04:mysql_port: 3881 # External port for OceanBase Database. The default value is 2881.rpc_port: 3882 # Internal port for OceanBase Database. The default value is 2882.# The working directory for OceanBase Database. OceanBase Database is started under this directory. This is a required field.home_path: /home/admin/oceanbase-ce02# The directory for data storage. The default value is $home_path/store.data_dir: /data/ob02# The directory for clog, ilog, and slog. The default value is the same as the data_dir value.redo_dir: /redo/ob02zone: zone1observer05:mysql_port: 3881 # External port for OceanBase Database. The default value is 2881.rpc_port: 3882 # Internal port for OceanBase Database. The default value is 2882.# The working directory for OceanBase Database. OceanBase Database is started under this directory. This is a required field.home_path: /home/admin/oceanbase-ce02# The directory for data storage. The default value is $home_path/store.data_dir: /data/ob02# The directory for clog, ilog, and slog. The default value is the same as the data_dir value.redo_dir: /redo/ob02zone: zone2observer06:mysql_port: 3881 # External port for OceanBase Database. The default value is 2881.rpc_port: 3882 # Internal port for OceanBase Database. The default value is 2882.# The working directory for OceanBase Database. OceanBase Database is started under this directory. This is a required field.home_path: /home/admin/oceanbase-ce02# The directory for data storage. The default value is $home_path/store.data_dir: /data/ob02# The directory for clog, ilog, and slog. The default value is the same as the data_dir value.redo_dir: /redo/ob02zone: zone3

未经允许不得转载: 汽车日报 » 比亚迪f0p0720

相关文章

themebetter

contact