免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
1234下一页
最近访问板块 发新帖
查看: 22693 | 回复: 35
打印 上一主题 下一主题

今天在hP unix 上安装RAC 成功了。(版权所有) [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2003-06-30 23:04 |只看该作者 |倒序浏览
Total Spare PVs             0

[ 本帖最后由 starmoon2003 于 2006-9-21 23:49 编辑 ]

论坛徽章:
0
2 [报告]
发表于 2003-06-30 23:13 |只看该作者

今天在hP unix 上安装RAC 成功了。

control1=/dev/rac/rctrl01
control2=/dev/rac/rctrl02
control3=/dev/rac/rctrl03
indx=/dev/rac/rindex
redo1_1=/dev/rac/rredo11
redo1_2=/dev/rac/rredo12
redo1_3=/dev/rac/rredo13
redo1_4=/dev/rac/rredo14
redo2_1=/dev/rac/rredo21
redo2_2=/dev/rac/rredo22
redo2_3=/dev/rac/rredo23
redo2_4=/dev/rac/rredo24
undotbs1=/dev/rac/rundo01
undotbs2=/dev/rac/rundo02
spfile=/dev/rac/rspfile
system=/dev/rac/rsystem
temp=/dev/rac/rtemp
tools=/dev/rac/rtools
users=/dev/rac/ruser




内核的参数:



                       Current      Pending             Associated                                                                                          
Name                        Value        Value   Type      Module       Description                                                                           
NSTREVENT                      50           50   Static    N/A          Max Number of Outstanding Streams bufcalls                                             
NSTRPUSH                       16           16   Static    N/A          Max Number of Streams Modules in Single Stream                                         
NSTRSCHED                       0            0   Static    N/A          Number of Streams Scheduler Daemons to Run                                             
STRCTLSZ                     1024         1024   Static    N/A          Max Size of Streams Message Control (Bytes)                                            
STRMSGSZ                    65535        65535   Static    N/A          Max Size of Streams Message Data (Bytes)                                               
acctresume                      4            4   Static    N/A          Threshold to Resume Accounting                                                         
acctsuspend                     2            2   Static    N/A          Threshold to Suspend Accounting                                                        
aio_listio_max                256          256   Static    N/A          Max No. of AIO Ops That Can Be Specified in lio_list Call                              
aio_max_ops                  2048         2048   Static    N/A          Maximum No. of AIO Ops That Can Be Queued At Any Time                                 
aio_physmem_pct                10           10   Static    N/A          Percentage of Physical Memory Lockable for Request Call-Back Operations               
aio_prio_delta_max             20           20   Static    N/A          Max Slowdown Factor; Greatest Delta Allowed in aiocb's aio_reqprio Field               
allocate_fs_swapmap             0            0   Static    N/A          Allocate Swapmap Space at swapon                                                      
alwaysdump                      0            0   Static    N/A          Bit-Mask of Kernel Memory Pages Included in Dumps                                      
bufcache_hash_locks           128          128   Static    N/A          Buffer Cache Spinlock Pool Size                                                        
bufpages                     1992         1992   Static    N/A          Number of Buffer Pages                                                                 
chanq_hash_locks              256          256   Static    N/A          Channel Queue Spinlock Pool Size                                                      
create_fastlinks                0            0   Static    N/A          Create Fast Symbolic Links                                                            
dbc_max_pct                     2            2   Static    N/A          Max Dynamic Buffer Cache Size as Percent of System RAM Size                           
dbc_min_pct                     2            2   Static    N/A          Min Dynamic Buffer Cache Size as Percent of System RAM Size                           
default_disk_ir                 0            0   Static    N/A          Immediate Report (Write Cache Enable) Behavior for SCSI Disks                          
dnlc_hash_locks                64           64   Static    N/A          Number of Locks For Directory Cache Synchronization                                    
dontdump                        0            0   Static    N/A          Bit-Mask of Kernel Memory Pages Excluded From Dumps                                    
dskless_node                    0            0   Static    N/A          Diskless Node Flag                                                                     
dst                             1            1   Static    N/A          Daylight Savings Time Policy                                                           
eqmemsize                      15           15   Static    N/A          Minimum Number of Equivalently Mapped Memory Pages on the Reserve List                 
fcp_large_config                0            0   Static    N/A          Boolean; 0 If Small (<=64 Nodes) Loop, 1 if Large (<=126 Nodes) Loop                  
fs_async                        1            1   Static    N/A          Select Asynchronous Writes                                                            
ftable_hash_locks              64           64   Static    N/A          File Table Spinlock Pool Size                                                         
hdlpreg_hash_locks            128          128   Static    N/A          Number (Given As Power of Two) of Spinlocks Allocated to Pregion Hash Table Objects   
hfs_max_ra_blocks               8            8   Static    N/A          Maximum Number of Read-Ahead Blocks Outstanding for HFS File Systems, in Blocks        
hfs_ra_per_disk                64           64   Static    N/A          Amount of HFS File System Read-Ahead, in Kbytes                                       
initmodmax                     50           50   Static    N/A          Max No. of Kernel Modules Saved By System Crash Dump                                   
io_ports_hash_locks            64           64   Static    N/A          I/O Ports Spinlock Pool Size                                                           
ksi_alloc_max                5312         5312   Static    N/A          System-wide Limit of Queued Signal That Can be Allocated                              
ksi_send_max                   32           32   Static    N/A          Max No. of Queued Signals a Process May Send and Have Pending at Receiver(s)           
max_async_ports                50           50   Static    N/A          Maximum Number of asyncdsk Ports That Can be Open At One Time                          
max_fcp_reqs                  512          512   Static    N/A          Maximum Number of Concurrent Fiber Channel Requests Per Adapter                        
max_mem_window                  0            0   Static    N/A          Maximum Number of Simultaneous Memory Windows                                          
max_thread_proc               256          256   Static    N/A          Max No. of Threads Allowed in Each Process                                             
maxdsiz                1073741824   1073741824   Static    N/A          Max Data Segment Size For 32-bit Processes (Bytes)                                    
maxdsiz_64bit          1073741824   1073741824   Static    N/A          Max Data Segment Size For 64-bit Processes (Bytes)                                    
maxfiles                     2048         2048   Static    N/A          Soft File Limit Per Process                                                            
maxfiles_lim                 2048         2048   Static    N/A          Hard File Limit Per Process                                                            
maxssiz                   8388608      8388608   Static    N/A          Max Stack Segment Size For 32-bit Processes (Bytes)                                    
maxssiz_64bit             8388608      8388608   Static    N/A          Max Stack Segment Size For 64-bit Processes (Bytes)                                    
maxswapchunks                4096         4096   Static    N/A          Max Number of Swap Chunks                                                              
maxtsiz                1073741824   1073741824   Static    N/A          Max Text Segment Size For 32-bit Processes (Bytes)                                    
maxtsiz_64bit          1073741824   1073741824   Static    N/A          Max Text Segment Size For 64-bit Processes (Bytes)                                    
maxuprc                       597          597   Static    N/A          Max Number of User Processes                                                           
maxusers                      200          200   Static    N/A          Value of MAXUSERS Macro (Does Not Affect Max. User Logins)                             
maxvgs                         80           80   Static    N/A          Max Number of Volume Groups                                                            
mesg                            1            1   Static    N/A          Enable Sys V Messages                                                                  
modstrmax                     500          500   Static    N/A          Max Size (Bytes) of Kernel-Module Savecrash Table                                      
msgmap                       6642         6642   Static    N/A          Max Number of Message Map Entries                                                      
msgmax                      32768        32768   Static    N/A          Message Max Size (bytes)                                                               
msgmnb                      65535        65535   Static    N/A          Max Number of Bytes on Message Queue                                                   
msgmni                        664          664   Static    N/A          Number of Message Queue Identifiers                                                   
msgseg                      26560        26560   Static    N/A          Number of Segments Available for Messages                                             
msgssz                        128          128   Static    N/A          Message Segment Size                                                                  
msgtql                       6640         6640   Static    N/A          Number of Message Headers                                                              
nbuf                            0            0   Static    N/A          Number of Buffer Cache Headers                                                         
ncallout                      680          680   Static    N/A          Max Number of Pending Timeouts                                                         
ncdnode                       150          150   Static    N/A          Max Number of Open CDFS Files                                                         
nclist                       3300         3300   Static    N/A          Number of cblocks for pty and tty Data Transfers                                       
ncsize                       8384         8384   Static    N/A          Directory Name Lookup Cache (DNLC) Space Needed for Inodes                             
ndilbuffers                    30           30   Static    N/A          Number of DIL Buffers                                                                  
nfile                       12008        12008   Static    N/A          Max Number of Open Files                                                               
nflocks                       664          664   Static    N/A          Max Number of File Locks                                                               
ninode                       7360         7360   Static    N/A          Max Number of Open Inodes                                                              
nkthread                     1178         1178   Static    N/A          Max Number of Kernel Threads Supported by the System                                   
no_lvm_disks                    0            0   Static    N/A          Boolean; Set Only If System Has No LVM Disks                                          
nproc                         664          664   Static    N/A          Max Number of Processes                                                               
npty                           60           60   Static    N/A          Number of ptys (Pseudo ttys)                                                           
nstrpty                        60           60   Static    N/A          Max Number of Streams-Based PTYs                                                      
nstrtel                       200          200   Static    N/A          Number of Telnet Session Device Files                                                  
nswapdev                       25           25   Static    N/A          Max Devices That Can be Enabled for Swap                                               
nswapfs                        10           10   Static    N/A          Max File Systems That Can be Enabled for Swap                                          
num_tachyon_adapters            0            0   Static    N/A          Number of Tachyon-based Fiber Channel Adapters in the System                           
o_sync_is_o_dsync               0            0   Static    N/A          Enable/Disable Translation of O_SYNC to O_DSYNC in open(2)/fcntl(2) Calls              
page_text_to_local              0            0   Static    N/A          Enable/Disable Swapping of Program Text Segments to Local Swap                        
pfdat_hash_locks              128          128   Static    N/A          Pfdat Spinlock Pool Size                                                               
public_shlibs                   1            1   Static    N/A          Public Shared Libraries                                                               
region_hash_locks             128          128   Static    N/A          Region Spinlock Pool Size                                                              
remote_nfs_swap                 0            0   Static    N/A          Enable Swapping Across NFS                                                            
rtsched_numpri                 32           32   Static    N/A          Number of POSIX.1b Realtime Priorities to Support                                      
scroll_lines                  100          100   Static    N/A          Number of ITE Off Screen Lines                                                         
scsi_max_qdepth                 8            8   Static    N/A          Maximum Number of SCSI Commands Queued Up For SCSI Devices                             
scsi_maxphys              1048576      1048576   Static    N/A          Maximum Record Size For SCSI I/O Subsystem, In Bytes                                   
sema                            1            1   Static    N/A          Enable Sys V Semaphores                                                               
semaem                      16384        16384   Static    N/A          Max Value for Adjust on Exit Semaphores                                                
semmap                       3322         3322   Static    N/A          Max Number of Semaphore Map Entries                                                   
semmni                       3320         3320   Static    N/A          Number of Semaphore Identifiers                                                        
semmns                       6640         6640   Static    N/A          Max Number of Semaphores                                                               
semmnu                        660          660   Static    N/A          Number of Semaphore Undo Structures                                                   
semume                         64           64   Static    N/A          Semaphore Undo Entries Per Process                                                     
semvmx                      32768        32768   Static    N/A          Semaphore Maximum Value                                                               
sendfile_max                    0            0   Static    N/A          Max No. of Buffer Cache Pages Usable by sendfile System Call                           
shmem                           1            1   Static    N/A          Enable Sys V Shared Memory                                                            
shmmax                 1073741824   1073741824   Static    N/A          Max Shared Mem Segment (Bytes)                                                         
shmmni                        512          512   Static    N/A          Number of Shared Memory Identifiers                                                   
shmseg                         32           32   Static    N/A          Shared Memory Segments Per Process                                                     
st_ats_enabled                  0            0   Static    N/A          Unknown                                                                                
st_fail_overruns                0            0   Static    N/A          Boolean; If Set, SCSI Tape Read Resulting In Data Overrun Causes Failure               
st_large_recs                   0            0   Static    N/A          Boolean; If Set, Enables Large Record Support For SCSI Tape                           
streampipes                     0            0   Static    N/A          Force All Pipes to be Streams-Based                                                   
swapmem_on                      0            0   Static    N/A          Allow Memory to Exceed Swap Space                                                      
swchunk                      2048         2048   Static    N/A          Swap Chunk Size (1K Blocks)                                                            
sysv_hash_locks               128          128   Static    N/A          System V IPC Spinlock Pool Size                                                        
tcphashsz                       0            0   Static    N/A          TCP Hash Table Size, in Bytes                                                         
timeslice                       1            1   Static    N/A          Scheduling Interval (10 mS Ticks)                                                      
timezone                      420          420   Static    N/A          Minutes West of Greenwich                                                              
unlockable_mem               2000         2000   Static    N/A          Non-Lockable Memory (4096-Byte Pages)                                                  
vnode_cd_hash_locks           128          128   Static    N/A          Vnode Clean/Dirty Spinlock Pool Size                                                   
vnode_hash_locks              128          128   Static    N/A          Vnode Spinlock Pool Size                                                               
vps_ceiling                    16           16   Static    N/A          Maximum System-Selected Page Size (in Kbytes)                                          
vps_chatr_ceiling           65536        65536   Static    N/A          Maximum chatr-Selected Page Size (in Kbytes)                                          
vps_pagesize                    4            4   Static    N/A          Default User Page Size (in Kbytes)                                                     
vx_ncsize                    1024         1024   Static    N/A          Directory Name Lookup Cache (DNLC) Space Needed for VxFS Inodes                        
vx_ninode                       0            0   Static    N/A          Maximum Number of Inodes In VxFS Inode Cache (0 = Tune According to Physical Memory)   
vx_noifree                      0            0   Static    N/A          Boolean; If Non-Zero, Memory Is Never Freed From VxFS Inode Cache                     
vxfs_max_ra_kbytes           1024         1024   Static    N/A          Maximum Amount of VxFS File System Read-Ahead Outstanding, in Kbytes                  
vxfs_ra_per_disk             1024         1024   Static    N/A          Amount of VxFS File System Read-Ahead, in Kbytes                                       


============================

LISTENER_N40002 =
  (ADDRESS = (PROTOCOL = TCP)(HOST = n4000a)(PORT = 1521))


LISTENER_N40001 =
  (ADDRESS = (PROTOCOL = TCP)(HOST = n4000b)(PORT = 1521))


INST1_HTTP =
  (DESCRIPTION =
    (ADDRESS_LIST =
      (ADDRESS = (PROTOCOL = TCP)(HOST = n4000b)(PORT = 1521))
    )
    (CONNECT_DATA =
      (SERVER = SHARED)
      (SERVICE_NAME = MODOSE)
      (PRESENTATION = http://HRService)
    )
  )

N4000 =
  (DESCRIPTION =
    (ADDRESS_LIST =
      (ADDRESS = (PROTOCOL = TCP)(HOST = n4000b)(PORT = 1521))
      (ADDRESS = (PROTOCOL = TCP)(HOST = n4000a)(PORT = 1521))
      (LOAD_BALANCE = yes)
    )
    (CONNECT_DATA =
      (SERVER = DEDICATED)
      (SERVICE_NAME = n4000)
    )
  )

EXTPROC_CONNECTION_DATA =
  (DESCRIPTION =
    (ADDRESS_LIST =
      (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
    )
    (CONNECT_DATA =
      (SID = PLSExtProc)
      (PRESENTATION = RO)
    )
  )

N40002 =
  (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = n4000a)(PORT = 1521))
    (CONNECT_DATA =
      (SERVICE_NAME = n4000)
      (INSTANCE_NAME = n40002)
    )
  )

N40001 =
  (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = n4000b)(PORT = 1521))
    (CONNECT_DATA =
      (SERVICE_NAME = n4000)
      (INSTANCE_NAME = n40001)
    )
  )

