AHAFS 설정하기...

IBM Power 2012. 8. 17. 16:32

- http://pic.dhe.ibm.com/infocenter/aix/v7r1/topic/com.ibm.aix.baseadmn/doc/baseadmndita/aix_ev.htm


+. ahafs 파일셋 설치
# lslpp -l | grep "bos.ahafs"
  bos.ahafs                  7.1.1.1  APPLIED    Aha File System
  bos.ahafs                  7.1.1.1  APPLIED    Aha File System

+. /ahafs 파일시스템(jfs2) 생성
# smitty jfs2
# mkdir /aha (Director 명은 aha를 권장 > inforcenter)

+. ahafs를 -v옵션을 통해 가상으로 mount
# mount -v ahafs /aha /aha
# mount
  node       mounted        mounted over    vfs       date        options
-------- ---------------  ---------------  ------ ------------ ---------------
         /dev/hd4         /                jfs2   Aug 16 18:19 rw,log=/dev/hd8
         /dev/hd2         /usr             jfs2   Aug 16 18:19 rw,log=/dev/hd8
         /dev/hd9var      /var             jfs2   Aug 16 18:19 rw,log=/dev/hd8
         /dev/hd3         /tmp             jfs2   Aug 16 18:19 rw,log=/dev/hd8
         /dev/hd1         /home            jfs2   Aug 16 18:19 rw,log=/dev/hd8
         /dev/hd11admin   /admin           jfs2   Aug 16 18:19 rw,log=/dev/hd8
         /proc            /proc            procfs Aug 16 18:19 rw
         /dev/hd10opt     /opt             jfs2   Aug 16 18:19 rw,log=/dev/hd8
         /dev/livedump    /var/adm/ras/livedump jfs2   Aug 16 18:19 rw,log=/dev/hd8
         /ahafs           /aha             ahafs  Aug 17 16:24 rw
# ls /aha
cluster       cpu           disk          evProds.list  fs            mem
#


블로그 이미지

Melting

,

'IBM Power' 카테고리의 다른 글

AIX 6.1 TL07 SP04 && AIX 7.1 TL01 SP04 사용시 paging 발생 현상(numperm_global)  (0) 2012.09.11
AHAFS 설정하기...  (0) 2012.08.17
crontab...  (0) 2012.08.17
nmon.sh  (0) 2012.08.17
dog 프로세스...  (0) 2012.08.16
블로그 이미지

Melting

,

crontab...

IBM Power 2012. 8. 17. 11:28

# crontab -e

0 10 * * * /usr/bin/errclear -d S,O 30

첫번째 인수 : 분(0~59)
두번째 인수 : 시(0~23)
세번째 인수 : 날짜(1~31)
네번째 인수 : 월(1~12)
다섯째 인수 : 요일(0~6, 0:일요일)


'IBM Power' 카테고리의 다른 글

AHAFS 설정하기...  (0) 2012.08.17
gmon - A Graphical LPar Monitor  (0) 2012.08.17
nmon.sh  (0) 2012.08.17
dog 프로세스...  (0) 2012.08.16
aix 6.1 이상에서 hdisk 순서변경하기 rendev  (0) 2012.08.08
블로그 이미지

Melting

,

nmon.sh

IBM Power 2012. 8. 17. 11:15

