#/usr/bin/ksh
x(){
ARGS=''
ARGS=`echo $* | sed 's/-sDEFAULT//g'`
/usr/sbin/mkvg $ARGS
}
x -y'datavg' -s'128' '-f' hdisk1
/usr/sbin/mklv -y'oraapp_lv' -t'jfs2' datavg 79 hdisk1
/usr/sbin/mklv -y'oradata_lv' -t'jfs2' datavg 398 hdisk1
x() {
LIST=
FLAG=0
for i in "$@"
do
case "$i" in
quota=all) LIST="$LIST \"quota=userquota,groupquota\"" ;;
*) LIST="$LIST \"$i\"" ;;
esac
done
eval /usr/sbin/crfs -v jfs2 $LIST
}
x -d'oraapp_lv' -m'/oraapp' -A''`locale yesstr | awk -F: '{print $1}'`
'' -p'rw' -a agblksize='4096'
x() {
LIST=
FLAG=0
for i in "$@"
do
case "$i" in
quota=all) LIST="$LIST \"quota=userquota,groupquota\"" ;;
*) LIST="$LIST \"$i\"" ;;
esac
done
eval /usr/sbin/crfs -v jfs2 $LIST
}
x -d'oradata_lv' -m'/oradata' -A''`locale yesstr | awk -F: '{print $1}'`
'' -p'rw' -a agblksize='4096'
mount /websphere
mount /oradata
mount /oraapp
# chaio.sh = smit chaio
#/usr/bin/ksh
x() {
chdev -l aio0 -P $*
if [ $? = 0 ]
then
dspmsg smit.cat -s 25 763 'Changes will become effective at next syste
m restart'
fi
}
x -a minservers='30' -a maxservers='60' -a autoconfig='available'
阅读(991) | 评论(0) | 转发(0) |