You are on page 1of 16

TELLIN-ENIP SMP

1 ................................................................................................................1
1.1 ..................................................................................................................... 1
1.2 ................................................................................................... 3
1.3 ................................................................................................... 3

2 .......................................................................................................................4
2.1 /etc/vfstab ........................................................................................................... 4
2.2 IP ......................................................................................................... 4
2.2.1 SMP IP ............................................................................................ 4
2.2.2 informix IP .............................................................................6
2.2.3 oracle IP ...............................................................................6
2.3 ................................................................................................................ 7
2.4 ................................................................................................................. 8
2.4.1 spy.sh .............................................................................................. 8
2.4.2 tellinsmp_config ....................................................................................10
2.5 ................................................................................................................... 11
2.6 ........................................................................................................... 11
2.7 ................................................................................................................... 13
2.7.1 SMP .............................................................................14
2.7.2 ........................................................................14
2.7.3 ...............................................................................14
2.8 ................................................................................................................... 15

TELLIN-ENIP SMP

SUN Cluster3.0 SUN Cluster 2.2


SUN

TELLIN SUN
Cluster

SUN

IP

SUN Cluster3.0

SUN Cluster3.0

ENIP SMP
Informix

Oracle RAC

1.1

(1)

SUN Cluster

(2)

Cluster

(3)

Cluster Cluster

3.1

TELLIN-ENIP SMP

No

Yes

No

No

Yes

Yes

3.1


host1 host2

TELLIN-ENIP SMP

1.2
1.

2.
(1)

root
host1
host2 IP
IP
TCP/IP

(2)

root
host2
host1 IP IP
TCP/IP

1.3
1.

2.
(1)

host1
rootsmpinformix

oracle

# rlogin host2

(2)

host2 rootsmpinformix oracle

# rlogin host1

TELLIN-ENIP SMP

2
Cluster

IP

2.1 /etc/vfstab
1.
/etc/vfstab

2.
/etc/vfstab /etc/vfstab
/dev/vx/dsk/smpdg/lvsmp

/dev/vx/rdsk/smpdg/lvsmp

/tellin

ufs

no

logging
/dev/vx/dsk/smpdg/lvoams

/dev/vx/rdsk/smpdg/lvoams

/tellin/oams

ufs

no logging
/dev/vx/dsk/smpdg/lvrbs

/dev/vx/rdsk/smpdg/lvrbs

/tellin/rbs

ufs

no

logging

(1) OAM Server RBS


(2) /home//opt mount operations logging
(3) no Cluster
(4) logging

2.2 IP
2.2.1 SMP IP
1.

IP

IP

TELLIN-ENIP SMP

2.
(1)

~smp/sms_run/bin/inetcfg.cfg

[smp]
HOST=10.76.172.50
CAA_HOST=10.76.172.50
CFGCENTER_IP=10.76.172.50

(2)

~smp/sms_run/bin/SSPInfo.cfg

smp_Address

(3)

10.76.172.50

~smp/sms_run/shell/env.rc

RCOMMSRV

10.76.172.50:29994

CFGCENTER

"10.76.172.50:30000"

ACCESSAGENT

"10.76.172.50:29999"

SMPAGENT

"10.76.172.50:56789"

LOCALIPADDR

"10.76.172.50"

NEED_CHECKPKG_IPS

"10.76.172.50"

(4)

~smp/sms_run/cfg/sms.cfg

#host= HostName | UserName | HostAddrList


host = smp1 | smp | 10.76.172.50

smp smsweb smsserver


(5)

$PLATFORM_HOME/conf/DopraTopo.xml

smsserver IP node1

<module-name>SmsServer</module-name>
<node1-ip>$I_UNICA_SMS_SERVER_HOST</node1-ip>
<node1-port>$I_UNICA_SMS_SERVER_PORT1</node1-port>
<node2-id>42</node2-id>
<node2-ip>$I_UNICA_SMS_SERVER_HOST</node2-ip>
<node2-port>$I_UNICA_SMS_SERVER_PORT2</node2-port>

smsweb IP node1

<module-name>SmsWebModule_(Tomcat,Resin)</module-name>
<node1-ip>$I_UNICA_SMS_WEB_HOST</node1-ip>
<node1-port>$I_UNICA_SMS_WEB_PORT1</node1-port>
<node2-id>44</node2-id>
<node2-ip>$I_UNICA_SMS_WEB_HOST</node2-ip>
<node2-port>$I_UNICA_SMS_WEB_PORT2</node2-port>

