日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 人文社科 > 生活经验 >内容正文

生活经验

spec 2016使用

發布時間:2023/11/27 生活经验 34 豆豆
生活随笔 收集整理的這篇文章主要介紹了 spec 2016使用 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

1. 制作cassandra and ycsb

1.1 編譯安裝netcat

$ wget http://sourceforge.net/projects/netcat/files/netcat/0.5.0/netcat-0.5.0.tar.gz
$ tar -zxvf netcat-0.5.0.tar.gz
$ cd netcat-0.5.0
$ ./configure --prefix=/opt/netcat --build=arm
$ make -j
$ make install
$ nc --help

?1.2 cassandra錯誤排除

?1.2.1 日志/var/log/cassandra/cassandra.log報:

The stack size specified is too small, Specify at least 228k
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

解決:修改/etc/cassandra/cassandra-env.sh中JVM_OPTS="$JVM_OPTS -Xss512k"

1.3 搜集虛擬機信息出現錯誤

[root@harness support_script]# ./collect_support_data.sh remote_vm_sysinfo 172.16.101.13 cbuser /home/osgcloud/cbtool/credentials/cbtool_rsa /tmp/instance/
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@    WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!     @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that a host key has just been changed.
The fingerprint for the ECDSA key sent by the remote host is
SHA256:7r8UP9vmJ4i4pqgOdUEEE/7nqcgk/HQogLdFNC04iJE.
Please contact your system administrator.
Add correct host key in /root/.ssh/known_hosts to get rid of this message.
Offending ECDSA key in /root/.ssh/known_hosts:17
Password authentication is disabled to avoid man-in-the-middle attacks.
Keyboard-interactive authentication is disabled to avoid man-in-the-middle attacks.
sudo: brctl: command not found
sudo: dpkg: command not foundNote: This output shows SysV services only and does not include nativesystemd services. SysV configuration data might be overridden by nativesystemd configuration.If you want to list systemd services use 'systemctl list-unit-files'.To see services enabled on particular target use'systemctl list-dependencies [target]'.

需要安裝brctl和dpkg,具體如下:

sudo yum install bridge-utils
sudo yum install dpkg

?

?

2. cbtool工具bug

2.1 連接到云后,當使用aiattach cassandra_ycsb時,容易出現:

無法發現flavors問題

解決方式:通過修改osk_cloud_ops.py

  53 class OskCmds(CommonCloudFunctions) :54     '''
  55     TBD56     '''
  57     @trace58     def __init__ (self, pid, osci, expid = None) :59         '''
  60         TBD61         '''
  62         CommonCloudFunctions.__init__(self, pid, osci)63         self.pid = pid64         self.osci = osci65         self.oskconncompute = False66         self.oskconnstorage = False67         self.flavors = False #hrp68         self.expid = expid69         self.ft_supported = False70         self.lvirt_conn = {}71         self.networks_attr_list = { "tenant_network_list":[] }72         self.host_map = {}73         self.api_error_counter = {}74         self.additional_rc_contents = ''75         self.max_api_errors = 10
  84     @trace85     def connect(self, access_url, authentication_data, region, extra_parms = {}, diag = False, generate_rc = False) :86         '''
  87         TBD88         '''
  89         try :90             _status = 10091             _fmsg = "An error has occurred, but no error message was captured"92             _dmsg = ''9394             _version = '2'
.
.
.168                 if _session :169                     self.oskconncompute = novac.Client("2.1", session = _session)170                 else :171                     self.oskconncompute = novac.Client(**_credentials)172
 173                 self.flavors = self.oskconncompute.flavors.list() #hrp
2445     def get_flavors(self, obj_attr_list) :
2446         '''
2447         TBD
2448         '''
2449         try :
2450             _status = 100
2451             _fmsg = "An error has occurred, but no error message was captured"
2452
2453             #_flavor_list = self.oskconncompute.flavors.list()
2454             _flavor_list = self.flavors #hrp

?

轉載于:https://www.cnblogs.com/hurongpu/p/8629079.html

總結

以上是生活随笔為你收集整理的spec 2016使用的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。