当前位置: 首页 > news >正文

手机网站主页设计深圳外贸网站

手机网站主页设计,深圳外贸网站,二级分销系统开发,商标注册查询网址1.概念#xff1a; CNFS #xff08;Cluster Network File System#xff09;是 GPFS 中的一种模式#xff0c;用于配置和管理多台服务器#xff08;节点#xff09;之间的文件共享和数据访问 它允许多个节点同时访问和共享文件系统的数据#xff0c;以实现高性能、高可…1.概念 CNFS Cluster Network File System是 GPFS 中的一种模式用于配置和管理多台服务器节点之间的文件共享和数据访问 它允许多个节点同时访问和共享文件系统的数据以实现高性能、高可用性的存储解决方案 2.创建CNFS文件系统 将原本的GPFS文件系统修改为cnfs文件系统 [rootnode1 ~]# mmchfs gpfs1 -o syncnfs mmchfs: Propagating the cluster configuration data to allaffected nodes. This is an asynchronous process. 修改配置文件/etc/exports这是nfs服务器的配置文件 #|   共享目录     | 主机名       权限| /usr/qv123/nfsdata  192.168.73.0/24(rw) man exports    # 查看所有参数 权限参数值说明rw/rorw可读写ro只读还是与文件系统的rwx有关sync/asyncsync数据会同步写入到内存与硬盘中async则代表数据会先暂存于内存当中no_root_squash/root_squashno_root_squash表示就显示root用户和root组root_squash表示将root用户和组映射为匿名用户和组默认设置。all_squash/no_all_squashallsquash:客户端所有用户创建文件时客户端会将文件的用户和组映射为匿名用户和组no_all_squash:客户端普通用户创建的文件的UID和GID是多少服务端就显示为多少默认设置anonuidanongid将文件的用户和组映射为指定的UID和GID若不指定默认为65534nfsnobody[rootnode1 ~]# cat eof /etc/exports /gpfs1/nfs 192.168.10.0/24(rw,fsid11) eof [rootnode2 ~]# cat eof /etc/exports /gpfs1/nfs 192.168.10.0/24(rw,fsid11) eof 使配置生效 [rootnode1 ~]# exportfs -r [rootnode1 ~]# exportfs -r 在每个服务端上面设置nfsd自动启动 [rootnode1 ~]# systemctl enable nfs-server Created symlink from /etc/systemd/system/multi-user.target.wants/nfs-server.service to /usr/lib/systemd/system/nfs-server.service. [rootnode2 ~]# systemctl enable nfs-server Created symlink from /etc/systemd/system/multi-user.target.wants/nfs-server.service to /usr/lib/systemd/system/nfs-server.service. 指定 CNFS 服务器的共享根目录最好是一个单独小的文件系统且不被NFS共享出去 [rootnode1 ~]# mmchconfig cnfsSharedRoot/gpfs1/cnfs mmchconfig: Command successfully completed mmchconfig: Propagating the cluster configuration data to allaffected nodes. This is an asynchronous process. 指定 CNFSCluster Network File System服务器节点上用于 CNFS 服务的网络接口 ip_address_list为上面配置的专用于NFS的ipnode为这个节点在GPFS里面的主机名CNFS 允许多个 Spectrum Scale 节点通过 RDMA远程直接内存访问协议来访问共享数据。 [rootnode1 ~]# mmchnode --cnfs-interface192.168.10.151 -N node1 Wed Sep 27 05:24:58 EDT 2023: mmchnode: Processing node node1 mmnfsinstall: CNFS has modified configuration file /etc/sysconfig/network-scripts/ifcfg-ens38. Restarting monitor mmchnode: Propagating the cluster configuration data to allaffected nodes. This is an asynchronous process. [rootnode2 ~]# mmchnode --cnfs-interface192.168.10.152 -N node2 Wed Sep 27 05:33:53 EDT 2023: mmchnode: Processing node node2 mmnfsinstall: CNFS has modified configuration file /etc/sysconfig/network-scripts/ifcfg-ens38. Restarting monitor mmchnode: Propagating the cluster configuration data to allaffected nodes. This is an asynchronous process. 指定 CNFS服务器上的 mountd 服务监听的端口号 [rootnode1 ~]# mmchconfig cnfsMountdPort3000 -N node1 mmchconfig: Command successfully completed mmchconfig: Propagating the cluster configuration data to allaffected nodes. This is an asynchronous process. [rootnode2 ~]# mmchconfig cnfsMountdPort3000 -N node2 mmchconfig: Command successfully completed mmchconfig: Propagating the cluster configuration data to allaffected nodes. This is an asynchronous process. 查看集群里的CNFS节点 [rootnode1 ~]# mmlscluster --cnfs ​ GPFS cluster information GPFS cluster name:         gpfs.node1GPFS cluster id:           1484988891362745278 ​ Cluster NFS global parameters -----------------------------Shared root directory:               /gpfs1/cnfsrpc.mountd port number:               3000nfsd threads:                         32Reboot on failure enabled:            yesCNFS monitor enabled:                 yes ​Node Daemon node name           IP address       CNFS state group CNFS IP address list -------------------------------------------------------------------------------------------1   node1                       192.168.10.101   enabled        0   192.168.10.1512   node2                       192.168.10.102   enabled        0   192.168.10.152 测试是否存在共享目录 [rootnode1 ~]# showmount -e 192.168.10.151 Export list for 192.168.10.151: /gpfs1/nfs 192.168.10.0/24 3.客户端挂载 方式一临时挂载 安装nfs-utils [rootgpfs-client ~]# yum install -y nfs-utils 查看是否可以连接上共享目录 [rootgpfs-client ~]# showmount -e 192.168.10.151 Export list for 192.168.10.151: /gpfs1/nfs 192.168.10.0/24 [rootgpfs-client ~]# showmount -e 192.168.10.152 Export list for 192.168.10.152: /gpfs1/nfs 192.168.10.0/24 创建挂载目录挂载目录或解挂载目录 [rootgpfs-client ~]# mount -o sync,hard,intr 192.168.10.151:/gpfs1/nfs /mnt/nfs 查看挂载 [rootgpfs-client ~]# df -h | grep nfs 192.168.10.151:/gpfs1/nfs   20G  3.7G   17G  19% /mnt/nfs 方式二自动挂载 安装autofs yum install -y autofs 配置文件 autofs.conf针对服务autofs的配置 timeout 300,               # dismount_interval 300      # 挂载超时时间 auto.master是针对目录对应的挂载配置文件 /misc这个目录自动挂载的信息autofs在 /etc/auto.misc中 配置语法 目录   自动挂载配置文件的目录 auto.xxx具体的挂载的信息 cd             -fstypeiso9660,ro,nosuid,nodev :/dev/cdrom 挂载的目录 挂载的选项   :要挂载的设备 boot     -fstypeext2   :/dev/hda1 修改配置文件 cat eof /etc/auto.master /mnt   /etc/auto.nfs eof cat eof /etc/auto.nfs # 添加内容 #本地端子目录 -挂载参数 服务器所提供的目录 nfs 192.168.10.151:/gpfs1/nfs eof 参数参数功能fgbg当执行挂载时该挂载行为会在前台fg还是后台bg执行若在前台执行则mount会持续尝试挂载直到成功或time out为止若为后台执行则mount会在后台持续多次进行mount而不会影响到前台的程序运行。softhardhard表示当两者之间的任何一台主机脱机则RPC会持续地呼叫直到对方恢复连接为止。如果是soft的话那RPC会在time out后重复呼叫而非持续呼叫intr当使用上面提到的hard方式挂载时若加上intr这个参数则当RPC持续呼叫时该次的呼叫是可以被中断的rsizewsize读出rsize与写入wsize的区块大小。这个设置值可以影响客户端与服务器端传输数据的缓冲记忆容量 重启autofs服务 systemctl restart autofs 查看挂载信息 mount | grep /nfs 触发自动挂载进入到子目录中触发退出挂载目录一定时间后触发解挂载 cd /mnt/nfs   3.删除cnfs节点 mmchnode --cnfs-interfaceDELETE -N node1,node2
http://www.w-s-a.com/news/802120/