(6)

$PLATFORM_HOME/conf/smsweb/apache/httpd.conf

ServerName smsweb IP :16780

IP
IP
5

TELLIN-ENIP SMP

2.2.2 informix IP
informix

smp_online

/opt/informix/etc/sqlhosts

onipcshm

smp_online_net

share_ip sqlexec

ontlitcp

share_ip sqlexec_net

2.2.3 oracle IP
oracle
(1)

oracle

# su oracle
% cd $ORACLE_HOME/network/admin

listener.ora HOST

(2)

% vi listener.ora


LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = share_ip)(PORT = 1521))
)
)
)

(3)

(4)

tnsnames.ora

% vi tnsnames.ora
oracle1 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)( HOST = share_ip)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = ora)
(INSTANCE_NAME = oracle1)
)
)

(5)

TELLIN-ENIP SMP

2.3

1.

2.
(1)

root

(2)

FTP

(3)

/tmp

# uncompress *_SMP_DM.tar.Z
# tar -xvf

*_SMP_DM.tar


(1) *_SMP_DM.tar.Z

(2) /tmp

ha ha

common

doc VCS

hp HP

ibm HP

OraSh Oracle

sun_sc2.2 SUN cluster2.2

sun_sc3.0 SUN cluster3.0

(4)

/opt/SUNWcluster/ha/smp

# mkdir -p /opt/SUNWcluster/ha/smp

(5)

/tmp/ha/sun/sun_sc3.0
/opt/SUNWcluster/ha/smp

# cp

(6)

