中文亚洲精品无码_熟女乱子伦免费_人人超碰人人爱国产_亚洲熟妇女综合网

當前位置: 首頁 > news >正文

靜態(tài)網(wǎng)站制作模板代寫文章

靜態(tài)網(wǎng)站制作模板,代寫文章,學網(wǎng)站建設需要多長時間,建設銀行北京分行招聘網(wǎng)站1.搭建雙機lustre高可用集群: 1.環(huán)境說明: 主機名系統(tǒng)掛載情況IP地址Lustre集群名內(nèi)存mds001Centos7.9(共享磁盤)1個mgs,1個MDT,2個OST192.168.10.21/209.21global1Gmds002Centos7.9(共享磁盤)1個mgs,1個MDT,2個OST192.168.10.22/209.22global1GclientCentos7.9無19…

1.搭建雙機lustre高可用集群:

1.環(huán)境說明:

主機名系統(tǒng)掛載情況IP地址Lustre集群名內(nèi)存
mds001Centos7.9(共享磁盤)1個mgs,1個MDT,2個OST192.168.10.21/209.21global1G
mds002Centos7.9(共享磁盤)1個mgs,1個MDT,2個OST192.168.10.22/209.22global1G
clientCentos7.9192.168.10.411G

mds01,mds02作為mds的同時 也做oss,做5個共享盤:1個mgs,2個mdt,2個ost,搭建一套高可用的lustre服務集群

2.兩個虛擬機使用共享磁盤:

  • 前提:兩臺虛擬機沒有拍攝快照

  • 在mds001主機中:

    • 添加五塊5G的硬盤

      SCSI > 創(chuàng)建新虛擬磁盤 > 指定磁盤容量 ,立即分配所有磁盤空間,將虛擬磁盤存儲為單個文件 

  • 在mds001和mds002的虛擬機目錄下,找個后綴名為vmx的文件,在文件末尾添加一下內(nèi)容:

    scsi1.sharedBus = "virtual"
    disk.locking = "false"
    diskLib.dataCacheMaxSize = "0"
    diskLib.dataCacheMaxReadAheadSize = "0"
    diskLib.dataCacheMinReadAheadSize = "0"
    diskLib.dataCachePageSize = "4096"
    diskLib.maxUnsyncedWrites = "0"
    disk.EnableUUID = "TRUE"
  • 重啟兩臺虛擬機發(fā)現(xiàn),添加成功

    [root@mds001 ~]# lsblk
    NAME            MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
    sda               8:0    0   20G  0 disk 
    ├─sda1            8:1    0    1G  0 part /boot
    └─sda2            8:2    0   19G  0 part ├─centos-root 253:0    0   17G  0 lvm  /└─centos-swap 253:1    0    2G  0 lvm  [SWAP]
    sdb               8:16   0    5G  0 disk 
    sdc               8:32   0    5G  0 disk 
    sdd               8:48   0    5G  0 disk 
    sde               8:64   0    5G  0 disk 
    sdf               8:80   0    5G  0 disk 
    sr0              11:0    1  9.5G  0 rom  /mnt/cdrom

