yuhuohu ·¢±íÓÚ 2008-10-10 10:05

ʵ¼:solaris 10+sun cluster 3.2+svm+smf+scalable apache2

Solaris10ÖÐÅäÖøºÔؾùºâµÄapache2

¡¾ËµÃ÷¡¿

1¡¢¼¯ÈºÈí¼þµÄ°²×°ºÍ´´½¨£º±¾°æËÑһϣ¬ÂÔ¹ý
2¡¢°æȨ¹é±¾ÈËËùÓÐ,תÔØÇë×¢Ã÷À´×Ô£ºcu-yuhuohu
3¡¢ÔÚvmwareÖпÉÒÔʵÏÖÍêÈ«ÅäÖÃ

¸çÃÇ£¬¿´ÌûÒªÍƼö°¡£¬µãÕâÀï:em27:


¡¾ÕªÒª¡¿
Solaris 10Öкܶà·þÎñÊÜSMF¹ÜÀí£¬ÒªÅäÖÃÕâЩ·þÎñµÄHA£¬²»ÄÜÓô«Í³µÄ·½·¨£¬ÐèҪʹÓÃÒ»¸ösun cluster 3.2ÐÂÔöµÄSMF·þÎñ´úÀí¡£µ±È»²»Ê¹ÓÃËüÒ²ÐУ¬ÓÃÇúÏ߾ȹúµÄ·½Ê½Ò²¿ÉÒÔ£¬²»¹ý²»ÍƼö£¬ÑÔ¹éÕý´«£¬¿´ÔÚSolaris10ÖÐÅäÖøºÔؾùºâµÄapache2·þÎñ²Ù×÷ʵ¼¡£

######################################################################
#ÈÎÒ»½Úµã
#´´½¨´ÅÅ̼¯ºÍÎļþϵͳ
######################################################################
bash-3.00# scdidadm -L
1      nfs1:/dev/rdsk/c0d0            /dev/did/rdsk/d1   
2      nfs1:/dev/rdsk/c1t0d0          /dev/did/rdsk/d2   
3      nfs1:/dev/rdsk/c2t0d0          /dev/did/rdsk/d3   
3      nfs2:/dev/rdsk/c2t0d0          /dev/did/rdsk/d3   
4      nfs1:/dev/rdsk/c2t1d0          /dev/did/rdsk/d4   
4      nfs2:/dev/rdsk/c2t1d0          /dev/did/rdsk/d4   
5      nfs1:/dev/rdsk/c2t2d0          /dev/did/rdsk/d5   
5      nfs2:/dev/rdsk/c2t2d0          /dev/did/rdsk/d5   
6      nfs1:/dev/rdsk/c2t3d0          /dev/did/rdsk/d6   
6      nfs2:/dev/rdsk/c2t3d0          /dev/did/rdsk/d6   
7      nfs1:/dev/rdsk/c2t4d0          /dev/did/rdsk/d7   
7      nfs2:/dev/rdsk/c2t4d0          /dev/did/rdsk/d7   
8      nfs1:/dev/rdsk/c2t5d0          /dev/did/rdsk/d8   
8      nfs2:/dev/rdsk/c2t5d0          /dev/did/rdsk/d8   
9      nfs1:/dev/rdsk/c2t6d0          /dev/did/rdsk/d9   
9      nfs2:/dev/rdsk/c2t6d0          /dev/did/rdsk/d9   
10       nfs2:/dev/rdsk/c1t0d0          /dev/did/rdsk/d10   
11       nfs2:/dev/rdsk/c1t1d0          /dev/did/rdsk/d11   
12       nfs1:/dev/rdsk/c0d1            /dev/did/rdsk/d12   
bash-3.00# metaset

Set name = dbds, Set number = 1

Host                Owner
nfs1               Yes
nfs2               

Driv Dbase

d4   Yes

d7   Yes

Set name = nfsds, Set number = 2

Host                Owner
nfs1               Yes
nfs2               

Driv Dbase

d5   Yes


