1) 支持的版本:
HP-UX 11i and HP-UX 11i v2 for PARISC(32位 及 64位)
HP-UX 11i v2 for Itanium2((32位 及 64位))# uname -a
可查看 Kernel版本#top
查看CPU个数的命令查询内存和平台位数(32位还是64位)
#getconf KERNEL_BITS(11.00以上版本,可用)
#glance –m(查看内存)
#sam(System Administration Manager)
# dmesg | grep –i Physical
2) 安装前检查
a) 系统参数设置调整(sam)
semmns 是系统内系统用户可用的IPC信号总数。
设置为大于或者等于4096(或8192等,推荐公式SEMMNS=SEMMNU=(SEMMNI * SEMMSL)
shmmax 最大的共享内存段,以字节为单位,一般设置为内存的实际大小64位机上检测目录是否支持大文件系统(如果要设置DataStore大于2G,就必须设置大文件系统):
#fsadm -F vxfs /dir_name
设置大文件系统
#/usr/sbin/fsadm -F xvfs -o largefiles /dir_nameb) 目录,用户及组
增加组TimesTen(也可通过sam):
#groupadd –g GID TimesTen
说明:GID代表创建组的ID,一般大于500增加用户timesten并加入到sys,TimesTen组中:
#useradd -u 203 -g TimesTen -G sys –d /tt60install/TimesTen timesten相关目录:
# mkdir /etc/TimesTen
# chmod 775 /etc/TimesTen
# chgrp –R TimesTen /etc/TimesTen
#chown –R timesten:TimesTen /etc/TimesTen/*root 用户执行*/
# setprivgrp TimesTen MLOCK使TimesTen随机子的启动而自动启动,以root用户运行
$TimesTen_Insatallation/bin/setuproot配置profile文件:
Path=%Path: $TimesTen_Installation/bin:.
LD_LIBRARY_PATH=$TimesTen_Installation/lib:$Oracle_Home/lib
/*如果是64位的,一定要注意是否是$Oracle_Home/lib64 */
c) 如果要使用Cache Connect,要在安装timesten的机子上安装oracle 客户端并配置好相关的LD_LIBRARY_PATH参数d) Replication设置
For replication, TCP send and receive buffers should be increased to a minimum of 512KB. You may need to embed the following commands
into a script that can be run at system BOOT time:
For HP-UX 11i, 11.23 (11iv2)
# /usr/bin/ndd -set /dev/tcp tcp_xmit_hiwater_lfp 524288
# /usr/bin/ndd -set /dev/tcp tcp_recv_hiwater_lfp 524288
# /usr/bin/ndd -set /dev/tcp tcp_xmit_hiwater_lnp 524288
# /usr/bin/ndd -set /dev/tcp tcp_recv_hiwater_lnp 524288
# /usr/bin/ndd -set /dev/tcp tcp_xmit_hiwater_max 524288
# /usr/bin/ndd -set /dev/tcp tcp_recv_hiwater_max 524288
3) 缺省的设置:
install_dir/info/sys.odbc.ini 或/var/TimesTen/sys.odbc.ini
temporary directory: /var/tmp(可通过TMPDIR设置)日志信息
/var/adm/syslog/syslog.log/*端口可通过ttmodinstall -port 12345修改*/
Server端口:16001
Tcp/IP端口:16002(32-bits);16003(64-bits)
4) 卸载:
/opt/TimesTen/tt60/bin/setup.sh -uninstall.(注意不要是当前目录)
5) 其它配置及注意:
64位机上 运行Java时要加上 –D64 参数,如:
java -d64 TTJdbcExamples RunData_tt60
文章 (RSS)