动态网站制作指南 [  QQ表情  ]
[ 投票调查 ]
[ 企业邮箱 ]
[ 网站空间 ]
网络编程 | 站长之家 | 网页制作 | 图形图象 | 操作系统 | 冲浪宝典 | 软件教学 | 网络办公 | 邮件系统 | 网络安全 | 认证考试 | 系统进程
ASP源码 | .Net源码 | PHP源码 | JSP源码 | JAVA源码 | CGI源码 | VB源码 | C++源码 | Delphi源码 | PB源码 | VF源码 | 汇编 | 服务器
电脑书籍下载:程序设计书籍 | 数据库教程书籍 | 平面与多媒体书籍 | 网络通讯书籍 | 系统管理书籍 | 网络安全书籍 | 认证考试书籍
Firefox | IE | Maxthon | 迅雷 | 电驴 | BitComet | FlashGet | QQ | QQ空间 | Vista | 输入法 | Ghost | Word | Excel | wps | Powerpoint
asp | .net | php | jsp | Sql | c# | Ajax | xml | Dreamweaver | FrontPages | Javascript | css | photoshop | fireworks | Flash | Cad | Discuz!
当前位置 > 网站建设学院 > 网络编程 > Java教程
Tag:注入,存储过程,分页,安全,优化,xmlhttp,fso,jmail,application,session,防盗链,stream,无组件,组件,md5,乱码,缓存,加密,验证码,算法,cookies,ubb,正则表达式,水印,索引,日志,压缩,base64,url重写,上传,控件,Web.config,JDBC,函数,内存,PDF,迁移,结构,破解,编译,配置,进程,分词,IIS,Apache,Tomcat,phpmyadmin,Gzip,触发器,socket
网络编程:ASP教程,ASP.NET教程,PHP教程,JSP教程,C#教程,数据库,XML教程,Ajax,Java,Perl,Shell,VB教程,Delphi,C/C++教程,软件工程,J2EE/J2ME,移动开发
文章搜索服务
邮件订阅
输入你的邮件地址,
你将不会错过任何关于:
[ Java教程 ]的信息



本月文章推荐
.Java基本语法(二)——变量和常.
.Spring 编程入门十大问题解答.
.X3D实战基础讲座之六.
.Effective java学习笔记5:消除对.
.Struts框架基础篇.
.深入浅出Java的访问者模式.
.Java入门知识.
.SWT:实现自我绘制的Button组件.
.嵌入式开发技术前沿:仔细研究J2.
.在Oracle快速进行数据行存在性检.
.[Portal参考手册]Portlet持久化.
.怎样设计合适的接口.
.httpclient3.0 上传文件名及fiel.
.使toString() 的创建自动化.
.关于多线程.
.Java高级编程——泛型类型第一部.
.setMinutes 方法.
.详细的 spring 入门实例讲解运用.
.JAVA基本名词解释.
.Java新手常犯的几种错误.

Oracle RAC on Sun Cluster 3.1(step by step)

