網絡依然還是計算機,Sun還是Sun!
SUN相关的问题的整理和汇总(1)
上一篇 / 下一篇 2007-08-21 00:05:07 / 个人分类:Solaris學習
查看( 188 ) /
评论( 2 )
1、 solaris 系统下怎么查看磁盘的block size IXPUB技术博客_$Sj]J`
fstyp -v /dev/rdsk/cxtxdxsx |grep -i bsize
1s"g4cj+w&ZpAK'^7590422 2、怎么配置邮件客户端?solaris做为客户端 IXPUB技术博客0H*n]R\et9|xU
1.remove the /etc/mail/submit.cf
;|#f(m"R#{%k7590422 2.write the mailhost to /etc/hosts, just like:
^ F+T,W%zt1z y:R8Q7590422 10.10.10.11 aserver mailhost
.tEZ?6l7590422 3、SunCluster3.1中的Quorum设备如何重置? IXPUB技术博客Kr!}%Ko-F v]!G-fA
先reset一下看看,如果不行需要重新指定:
vAB"FEQV7590422 # scconf -c -q reset
$`pu._Q:i7590422
`5}7|([ uN*e)c7590422 重新指定一个新的把原来删掉即可: IXPUB技术博客/\+k WJS1Av \ }cK
# scconf -a -q globaldev=d4
1@'AN,dh-M,V7590422 # scconf -r -q globaldev=d5
Z%piTG9r7590422
TlA;qNcj3I7590422 或者用scsetup交互式命令指定和删除也可以! IXPUB技术博客'p5hy"w i~
4、如何拷贝SYMBOL LINK FILE
A!| u XN)[ l#a7590422 assuming the 2 new file systems are mounted on /mnt/sapmnt, /mnt/sap -
i7a jz\ H*P?7590422 #(cd /; tar -cf - sapmnt) | ( cd /mnt; tar -xf -) IXPUB技术博客1X0L,I v8p[
#(cd /usr; tar -cf - sap) | (cd /mnt; tar -xf -)
/^ }&Y)O5]7590422 IXPUB技术博客AF0Ncm hH
then, umount /sapmnt, /usr/sap, /mnt/sapmnt, /mnt/sap, and mount the 2 new file systems on /sapmnt, /usr/sap respectively
;}6S*F Io7590422 5、如何修改stack size?
Yz+Jy Sv8q/zgz Q7590422 ulimit –s 8192
!l NUdGC0N,A7590422 ulimit -a IXPUB技术博客O&}$f4FLW8qyC0v&?a
X C Z k"F7o7590422 core file size (blocks) unlimited IXPUB技术博客'\0b%C0KU:x9u0o
data seg size (kbytes) unlimited IXPUB技术博客8N`"t~6XH
file size (blocks) unlimited IXPUB技术博客sfA!o5?O
open files 1024 IXPUB技术博客~8H+T(rO(?
pipe size (512 bytes) 10 IXPUB技术博客t)FV7}_~
stack size (kbytes) 8192
M0_F\ bg:M7590422 cpu time (seconds) unlimited
-o$@-z5Q%{7590422 max user processes 29995
Z!WI[S+EK7590422 virtual memory (kbytes) unlimited
8Y9DM+B4e%_+ai#iB7590422 6、提示符设置为主机名和登陆当前目录等
5I K D;V jGM i*@7590422 在.profile加入 IXPUB技术博客:K#Jn}x9Bv$Z
ccd()
~}Q}7S+y"X W8W`7590422 { IXPUB技术博客ma{_T!G0H$U?r
cd $1
fstyp -v /dev/rdsk/cxtxdxsx |grep -i bsize
1s"g4cj+w&ZpAK'^7590422 2、怎么配置邮件客户端?solaris做为客户端 IXPUB技术博客0H*n]R\et9|xU
1.remove the /etc/mail/submit.cf
;|#f(m"R#{%k7590422 2.write the mailhost to /etc/hosts, just like:
^ F+T,W%zt1z y:R8Q7590422 10.10.10.11 aserver mailhost
.tEZ?6l7590422 3、SunCluster3.1中的Quorum设备如何重置? IXPUB技术博客Kr!}%Ko-F v]!G-fA
先reset一下看看,如果不行需要重新指定:
vAB"FEQV7590422 # scconf -c -q reset
$`pu._Q:i7590422
`5}7|([ uN*e)c7590422 重新指定一个新的把原来删掉即可: IXPUB技术博客/\+k WJS1Av \ }cK
# scconf -a -q globaldev=d4
1@'AN,dh-M,V7590422 # scconf -r -q globaldev=d5
Z%piTG9r7590422
TlA;qNcj3I7590422 或者用scsetup交互式命令指定和删除也可以! IXPUB技术博客'p5hy"w i~
4、如何拷贝SYMBOL LINK FILE
A!| u XN)[ l#a7590422 assuming the 2 new file systems are mounted on /mnt/sapmnt, /mnt/sap -
i7a jz\ H*P?7590422 #(cd /; tar -cf - sapmnt) | ( cd /mnt; tar -xf -) IXPUB技术博客1X0L,I v8p[
#(cd /usr; tar -cf - sap) | (cd /mnt; tar -xf -)
/^ }&Y)O5]7590422 IXPUB技术博客AF0Ncm hH
then, umount /sapmnt, /usr/sap, /mnt/sapmnt, /mnt/sap, and mount the 2 new file systems on /sapmnt, /usr/sap respectively
;}6S*F Io7590422 5、如何修改stack size?
Yz+Jy Sv8q/zgz Q7590422 ulimit –s 8192
!l NUdGC0N,A7590422 ulimit -a IXPUB技术博客O&}$f4FLW8qyC0v&?a
X C Z k"F7o7590422 core file size (blocks) unlimited IXPUB技术博客'\0b%C0KU:x9u0o
data seg size (kbytes) unlimited IXPUB技术博客8N`"t~6XH
file size (blocks) unlimited IXPUB技术博客sfA!o5?O
open files 1024 IXPUB技术博客~8H+T(rO(?
pipe size (512 bytes) 10 IXPUB技术博客t)FV7}_~
stack size (kbytes) 8192
M0_F\ bg:M7590422 cpu time (seconds) unlimited
-o$@-z5Q%{7590422 max user processes 29995
Z!WI[S+EK7590422 virtual memory (kbytes) unlimited
8Y9DM+B4e%_+ai#iB7590422 6、提示符设置为主机名和登陆当前目录等
5I K D;V jGM i*@7590422 在.profile加入 IXPUB技术博客:K#Jn}x9Bv$Z
ccd()
~}Q}7S+y"X W8W`7590422 { IXPUB技术博客ma{_T!G0H$U?r
cd $1