不断刷新我认知的华为云
没有最烂,只有更烂
公司要给客户演示新产品,于是实施部门申请了一个华为云,给我来部署新产品。
几天来在这个华为云的虚拟机上,遇到的种种事情不断刷新了我的认知(下限):
- 在管理端设置的防火墙接口,必须重启虚拟机后才能生效
- 然后偶然发现了一个用于更新客户机密码的Java程序
(用“重置kvm客户机密码”作为关键词,网上一搜一大堆,是什么造成华为必须在客户机里跑俩Java?)ps -elf | grep java
1 S root 919 1 0 80 0 - 5499 - Jan05 ? 00:01:00 /CloudResetPwdUpdateAgent/bin/./wrapper /CloudResetPwdUpdateAgent/bin/../conf/wrapper.conf wrapper.syslog.ident=cloudResetPwdUpdateAgent wrapper.pidfile=/CloudResetPwdUpdateAgent/bin/./cloudResetPwdUpdateAgent.pid wrapper.name=cloudResetPwdUpdateAgent wrapper.displayname=cloudResetPwdUpdateAgent wrapper.daemonize=TRUE wrapper.statusfile=/CloudResetPwdUpdateAgent/bin/./cloudResetPwdUpdateAgent.status wrapper.java.statusfile=/CloudResetPwdUpdateAgent/bin/./cloudResetPwdUpdateAgent.java.status wrapper.lockfile=/var/lock/subsys/cloudResetPwdUpdateAgent wrapper.script.version=3.5.26
0 S root 945 919 0 80 0 - 847170 - Jan05 ? 00:01:29 /CloudResetPwdUpdateAgent/depend/jre/bin/java -Dorg.tanukisoftware.wrapper.WrapperSimpleApp.maxStartMainWait=40 -Djava.library.path=../lib -classpath ../lib/resetpwdupdateagent.jar:../lib/wrapper.jar:../lib/json-20160810.jar:../lib/log4j-api-2.8.2.jar:../lib/log4j-core-2.8.2.jar -Dwrapper.key=NJQTS_TJbAt34RSY -Dwrapper.backend=pipe -Dwrapper.disable_console_input=TRUE -Dwrapper.pid=919 -Dwrapper.version=3.5.26 -Dwrapper.native_library=wrapper -Dwrapper.arch=x86 -Dwrapper.service=TRUE -Dwrapper.cpu.timeout=180 -Dwrapper.jvmid=1 org.tanukisoftware.wrapper.WrapperSimpleApp CloudResetPwdUpdateAgent
- 然后发现了一个不知道是干什么用的监控进程
ps -elf | grep telescope
4 S root 6214 1 0 80 0 - 327250 - Jan05 ? 00:02:01 ./telescope
0 S zachary 50834 49916 0 80 0 - 2302 - 14:05 pts/0 00:00:00 grep --color=auto telescope
ls -l /usr/local/uniagent/
total 20
drwx------ 2 root root 4096 Feb 26 2021 bin
drwx------ 2 root root 4096 Mar 16 2020 conf
drwx------ 4 root root 4096 Jan 4 09:08 extension
drwx------ 2 root root 4096 Feb 26 2021 log
drwx------ 2 root root 4096 Mar 16 2020 script
- 做性能测试,原本在我开发用的虚拟机上能跑到5RPS的程序,在华为云上只跑到了0.6RPS
然后看了一下硬盘……
这是我那台破机器的:
hdparm -Tt /dev/sda
/dev/sda:
Timing cached reads: 42964 MB in 1.99 seconds = 21547.68 MB/sec
Timing buffered disk reads: 1062 MB in 3.01 seconds = 353.27 MB/sec
这是华为云的:
sudo hdparm -Tt /dev/vda
以下是本机的(就是本站的这台vm):/dev/vda:
Timing cached reads: 18686 MB in 2.00 seconds = 9355.68 MB/sec
Timing buffered disk reads: 798 MB in 3.34 seconds = 239.09 MB/sec
hdparm -Tt /dev/vda1
/dev/vda1:
Timing cached reads: 20804 MB in 1.99 seconds = 10454.02 MB/sec
HDIO_DRIVE_CMD(identify) failed: Inappropriate ioctl for device
Timing buffered disk reads: 1132 MB in 3.00 seconds = 377.16 MB/sec