亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区

  免費注冊 查看新帖 |

Chinaunix

  平臺 論壇 博客 文庫
最近訪問板塊 發(fā)新帖
查看: 3271 | 回復(fù): 4
打印 上一主題 下一主題

各位老大,請教一下cluster的問題?? [復(fù)制鏈接]

論壇徽章:
0
跳轉(zhuǎn)到指定樓層
1 [收藏(0)] [報告]
發(fā)表于 2002-11-14 17:01 |只看該作者 |倒序瀏覽
cluster和vx都裝好了,接下來如果把VX的做好的VOLUME做到cluster里去??
/etc/opt/SUNWcluster/conf/hanfs/vfstab.hz-cluster是怎么操作的??

論壇徽章:
1
獅子座
日期:2013-09-02 12:10:41
2 [報告]
發(fā)表于 2002-11-14 17:40 |只看該作者

各位老大,請教一下cluster的問題??

#scconf -a -D type=vxvm,name=組名,nodelist=主機1:主機2,preferenced=true,failback=enabled
(以上是命令行方式注冊vxvm,也可用字符界面scsetup在cluster中注冊vxvm)
Sun Cluster HA for NFS Data Service Configurtion
#pkgadd –d .(安裝Sun Cluster HA for NFS軟件包,也可以用scinstall安裝)
編輯/etc/hosts文件加入邏輯主機名和浮動ip
#scrgadm –a –t SUNW.nfs&#59;scrgadm –a –t SUNW.LogicalHostname&#59;scrgadm –a –t SUNW.SharedAddress(注冊資源組類型)
# scrgadm -a -g 資源組名 -y Pathprefix=/global/nfs(建立一個資源組,管理文件在/global/nfs 目錄下)
#mkdir -p /global/nfs/SUNW.nfs
編輯/global/nfs/SUNW.nfs/dfstab.nfs文件,注意dfstab.nfs這里的nfs是以后要建立的資源名
share –F nfs –o ro /global/nfs
#scrgadm -a -L -g 資源組名 -l 源邏輯主機名(建立源邏輯主機名到資源組中)
#scrgadm –a –j nfs –g 資源組名 –t SUNW.nfs(建立源nfs到資源組中并定義源類型為SUNW.nfs)
#scswitch –Z –g 資源組名(在cluster中起用資源組)

論壇徽章:
0
3 [報告]
發(fā)表于 2002-11-14 18:42 |只看該作者

各位老大,請教一下cluster的問題??

不好意思,偶呢cluster是2.2的

論壇徽章:
1
獅子座
日期:2013-09-02 12:10:41
4 [報告]
發(fā)表于 2002-11-14 19:54 |只看該作者

各位老大,請教一下cluster的問題??

# mkfs /dev/vx/rdsk/diskgroup/diskgroup-stat(用于管理卷)
# mkfs -F vxfs /dev/vx/rdsk/diskgroup/volume(數(shù)據(jù)卷)
# mkdir /logicalhost
# mount /dev/vx/dsk/diskgroup/diskgroup-stat /logicalhost
# mkdir /logicalhost/volume
在所有節(jié)點Create the /etc/opt/SUNWcluster/conf/hanfs directory
Create and edit the /etc/opt/SUNWcluster/conf/hanfs/vfstab.logicalhost file to update the administrative and multihost VxFS file system information
例:
/dev/vx/dsk/dg1/dg1-stat /dev/vx/rdsk/dg1/dg1-stat /hahost1 vxfs - yes -
/dev/vx/dsk/dg1/vol_1 /dev/vx/rdsk/dg1/vol_1 /hahost1/vol_1 vxfs - yes -
/dev/vx/dsk/dg1/vol_2 /dev/vx/rdsk/dg1/vol_2 /hahost1/vol_2 vxfs - yes -

# umount /logicalhost
# vxdg deport diskgroup
# vxdg -t import diskgroup
From a cconsole(1) window, use an editor such as vi to create and edit the /etc/opt/SUNWcluster/conf/hanfs/dfstab.logicalhost file
share  -F nfs  -d "hahost1 fs 1" /hahost1/vol_1
After setting up and configuring NFS, you must activate Sun Cluster HA for NFS by using the hareg(1M) command to start the Sun Cluster monitor
# hareg -s -r nfs -h hahost1,hahost2
# hareg -y nfs
# haswitch -r
Remove the existing logical host entry from the configuration files by running the following command on all nodes
# scconf clustername -L logicalhost -r
Create a new logical host entry, which uses the same logical host name but with the new IP address, by running the following command on all cluster nodes
# scconf clustername -L logicalhost -n nodelist -g diskgroup -i interfaces_and_IP
Register the data service, Register the Sun Cluster data service(s) associated with the logical host(s).
# hareg -s -r dataservice [-h logicalhost]
Start the data service
# hareg -y dataservice
Stop the data service on all logical hosts
# hareg -n dataservice
Unregister the data service
# hareg -u dataservice
(Optional) Remove the logical hosts from the cluster configuration, You can remove a logical host from the cluster configuration only if all data services are disassociated from it, Use one of the following methods to remove a logical host, Run this scconf(1M) command on one node that is a cluster member.
# scconf clustername -L logicalhost -r
#haswitch -r


只能做為參考,是我寫的,還沒來得急實驗?zāi)!不好意思?br />

論壇徽章:
0
5 [報告]
發(fā)表于 2002-11-15 10:30 |只看該作者

各位老大,請教一下cluster的問題??

我不用VxFS,只想用ufs,又該如何做呢??
您需要登錄后才可以回帖 登錄 | 注冊

本版積分規(guī)則 發(fā)表回復(fù)

  

北京盛拓優(yōu)訊信息技術(shù)有限公司. 版權(quán)所有 京ICP備16024965號-6 北京市公安局海淀分局網(wǎng)監(jiān)中心備案編號:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年舉報專區(qū)
中國互聯(lián)網(wǎng)協(xié)會會員  聯(lián)系我們:huangweiwei@itpub.net
感謝所有關(guān)心和支持過ChinaUnix的朋友們 轉(zhuǎn)載本站內(nèi)容請注明原作者名及出處

清除 Cookies - ChinaUnix - Archiver - WAP - TOP