3.安裝和配置Lustre:

  • 兩臺主機都需要下載OSS服務器所需要的包:E2fsprogs包只是在Ext4的原版RPM包基礎上增加了對Lustre?持

    mkdir ~/e2fsprogs && cd ~/e2fsprogs
    wget -c -r -nd https://downloads.whamcloud.com/public/e2fsprogs/1.44.5.wc1/el7/RPMS/x86_64/
    rm -rf index.html* unknown.gif *.gif sha256sum
  • 全部rpm安裝:

    [root@mds001 e2fsprogs]# cd ~/e2fsprogs && rpm -Uvh *
    準備中...                          ################################# [100%]
    正在升級/安裝...  1:libcom_err-1.42.12.wc1-4.el7.cent################################# [  8%]  2:e2fsprogs-libs-1.42.12.wc1-4.el7.################################# [ 15%]  3:libcom_err-devel-1.42.12.wc1-4.el################################# [ 23%]  4:libss-1.42.12.wc1-4.el7.centos   ################################# [ 31%]  5:e2fsprogs-1.42.12.wc1-4.el7.cento################################# [ 38%]  6:libss-devel-1.42.12.wc1-4.el7.cen################################# [ 46%]  7:e2fsprogs-devel-1.42.12.wc1-4.el7################################# [ 54%]  8:e2fsprogs-static-1.42.12.wc1-4.el################################# [ 62%]  9:e2fsprogs-debuginfo-1.42.12.wc1-4################################# [ 69%]
    正在清理/刪除... 10:e2fsprogs-1.42.9-19.el7          ################################# [ 77%] 11:e2fsprogs-libs-1.42.9-19.el7     ################################# [ 85%] 12:libss-1.42.9-19.el7              ################################# [ 92%] 13:libcom_err-1.42.9-19.el7         ################################# [100%]
  • 兩臺主機都需要下載MDS服務器所需要的包:

    wget命令參數(shù)說明
    -c斷點續(xù)傳
    -r遞歸下載
    -nd不分層,所有文件下載到當前目錄下
    rpm包說明
    kernel-*.el7_lustre.x86_64.rpm帶 Lustre 補丁的 Linux 內(nèi)核
    kmod-lustre-*.el7.x86_64.rpmLustre 補丁內(nèi)核模塊
    kmod-lustre-osd-ldiskfs-*.el7.x86_64.rpm基于 ldiskfs 的 Lustre 后端文件系統(tǒng)工具
    lustre-*.el7.x86_64.rpmLustre 軟件命令行工具
    lustre-osd-ldiskfs-mount-*.el7.x86_64.rpm基于ldiskfs 的 mount.lustre和mkfs。lustre相關(guān)幫助文檔
    mkdir ~/lustre2.12.1 && cd ~/lustre2.12.1
    yum install -y wget
    wget \
    https://downloads.whamcloud.com/public/lustre/lustre-2.12.1/el7/server/RPMS/x86_64/kernel-3.10.0-957.10.1.el7_lustre.x86_64.rpm \
    https://downloads.whamcloud.com/public/lustre/lustre-2.12.1/el7/server/RPMS/x86_64/kmod-lustre-2.12.1-1.el7.x86_64.rpm \
    https://downloads.whamcloud.com/public/lustre/lustre-2.12.1/el7/server/RPMS/x86_64/kmod-lustre-osd-ldiskfs-2.12.1-1.el7.x86_64.rpm \
    https://downloads.whamcloud.com/public/lustre/lustre-2.12.1/el7/server/RPMS/x86_64/lustre-2.12.1-1.el7.x86_64.rpm \
    https://downloads.whamcloud.com/public/lustre/lustre-2.12.1/el7/server/RPMS/x86_64/lustre-osd-ldiskfs-mount-2.12.1-1.el7.x86_64.rpm
  • 安裝依賴(否則報錯error: Failed dependencies:):

    yum clean all && yum repolist
    yum install -y linux-firmware dracut selinux-policy-targeted kexec-tools libyaml perl
  • 全部rpm安裝:(如果無法安裝就強行安裝)

    cd ~/lustre2.12.1 && rpm -ivh *.rpm --force
  • 重啟服務器:

    init 6
  • 檢查內(nèi)核:

    [root@master ~]# uname -r
    3.10.0-957.el7_lustre.x86_64
  • 加載Lustre模塊(此為臨時加載,重啟失效):

    [root@master ~]# modprobe lustre && lsmod | grep lustre
    lustre                758679  0 
    lmv                   177987  1 lustre
    mdc                   232938  1 lustre
    lov                   314581  1 lustre
    ptlrpc               2264705  7 fid,fld,lmv,mdc,lov,osc,lustre
    obdclass             1962422  8 fid,fld,lmv,mdc,lov,osc,lustre,ptlrpc
    lnet                  595941  6 lmv,osc,lustre,obdclass,ptlrpc,ksocklnd
    libcfs                421295  11 fid,fld,lmv,mdc,lov,osc,lnet,lustre,obdclass,ptlrpc,ksocklnd
  • 查看lustre版本:

    [root@mds001 ~]# modinfo lustre
    filename:       /lib/modules/3.10.0-957.10.1.el7_lustre.x86_64/extra/lustre/fs/lustre.ko
    license:        GPL
    version:        2.12.1
    description:    Lustre Client File System
    author:         OpenSFS, Inc. <http://www.lustre.org/>
    retpoline:      Y
    rhelversion:    7.6
    srcversion:     E50D950B04B4044ABCBCFA3
    depends:        obdclass,ptlrpc,libcfs,lnet,lmv,mdc,lov
    vermagic:       3.10.0-957.10.1.el7_lustre.x86_64 SMP mod_unload modversions 
  • 只有在某個節(jié)點掛載上了,才表明MGS,MDT或者是OST被創(chuàng)建了

  • 五個硬盤都在mds001服務器上格式化,因為是共享硬盤,所以在mds002服務器上可以查看到格式化類型:

    格式化參數(shù)說明
    --fsname設置Lustre集群的名稱,Lustre文件系統(tǒng)的標識,必須唯一
    --servicenodemgs節(jié)點的IP地址,Lnet網(wǎng)絡
    --mgsnodemgs節(jié)點的IP地址,Lnet網(wǎng)絡
    --mgs將分區(qū)格式化為MGS,MGS(ManaGe Server)是?來記錄整個Lustre狀態(tài)的服務
    --mdt將分區(qū)格式化為MDT,MDT(MetaData Target)是存放Lustre元數(shù)據(jù)服務的設備
    --ost將分區(qū)格式化為OST,OST(Object Storage Target)則是存儲Lustre數(shù)據(jù)的設備
    --index設置設備的在lustre集群中的標簽值,如:--mdt --index=1,LABEL="global-MDT0001",在同集群具有唯一性
    --reformat跳過檢查,防止格式化操作清除已有的數(shù)據(jù)
    --replace替換
    # 關(guān)于MDT和OST,--index的值要從0開始?
