Skip to content

Commit

Permalink
modify fio sysbench tpcc log dir
Browse files Browse the repository at this point in the history
  • Loading branch information
denglei committed Sep 1, 2014
1 parent d094978 commit 8632c33
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions mysql_tpcc_install/roles/mysql_tpcc_install/tasks/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@
when: ansible_os_family == "RedHat" and ansible_distribution_version|int >=6
tags: Only_install_tpcc
- name: Start Mysql Tpcc Test In Redhat Client
shell: "export LD_LIBRARY_PATH={{ mysql_basedir }}/lib/ ;/tmp/tpcc-mysql/tpcc_start -h {{ ansible_default_ipv4.address }} -u {{ mysql_database_user }} -p{{ mysql_passwd }} -d {{ tpcc_database_name }} -w {{ w }} -c {{ c }} -r {{ r }} -l {{ l }} -f {{ f }}_{{ ansible_hostname }}-{{ time.stdout }}-{{ r }}.log > /tmp/tpcc-mysql/{{ f }}_{{ ansible_hostname }}-{{ time.stdout }}-{{ r }}.log"
shell: "export LD_LIBRARY_PATH={{ mysql_basedir }}/lib/ ;/tmp/tpcc-mysql/tpcc_start -h {{ ansible_default_ipv4.address }} -u {{ mysql_database_user }} -p{{ mysql_passwd }} -d {{ tpcc_database_name }} -w {{ w }} -c {{ c }} -r {{ r }} -l {{ l }} -f {{ f }}_{{ ansible_hostname }}-{{ time.stdout }}-{{ r }}.log > {{ tpcc_dir }}/{{ f }}_{{ ansible_hostname }}-{{ time.stdout }}-{{ r }}.log"
when: ansible_os_family == "RedHat" and ansible_distribution_version|int >=6
tags: Onlytest
- name: Copy Mysql Tpcc Result from Redhat Client
fetch: src=/tmp/tpcc-mysql/{{ f }}_{{ ansible_hostname }}-{{ time.stdout }}-{{ r }}.log dest=/tmp/tpcc-mysql/{{ host }}-{{ f }}-{{ time.stdout }}-{{ r }}.log flat=yes
fetch: src={{ tpcc_dir }}/{{ f }}_{{ ansible_hostname }}-{{ time.stdout }}-{{ r }}.log dest={{ tpcc_dif }}/{{ host }}-{{ f }}-{{ time.stdout }}-{{ r }}.log flat=yes
when: ansible_os_family == "RedHat" and ansible_distribution_version|int >=6
tags: Onlytest
2 changes: 1 addition & 1 deletion sysbench_install/roles/sysbench_delete/vars/main.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
sysbench_log_dir: /tmp/sysbench_test_log
sysbench_log_dir: /tmp/sysbench_log
cpu_max_prime: 20000
num_threads: 64
mutex_loops: 5000
Expand Down
2 changes: 1 addition & 1 deletion sysbench_install/roles/sysbench_install/vars/main.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
sysbench_log_dir: /tmp/sysbench_test_log
sysbench_log_dir: /tmp/sysbench_log
cpu_max_prime: 20000
num_threads: 64
mutex_loops: 5000
Expand Down

0 comments on commit 8632c33

Please sign in to comment.