bash-3.00# metaset -s webds -a -h nfs1 nfs2
bash-3.00# metaset -s webds -a /dev/did/rdsk/d6 /dev/did/rdsk/d9
bash-3.00# metainit -s webds d100 1 2 /dev/did/rdsk/d6s0 /dev/did/rdsk/d9s0
webds/d100: Concat/Stripe is setup
bash-3.00# metainit -s webds d101 -p d100 1g
d101: Soft Partition is setup
bash-3.00# newfs /dev/md/webds/rdsk/d101
/dev/md/webds/rdsk/d101: Unable to find Media type. Proceeding with system determined parameters.
newfs: construct a new file system /dev/md/webds/rdsk/d101: (y/n)? y
/dev/md/webds/rdsk/d101:      2097152 sectors in 512 cylinders of 128 tracks, 32 sectors
      1024.0MB in 26 cyl groups (20 c/g, 40.00MB/g, 19456 i/g)
super-block backups (for fsck -F ufs -o b=#) at:
32, 81984, 163936, 245888, 327840, 409792, 491744, 573696, 655648, 737600,
1311264, 1393216, 1475168, 1557120, 1639072, 1721024, 1802976, 1884928,
1966880, 2048832
bash-3.00# mkdir /d101
bash-3.00# mount -o global /dev/md/webds/dsk/d101 /d101
bash-3.00# umount /d101
mount: /dev/md/webds/dsk/d101 or /d101, no such file or directory
bash-3.00# vi /etc/vfstab
#device devicemount   FS      fsck    mount   mount
#to   mount   to      fsck            point         type    pass    at boot options
#
fd      -       /dev/fd fd      -       no      -
/proc   -       /proc   proc    -       no      -
/dev/dsk/c0d0s1 -       -       swap    -       no      -
/dev/dsk/c0d0s0 /dev/rdsk/c0d0s0      /       ufs   1       no      -
/dev/dsk/c0d0s5 /dev/rdsk/c0d0s5      /var    ufs   1       no      -
/dev/dsk/c0d0s6 /dev/rdsk/c0d0s6      /export/home    ufs   2       yes   -
#/dev/dsk/c0d0s4      /dev/rdsk/c0d0s4      /globaldevicesufs   2       yes   -
/devices      -       /devices      devfs   -       no      -
ctfs    -       /system/contract      ctfs    -       no      -
objfs   -       /system/objectobjfs   -       no      -
swap    -       /tmp    tmpfs   -       yes   -
/dev/did/dsk/d1s4 /dev/did/rdsk/d1s4 /global/.devices/node@1 ufs 2 no global
/dev/md/dbds/dsk/d102/dev/md/dbds/rdsk/d102 /global/oracle   ufs   2 no    global,logging
/dev/md/webds/dsk/d101/dev/md/webds/rdsk/d101 /d101   ufs   2 no    global,logging

"/etc/vfstab" 17 lines, 782 characters
bash-3.00# mount /d101
bash-3.00# df -h
Filesystem             size   usedavail capacityMounted on
/dev/dsk/c0d0s0         10G   5.0G   5.1G    50%    /
/devices               0K   0K   0K   0%    /devices
ctfs                     0K   0K   0K   0%    /system/contract
proc                     0K   0K   0K   0%    /proc
mnttab                   0K   0K   0K   0%    /etc/mnttab
swap                   1.7G   1.1M   1.7G   1%    /etc/svc/volatile
objfs                  0K   0K   0K   0%    /system/object
/usr/lib/libc/libc_hwcap2.so.1
                        10G   5.0G   5.1G    50%    /lib/libc.so.1
fd                     0K   0K   0K   0%    /dev/fd
/dev/dsk/c0d0s5      2.0G   523M   1.4G    27%    /var
swap                   1.7G    72K   1.7G   1%    /tmp
swap                   1.7G    28M   1.7G   2%    /var/run
/dev/dsk/c0d0s6      996M   1.0M   935M   1%    /export/home
/vol/dev/dsk/c1t0d0/sc_32u1_dvd
                      1009M1009M   0K   100%    /cdrom/sc_32u1_dvd
/dev/dsk/c1t0d0s4      486M   5.7M   431M   2%    /global/.devices/node@2
/dev/did/dsk/d1s4      486M   5.7M   431M   2%    /global/.devices/node@1
/dev/md/dbds/dsk/d102
                     7.9G   4.1G   3.7G    53%    /global/oracle
/dev/md/webds/dsk/d101
                     962M   1.0M   903M   1%    /d101

[ ±¾Ìû×îºóÓÉ yuhuohu ÓÚ 2009-7-4 20:25 ±à¼­ ]

yuhuohu ·¢±íÓÚ 2008-10-10 10:05

######################################################################
#ËùÓнڵã
#ÐÞ¸Ä/etc/hostsÎļþ
######################################################################
bash-3.00# vi /etc/hosts
#
# Internet host table
#
::1   localhost
127.0.0.1       localhost
192.168.105.1   nfs1    nfs1.com      loghost
192.168.105.2   nfs2    nfs2.com
192.168.105.3   nfsip   nfsip.com
192.168.105.4   oraip   oraip.com
192.168.105.5   webip   webip.com
~
~
~
~
"/etc/hosts" 10 lines, 224 characters

yuhuohu ·¢±íÓÚ 2008-10-10 10:06

######################################################################
#ÈÎÒ»½Úµã
#ÔÚ´æ´¢´ÅÅÌÉÏ´´½¨apache2µÄÄÚÈÝ£¬²¢ÐÞ¸Äapache2µÄÅäÖÃÎļþ
######################################################################

bash-3.00# mkdir -p /d101/apache2/htdocs
bash-3.00# mkdir /d101/apache2/cgi-bin
bash-3.00# cp -rp /var/apache2/htdocs/* /d101/apache2/htdocs/
bash-3.00# cp -rp /var/apache2/cgi-bin/* /d101/apache2/cgi-bin/
bash-3.00# echo "This is a apache2 testing page" >/d101/apache2/htdocs/index.html

bash-3.00# mkdir /d101/apache2/conf/
bash-3.00# cp /etc/apache2/httpd.conf-example /d101/apache2/conf/httpd.conf
bash-3.00# vi /d101/apache2/conf/httpd.conf
°´ÒÔÏÂʾÀýÐ޸ģº
£¨ÒÔÏ¿ÉÑ¡£©
ServerName 127.0.0.1                                                        -->        ServerName proto-nfs
KeepAlive On                                                                                        -->        KeepAlive Off
#BindAddress *                                                                                -->        BindAddress proto-nfs
£¨ÒÔϱØÐëÐ޸ģ¬¶¼Ö¸Ïòµ½È«¾Ö·¾¶ÖУ©
DocumentRoot "/var/apache/htdocs"                                                 -->
                        DocumentRoot "/d101/apache/htdocs"
<Directory "/var/apache/htdocs">                                                        -->       
                        <Directory "/d101/apache/htdocs">
ScriptAlias /cgi-bin/ "/var/apache/cgi-bin/"         -->
                        ScriptAlias /cgi-bin/ "/d101/apache/cgi-bin/"
<Directory "/var/apache/cgi-bin">                                                 -->
                        <Directory "/d101/apache/cgi-bin">

bash-3.00# vi /d101/apache2/cgi-bin/test-cgi
#!/bin/sh

# disable filename globbing
set -f

echo "Content-type: text/plain; charset=iso-8859-1"
echo

echo CGI/1.0 test script report:
echo

echo argc is $#. argv is "$*".
echo

echo SERVER_SOFTWARE = $SERVER_SOFTWARE
echo SERVER_NAME = $SERVER_NAME
echo GATEWAY_INTERFACE = $GATEWAY_INTERFACE
echo SERVER_PROTOCOL = $SERVER_PROTOCOL
echo SERVER_PORT = $SERVER_PORT
echo PATH_INFO = "$PATH_INFO"
echo PATH_TRANSLATED = "$PATH_TRANSLATED"
echo SCRIPT_NAME = "$SCRIPT_NAME"
echo QUERY_STRING = "$QUERY_STRING"
echo REMOTE_HOST = $REMOTE_HOST
echo REMOTE_ADDR = $REMOTE_ADDR
echo REMOTE_USER = $REMOTE_USER
echo AUTH_TYPE = $AUTH_TYPE
echo CONTENT_TYPE = $CONTENT_TYPE
echo CONTENT_LENGTH = $CONTENT_LENGTH
echo HOSTNAME = `hostname`
~

"/d101/apache2/cgi-bin/test-cgi" 32 lines, 805 characters

yuhuohu ·¢±íÓÚ 2008-10-10 10:06

######################################################################
#ËùÓнڵã
#ÐÞ¸Äapache2µÄÆô¶¯¿ØÖÆÎļþºÍÆô¶¯·½·¨Îļþ,²¢²âÊÔapache2µÄÆô¶¯ºÍÍ£Ö¹
######################################################################

bash-3.00# vi /usr/apache2/bin/apachectl
HTTPD='/usr/apache2/bin/httpd'
#HTTPD='/usr/apache2/bin/httpd'




bash-3.00# /usr/apache2/bin/apachectl -t
Syntax OK

bash-3.00# vi /lib/svc/method/http-apache2

CONF_FILE=/d101/apache2/conf/httpd.conf



"/lib/svc/method/http-apache2" 40 lines, 704 characters


bash-3.00# /lib/svc/method/http-apache2 start
bash-3.00# ps -ef |grep http
webservd34483443   0 11:50:14 ?         0:00 /usr/apache2/bin/httpd -f /d101/apache2/conf/httpd.conf -k start
webservd34463443   0 11:50:14 ?         0:00 /usr/apache2/bin/httpd -f /d101/apache2/conf/httpd.conf -k start
    root3443   1   1 11:50:13 ?         0:00 /usr/apache2/bin/httpd -f /d101/apache2/conf/httpd.conf -k start
webservd34443443   0 11:50:14 ?         0:00 /usr/apache2/bin/httpd -f /d101/apache2/conf/httpd.conf -k start
webservd34473443   0 11:50:14 ?         0:00 /usr/apache2/bin/httpd -f /d101/apache2/conf/httpd.conf -k start
webservd34453443   0 11:50:14 ?         0:00 /usr/apache2/bin/httpd -f /d101/apache2/conf/httpd.conf -k start
bash-3.00# /lib/svc/method/http-apache2 stop
bash-3.00# /lib/svc/method/http-apache2 start
bash-3.00# /lib/svc/method/http-apache2 stop
bash-3.00# svcadm disable apache2

yuhuohu ·¢±íÓÚ 2008-10-10 10:06

######################################################################
#ËùÓнڵã
#°²×°Sun cluster apache data service
######################################################################
bash-3.00# scrgadm -a -t SUNW.apache
Registration file not found for "SUNW.apache" in /usr/cluster/lib/rgm/rtreg or /opt/cluster/lib/rgm/rtreg.
bash-3.00# df -h
Filesystem             size   usedavail capacityMounted on
/dev/dsk/c0d0s0         10G   5.0G   5.1G    50%    /
/devices               0K   0K   0K   0%    /devices
ctfs                     0K   0K   0K   0%    /system/contract
proc                     0K   0K   0K   0%    /proc
mnttab                   0K   0K   0K   0%    /etc/mnttab
swap                   1.7G   1.1M   1.7G   1%    /etc/svc/volatile
objfs                  0K   0K   0K   0%    /system/object
/usr/lib/libc/libc_hwcap2.so.1
                        10G   5.0G   5.1G    50%    /lib/libc.so.1
fd                     0K   0K   0K   0%    /dev/fd
/dev/dsk/c0d0s5      2.0G   523M   1.4G    27%    /var
swap                   1.7G    72K   1.7G   1%    /tmp
swap                   1.7G    28M   1.7G   2%    /var/run
/dev/dsk/c0d0s6      996M   1.0M   935M   1%    /export/home
/vol/dev/dsk/c1t0d0/sc_32u1_dvd
                      1009M1009M   0K   100%    /cdrom/sc_32u1_dvd
/dev/dsk/c1t0d0s4      486M   5.7M   431M   2%    /global/.devices/node@2
/dev/did/dsk/d1s4      486M   5.7M   431M   2%    /global/.devices/node@1
/dev/md/dbds/dsk/d102
                     7.9G   4.1G   3.7G    53%    /global/oracle
/dev/md/webds/dsk/d101
                     962M   1.3M   903M   1%    /d101
bash-3.00# cd /cdrom/cdrom0/Solaris_x86/
bash-3.00# pwd
/cdrom/cdrom0/Solaris_x86/Product/sun_cluster_agents/Solaris_10/Packages
bash-3.00# ls
SUNWiimsc         SUNWscdns         SUNWsckrb5      SUNWscmys         SUNWscsap         SUNWscsapwebas    SUNWsctomcat
SUNWsc9ias      SUNWschadb      SUNWsclc          SUNWscnfs         SUNWscsapdb       SUNWscsge         SUNWscucm
SUNWscPostgreSQLSUNWschtt         SUNWscmd          SUNWscor          SUNWscsapenq      SUNWscsmb         SUNWscwls
SUNWscapc         SUNWscics         SUNWscmqi         SUNWscs1as      SUNWscsaprepl   SUNWscsps         SUNWsczone
SUNWscdhc         SUNWscims         SUNWscmqs         SUNWscs1mq      SUNWscsapscs      SUNWscsyb
bash-3.00# pkgadd -d ./ SUNWscapc

Processing package instance <SUNWscapc> from </cdrom/sc_32u1_dvd/Solaris_x86/Product/sun_cluster_agents/Solaris_10/Packages>

Sun Cluster Apache Web Server Component(i386) 3.2.0,REV=2006.12.06.18.33
Copyright ?2006 Sun Microsystems, Inc. All rights reserved

SUN PROPRIETARY/CONFIDENTIAL.

Use is subject to license terms.
Using </opt> as the package base directory.
## Processing package information.
## Processing system information.
   6 package pathnames are already properly installed.
## Verifying package dependencies.
## Verifying disk space requirements.
## Checking for conflicts with packages already installed.
## Checking for setuid/setgid programs.

This package contains scripts which will be executed with super-user
permission during the process of installing this package.

Do you want to continue with the installation of <SUNWscapc> y

Installing Sun Cluster Apache Web Server Component as <SUNWscapc>

## Installing part 1 of 1.
683 blocks
## Executing postinstall script.

Installation of <SUNWscapc> was successful.

yuhuohu ·¢±íÓÚ 2008-10-10 10:07

######################################################################
#ÈÎÒ»½Úµã
#ÅäÖÃscalable apache2
######################################################################

bash-3.00# scrgadm -a -t SUNW.apache
bash-3.00# Sep 28 12:03:17 nfs1 Cluster.CCR: resource type SUNW.apache:4.1 added.

bash-3.00# pkill tail   
+Terminated            tail -f /var/adm/messages(wd: /)
(wd now: /cdrom/cdrom0/Solaris_x86/Product/sun_cluster_agents/Solaris_10/Packages)

bash-3.00# scrgadm -a -g iprg -h nfs1,nfs2
bash-3.00# scrgadm -a -g iprg -l webip -S
bash-3.00# scrgadm -a -g apacherg -y RG_dependencies=iprg -y Desired_primaries=2 -y Maximum_primaries=2
bash-3.00# scrgadm -a -g apacherg -j web-stor -t SUNW.HAStoragePlus -x FilesystemMountPoints=/d101


bash-3.00# scswitch -Z -g iprg
bash-3.00# scswitch -Z -g apacherg
######################################################################
#ËùÓнڵã
#´´½¨SMF´úÀí×ÊÔ´£¬ÔÚ¼¯ÈºÖдúSMFÊÜÀíapache2µÄÆðÍ££¬²¢¼ÓÈë×ÊÔ´×é
######################################################################

bash-3.00# vi /etc/cluster/svclist.txt
<svc:/network/http:apache2>,</var/svc/manifest/network/http-apache2.xml>
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
"/etc/cluster/svclist.txt" 1 line, 73 characters
bash-3.00# scrgadm -a-g apacherg -j apache-res -t SUNW.Proxy_SMF_scalable -y Resource_dependencies=web-stor -y Network_resources_used=webip -y Port_list=80/tcp -y Scalable=TRUE -x Proxied_service_instances=/etc/cluster/svclist.txt
bash-3.00# scstat
------------------------------------------------------------------

-- Cluster Nodes --

                  Node name         Status
                  ---------         ------
Cluster node:   nfs1                Online
Cluster node:   nfs2                Online

------------------------------------------------------------------

-- Cluster Transport Paths --

                  Endpoint               Endpoint               Status
                  --------               --------               ------
Transport path:   nfs1:e1000g2         nfs2:e1000g2         Path online
Transport path:   nfs1:e1000g1         nfs2:e1000g1         Path online

------------------------------------------------------------------

-- Quorum Summary --

Quorum votes possible:      3
Quorum votes needed:      2
Quorum votes present:       3


-- Quorum Votes by Node --

                  Node Name         Present Possible Status
                  ---------         ------- -------- ------
Node votes:       nfs1                1      1       Online
Node votes:       nfs2                1      1       Online


-- Quorum Votes by Device --

                  Device Name         Present Possible Status
                  -----------         ------- -------- ------
Device votes:   /dev/did/rdsk/d3s21      1       Online

------------------------------------------------------------------

-- Device Group Servers --

                         Device Group      Primary             Secondary
                         ------------      -------             ---------
Device group servers:dbds                nfs1                nfs2
Device group servers:nfsds               nfs1                nfs2
Device group servers:apacheds            -                   -
Device group servers:webds               nfs1                nfs2


-- Device Group Status --

                              Device Group      Status            
                              ------------      ------            
Device group status:      dbds                Online
Device group status:      nfsds               Online
Device group status:      apacheds            Offline
Device group status:      webds               Online


-- Multi-owner Device Groups --

                              Device Group      Online Status
                              ------------      -------------

------------------------------------------------------------------

-- Resource Groups and Resources --

            Group Name   Resources
            ----------   ---------
Resources: orarg          oraip hasp-ora-rs ora-server-rs ora-listener-rs
Resources: iprg         webip
Resources: apacherg       web-stor apache-res


-- Resource Groups --

            Group Name   Node Name                State          Suspended
            ----------   ---------                -----          ---------
   Group: orarg          nfs1                     Offline      No
   Group: orarg          nfs2                     Offline      No

   Group: iprg         nfs1                     Online         No
   Group: iprg         nfs2                     Offline      No

   Group: apacherg       nfs1                     Online         No
   Group: apacherg       nfs2                     Online         No


-- Resources --

            Resource NameNode Name                State          Status Message
            ----------------------                -----          --------------
Resource: oraip          nfs1                     Offline      Offline - LogicalHostname offline.
Resource: oraip          nfs2                     Offline      Offline - LogicalHostname offline.

Resource: hasp-ora-rs    nfs1                     Offline      Offline
Resource: hasp-ora-rs    nfs2                     Offline      Offline

Resource: ora-server-rsnfs1                     Offline      Offline
Resource: ora-server-rsnfs2                     Offline      Offline

Resource: ora-listener-rs nfs1                     Offline      Offline
Resource: ora-listener-rs nfs2                     Offline      Offline

Resource: webip          nfs1                     Online         Online - SharedAddress online.
Resource: webip          nfs2                     Offline      Offline

Resource: web-stor       nfs1                     Online         Online
Resource: web-stor       nfs2                     Online         Online

Resource: apache-res   nfs1                     Offline      Offline
Resource: apache-res   nfs2                     Offline      Offline

------------------------------------------------------------------

-- IPMP Groups --

            Node Name         Group   Status         Adapter   Status
            ---------         -----   ------         -------   ------
IPMP Group: nfs1                sc_ipmp0 Online         e1000g0   Online

IPMP Group: nfs2                sc_ipmp0 Online         e1000g0   Online

------------------------------------------------------------------

[ ±¾Ìû×îºóÓÉ yuhuohu ÓÚ 2008-10-15 16:35 ±à¼­ ]

yuhuohu ·¢±íÓÚ 2008-10-10 10:07

######################################################################
#ÈÎÒ»½Úµã
#Á¢¼´ÆôÓÃapache-res¡¡¡¡¡¡»òÕßÓÃscswitch -e -j apache-resÃüÁîÒ²¿ÉÒÔÆôÓÃ×ÊÔ´
######################################################################
bash-3.00# clrs enable apache-res                                                # scswitch -e -j apache-resÃüÁîÒ²¿ÉÒÔÆôÓÃ×ÊÔ´
bash-3.00# scstat -g

-- Resource Groups and Resources --

            Group Name   Resources
            ----------   ---------
Resources: orarg          oraip hasp-ora-rs ora-server-rs ora-listener-rs
Resources: iprg         webip
Resources: apacherg       web-stor apache-res


-- Resource Groups --

            Group Name   Node Name                State          Suspended
            ----------   ---------                -----          ---------
   Group: orarg          nfs1                     Offline      No
   Group: orarg          nfs2                     Offline      No

   Group: iprg         nfs1                     Online         No
   Group: iprg         nfs2                     Offline      No

   Group: apacherg       nfs1                     Online         No
   Group: apacherg       nfs2                     Online         No


-- Resources --

            Resource NameNode Name                State          Status Message
            ----------------------                -----          --------------
Resource: oraip          nfs1                     Offline      Offline - LogicalHostname offline.
Resource: oraip          nfs2                     Offline      Offline - LogicalHostname offline.

Resource: hasp-ora-rs    nfs1                     Offline      Offline
Resource: hasp-ora-rs    nfs2                     Offline      Offline

Resource: ora-server-rsnfs1                     Offline      Offline
Resource: ora-server-rsnfs2                     Offline      Offline

Resource: ora-listener-rs nfs1                     Offline      Offline
Resource: ora-listener-rs nfs2                     Offline      Offline

Resource: webip          nfs1                     Online         Online - SharedAddress online.
Resource: webip          nfs2                     Offline      Offline

Resource: web-stor       nfs1                     Online         Online
Resource: web-stor       nfs2                     Online         Online

Resource: apache-res   nfs1                     Online         Online
Resource: apache-res   nfs2                     Online         Online

######################################################################
#ÔÚÈÎÒ»½Úµã
#²é¿´ÈÕÖ¾ÓÐÒÔÏÂÏûÏ¢
######################################################################

Scalable service instance registered on node nfs2.
Scalable service instance registered on node nfs1.

######################################################################
#ÔÚ¿Í»§»ú
#·ÃÎÊweb·þÎñ£¬°´F5Ë¢ÐÂ
######################################################################
ÍøÒ³ä¯ÀÀÆ÷£ºhttp://192.168.105.5/cgi-bin/test-cgi

yuhuohu ·¢±íÓÚ 2008-10-10 10:08

clusterµÄ°²×°ºÍ´´½¨£¬ÇëËÑË÷±¾°æÆäËûÌû ºÜ¶à

zyl555 ·¢±íÓÚ 2008-10-10 14:32

¶¥Ñ½£¬ºÃ¶«Î÷¡£

sunshiene ·¢±íÓÚ 2008-10-10 14:54

:em03: ºÃ¶«Î÷
Ò³: [1] 2 3
²é¿´ÍêÕû°æ±¾: ʵ¼:solaris 10+sun cluster 3.2+svm+smf+scalable apache2