http://www.risenshineclean.com/news/54470.html

相關(guān)文章:

  • 用什么軟件做介紹視頻網(wǎng)站怎么樣推廣自己的網(wǎng)址
  • 自己怎么做獨立網(wǎng)站整站排名服務
  • 羅湖做網(wǎng)站多少錢域名搜索
  • 學做海報的網(wǎng)站朋友圈網(wǎng)絡營銷
  • 學歷網(wǎng)站怎么做seo搜索引擎優(yōu)化營銷案例
  • 同里做網(wǎng)站網(wǎng)絡推廣員好做嗎
  • 哪個網(wǎng)站可以做印章圖案鄭州網(wǎng)絡營銷排名
  • 中國建設教育網(wǎng)站職業(yè)技術(shù)培訓
  • 外貿(mào)網(wǎng)站建設公司如何網(wǎng)上營銷
  • 網(wǎng)站后臺管理系統(tǒng)開發(fā)快手作品推廣網(wǎng)站
  • 真題真做報名網(wǎng)站寧波seo推廣方式排名
  • 外貿(mào)手機網(wǎng)站模板全網(wǎng)關(guān)鍵詞云查詢
  • 東阿縣城市建設局網(wǎng)站seo優(yōu)化網(wǎng)
  • 德州做網(wǎng)站建設的公司哪家好網(wǎng)站是怎么做出來的
  • 基本網(wǎng)頁設計seo分析師招聘
  • 微網(wǎng)站微信數(shù)據(jù)庫設計創(chuàng)建網(wǎng)站
  • 天貓轉(zhuǎn)讓濟南seo培訓
  • 企業(yè)網(wǎng)站建設 論文百度智能建站系統(tǒng)
  • 云南網(wǎng)站設計公司關(guān)鍵詞歌詞打印
  • 中國營銷新聞網(wǎng)合肥百度快照優(yōu)化排名
  • 如何用手機做網(wǎng)站官網(wǎng)優(yōu)化 報價
  • MAC怎么做網(wǎng)站網(wǎng)站推廣優(yōu)化方法
  • 做網(wǎng)站用舊域名好不好最新全國疫情消息
  • 網(wǎng)站做下載頁面軟文范例800字
  • 濟南網(wǎng)站制作多少錢一個手機優(yōu)化軟件排名
  • wordpress登陸地址修改免費seo課程
  • 青島網(wǎng)站推廣系統(tǒng)靜態(tài)網(wǎng)站模板
  • p2p倒閉 網(wǎng)站開發(fā)營銷軟文300字
  • 里水網(wǎng)站開發(fā)淘大象關(guān)鍵詞排名查詢
  • 成都企業(yè)網(wǎng)站建設及公司ppt2023年4 5月份疫情結(jié)束嗎