LISTENERS_N4000 =
  (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = n4000b)(PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = n4000a)(PORT = 1521))
  )

Resize of hp rac 安装过程.jpg (94.09 KB, 下载次数: 297)

Resize of hp rac 安装过程.jpg

论坛徽章:
0
3 [报告]
发表于 2003-06-30 23:16 |只看该作者

今天在hP unix 上安装RAC 成功了。

# **********************************************************************
# ********* HIGH AVAILABILITY CLUSTER CONFIGURATION FILE ***************
# ***** For complete details about cluster parameters and how to    ****
# ***** set them, consult the cmquerycl(1m) manpage or your manual. ****
# **********************************************************************

# Enter a name for this cluster.  This name will be used to identify the
# cluster when viewing or manipulating it.

CLUSTER_NAME                cluster1


# Cluster Lock Device Parameters.  This is the volume group that
# holds the cluster lock which is used to break a cluster formation
# tie.  This volume group should not be used by any other cluster
# as cluster lock device.

FIRST_CLUSTER_LOCK_VG                /dev/rac


# Definition of nodes in the cluster.
# Repeat node definitions as necessary for additional nodes.

NODE_NAME                n4000a
  NETWORK_INTERFACE        lan0
    HEARTBEAT_IP                192.168.100.115
  NETWORK_INTERFACE        lan1
    HEARTBEAT_IP                172.18.100.115
  FIRST_CLUSTER_LOCK_PV        /dev/dsk/c3t0d0