if [[ $# -ne 3 ]]
then
   echo 'Usage: nmon.sh <logname> <interval:second> <duration:minute>'
   exit
fi

((COUNT=($3*60)/$2))
export DATE=`date +"%y%m%d_%H%M"`

/usr/bin/nmon -fdt -F /home/log/$(hostname -s)_$(date +"%y%m%d_%H%M")_$1.nmon -s $2 -c $COUNT

# mkdir /home/log/$(date +"%y%m%d")_$1

echo "####################################################################"
echo " For gathering nmon data, "
echo " Execute"
echo " \"/home/script/nmon_get.sh $(date +"%y%m%d_%H")*_$1 $(date +"%y%m%d")_$1\" "
echo " on this server without dsh "
echo "####################################################################"

'IBM Power' 카테고리의 다른 글

gmon - A Graphical LPar Monitor  (0) 2012.08.17
crontab...  (0) 2012.08.17
dog 프로세스...  (0) 2012.08.16
aix 6.1 이상에서 hdisk 순서변경하기 rendev  (0) 2012.08.08
vios에서 보이는 virtual adapter의 slot 번호 찾기...  (0) 2012.08.07
블로그 이미지

Melting

,


+. 아래의 패키지 삭제 후 ...

artex.base.rte
cas.agent
DirectorCommonAgent
DirectorPlatformAgent
Director.install.msg.*
sysmgt.cim.providers.metrics
sysmgt.cim.providers.osbase
sysmgt.cim.providers.scc
sysmgt.cim.providers.smash
sysmgt.cim.smisproviders.hba_hdr
sysmgt.cim.smisproviders.hhr
sysmgt.cim.smisproviders.vblksrv
sysmgt.cimserver.pegasus.rte


+. Common Agent 재설치
SysDir6_3_Common_Agent_AIX_b 의 경우, manual deploy 권장

블로그 이미지

Melting

,

dog 프로세스...

IBM Power 2012. 8. 16. 15:35

dog라는 프로세스가 있었다니... 이런.. ㅎㅎ
  > netinet driver에 의해 실행되고, IP packet switching 을 수행...


dog 
  > A kproc spawned by the netinet driver and deals with IP packet switching. 
    The concept of dog process also came from Open Software Foundation (OSF). 

# ps -ekf | grep dog
    root  1900684        0   0 01:12:21      -  0:00 dog
    root 33751052 26476736   1 01:29:57  pts/1  0:00 grep dog
#




'IBM Power' 카테고리의 다른 글

crontab...  (0) 2012.08.17
nmon.sh  (0) 2012.08.17
aix 6.1 이상에서 hdisk 순서변경하기 rendev  (0) 2012.08.08
vios에서 보이는 virtual adapter의 slot 번호 찾기...  (0) 2012.08.07
chfs로 filesystem size변경  (0) 2012.07.24
블로그 이미지

Melting

,

http://www.ibm.com/developerworks/wikis/display/WikiPtype/Common+Agent+versions+shipped+with+AIX+and+VIOS


IBM Systems Director Common AgentAIX 5.3AIX 6.1AIX 7.1VIOSDate
6.3.0.1n/anot yetnot yet2.2.1.405/2012
6.3.0.0n/anonono12/2011
6.2.1.3n/aTL07TL012.2.1.1-FP2510/2011
6.2.1.1n/anono2.2.0.12-FP24 SP025/2011
6.2.1.0n/anono2.2.0.11-FP24 SP0112/2010
6.2.0.1n/aTL067.1.02.2.0, 2.2.0.10-FP-2410/2010
6.1.2.0TL12TL05n/a2.1.3, 2.1.3.10-FP2304/2010
6.1.0.4TL11TL04n/a2.1.2, 2.1.2.10-FP2210/2009
6.1.0.3TL10 *TL03 *n/a2.1.1, 2.1.1.10 FP21.1 **04/2009


* new install only, not installed as part of update or migration
** only installed when upgrading from 2.1.0 or higher


블로그 이미지

Melting

,

+. Regular uninstall
 # /opt/ibm/director/bin/diruninstall
 # installp -u -g cas.agent
 # installp -u tivoli.tivguid 
 # installp -u sysmgt.cim.smisproviders*
 # installp -u sysmgt.cim.providers*
 # installp -u sysmgt.cimserver.pegasus

+. diruninstall script가 않 될 경우
 # installp -C  # Cleans up possible unfinished install
 # installp -u DirectorServer  # Only if the server is installed
 # installp -u DirectorCommonAgent   # Uninstall Director subagents
 # installp -u DirectorPlatformAgent   # Uninstall platform agent
    > 삭제완료 후 /opt/ibm/director와 /opt/ibm/icc에는 아래의 3파일만 남아야 함
      /opt/ibm/director/classes/pConsoleLaunch.jar
      /opt/ibm/director/classes/extensions/pConsole.TWGExt
      /opt/ibm/director/classes/extensions/pConsole.TWGSubagent

블로그 이미지

Melting

,

 > java 실행시 " -agentlib:jpa64=instructions=1 " 옵션추가
 > tprof -ujeskzl -N -x sleep 60 
        => sleep.prof 파일 생성

       -e : Turns on kernel extension profiling.
       -j : Turns on Java classes and methods profiling.
       -k : Enables kernel profiling.
       -l : Enables long names reporting. By default tprof truncates the subroutine, program and
            source file names if they do not fit into the available space in the profiling report.
            This flag disables truncation.
       -s : Enables shared library profiling.
       -u : Enables user mode profiling.
       -z : Turns on ticks report. Enables compatibility mode with the previous version of tprof. By
            default processor usage is only reported in percentages. When -z is used, tprof also
            reports ticks. This flag also adds the Address and Bytes columns in subroutine reports.
            If you specify the -z flag with the -a flag, the process summary section in the report
            displays numbers rather than percentages.

       -p processlist
           : Enables process level profiling of the process names specified in the processlist.
             processlist is a comma separated list of process names
             Process level profiling is enabled only if at least one of the profiling modes (-u,-s,-
             k,-e, or -j) is turned on.
       -t : Enables thread level profiling.
            If -p or -P are not specified with the -t flag, -t is equivalent to -P all -t.
            Otherwise, it enables thread level reporting for the selected processes. Thread level
            profiling is enabled only if at least one of the profiling modes (-u,-s,-k,-e, -j) is
            enabled.
       -X : Specifies the tprof command to call XML Generator when the tprof profiling is finished,
            and to generate the XML report directly from the tprof trace and symlib data.
            The -X option needs Java. Install the Java first, and make sure Java is in PATH.

'IBM JVM' 카테고리의 다른 글

IBM JVM 정리한 파일...  (0) 2012.08.14
블로그 이미지

Melting

,

예전에 정리했던 JVM 자료...

Java_on_IBM_20111108.pdf


'IBM JVM' 카테고리의 다른 글

AIX에서 tprof로 JVM trace하기...  (0) 2012.08.14
블로그 이미지

Melting

,