发表日期:2008-1-5 |



  软件要求:
    Solaris 9
    Sun Cluster 3.1
    Veritas VxVM 3.5(需要VxVM的License和Cluster Volume Manager(CVM)的License )
    Oracle 9i Enterprise Edition
    Sun 3310阵列驱动
  
  硬件要求:
    Sun 480       两台
    Sun QFE四口网卡   2块
    Sun SCSI卡X6758A   2块
    Sun 3310阵列     2台
  
  一、安装硬件
  
  二、配置阵列3310,要求如下:
  
     要求如下:
     两台都一样
  
     c2t5d0   quorum盘  512M
     c2t5d1   ora-rac-dg Log盘  256M
     c2t5d2   ora-rac-dg 盘   140G
     c2t5d3   ora-arc-dg Log盘  256M
     c2t5d4   ora-arc-dg 盘   剩下的空间
     c3t5d0   quorum盘  512M
     c3t5d1   ora-rac-dg Log盘  256M
     c3t5d2   ora-rac-dg 盘   140G
     c3t5d3   ora-arc-dg Log盘  256M
     c3t5d4   ora-arc-dg 盘   剩下的空间
  
  三、安装操作系统
  以Sun 480 36G硬盘为例,分区如下:
  # format
  Searching for disks...done
  
  
  AVAILABLE DISK SELECTIONS:
      0. c1t0d0 <SUN36G cyl 24620 alt 2 hd 27 sec 107>
       /pci@9,600000/SUNW,qlc@2/fp@0,0/ssd@w2100000c50695b66,0
      1. c1t1d0 <SUN36G cyl 24620 alt 2 hd 27 sec 107>
       /pci@9,600000/SUNW,qlc@2/fp@0,0/ssd@w2100000c50695de5,0
  Specify disk (enter its number): 0
  selecting c1t0d0
  [disk formatted]
  Warning: Current Disk has mounted partitions.
  
  format> p
  partition> p
  Current partition table (original):
  Total disk cylinders available: 24620 + 2 (reserved cylinders)
  
  Part   Tag  Flag   Cylinders     Size      Blocks
   0    root  wm  5808 - 13067    10.00GB  (7260/0/0) 20974140
   1    var  wm  13068 - 14519    2.00GB  (1452/0/0)  4194828
   2   backup  wm    0 - 24619    33.92GB  (24620/0/0) 71127180
   3    swap  wu    0 - 5807    8.00GB  (5808/0/0) 16779312
   4 unassigned  wm    0        0     (0/0/0)      0
   5 unassigned  wm  14520 - 21779    10.00GB  (7260/0/0) 20974140
   6 unassigned  wm  21780 - 22142   512.06MB  (363/0/0)  1048707
   7 unassigned  wm    0        0     (0/0/0)      0
  
  四、给操作系统打补丁(采用最新的补丁盘)
    # cd /cdrom/eis-cd/sun/install
    # ./setup-standard.sh
  
    # cd /cdrom/eis-cd/sun/patch/9
    # ../../install/bin/unpack_patches
  
    # cd /tmp/9
    # eject cdrom
    # ./install_all_patches
  
  五、安装3310的驱动和补丁
  # ls
  112697-04 SUNWqus  SUNWqusu  SUNWqusux SUNWqusx
  # pkgadd -d . all
  (一路yes即可)
  # patchadd 112697-04
  
  在文件/etc/kernel/sd.conf文件中加入如下几行:
  name="sd" class="scsi" target=5 lun=0;
  name="sd" class="scsi" target=5 lun=1;
  name="sd" class="scsi" target=5 lun=2;
  name="sd" class="scsi" target=5 lun=3;
  name="sd" class="scsi" target=5 lun=4;
  
  # reboot
  
  重起后,使用format命令检查磁盘阵列的配置是否正确。
  # format
  Searching for disks...done
  
  c2t5d0: configured with capacity of 510.00MB
  c2t5d1: configured with capacity of 254.00MB
  c2t5d2: configured with capacity of 136.71GB
  c2t5d3: configured with capacity of 254.00MB
  c2t5d4: configured with capacity of 66.62GB
  c3t5d0: configured with capacity of 510.00MB
  c3t5d1: configured with capacity of 254.00MB
  c3t5d2: configured with capacity of 136.71GB
  c3t5d3: configured with capacity of 254.00MB
  c3t5d4: configured with capacity of 66.62GB
  
  AVAILABLE DISK SELECTIONS:
      0. c1t0d0 <SUN36G cyl 24620 alt 2 hd 27 sec 107>
       /pci@9,600000/SUNW,qlc@2/fp@0,0/ssd@w2100000c5069619e,0
      1. c1t1d0 <SUN36G cyl 24620 alt 2 hd 27 sec 107>
       /pci@9,600000/SUNW,qlc@2/fp@0,0/ssd@w2100000c50695ef2,0
      2. c2t5d0 <SUN-StorEdge3310-0325 cyl 510 alt 2 hd 64 sec 32>
       /pci@8,700000/pci@3/scsi@4/sd@5,0
      3. c2t5d1 <SUN-StorEdge3310-0325 cyl 254 alt 2 hd 64 sec 32>
       /pci@8,700000/pci@3/scsi@4/sd@5,1
      4. c2t5d2 <SUN-StorEdge3310-0325 cyl 35273 alt 2 hd 127 sec 64>
       /pci@8,700000/pci@3/scsi@4/sd@5,2
      5. c2t5d3 <SUN-StorEdge3310-0325 cyl 254 alt 2 hd 64 sec 32>
       /pci@8,700000/pci@3/scsi@4/sd@5,3
      6. c2t5d4 <SUN-StorEdge3310-0325 cyl 34112 alt 2 hd 64 sec 64>
       /pci@8,700000/pci@3/scsi@4/sd@5,4
      7. c3t5d0 <SUN-StorEdge3310-0325 cyl 510 alt 2 hd 64 sec 32>
       /pci@8,700000/pci@3/scsi@5/sd@5,0
      8. c3t5d1 <SUN-StorEdge3310-0325 cyl 254 alt 2 hd 64 sec 32>
       /pci@8,700000/pci@3/scsi@5/sd@5,1
      9. c3t5d2 <SUN-StorEdge3310-0325 cyl 35273 alt 2 hd 127 sec 64>
       /pci@8,700000/pci@3/scsi@5/sd@5,2
     10. c3t5d3 <SUN-StorEdge3310-0325 cyl 254 alt 2 hd 64 sec 32>
       /pci@8,700000/pci@3/scsi@5/sd@5,3
     11. c3t5d4 <SUN-StorEdge3310-0325 cyl 34112 alt 2 hd 64 sec 64>
       /pci@8,700000/pci@3/scsi@5/sd@5,4
  Specify disk (enter its number): 0
  selecting c1t0d0
  [disk formatted]
  Warning: Current Disk has mounted partitions.
  
  format> q
  
  六、配置/etc/hosts文件和/.profile文件
  rac1:
  root@rac1 # cat /etc/hosts
  #
  # Internet host table
  #
  127.0.0.1    localhost
  192.168.0.201  rac1  loGhost a.b
  192.168.0.202  rac2
  
  在/.profile文件中加入以下内容:
  
  PATH=$PATH:/usr/cluster/bin:/etc/vx/bin
  eXPort PATH
  MANPATH=$MANPATH:/usr/cluster/man:/usr/share/man:/opt/VRTS/man
  export MANPATH
  
  rac2:
  root@rac2 # cat /etc/hosts
  #
  # Internet host table
  #
  127.0.0.1    localhost
  192.168.0.202  rac2  loghost a.b
  192.168.0.201  rac1
  在/.profile文件中加入以下内容:
  
  PATH=$PATH:/usr/cluster/bin:/etc/vx/bin
  export PATH
  MANPATH=$MANPATH:/usr/cluster/man:/usr/share/man:/opt/VRTS/man
  export MANPATH
  
  七、安装Sun Cluster 3.1,并打Sun Cluster 3.1的补丁
  建立主节点:
  
  # cd /opt/suncluster_3_1/SunCluster_3.1/Sol_9/Tools
  # ./scinstall
   *** Main Menu ***
  
    Please select from one of the following (*) options:
  
     * 1) Establish a new cluster using this machine as the first node
     * 2) Add this machine as a node in an established cluster
      3) Configure a cluster to be JumpStarted from this install server
      4) Add support for new data services to this cluster node
      5) Print release information for this cluster node
  
     * ?) Help with menu options
     * q) Quit
  
    Option:1
  
   *** Establishing a New Cluster ***
  
  
    This option is used to establish a new cluster using this machine as the first node in that cluster.
  
    Once the cluster framework software is installed, you will be asked for the name of the cluster. Then, sccheck(1M) is run to test this machine for basic Sun Cluster pre-configuration requirements.
  
    After sccheck(1M) passes, you will be a
