hp rp3440 경고등 끄기

HP 9000 rp3440 시스템에 경고등이 들오와있다.
어떤것은 주황색, 또 어떤것은 빨강색, 또 어떤것은 초록색…
초록은 정상. 주황은 위험수위가 낮은 이벤트, 빨강은 위험 수위가 높은 이벤트가 발생한것.
문제는, 내가 보기 시작한것은 최근이고, 그 이전의 상황은 알 수가 없다는것.
일단, /var/adm/syslog/syslog.log 상에는 최근 error나 warning이 없고, 아주 옛날에
temperature 가 한계치 까지 치솟았던 상황이나, cpu 캐쉬쪽 문제가 보였다.
일단, 최근 에러 상황이 없었고, 경고등이 들어오면서 재부팅된적이 없기때문에, 일시적 장애로 보고,
경고등을 정상인 초록으로 만들어야 했다. 그냥은 안되고, MP (Maintenance Processor) 상에서
vfp 메뉴로 들어갔더니, 정상으로 바뀌었다.
MP 진입은 serial console접속한후 ctrl+B로 진입한다고한다. 오늘 시스템은 시리얼 콘솔로 접속하니
바로 MP 로그인 화면이 나왔다. 디폴트는 Admin/Admin 이다.
이 시스템은 일단 system LED가 amber(주황)인 상황이었고, VFP들어갔더니 그냥 green으로 바뀌었다.

MP MAIN MENU:
CO: Console
VFP: Virtual Front Panel
CM: Command Menu
CL: Console Log
SL: Show Event Logs
CSP: Connect to Service Processor
SE: Enter OS Session
HE: Main Help Menu
X: Exit Connection
[mp001b78e5d56d] MP> vfp
Welcome to the Virtual Front Panel (VFP).
Use Ctrl-B to exit.
System state Activity # of logs since boot
————— ——– ——————–
HPUX init process start 570
E indicates error since last boot
LEDs | LOCATOR | SYSTEM | POWER
—————————————————————————–
| OFF | ON GREEN | ON GREEN
—————————————————————————–
Status | System running normally.
—————————————————————————–
[mp001b78e5d56d] MP:VFP(Use ‘?’ to display VFP terminal info or Ctrl-B to Quit)>

RED인 시스템은 다음 기회에 … ;^^

IBM AIX서버 경고등 끄기

errpt 를 봐도 별다른 에러 사항이 없는데, 경고등이 켜져 있다.
이것 저것 찾아보다보니, 의외로 비슷한 경우가 종종 있는것 같네?

IBM AIX서버 경고등 끄기.
http://heeya12.tistory.com/entry/AIX-%EC%84%9C%EB%B2%84-LED-%EA%B2%BD%EA%B3%A0%EB%93%B1-%EB%81%84%EA%B8%B0

 

/usr/lpp/diagonostics/bin/usysfault -s normal

hp-ux 클러스터와 오라클

오늘 어찌어찌하여 도움을 받아서 처리하긴 했는데,
검색해보니, 아래와같은 글이 나온다.
hp-ux 클러스터와 오라클
http://dbsecurity.egloos.com/6407920

ora-01081

shutdown 했는데, 정상적인 셧다운이 안되서 강제로 오라클 프로세스들 kill
시스템 재부팅! 요거 클러스터에 오라클 HA구성이란걸 몰라서 한시간 헤맸다.
암튼, 도움을 받아 겨우겨우 부팅해서 오라클 실행(startup)시키니
ora-01081 에러
shutdown abort; 한후 다시 startup
일단 된다… ㅠㅠ

AIX clone (링크)

찾는 HP-UX는 안나오고…

http://publib.boulder.ibm.com/infocenter/aix/v6r1/index.jsp?topic=%2Fcom.ibm.aix.install%2Fdoc%2Finsgdrf%2FHT_insgdrf_altdiskinstall_clone.htm

원래 제목은
Cloning a rootvg using alternate disk installation

없어질지도 모르니(IBM)에서 운영하니 그럴리야 없겠지만..

 

Using this scenario, you can clone AIX® running on rootvg to an alternate disk on the same system, install a user-defined software bundle, and run a user-defined script to customize the AIX image on the alternate disk.

Things to Consider 

The information in this how-to scenario was tested using specific versions of AIX. The results you obtain might vary significantly depending on your version and level of AIX.

Because the alternate disk installation process involves cloning an existing rootvg to a target alternate disk, the target alternate disk must not be already assigned to a volume group.

In this scenario you will do the following: 

  • Prepare for the alternate disk installation
  • Perform the alternate disk installation and customization
  • Boot off the alternate disk
  • Verify the operation

For information about alternate disk installation, see Installing to an alternate disk. Also, refer to thealt_disk_copy man page.

