본문 바로가기

Linux(OS)

OSWatcher Black Box로 OS resource usage 정보 수집하기

OSWatcher Black Box 7.3.2.zip

OSWbb 로 OS resource usage 정보 수집 방법

1. Installing OSWbb (압축을 푸실 Directory 로 갑니다.)
$ tar -xvf oswbb.tar

2. Setting up OSWbb
Example private.net entry on Linux
$ traceroute -r -F ora11g1
$ traceroute -r -F ora11g2

3. Starting OSWbb
1) collect data at 60 second intervals and log the last 240 hours of data to archive files.
$ ./startOSWbb.sh 120 240

2) default values of 30, 48 and collect data at 30 second intervals and log the last 48 hours of data to archive files.
$ ./startOSWbb.sh

3) put the process in the background, enable to the tool to continue running after the session has been terminated,
collect data at 60 second intervals, and log the last 10 hours of data to archive files.
$ nohup ./startOSWbb.sh 60 10 &

4. Stopping OSWbb
$ ./stopOSWbb.sh

### 2. 자세한 설정 내용 (RAC 환경이므로, 설정 필요함.)
private.net 설정.
- OS 별로 example 은 oswbb.<xxx>.tar file 의 압축을 풀게 되시면, osw directory 내에서
Exampleprivate.net 이 있습니다. 해당 File 을 참고하셔서 ip address 또는 /etc/hosts 의
private hostname 을 사용하셔서 만드시기를 바랍니다.
...
To monitor your private networks create an executable file in this same
directory named private.net.
...

- 해당 OS 가 IBM AIX 이시므로 IBM AIX 부분만 따로 띄어서 동일 directory 에 private.net 을 만드십시오
해당 File 에는 꼭 마지막 Line 에 아래 내용이 들어가야 합니다.

...
######################################################################
# DO NOT DELETE THE FOLLOWING LINE!!!!!!!!!!!!!!!!!!!!!
######################################################################
rm locks/lock.file
...

- 해당 해당 부하에 대한 부분은 아래의 Note 를 참고 바랍니다. 해당 Tool 은 OS 의 Command 를 사용하시는 것이기에
부가적인 resource는 disk usage 부분밖에 없을 것으로 보입니다. 설정과 관련된 OS Performance에 관한 영향도는
아래의 note를 참고하여 주시기 바랍니다.

++ What Is The OSWATCHER Black Box Effect On The Server Performance And What Are The Alternative Commands? (Doc ID 946107.1)
2> AWR Report 의 snapshot interval을 가능하다면, 10 ~ 15 분으로 resetting 하셔서 수집 바랍니다.

1) Snapshot interval을 변경.
10 Minutes 으로 변경. Current value retained if NULL.
BEGIN
DBMS_WORKLOAD_REPOSITORY.modify_snapshot_settings(interval => 10);
END;
/

<textarea name="code" class="brush:sql;">
--------에디터 모드에서 이 사이에 코드를 작성하면 된다.----------
</textarea>

'Linux(OS)' 카테고리의 다른 글

Advanced Format: 4k Sector Size  (0) 2017.03.20
Vi Editor  (0) 2016.05.19
Sar을 이용한 성능 분석  (0) 2014.06.08
Linux Shell Programming  (0) 2014.06.08
VMWare ORACLE 11g R2 RAC on 6.5  (0) 2014.02.22