diff --git a/agent.yml b/agent.yml index 002300f..dd082be 100644 --- a/agent.yml +++ b/agent.yml @@ -6,9 +6,9 @@ - role: one_agent vars: EXEM_HOME: /home/exem - RECEIVER_ADDR: 10.10.38.132 + RECEIVER_ADDR: 10.10.54.150 #RECEIVER_PORT: 9010 #RECEIVER_CONTAINER_PORT: 9009 # port 설정이 필요할 경우 위 주석을 해제하고 설정 # RECEIVER_PORT 와 RECEIVER_CONTAINER_PORT 같은 경우 변수를 설정하지 않을 경우 default 값으로 각각 9010 , 9009 으로 설정 됨 - agent_list: ['host-agent', 'container-agent', 'ndm-agent'] + agent_list: ['host-agent'] diff --git a/inventory b/inventory index 3d67fa6..06ce995 100644 --- a/inventory +++ b/inventory @@ -3,8 +3,10 @@ host_agent container_agent [host_agent] +10.10.54.151 +10.10.54.152 +10.10.54.153 [container_agent] [ndm_agent] -10.10.54.151 \ No newline at end of file diff --git a/roles/one_agent/files/host/os_binary/exem-host-agent_aix-5.3-powerpc-64 b/roles/one_agent/files/host/os_binary/exem-host-agent_aix-5.3-powerpc-64 new file mode 100755 index 0000000..9353db6 Binary files /dev/null and b/roles/one_agent/files/host/os_binary/exem-host-agent_aix-5.3-powerpc-64 differ diff --git a/roles/one_agent/files/host/os_binary/exem-host-agent_aix-7.1-powerpc-64 b/roles/one_agent/files/host/os_binary/exem-host-agent_aix-7.1-powerpc-64 new file mode 100755 index 0000000..07ad2fb Binary files /dev/null and b/roles/one_agent/files/host/os_binary/exem-host-agent_aix-7.1-powerpc-64 differ diff --git a/roles/one_agent/files/host/os_binary/exem-host-agent_linux-2.6-x86_64-64 b/roles/one_agent/files/host/os_binary/exem-host-agent_linux-2.6-x86_64-64 index ba10ff5..1cb8184 100755 Binary files a/roles/one_agent/files/host/os_binary/exem-host-agent_linux-2.6-x86_64-64 and b/roles/one_agent/files/host/os_binary/exem-host-agent_linux-2.6-x86_64-64 differ diff --git a/roles/one_agent/files/host/pkg_version.sh b/roles/one_agent/files/host/pkg_version.sh new file mode 100755 index 0000000..637fdb0 --- /dev/null +++ b/roles/one_agent/files/host/pkg_version.sh @@ -0,0 +1,7 @@ +#!/bin/sh + +PRODUCT_NAME=exemONE +MODULE_NAME=exem-host-agent +VERSION=1.2.2 + +echo ${PRODUCT_NAME} ${MODULE_NAME} ver ${VERSION} diff --git a/roles/one_agent/tasks/host-agent.yml b/roles/one_agent/tasks/host-agent.yml index 72699e0..9991ce2 100644 --- a/roles/one_agent/tasks/host-agent.yml +++ b/roles/one_agent/tasks/host-agent.yml @@ -34,6 +34,7 @@ ansible.builtin.copy: src: "{{ EXEM_HOME }}/host/os_binary/exem-host-agent_linux-2.6-x86_64-64" dest: "{{ EXEM_HOME }}/host/bin/exem-host-agent" +# remote_src: yes mode: '0755' - name: Setting SELinux @@ -55,4 +56,4 @@ ansible.builtin.service: name: exem-host-agent state: started - enabled: yes \ No newline at end of file + enabled: yes