-r /tmp/ha/sun_sc3.0/*

/opt/SUNWcluster/ha/smp

# chmod

u+x

/opt/SUNWcluster/ha/smp/bin/*

TELLIN-ENIP SMP
# chmod

(7)

u+x

/opt/SUNWcluster/ha/smp/util/*

HW.tellinsmp

#cp /opt/SUNWcluster/ha/smp/etc/HW.tellinsmp /usr/cluster/lib/rgm/rtreg


Oracle /tmp/ha/OraSh onmode.sh
$ORACLE_HOME/bin
Informix

(8)

/tmp/ha/OraSh onmode.sh

$ORACLE_HOME/bin

oracle
# chown oracle:dba

oninit.sh

# chmod 770 oninit.sh

onmode.sh

onmode.sh

onstat.sh

onstat.sh

# cp /tmp/ha/OraSh/* $ORACLE_HOME/bin

(9)
# cd

/tmp
/tmp

# rm R ha
# rm SMP_DM.tar

rm

2.4

2.4.1 spy.sh
1.
spy.sh SMP
2.
(1)

/opt/SUNWcluster/ha/smp/bin/spy.sh

spy.sh

TELLIN-ENIP SMP

# NODE_NAME0 and NODE_NAME1 is the nodes configured for the cluster.


NODE_NAME0="host1"

NODE_NAME1="host2"
host1


host2

(1) spy.sh OAM RBS


#
APP_USER
(2) SMP
iSMP SMPSYS
(3) spy.sh
APP_TYPE[0]APP_TYPE[1]APP_TYPE[2][ ] 0

(a) SMPSYS
APP_TYPE smpsys APP_USER
SMPSYS smpsys
# For smp-a 5.1 and the following version
APP_TYPE[1]="smpsys"
APP_PSNAME[1]="sms_lca"
APP_USER[1]="smpsys"

(b) SMPMML iSMP APP_TYPE smpcmc APP_USER

SMPMML iSMP smp smpmml


# For smp-b and ismp
APP_TYPE[1]="smpcmc"
APP_PSNAME[1]="sms_cfg_center"
APP_USER[1]="smp"

APP_TYPE[2]="smplca"
APP_PSNAME[2]="sms_lca"
APP_USER[2]="smp"

(c) smsweb smsserver SMP APP_TYPE


smsweb APP_USER smsweb smp
smpmml
APP_TYPE[7]="smsweb"
APP_PSNAME[7]="smsweb"
APP_USER[7]="smpmml"

TELLIN-ENIP SMP

APP_START_CMD[7]="start_smsweb"
APP_STOP_CMD[7]="stop_smsweb"
APP_ISDAEMON[7]="Y"
APP_PSNUMBER[7]="1"
APP_CHECK_ISUSERDEFINED[7]="Y"
APP_CHECK_CMD[7]="check_smsweb"
APP_RESTART[7]="100000"
APP_SWITCH_REENABLE[7]="N"
APP_HOT_STANDBY[7]="N"
APP_HS_START_CMD[7]=""
APP_HS_STOP_CMD[7]=""
APP_HS_CHECK_CMD[7]=""

# Config model of On-line informix application, Daemon process 'oninit' to


be monitored
APP_TYPE[0]="informix"
APP_PSNAME[0]="oninit"
APP_USER[0]="informix"

#APP_TYPE[0]="oracle"
#APP_PSNAME[0]="ORACLE_SID"
#APP_USER[0]="oracle"


Informix Oracle

ORACLE_SID Oracle Instance SID Oracle

ORACLE_SID
USE_ORACLE_RAC=N
APP_HOT_STANDBY= "N"

HA

Oracle
Oracle
APP_HOT_STANDBY N
(2)

2.4.2 tellinsmp_config
1.
/opt/SUNWcluster/ha/smp/util/tellinsmp_config

10

TELLIN-ENIP SMP

2.
(1)

/opt/SUNWcluster/ha/smp/util/tellinsmp_config

tellinsmp_config

SMP

DG_NAME=smpdg,datadg

Cluster

FS_MountPoint=/tellin



FS_MountPoint=/tellin/tellin/oams/tellin/rbs

(2)

OAM

RBS

2.5
1.

SMP

2.
(1)

/etc/hosts IP

(2)

# /opt/SUNWcluster/ha/scu/util/starttellin -h share_ip


share_ip SMP IP

2.6
1.

SMP

11

TELLIN-ENIP SMP

2.
(1)

# scstat -g

-- Resource Groups and Resources -Group Name

Resources

Resources: smp_rg

share_ip smppkg smp_hadgs

-- Resource Groups -Group Name

Node Name

State

Group: smp_rg

smp1

Online

Group: smp_rg

smp2

Offline

Resources -Resource Name

Node Name

State

Resource: share_ip

Status Message

smp1

Online

Online -

Offline

Offline -

LogicalH.
Resource: share_ip

smp2

Logical.

Resource: smppkg

smp1

Online

Online

Resource: smppkg

smp2

Offline

Offline

Resource: smp_hadgs

smp1

Online

Online

Resource: smp_hadgs

smp2

Offline

Offline

smp_rg share_ipsmppkg
host1
(2)

Informix
informix
informix% onstat -

-- On-Line Up

$INFORMIXDIR/online.log

Oracle
oracle
# su oracle
% sqlplus / as sysdba

12

TELLIN-ENIP SMP

Connected to:
Oracle9i Enterprise Edition Release 9.2.0.1.0 - 64bit Production
JServer Release 9.2.0.1.0 Production
SQL> select STATUS from v$instance;
STATUS
-----------OPEN

(a) SMP

$TELLIN_DIR/log SMP
(b) spy.sh

monitor
# ps -ef | grep spy.sh | grep monitor

(3)

(a)

Informix
informix
informix% onstat -

shared memory not initialized for INFORMIXSERVER 'host_online_net'

Oracle
oracle
# su oracle
% sqlplus / as sysdba

host1 Oracle
SQL*Plus: Release 9.2.0.1.0 - Production on Tue Aug 24 11:25:49 2004
Copyright (c) 1982, 2002, Oracle Corporation.

All rights reserved.

Connected to an idle instance.

(b) smp
# su smp
smp% p

SMP

2.7

SMP
13

TELLIN-ENIP SMP

Cluster

2.7.1 SMP
(1)

host1 SMP

smp% stop.sh sms


(2)

% su # scstat -g

smp_rg
(3)

smp2

host2

2.7.2
(1)

SMP host2 host2

Informix

# su informix
% onmode ky

Oracle

# su oracle
% sqlplus /as sysdba
SQL> shutdown
SQL> exit
% lsnrctl stop

(2)

% su # scstat -g

smp_rg
(3)

host1

host1

2.7.3
(1)

root host1

% su

(2)

# scswitch -z -g smp_rg -h host2

14

TELLIN-ENIP SMP

IP host2
host2
(3)

root host2

% su # scstat -g

Pingpong
600
Pingpong


60 scrgadm

-c -g
scp_rg -y Pingpong_interval=60

scwitch -z -g scp_rg -h nodename Pingpong

scwitch

-z -g scp_rg -h nodename
Informix

2.8

(1)

# /opt/SUNWcluster/ha/smp/util/stoptellin h share_ip

/opt/SUNWcluster/ha/smp/util/removetellin -h
share_ip

(2)

15

You might also like