摘要:
i.[b:1c511aa29d]从源码安装tomcat 5[/b:1c511aa29d]
1.jdk安装及设定
(1)使用solaris 9自带的jdk
[code:1:1c511aa29d]
# java -version
java version "1.4.1_02a"
java(tm) 2 runtime environment, standard......
摘要:
solaris9 x86以其可靠、安全、高可用性以及低廉的价格(对非商业用途免费),吸引着越来越多的用户。
近日,笔者在安装solaris9 x86时,碰到一些问题,经过一番周折,终于解决了这些问题。本文将介绍这些问题的解决方法,以供大家参考。抛砖引玉啦!
测试环境:
笔者测试的安装环境是toshiba satellite pro m10笔记本以及dell gx110 desktop。软件是......
原创:Oracle RAC on Sun Cluster 3.1(step by step)
软件要求:
【程序编程相关:
如何bundle多个depot文件,创建】 【推荐阅读:
问个简单的问题,怎样能够取到文件的中间部】 solaris 9
【扩展信息:
请求:MirrorDisk的配置方法】 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 asked for the names of the
other nodes which will initially be joining that cluster. in
addition, you will be asked to provide certain cluster transport
configuration information.
press ctrl-d at any time to return to the main menu.
do you want to continue (yes/no) [yes]?
>>> software package installation <<<
installation of the sun cluster framework software packages will take
a few minutes to complete.
is it okay to continue (yes/no) [yes]?
** installing suncluster 3.1 framework **
sunwscr.....done
sunwscu.....done
sunwscnm....done
sunwscdev...done
sunwscgds...done
sunwscman...done
sunwscsal...done
sunwscsam...done
sunwscvm....done
sunwmdm.....done
sunwscva....done
sunwscvr....done
sunwscvw....done
sunwfsc.....done
sunwfscvw...done
sunwjsc.....done
sunwjscman..done
sunwjscvw...done
sunwkscvw...done
sunwcsc.....done
sunwcscvw...done
sunwhscvw...done
hit enter to continue:
>>> cluster name <<<
each cluster has a name assigned to it. the name can be made up of
any characters other than whitespace. it may be up to 256 characters
in length. and, you may want to assign a cluster name which will be
the same as one of the failover logical host names in the cluster.
create each cluster name to be unique within the namespace of your
enterprise.
what is the name of the cluster you want to establish? testrac
>>> check <<<
this step runs sccheck(1m) to verify that certain basic hardware and
software pre-configuration requirements have been met. if sccheck(1m)
detects potential problems with configuring this machine as a cluster
node, a list of warnings is printed.
hit enter to continue:
running sccheck ... done
all sccheck tests passed.
hit enter to continue:
>>> cluster nodes <<<
this release of sun cluster supports a total of up to 16 nodes.
please list the names of the other nodes planned for the initial
cluster configuration. list one node name per line. when finished,
type control-d:
node name:rac2
node name (ctrl-d to finish): ^d
this is the complete list of nodes:
rac1
rac2
is it correct (yes/no) [yes]?
>>> authenticating requests to add nodes <<<
once the first node establishes itself as a single node cluster,
other nodes attempting to add themselves to the cluster configuration
must be found on the list of nodes you just provided. the list can be
modified once the cluster has been established using scconf(1m) or
other tools.
by default, nodes are not securely authenticated as they attempt to
add themselves to the cluster configuration. this is generally
considered adequate, since nodes which are not physically connected
to the private cluster interconnect will never be able to actually
join the cluster. however, des authentication is available. if des
...
下一页 摘要:
我装的是sunray server 2.0 以下是简略配置
1, 解压ssrc.zip文件 unzip ssrc.zip
2, 在同一目录下有srss20的文件夹,进入该文件夹
3, 运行安装文件 ./utinstall
4, 安装过程中会要你选择安装web页管理语言,有japanese french chinese, 根据需要选择安装。
5, 进入安装状态,需要十几分钟
6, 安装完成之后......