当前位置:首页 > AIX基础培训教材
AIX培训资料
4./etc/environment
此文件主要设置系统的时区,查询路径,语言等变量
$cat /etc/ environment
################################################################ # System wide environment file. This file should only contain # 1. comment lines which have a # in the first column, # 2. blank lines, and # 2. blank lines, and
# 3. Lines in the form name=value. #
# WARNING: This file is only for establishing environment variables. # Execution of commands from this file or any lines other # than specified above may cause failure of the initialization # process. #
# Searching the current directory last is usually a BIG time saver. # If /usr/ucb is at the beginning of the PATH the BSD version of commands will # be found. #
PATH=/usr/bin:/etc:/usr/sbin:/usr/ucb:/usr/bin/X11:/sbin TZ=TAIST-8TAIDT
中联集团
第25页
AIX培训资料
LANG=en_US
LOCPATH=/usr/lib/nls/loc
NLSPATH=/usr/lib/nls/msg/%L/%N:/usr/lib/nls/msg/%L/%N.cat LC__FASTMSG=true
# the default is /etc/objrepos - this is where the device objects # reside, which are required for hardware configuration
ODMDIR=/etc/objrepos 5. $HOME/.profile
此文件主要设置用户登录后, 个人的系统环境,可以根据自身的需要设置
$cat .profile
PATH=/bin:/usr/bin:/etc:$HOME/bin:. PS1=’$PWD $’
if [ -s “$MAIL” ] then
echo “$MAILMSG” fi
export PATH PS1 ENV
中联集团
第26页
AIX培训资料
ENV=”$HOME/.kshrc” 6. $HOME/.kshrc
此文件执行的频率较.profile更高, 每进入一次子SHELL都运行
$cat $HOME/.kshrc
set –o vi
#set up a few aliases alias l=’ls –l’ alias p=’ps –f’ alias up=’cd ..’ .
中联集团
第27页
AIX培训资料
第六节 HACMP的基本概念和操作
1. IBM HACMP简介
HACMP是IBM公司在多机环境下提供高可用性和快速恢复的软件,它采用了最先进的分布式计算技术和集群技术,并且融入了IBM公司在大型机设计中的经验,提供了防止系统因单点故障而停机的解决方案。
HACMP充分利用了RS/6000先进技术,包括日志文件系统、逻辑卷管理等,使系统恢复得到有力的保证。作为集群系统的HACMP,它定义了一个集群(Cluster),目前在一个增强型的集群中最多允许有32个RS/6000节点系统组成,集群中的节点共享磁盘阵列和网络子系统,当集群中的某一个或多个节点发生故障时,集群中其它正常工作的节点将按照集群系统的配置要求,透明地接管故障节点的工作。
2.HACMP的组成结构
作为高可用的集群多处理系统,在硬件上看,主要由RS/6000节点机子系统、节点机间互连的网络子系统、节点机共享连接的磁盘子系统、及节点机间的其他连接(如
中联集团
第28页
共分享92篇相关文档