HP Integrity サーバー+ HP-UX 11i v3 (11.31)+ ?· Enterprise Cluster Master Toolkit B.05.00 (HP-UX…

Download HP Integrity サーバー+ HP-UX 11i v3 (11.31)+ ?· Enterprise Cluster Master Toolkit B.05.00 (HP-UX…

Post on 19-Jul-2018

213 views

Category:

Documents

1 download

TRANSCRIPT

  • HP Integrity + HP-UX 11i v3 11.31+ Serviceguard 11.19

    Serviceguard

    SMH/Serviceguard Manager Web

    2011/05

    ............................................................................................................................................. 2

    ................................................................................................................................................... 2

    1. ........................................................................................................................................... 3

    1.1. ................................................................................................................... 3

    2. ................................................................................................................. 4

    2.1. /etc/hosts ...................................................................................................... 4

    2.2. /etc/nsswitch.conf .......................................................................................... 5

    2.3. NTP ...................................................................................................... 6

    2.4. ............................................................................................................... 8

    3. ........................................................................................................................ 15

    3.1. cmclnodelist .................................................................................................. 15

    3.2. .................................................................................................... 16

    3.3. ................................................................................................................. 23

    4. ............................................................................................................... 32

    4.1. OS ......................................................................................................... 32

    .......................................................................................................................................... 33

    HP-UX 11i Knowledge-on-Demand ....................................................................................................... 33

  • 2

    HP Integrity

    HP-UX 11i v3 11.31

    Serviceguard A.11.19 HP-UX HA-OE

    System Management Homepage A.3.0.0 HP-UX

    Enterprise Cluster Master Toolkit B.05.00 HP-UX HA-OE

    Oracle Database 11g R1

    MySQL Enterprise Server 5.0.56

    Web

    hp01 hp02 2 Serviceguard

    hp01# hp02#

    SG : Serviceguard A.11.19

    ECMT B.05.00 : Enterprise Cluster Master Toolkit B.05.00

    SMH : System Management Homepage A.3.0.0

    Oracle DB : Oracle Database 11g R1 RAC

    MySQL DB : MySQL Enterprise Server 5.0.56 MySQL Cluster

  • 3

    1.

    1.1.

    HPCL01

    LAN

    #1

    192.1.1.0

    LAN

    #2

    192.1.2.0

    LAN LAN

    172.168.0.0

    SG

    LAN LAN 2

    LAN

    Quorum Server IP

    /dev/vg_db1

    DB

    HP Integrity

    + HP-UX 11i v3 11.31 + Serviceguard 11.19 MySQL DB HP Integrity

    + HP-UX 11i v3 11.31 + Serviceguard 11.19 Oracle DB

  • 4

    2.

    /etc/hosts

    /etc/nsswitch.conf

    NTP

    2.1. /etc/hosts

    hp01hp02

    IP hostname

    # vi /etc/hosts

    172.168.1.101 hp01 hp01 LAN

    172.168.1.102 hp02 hp02 LAN

    192.1.1.101 hb11 hp01 LAN #1

    192.1.1.102 hb21 hp02 LAN #1

    192.1.2.101 hb12 hp01 LAN #2

    192.1.2.102 hb22 hp02 LAN #2

    127.0.0.1 localhost loopback

  • 5

    2.2. /etc/nsswitch.conf

    hp01hp02

    DNS /etc/hosts /etc/nsswitch.conf

    /etc/nsswitch.hp_defaults # cp pr /etc/nsswitch.hp_defaults

    /etc/nsswitch.conf/etc/nsswitch.conf

    # cd /etc# cp nsswitch.hp_defaults nswitch.conf# chown bin:bin nsswitch.conf# chmod u+w nsswitch.conf# vi nsswitch.conf

    # chmod u-w nsswitch.conf

    hosts: files [NOTFOUND=continue UNAVAIL=continue] dns [NOTFOUND=returnUNAVAIL=return]ipnodes: files [NOTFOUND=continue UNAVAIL=continue] dns [NOTFOUND=returnUNAVAIL=return]

  • 6

    2.3. NTP

    hp01hp02

    NTP Network Time Protocol NTP

    NTP

    hp01 NTP NTP NTP

    Internet / http://docs.hp.com/ja/B2355-97159/B2355-97159.pdf

    7 NTP

    NTP hp01

    NTP hp01 xntpd

    hp01# chmod u+w /etc/ntp.confhp01# vi /etc/ntp.conf

    hp01# chmod u-w /etc/ntp.confhp01# xntpdhp01# ntpq -premote refid st t when poll reach delay offset disp==============================================================================*LOCAL(1) LOCAL(1) 10 l 7 64 377 0.00 0.000 10.01

    "*LOCAL(1)" "*" 5

    OS NTP netdaemons XNTPD "1"

    hp01# vi /etc/rc.config.d/netdaemons

    NTP hp02

    NTP hp02

    hp02# chmod u+w /etc/ntp.confhp02# vi /etc/ntp.conf

    hp02# chmod u+w /etc/ntp.conf

    hp01 xntpd

    hp02# ntpdate -b hp01hp02# xntpdhp02# ntpq -premote refid st t when poll reach delay offset disp==============================================================================*hp01 LOCAL(1) 11 u 2 64 3 0.55 -1.112 7875.37

    "*hp01" "*" 5

    server 127.127.1.1

    server hp01 version 3

    XNTPD=1

  • 7

    OS NTP netdaemons XNTPD "1" hp02# vi /etc/rc.config.d/netdaemons

    XNTPD=1

  • 8

    2.4.

    IT

    Web ITRC http://www.itrc.hp.com

    HP Support agreement

    2.4.1 IT

    2.4.2

  • 9

    1

    2.4.3

    swainv.sh

    2.4.4

    hp01 /tmp root

    # LANG=C sh /tmp/swainv.sh

    inventory.xml ASCII Web PC

    LANG=C

  • 10

    2

    2.4.5

    2.4.6

  • 11

    SG 11.19

    HP-UX11.31 OS

    SG11.19 PHNE_35894

    2.4.7

    2.4.8

  • 12

    3

    2.4.9

    2.4.10

  • 13

    2.4.12

    tar

    2.4.13

  • 14

    hp01 hp02

    hpux__11.31_05120542.tar

    # mkdir -p /tmp/hpux_patch/hpux_20090512_01

    # cd /tmp/hpux_patch/hpux_20090512_01# tar xvf /tmp/hpux__11.31_05120542.tar

    # ./create_depot_hpux.11.31 b 20090512_01_PATCHES \t 20090512_01 Patches for HP-UX | tee c.log

    -b -t

    swlist

    tee c.log

    ERROR

    # swlist s /tmp/hpux_patch/hpux_20090512_01/depot

    20090512_01_PATCHES B.2009.05.12 20090512_01 Patches for HP-UXQPKAPPS B.11.31.0903.334a Applications Patches for HP-UX 11i v3,

    March 2009QPKBASE B.11.31.0903.334a Base Quality Pack Bundle for HP-UX 11i

    v3, March 2009

    OS

    OS

    swinstall

    # swinstall -x autoreboot=true -x patch_match_target=true \-s /tmp/hpux_patch/hpux_20090512_01/depot | tee i.log

    tee ERROR

    autoreboot=true OS OS

    ip6 PHNE_38380

    PHNE_38306 OS skip OS

    i.log ERROR swjob

    PHNE_38380 # swinstall -x patch_match_target=true -x enforce_dependencies=false \

    -s /tmp/hpux_patch/hpux_20090512_01/PHNE_38380.depot \| tee i_PHNE_38380.log

    /var/adm/sw/swagent.log

    # swlist | more

    20090512_01_PATCHES B.2009.05.12 20090512_01 Patches for HP-UX

    # swlist 20090512_01_PATCHES | more

  • 15

    3.

    cmclnodelist

    3.1. cmclnodelist

    hp01hp02

    cmclnodelist

    # vi /etc/cmcluster/cmclnodelist

    # chmod 444 /etc/cmcluster/cmclnodelist

    hp01 roothp02 root

  • 16

    3.2.

    1 hp01

    Web http:// IP 1 :2301 SMH

    3.2.1User NamePassword

    Sign In

    3.2.1 SMH

    Tools

    3.2.2 SMH home

  • 17

    Disks and File SystemsVolume Groups

    3.2.3 Tools

    VG ...

    3.2.4 HP-UX Disks and File Systems Tool

  • 18

    2.1

    DB

    3.2.5

    HP-UX 11i v3

    3.2.6

  • 19

    3.2.7

    DB

    DB

    3.2.8

    LVM LVM

  • 20

    3.2.1

    3.2.9

    3.2.1

    CompletedBack

    MB

    GB

    MB

    GB

    1 63 32 2047

    2 127 64 4095

    ( )4 255 128 8191

    8 511 256 16383

    16 1023

  • 21

    HP-UX Disk and File Systems Tools vg_db1 VG

    3.2.10 HP-UX Disks and File Systems Tool

    3.2.11

    /etc/cmclnodelist

  • 22

    3.2.12

    CompletedBack

    vg_db1 hp02

    hp01

    hp01

    hp02

  • 23

    3.3.

    VG hp01

    SMH Tools

    ServiceguardServiceguard Manager

    3.3.1 Tools

    3.3.2 HP Serviceguard Manager

  • 24

    NIC

    3.3.3

    ?

    3.3.4

    14 Serviceguard Extension for Faster Failover

    SG11.19

    2 3 3 6

    14

  • 25

    SG11.19

    HP Integrity + HP-UX 11i v311.31 + Serviceguard 11.19 Serviceguard

    3.3.5

    LAN

    3.3.6 LAN

  • 26

    LAN 2

    3.3.7 LAN

    SG11.19 IP

    HP Integrity + HP-UX 11i v311.31 + Serviceguard 11.19 Serviceguard

    3.3.8 IP

  • 27

    vg_db11

    3.3.9

    3.3.10

  • 28

    HP Integrity + HP-UX 11i

    v311.31 + Serviceguard 11.19 Serviceguard

    3.3.11

    3.3.12

    OK

  • 29

    Serviceguard Manager

    3.3.13

    OK

    OK

    3.3.14

  • 30

    vg_db1 HP-UX Disks and File

    Systems Tool 3.3.15

    vg_db1 VG

    3.3.15 HP-UX Disks and File Systems Tool

    3.3.16

    CompletedBack

  • 31

    3.3.17

    OK

    OK

  • 32

    4.

    4.1. OS

    hp01 hp02

    OS cmcluster

    hp01# vi /etc/rc.config.d/cmcluster

    AUTOSTART_CMCLD=0

    OS

    /etc/lvmrc AUTO_VG_ACTIVATE=0 vg00

    custom_vg_activation MirrorDisk/UX

    parallel_vg_sysnc

    hp01# vi /etc/lvmrc

    AUTOSTART_CMCLD=1

    AUTO_VG_ACTIVATE=0

    custom_vg_activation(){

    /sbin/vgchange a y s /dev/vg01 vg00

    parallel_vg_sync /dev/vg00 /dev/vg01

    # e.g. /sbin/vgchange -a y -s# parallel_vg_sync "/dev/vg00 /dev/vg01"# parallel_vg_sync "/dev/vg02 /dev/vg03"

    return 0}

  • 33

    Serviceguard

    http://docs.hp.com/ja/B3936-90142/B3936-90142.pdf

    HP Serviceguard A.11.19

    http://docs.hp.com/ja/T1905-90002/T1905-90002.pdf

    Enterprise Cluster Master Toolkit B.05.00

    http://docs.hp.com/ja/T1909-90067/T1909-90067.pdf

    IT ITRC

    http://www.itrc.hp.com

    HP-UX 11i Knowledge-on-Demand

    http://www.hp.com/jp/kod

    HP-UX Web

    20 Copyright 20 Hewlett-Packard Development Company, L.P.

    102-0076 7

    PDFHS09004-04

Recommended

View more >