# List of serial device file names
# For example:
# SERIAL_DEVICE_FILE        /dev/tty0p0

# Warning: There are no standby network interfaces for lan0.
# Warning: There are no standby network interfaces for lan1.

NODE_NAME                n4000b
  NETWORK_INTERFACE        lan0
    HEARTBEAT_IP                192.168.100.116
  NETWORK_INTERFACE        lan1
    HEARTBEAT_IP                172.18.100.116
  FIRST_CLUSTER_LOCK_PV        /dev/dsk/c7t0d0
# List of serial device file names
# For example:
# SERIAL_DEVICE_FILE        /dev/tty0p0

# Warning: There are no standby network interfaces for lan0.
# Warning: There are no standby network interfaces for lan1.


# Cluster Timing Parmeters (microseconds).

HEARTBEAT_INTERVAL                1000000
NODE_TIMEOUT                2000000


# Configuration/Reconfiguration Timing Parameters (microseconds).

AUTO_START_TIMEOUT        600000000
NETWORK_POLLING_INTERVAL        2000000

# Package Configuration Parameters.
# Enter the maximum number of packages which will be configured in the cluster.
# You can not add packages beyond this limit.
# This parameter is required.
MAX_CONFIGURED_PACKAGES                1



# List of cluster aware Volume Groups. These volume groups will
# be used by package applications via the vgchange -a e command.
# For example:
# VOLUME_GROUP                /dev/vgdatabase.
# VOLUME_GROUP                /dev/vg02.


