当前位置:首页 » 软件开发
开发技术指南» 文章正文
    引言: 在Solaris中安装VeritasDBACforOracleRAC 一、 安装Solaris98/03版本,由于该版本是Solaris操作系统的最新版,所以不需要在安装补丁程序。
 

 

    摘要: 周一上班,发现根分区已经满。而周五还有3g的空间剩余的。 本周末并未做特别的事,只是每周例行的oracle 热备忘记了放入磁盘,导致tar 到磁带时报错。 难道会因为这个导致根分区消耗掉3g?我觉得不太可能! 从正常的整个文件系统目录(除proc之外)所占的空间来看,并未有任何异常。而/tmp也并没有占用多少。 我真的晕菜了,有没有高手见过类似情况啊,指点指点吧! 先谢了。 ......
    摘要: 今天是元霄节,窗外鞭炮声此起彼伏,不时打断看书的我去看那漂亮的烟花,整个杭州城笼罩在一种祥和的元宵气氛中!下面是sa-119中的最后三章内容笔记,由于感觉最后三章内容比较简单,所以笔记也相对少了点。 十、远程登陆和文件传输 注意:若系统没有运行名称服务,则host名和ip地址应该存于/etc/inet/hosts文件中;若远程登陆用户在远程系统中无用户home目录,则/(root)目录自动......


原创:Oracle RAC on Veritas DBE/AC(Step by Step)

在solaris中安装veritas dbac for oracle rac 【程序编程相关:问个简单的问题,怎样能够取到文件的中间部

【推荐阅读:设置不标准子网的问题

【扩展信息:如何bundle多个depot文件,创建

一. 安装solaris 9 8/03版本,由于该版本是solaris操作系统的最新版,所以不需要在安装补丁程序.

二. 使用sun公司发布的补丁盘,安装sunwsan软件包与补丁包

三. 为要安装oracle rac的sun v880设置好网络

主机a:

机器名:rac1

           网卡 eri0:192.0.0.101/255.255.255.0  用于做心跳网卡2

网卡 ge0:192.0.1.101/255.255.255.0  用于做心跳网卡1

网卡 ce0:172.39.199.101/255.255.255.0  用于做对外服务网卡

主机a具体配置文件如下:

l /etc/hosts文件的内容:

#

# internet host table

#

127.0.0.1 localhost

192.168.0.101 rac1 loghost a.b

192.168.0.102 rac2

192.168.1.101 rac1-ge0

172.39.199.101 rac1-ce0

l /etc/netmasks文件的内容

#

# the netmasks file associates internet protocol (ip) address

# masks with ip network numbers.

#  network-number netmask

#

# the term network-number refers to a number obtained from the internet network

# information center.  currently this number is restricted to being a class

# a, b, or c network number.  in the future we should be able to support

# arbitrary network numbers per the classless internet domain routing

# guidelines.

#

# both the network-number and the netmasks are specified in

# "decimal dot" notation, e.g:

#

#  128.32.0.0 255.255.255.0

#

192.168.0.0 255.255.255.0

172.39.199.0 255.255.255.0

l /etc/hostname.eri0文件的内容:

rac1

l /etc/hostname.ge0文件的内容:

rac1-ge0

l /etc/hostname.ce0文件的内容:

rac1-ce0

l /etc/hosts.equiv文件的内容:

+

l /etc/notrouter文件是一个空文件

l /etc/defaultrouter文件的内容

172.16.199.254

l /.rhosts文件的内容

rac1

rac2

主机b:

机器名:rac2

           网卡 eri0:192.0.0.102/255.255.255.0  用于做心跳网卡2

网卡 ge0:192.0.1.102/255.255.255.0  用于做心跳网卡1

网卡 ce0:172.39.199.102/255.255.255.0  用于做对外服务网卡

具体配置文件如下:

l /etc/hosts文件的内容:

#

# internet host table

#

127.0.0.1 localhost

192.168.0.102 rac2 loghost a.b

192.168.0.101 rac1

192.168.1.102 rac2-ge0

172.39.199.102 rac2-ce0

l /etc/netmasks文件的内容

#

# the netmasks file associates internet protocol (ip) address

# masks with ip network numbers.

#  network-number netmask

#

# the term network-number refers to a number obtained from the internet network

# information center.  currently this number is restricted to being a class

# a, b, or c network number.  in the future we should be able to support

# arbitrary network numbers per the classless internet domain routing

# guidelines.

#

# both the network-number and the netmasks are specified in

# "decimal dot" notation, e.g:

#

#  128.32.0.0 255.255.255.0

#

192.168.0.0 255.255.255.0

172.39.199.0 255.255.255.0

l /etc/hostname.eri0文件的内容:

rac2

l /etc/hostname.ge0文件的内容:

rac2-ge0

l /etc/hostname.ce0文件的内容:

rac2-ce0

l /etc/hosts.equiv文件的内容:

+

l /etc/notrouter文件是一个空文件

l /etc/defaultrouter文件的内容

172.16.199.254

l /.rhosts文件的内容

rac1

rac2

四. 为两台主机的超级用户加上如下环境变量

l 在文件/.profile中加上以下内容

path=/sbin:/usr/sbin:/usr/bin:/usr/lib/vxvm/bin:/usr/lib/fs/vxfs:/opt/vrtsvxfs/sbin:\

/opt/vrtsvcs/bin:/opt/vrtsvcs/rac/bin:/opt/vrtsob/bin:$path

 export path

manpath=/usr/share/man:/opt/vrts/man

export manpath

五. 使用超级用户的身份登录到系统rac1上,将veritas dbe/ac for oracle9i rac software介质放入rac1的cdrom中,等待一会后,运行veritas安装脚本.

以下黑体字部分是安装时需要输入的信息,采用c语言的注释方法进行中文说明.

# cd /cdrom/database_ac_for_oracle9i

# ./installdbac       

/* 运行dbac的安装脚本 */

enter the names of the systems on which vcs is to be installed

separated by spaces (example: system1 system2): rac1 rac2  

/* 以上是输入集群的所有主机名,主机名之间用空格分开 */

analyzing . . .

/*系统开始检查与分析:1.是否有足够的磁盘空间来安装软件包2.sunwsan软件包与其补丁是否已经安装3.用户是否具有超级用户的权限4.系统是否已经安装了vrtsvlic软件包,如果没有的话,就将该软件包安装在系统上*/

you do not have a database edition for advanced cluster license installed on rac1.

do you want to add a license key for this product on rac1 ?[y/n](y) y

enter your license key : xxxx-xxxx-xxxx-xxxx-xxxx-xxx

registering license for rac1.

you do not have a database edition for advanced cluster license installed on rac2.

do you want to add a license key for this product on rac2 ?[y/n](y) y

enter your license key : xxxx-xxxx-xxxx-xxxx-xxxx-xxx


...   下一页
 ·ftp使用经典 zt    »显示摘要«
    摘要: ftp命令是internet用户使用最频繁的命令之一,不论是在dos还是unix操作系统下使用ftp,都会遇到大量的ftp内部命令。 熟悉并灵活应用ftp的内部命令,可以大大方便使用者,并收到事半功倍之效。 ftp的命令行格式为: ftp -v -d -i -n -g [主机名] ,其中 -v 显示远程服务器的所有响应信息; -n 限制ftp的自动登录,即不使用; .n etr......
» 本期热门文章:

©2000-2007 All Rights Reserved. 最佳浏览:1024X768 MSIE