操作系统版本
# oslevel –s
6.1.0.0
更改系统参数
chdev -l sys0 -a ncargs=256
# sys0 changed
# chdev -l sys0 -a maxuproc=16384
sys0 changed
异步IO
# ioo -o aio_maxreqs
aio_maxreqs = 65536
物理内存
# /usr/sbin/lsattr -E -l sys0 -a realmem
realmem 2097152 Amount of usable physical memory in Kbytes False
换页空间
# lsps -a
Page Space Physical Volume Volume Group Size %Used Active Auto Type Chksum
hd6 hdisk0 rootvg 1536MB 1 yes yes lv 0
操作系统位数
网卡名称
# lsdev -Cc adapter
ent0 Available Virtual I/O Ethernet Adapter (l-lan)
pkcs11 Available PKCS#11 Device
vsa0 Available LPAR Virtual Serial Adapter
vscsi0 Available Virtual SCSI Client Adapter
查看占用组跟占用用户
# cat /etc/group
system:!:0:root,pconsole,esaadmin
staff:!:1:ipsec,esaadmin
bin:!:2:root,bin
sys:!:3:root,bin,sys
adm:!:4:bin,adm
uucp:!:5:uucp,nuucp
mail:!:6:
security:!:7:root
cron:!:8:root
printq:!:9:lp
audit:!:10:root
ecs:!:28:
nobody:!:4294967294:nobody,lpd
usr:!:100:guest
perf:!:20:
shutdown:!:21:
lp:!:11:root,lp
invscout:!:12:invscout
snapp:!:13:snapp
ipsec:!:200:
pconsole:!:14:pconsole
# cat /etc/passwd
root:!:0:0::/:/usr/bin/ksh
daemon:!:1:1::/etc:
bin:!:2:2::/bin:
sys:!:3:3::/usr/sys:
adm:!:4:4::/var/adm:
uucp:!:5:5::/usr/lib/uucp:
guest:!:100:100::/home/guest:
nobody:!:4294967294:4294967294::/:
lpd:!:9:4294967294::/:
lp:*:11:11::/var/spool/lp:/bin/false
invscout:*:6:12::/var/adm/invscout:/usr/bin/ksh
snapp:*:200:13:snapp login user:/usr/sbin/snapp:/usr/sbin/snappd
ipsec:*:201:1::/etc/ipsec:/usr/bin/ksh
nuucp:*:7:5:uucp login user:/var/spool/uucppublic:/usr/sbin/uucp/uucico
pconsole:*:8:0::/var/adm/pconsole:/usr/bin/ksh
esaadmin:*:10:0::/var/esa:/usr/bin/ksh
建立用户与组 修改密码
# mkgroup -'A' id='1000' adms='root' oinstall
# mkgroup -'A' id='1200' adms='root' dba
# mkuser id='1999' pgrp='oinstall' groups='dba' home='/home/oracle' fsize=-1 cpu=-1 data=-1 rss=-1 stack=-1 stack_hard=-1 oracle
# passwd oracle
Changing password for "oracle"
oracle's New password:
Enter the new password again:
验证限制
vi /etc/security/limits
*
* Sizes are in multiples of 512 byte blocks, CPU time is in seconds
*
* fsize - soft file size in blocks
* core - soft core file size in blocks
* cpu - soft per process CPU time limit in seconds
* data - soft data segment size in blocks
* stack - soft stack segment size in blocks
* rss - soft real memory usage in blocks
* nofiles - soft file descriptor limit
* fsize_hard - hard file size in blocks
* core_hard - hard core file size in blocks
* cpu_hard - hard per process CPU time limit in seconds
* data_hard - hard data segment size in blocks
* stack_hard - hard stack segment size in blocks
* rss_hard - hard real memory usage in blocks
* nofiles_hard - hard file descriptor limit
*
* The following table contains the default hard values if the
* hard values are not explicitly defined:
*
* Attribute Value
* ========== ============
* fsize_hard set to fsize
* cpu_hard set to cpu
* core_hard -1
* data_hard -1
* stack_hard 8388608
* rss_hard -1
* nofiles_hard -1
*
* NOTE: A value of -1 implies "unlimited"
*
default:
fsize = -1
core = -1
cpu = -1
data = -1
rss = -1
stack = -1
nofiles = -1
guest:
nobody:
lpd:
pconsole:
stack_hard = 131072
data = 1280000
data_hard = 1280000
esaadmin:
stack = 393216
stack_hard = 393216
oracle:
fsize = -1
cpu = -1
data = -1
rss = -1
stack = -1
stack_hard = -1
# ulimit -a
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) unlimited
stack(kbytes) 4194304
memory(kbytes) unlimited
coredump(blocks) unlimited
nofiles(descriptors) unlimited
threads(per process) unlimited
processes(per user) unlimited
查看软件包
lslpp -l bos.adt.base bos.adt.lib bos.adt.libm bos.perf.perfstat \
bos.perf.libperfstat bos.perf.proctools \
rsct.basic.rte rsct.compat.clients.rte xlC.aix61.rte
bos.adt.base 6.1.8.15 COMMITTED Base Application Development
Toolkit
bos.adt.lib 6.1.8.0 COMMITTED Base Application Development
Libraries
bos.adt.libm 6.1.8.0 COMMITTED Base Application Development
Math Library
bos.perf.perfstat 6.1.8.15 COMMITTED Performance Statistics
Interface
Path: /etc/objrepos
bos.adt.base 6.1.8.15 COMMITTED Base Application Development
Toolkit
bos.perf.perfstat 6.1.8.15 COMMITTED Performance Statistics
Interface
OS Kernel Parameters的警告可以通过以下的命令解除:
/usr/sbin/no -a | fgrep ephemeral
tcp_ephemeral_low = 32768
tcp_ephemeral_high = 65535
udp_ephemeral_low = 32768
udp_ephemeral_high = 65535
no -p -o tcp_ephemeral_low=9000
no -p -o tcp_ephemeral_high=65500
no -p -o udp_ephemeral_low=9000
no -p -o udp_ephemeral_high=65500
建立软件相关目录
编辑oracle的.profile
export ORACLE_BASE=/home/oracle/app/oracle
export ORACLE_HOME=$ORACLE_BASE/product/11.2/db_1
export ORACLE_SID=rodman
export PATH=$ORACLE_HOME/bin:$ORACLE_HOME/OPatch:$PATH
export NLS_LANG=AMERICAN_AMERICA.ZHS16GBK
export DISPLAY=192.168.205.40:0.0(客户端的IP)
. ./.profile 重新编译文件
vi.dtprofile 进入图形界面,编辑文件
. /etc/profile
DTSOURCEPROFILE=true
. ./.dtprofile 重新编译文件,退出重新登录
Echo $ORACLE_SID 如果出现了oracle91用户的环境变量,表示成功
解压软件
$ find / -name jar 2>>/dev/null
/usr/java5/bin/jar
/usr/java5_64/bin/jar
/usr/java6/bin/jar
$ /usr/java5_64/bin/jar -xvf /home/soft/p13390677_112040_AIX64-5L_1of7.zip
$ /usr/java5_64/bin/jar -xvf /home/soft/p13390677_112040_AIX64-5L_2of7.zip
调图形
ps –ef | grep dt 查询dt进程是否存在
./dtconfig –kill or kill -9 ID 杀掉dt进程
/etc/rc.dt 重新启动dt进程
1、检查防火墙端口开了没。
2、使用xmanager,打开xmanager-Passive
3、服务端配置DISPLAY=客户端的ip:0.0
直接调图形界面。
hp下测试后,用xclock测试时,调不出图形,但是dbca时可以出来。
host +
export DISPLAY=192.168.205.40:0.0
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/30491527/viewspace-1982906/
,如需转载,请注明出处,否则将追究法律责任。