# List of OPS Volume Groups.
# Formerly known as DLM Volume Groups, these volume groups
# will be used by OPS cluster applications via
# the vgchange -a s command. (Note: the name DLM_VOLUME_GROUP
# is also still supported for compatibility with earlier versions.)
# For example:
# OPS_VOLUME_GROUP                /dev/vgdatabase.
# OPS_VOLUME_GROUP                /dev/vg02.

OPS_VOLUME_GROUP                /dev/rac


# DLM parameters.
# When using Oracle Parallel Server versions prior to 8.0, set
# DLM_ENABLED to YES, enter values for the other parameters as
# specified in your Oracle documentation, and set GMS_ENABLED to NO below.

DLM_ENABLED                        NO
DLM_CONNECT_TIMEOUT                30000000
DLM_PING_INTERVAL                20000000
DLM_PING_TIMEOUT                60000000
DLM_RECONFIG_TIMEOUT                300000000
DLM_COMMFAIL_TIMEOUT                270000000
DLM_HALT_TIMEOUT                240000000


# GMS parameters.
# When using Oracle Parallel Server version 8.0x or later, set
# DLM_ENABLED to NO above, set GMS_ENABLED to YES below, and
# enter values for the other parameters as specified in your
# Oracle documentation.

GMS_ENABLED                        NO
GMS_CONNECT_TIMEOUT                30000000
GMS_LOCATION                       
   
