Step 1. Prepare for the alternate disk installation

  1. Check the status of physical disks on your system. Type:
    # lspv

    Output similar to the following displays:

    hdisk0         0009710fa9c79877    rootvg   	active
    hdisk1         0009710f0b90db93    None

    We can use hdisk1 as our alternate disk because no volume group is assigned to this physical disk.

  2. Check to see if the alt_disk_copy fileset has been installed by running the following:
    # lslpp -L bos.alt_disk_copy.rte

    Output similar to the following displays if the alt_disk_copy fileset is not installed:

    lslpp: 0504-132  Fileset bos.alt_disk_copy.rte not installed.
  3. Using volume 1 of the AIX installation media, install the alt_disk_copy fileset by running the following:
    # geninstall -d/dev/cd0 bos.alt_disk_copy.rte

    Output similar to the following displays:

    +-----------------------------------------------------------------------------+
                                    Summaries:
    +-----------------------------------------------------------------------------+
    
    Installation Summary
    --------------------
    Name                        Level           Part        Event       Result
    -------------------------------------------------------------------------------
    bos.alt_disk_copy.rte    5.3.0.0         USR         APPLY       SUCCESS
  4. Create a user-defined bundle called /usr/sys/inst.data/user_bundles/MyBundle.bnd that contains the following filesets:
    I:bos.content_list
    I:bos.games

    For more information on how to create a user-defined software bundle, refer to Creating and installing a software bundle.

  5. Create the /home/scripts directory:
    mkdir /home/scripts
  6. Create a user-defined customization script called AddUsers.sh in the /home/scripts directory:
    touch /home/scripts/AddUsers.sh
    chmod 755 /home/scripts/AddUsers.sh
  7. Edit /home/scripts/AddUsers.sh to contain the following lines:
    mkuser johndoe
    touch /home/johndoe/abc.txt
    touch /home/johndoe/xyz.txt

Step 2. Perform the alternate disk installation and customization

  1. To clone the rootvg to an alternate disk, type the following at the command line to open the SMIT menu :
    # smit alt_clone
  2. Select hdisk1 in the Target Disk to Install field.
  3. Select the MyBundle bundle in the Bundle to Install field.
  4. Insert volume one of the installation media.
  5. Type /dev/cd0 in the Directory or Device with images field.
  6. Type /home/scripts/AddUsers.sh in the Customization script field.
  7. Press Enter to start the alternate disk installation.
  8. Check that the alternate disk was created, by running the following:
    # lspv
    Output similar to the following displays: 

    hdisk0         0009710fa9c79877    rootvg
    hdisk1         0009710f0b90db93    altinst_rootvg

Step 3. Boot from the alternate disk

  1. By default, the alternate-disk-installation process changes the boot list to the alternate disk. To check this run the following:
    # bootlist -m normal -o

    Output similar to the following displays:

    hdisk1
  2. Reboot the system. Type:
    # shutdown -r

    The system boots from the boot image on the alternate disk (hdisk1).

Step 4. Verify the operation

  1. When the system reboots, it will be running off the alternate disk. To check this, type the following:
    # lspv

    Output similar to the following displays:

    hdisk0         0009710fa9c79877    old_rootvg
    hdisk1         0009710f0b90db93    rootvg
  2. Verify that the customization script ran correctly, by typing the following:
    # find /home/johndoe -print

    Output similar to the following displays:

    /home/johndoe
    /home/johndoe/.profile
    /home/johndoe/abc.txt
    /home/johndoe/xyz.txt
  3. Verify that the contents of your software bundle was installed, by typing the following:
    # lslpp -Lb MyBundle

    Output similar to the following displays:

      Fileset                      Level  State  Description
      ----------------------------------------------------------------------------
      bos.content_list           5.3.0.0    C    AIX Release Content List
      bos.games                  5.3.0.0    C    Games

 

DNS 점검 사이트

http://202.30.50.200/information/inspection_2.0.jsp
위에서 점검하면 수정 가이드라인이 나옴.
별게 다 있어.. ;^^

aix 점검방법?

http://jeongtak.egloos.com/123450

AIX disk mirror -링크

AIX에서 미러디스크 교체하는 방법.

http://www.unix.com/aix/30039-replace-failed-root-disk-aix.html

Continue reading

반드시 알아둘 AIX 명령

“반드시 알아둘 AIX 명령” 이란 제목의 글.

링크: http://www.ibm.com/developerworks/kr/library/au-dutta_cmds.html

아래는 “필수 AIX 명령어”
링크 : http://www.ibm.com/developerworks/kr/library/dutta_cmds.html

oracle 패치후 에러..

오라클 잘 설치하고 패치까지 했는데,
ora-01092 에러 발생.
찾아보니, 오라클 엔진만 패치되고 데이타베이스가 패치되지 않아서 그렇다고 한다.
해결책은?
$sqlplus /nolog
SQL> conn /as sysdba
SQL> startup upgrade;
SQL>@$ORACLE_HOME/rdbms/admin/catupgrd.sql
…..
한시간 이상 걸림.. …
아무튼 끝나고나면 shutdown immediate;
이후 startup 했는데 ora-16038발생
처리후,
SQL>@$ORACLE_HOME/rdbms/admin/utlrp.sql
SQL> exit
$ORACLE_HOME/install/changePerm.sh 실행