上一篇:IBM 关于 数据验证 和 异常处理的一些文章 人气:323
下一篇:准备SCJP的时候做的一些笔记 人气:325
浏览全部Java的内容 Dreamweaver插件下载 常用网页广告代码全集
  最新网站源码 最新软件下载
2008-7-24 Sablog-X v2.0 预览版
2008-7-24 帝国备份王EmpireBak 2008 正式版
2008-7-24 网趣网上购物系统时尚版 v8.2
2008-7-24 纵横B2B电子商务系统XYECS!B2B v
2008-7-24 e路小说小偷 v1.2.0723
2008-7-24 凌风美女图片站程序 v2.2
2008-7-24 TOM15电影收索程序
2008-7-24 清风信息自动采集生成系统 v1.0
2008-7-24 QQ邮箱编辑器 v1.0 (小小菜刀ASP
2008-7-19 UltraEdit 简体中文增强版 14.10
2008-7-19 CentOS 5.2 i386 LiveCD
2008-7-19 Snapture多功能相机 v1.4
2008-7-19 iAcces中文输入法 v1.0Build016
2008-7-19 Cookbook烹饪秘籍 v2.5
2008-7-19 苹果专用DVD转换工具 v1.1.59汉化
2008-7-19 Modem修复软件ZiPhone修改版04.0
2008-7-19 AgileMessenger即时通讯工具美化
2008-7-19 Sketches画图软件 v0.7b6破解版


  发表评论
姓 名: 验证码:
内 容:
[ 汉字翻译拼音 ] [ 广告代码 ] [ 符号对照表 ] [ 进制转换 ] [ 经典小工具 ] [ 个税计算 ] [ 汉字简繁转换 ] [ 普通单位换算 ] [ 公制单位换算 ]
[ 生辰老黄历 ] [ 国内电话区号 ] [ 国家代码与域名缩写 ] [ 文字加密解密 ] [ 健康查询 ] [ 万年历 ] [ 手机号码查询 ] [ ip搜索 ] [ Google PR查询 ]
业务联系 | 广告刊登 | 频道合作 | 投稿荐稿 | 联系方式 | 加入收藏 | RSS订阅
Copyright © 2000-2008 www.knowsky.com All rights reserved | 网络实名:动态网站制作指南 | 沪ICP备05001343号
ホームページ制作 不動産検索システム 求人情報
防水工事·改修工事 フットサル大会 探偵