Difference: CephTool (3 vs. 4)

Revision 42011-09-13 - DongJinLee

Line: 1 to 1
 
META TOPICPARENT name="ExperimentalStorage"

script1

Line: 82 to 82
 Notice the order, it will always start osd.0 with ss1, after it reaches the osd.5 (6 osds), it will be ss2.

script2

Changed:
<
<
start and init example is included.
>
>
see the example code of the init and start.

Create your own bash script accepting an input, e.g.,

run "ss 2 6"
Your run script should contain something like this.
 
Deleted:
<
<
Create a new script accepting an argument, e.g.,
run ss 2 6
 
Changed:
<
<
function run1() {
>
>
#!/bin/bash .... #etc

function func1() {

  echo "makecephconfig: $1" ./makecephconfig $1 echo "init: $1"
Line: 94 to 99
  echo "start: $1 "full" ./start $1 "full" }
Added:
>
>
func1 $1

ssh ss3 ceph osd pool set data size 1 ssh ss3 ceph osd pool set metadata size 1

#finally wait several seconds before mounting the ceph, etc.

 
Added:
>
>
you can then run a series of benchmark test, e.g.,

./run ss 1 2
./run ss 1 4
./run ss 1 6
#etc.. make sure for each test between, you drop caches, manipulate directories, dumps, etc  
 
META FILEATTACHMENT attachment="makecephconfig" attr="" comment="" date="1315880758" name="makecephconfig" path="makecephconfig" size="712" stream="makecephconfig" tmpFilename="" user="DongJinLee" version="1"
META FILEATTACHMENT attachment="ceph.ss" attr="" comment="" date="1315880771" name="ceph.ss" path="ceph.ss" size="870" stream="ceph.ss" tmpFilename="" user="DongJinLee" version="1"
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2021 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback