diff options
Diffstat (limited to 'resources')
-rw-r--r-- | resources/QPI/compute.yaml | 7 | ||||
-rw-r--r-- | resources/ansible_roles/ceph-disk-info/tasks/main.yml | 9 | ||||
-rw-r--r-- | resources/ansible_roles/qtip-generator/files/compute/templates/ssh.cfg | 2 |
3 files changed, 12 insertions, 6 deletions
diff --git a/resources/QPI/compute.yaml b/resources/QPI/compute.yaml index 8169da4f..50c1cfbf 100644 --- a/resources/QPI/compute.yaml +++ b/resources/QPI/compute.yaml @@ -29,7 +29,7 @@ sections: # split based on different application metrics: - name: ssl_rsa description: performance of cryptographic using RSA cipher algorithm - formual: geometric mean + formula: geometric mean workloads: - name: rsa_sign_512 description: rsa 512 bits sign per second @@ -50,7 +50,7 @@ sections: # split based on different application - name: ssl_aes description: > performance of advanced encryption standard (AES) cipher algorithm in cipher block chaining (CBC) mode - formual: geometric mean + formula: geometric mean workloads: - name: aes_128_cbc_16_bytes description: aes 128 bits key cbc on 16 bytes blocks @@ -64,6 +64,7 @@ sections: # split based on different application description: aes 128 bits key cbc on 8192 bytes blocks - name: DPI description: deep packet inspection + formula: geometric mean metrics: - name: dpi_throughput description: deep packet inspection throughput @@ -74,6 +75,7 @@ sections: # split based on different application description: DPI bits per second - name: memory description: cache and memory performance + formula: geometric mean metrics: - name: floatmem description: > @@ -123,6 +125,7 @@ sections: # split based on different application (A = m*B + C). - name: arithmetic description: arithmetic computing speed + formula: geometric mean metrics: - name: integer description: > diff --git a/resources/ansible_roles/ceph-disk-info/tasks/main.yml b/resources/ansible_roles/ceph-disk-info/tasks/main.yml index 3186e3dd..6bb88e69 100644 --- a/resources/ansible_roles/ceph-disk-info/tasks/main.yml +++ b/resources/ansible_roles/ceph-disk-info/tasks/main.yml @@ -8,8 +8,9 @@ ############################################################################## -- name: get ceph disk information - shell: ceph-disk list +- name: get ceph disk information + become: true + command: ceph-disk list register: ceph_disk_out - name: saving output to log @@ -19,10 +20,11 @@ delegate_to: localhost - name: get ceph journal information + become: true shell: lsblk -d -o name,rota |awk '{if ($2 == 0) printf "%s SSD \n",$1 }' register: ceph_journal_out -- name: append +- name: append lineinfile: dest: "{{ logfile }}" line: "{{ ceph_journal_out.stdout }}" @@ -30,6 +32,7 @@ delegate_to: localhost - name: get ceph report + become: true command: ceph report register: ceph_report_out diff --git a/resources/ansible_roles/qtip-generator/files/compute/templates/ssh.cfg b/resources/ansible_roles/qtip-generator/files/compute/templates/ssh.cfg index f0e33fd4..1b7c0183 100644 --- a/resources/ansible_roles/qtip-generator/files/compute/templates/ssh.cfg +++ b/resources/ansible_roles/qtip-generator/files/compute/templates/ssh.cfg @@ -9,7 +9,7 @@ {% for (name, host) in hosts_meta.items() %} Host {{ name }} HostName {{ host.ansible_ssh_host }} - User root + User {{ host.ansible_user }} ProxyCommand ssh -o 'ForwardAgent yes' {{ installer_host }} 'ssh-add && nc %h %p' {% endfor %} |