相关文章:

  • php 爬取网站所有链接传奇手游发布网站
  • 免费软文网站wordpress中文名注册
  • 企业网站建设研究目的意义怎样设计一个公司网站
  • 怎么架构网站便民信息发布平台
  • 网站 建设 现状网站推广合同需要缴纳印花税吗
  • 熊猫头表情包制作网站wordpress 缺省目录
  • 网站浏览图片怎么做的群晖wordpress升级5.0
  • 25个优秀个人网站设计模板网站建设定位分析论文
  • 在线网站备案站长seo综合查询工具
  • 网站根 html网站建设行业数据
  • 网站公司做的网站有最字设计说明室内设计
  • 在线网站代码生成我想做个百度网站怎么做
  • 网站的建设费用分为长治市建设厅官方网站
  • 做网站都有哪些费用建设免费手机网站
  • 网站 组成代码做网站图片怎么插
  • 2020中国企业500强榜单南宁seo标准
  • 北美购物网站排名烟台专业的网站建站公司
  • 门户网站设计特点营销策划咨询机构
  • 天津做网站就到徽信xiala5中国营销型网站
  • 外汇网站建设制作深圳三站合一网站建设
  • 深圳坂田网站设计公司有哪些学校网站建设管理办法
  • 太原建设银行网站中山营销型网站设计
  • 广东省建设厅官方网站多少钱江苏省江建集团有限公司建设网站
  • 网站开发主流服装网站开发课程设计
  • 在iis里面创建网站wordpress响应式视频
  • 学设计哪个网站好网页设计音乐网站
  • 可以自己做斗图的网站上海模板建站多少钱
  • 山东川畅信息技术有限公司网站建设网站开发任务书
  • 网站排版设计欣赏搭建公司介绍网站
  • 网站弹窗是怎么做的长沙智优营家