In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
How to deploy Intel open source object storage test suite CosBench, many novices are not very clear about this, in order to help you solve this problem, the following editor will explain in detail for you, people with this need can come to learn, I hope you can get something.
1. Introduction
Recently, I have been using Ceph's object storage, and there are a variety of testing methods. I have written test scripts in Python and C++. I feel that since S3 is a standard, general-purpose object storage service, there should be a test suite for testing. Later, I saw everyone in the community using Intel's open source software Cosbench for testing, so I also deployed and used it.
two。 Deployment process
2.1Machine preparation I used seven machines, host1~host7 role: host1: also served as controller driver host2~6 drvier
2.2 installation package deployment decompress the Cosbench installation package to their respective records. The installation package can be downloaded at the following address: Cosbench description
2.3 basic Information configuration
Controller configuration finds the controller.conf configuration file in install-folder/conf and modifies the contents as follows:
[controller] drivers = 7log_level = INFOlog_file = log/system.logarchive_dir = Archive [driver1] name = driver1url = http://*.11:18088/driver[driver2]name = driver2url = http://*.12:18088/driver[driver3]name = driver3url = http://*.13:18088/driver[driver4]name = driver4url = http://*.14:18088/driver[driver5]name = driver5url = http://*.15:18088/driver[driver6]name = driver6url = http : / / .16chow 18088 / driver7] name = driver7url = http://*.17:18088/driver
Driver configuration
Find drvier.conf in the / install-folder/conf/ of each machine, and configure it as follows:
[driver] name=hostip:18088url= http://hostip:18088/driver
2.4 process start
In host1, startup script start-all.sh is in host2~7, startup script start-driver.sh
2.5 Interface display
# # 3 the core of Cosbench's use of Cosbench lies in the writing of the test configuration file, which is used to read and write the entire cluster according to the configuration file. Example of the previous configuration file here:
Write test here I give a simple description of the write test to configure the number of wokrer in the main phase, control the input pressure, control the running time of the runtime program, and set the file size at the SIZE of operation.
3.2 write the results
When configuring in the endpoint attribute of the configuration file, please write the method of Http://ip:port, but do not indicate http. It will use the method of https by default. When I did not configure Http before, the log error is as follows:
2016-02-24 11 home/xuwenping/cosbench/cosbench/0.4.2.c3/log/mission/M2116744222.log2016 51RV 34005 [INFO] [Log4jLogManager]-will append log to file / home/xuwenping/cosbench/cosbench/0.4.2.c3/log/mission/M2116744222.log2016-02-24 11RV 51R 34225 [INFO] [NoneStorage]-performing PUT at / s3testqwer12016-02-24 1111RV 51RV 38436 [WARN] [S3Storage]-below exception encountered when creating bucket s3testqwer1: Unable to execute HTTP request: Connection to https://ip refused2016-02-24 11RH 5138442 [INFO] [NoneStorage]-performing PUT at / s3testqwer22016-02-24 11 NoneStorage 51purl 42650 [WARN] [S3Storage]-below exception encountered when creating bucket s3testqwer2: Unable to execute HTTP request: Connection to https://ip refused
According to the log, connect to https://...... Was rejected.
Is it helpful for you to read the above content? If you want to know more about the relevant knowledge or read more related articles, please follow the industry information channel, thank you for your support.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.