连接 oracle 时,使用oem方式连接。会出现如下的图形。

Resize of n4000上的oracle RAC.jpg (46.9 KB, 下载次数: 261)

Resize of n4000上的oracle RAC.jpg

论坛徽章:
0
4 [报告]
发表于 2003-06-30 23:21 |只看该作者

今天在hP unix 上安装RAC 成功了。

cmruncl to start the cluster:

[ 本帖最后由 starmoon2003 于 2006-9-21 23:51 编辑 ]

Resize of oracle install example 02.jpg (77.59 KB, 下载次数: 244)

Resize of oracle install example 02.jpg

论坛徽章:
0
5 [报告]
发表于 2003-06-30 23:24 |只看该作者

今天在hP unix 上安装RAC 成功了。

.
·        Oracle9i Release Notes

[ 本帖最后由 starmoon2003 于 2006-9-21 23:50 编辑 ]

论坛徽章:
0
6 [报告]
发表于 2003-07-01 14:11 |只看该作者

今天在hP unix 上安装RAC 成功了。

感谢楼上,很有借鉴价值

论坛徽章:
0
7 [报告]
发表于 2003-07-01 23:59 |只看该作者

今天在hP unix 上安装RAC 成功了。

大家一起学习,,,,,

论坛徽章:
0
8 [报告]
发表于 2003-07-02 09:59 |只看该作者

今天在hP unix 上安装RAC 成功了。

哥们,把它整理成一安装实施报告,不就清爽多了吗:)

论坛徽章:
0
9 [报告]
发表于 2003-07-02 13:45 |只看该作者

今天在hP unix 上安装RAC 成功了。

没有时间,只有一点心情体会,同时可以支持那些在这方面要做工程技术人员一个参考的文件。

   如:当你做不下去时,你可以看一下,参考一下,我是如何做的。做完了,你就清楚了。

   如果写成一个安装文件。太没意思了,谁都想照着它去做。

    请问大家,不管从oracle ,cisco,hp,ibm所有的网站上,哪一个安装文件可以一步一步做下去,最后成功呢。

    没有。对吧,我本人也有个这方面的经验,所以可以说如果你按它们的安装文件去做,绝对做不成功。

论坛徽章:
0
10 [报告]
发表于 2003-07-02 15:44 |只看该作者

今天在hP unix 上安装RAC 成功了。

好文
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP