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

网站建设公司名称企业管理系统项目经理招聘

网站建设公司名称,企业管理系统项目经理招聘,竞价点击软件工具,网络公共关系#作者:猎人 文章目录 1.1ceph数据迁移&&bacula配置调整1.2在备份服务器的ceph-client上mount cephfs文件系统1.2.1迁移数据1.2.2 调整bacula-sd配置1.2.2.1T机房1.2.2.2Y机房1.2.2.3调整bacula-dir配置 1.1ceph数据迁移&&bacula配置调整 为了规避…

#作者:猎人

文章目录

    • 1.1ceph数据迁移&&bacula配置调整
    • 1.2在备份服务器的ceph-client上mount cephfs文件系统
      • 1.2.1迁移数据
      • 1.2.2 调整bacula-sd配置
        • 1.2.2.1T机房
        • 1.2.2.2Y机房
        • 1.2.2.3调整bacula-dir配置

1.1ceph数据迁移&&bacula配置调整

为了规避因单个OSD利用率达90%而导致整个集群错误无法访问,ceph集群现已在原ceph块设备的基础上建立了cephfs文件系统用于存储数据,需要把原备份到块设备上的设备迁移到新建的cephfs上,迁移完毕后把ceph rbd回收,后续所有的备份数据直接写到cephfs。

  • rbd分配的指定空间满了之后需要新创建,cephpfs的空间可以横向扩容,也可以避免单个OSD引起集群故障

1.2在备份服务器的ceph-client上mount cephfs文件系统

  • T机房(1xx.xxx.xxx.x3):ceph-fuse -m 1x.xxx.xx.x9:6789 -r /tt_bacula /cephfs/
  • Y机房(1x.xxx.xx.x1):ceph-fuse -m 1x.xxx.xx.51:6789 /cephfs/

1.2.1迁移数据

  • T:/data1/d0*/下的数全部数据迁移到/cephfs/tt/backup_d0*/
  • Y:/data1/d0*/下的数全部数据迁移到/cephfs/yz/backup_d0*/
    特别注意:在做数据恢复的时候需要把数据还原到原/data1/backup_disk0*/下才能恢复数据

1.2.2 调整bacula-sd配置

1.2.2.1T机房

bacula-sd.conf中添加7个Device F8/9/10/11/12/13/14分别指向/cephfs/tt/下的7个目录
bacula-sd.conf新加配置如下:

Autochanger {Name = F8Device = F8-Dev1, F8-Dev2Changer Command = ""Changer Device = /dev/null
}
Device {Name = F-Dev1Media Type = File8Archive Device = /cephfs/tt/backup_d3/LabelMedia = yes;                   # lets Bacula label unlabeled mediaRandom Access = Yes;AutomaticMount = yes;               # when device opened, read itRemovableMedia = no;AlwaysOpen = no;Maximum Concurrent Jobs = 10
}
Device {Name = F8-Dev2Media Type = File8Archive Device = /cephfs/tt/backup_d3/LabelMedia = yes;                   # lets Bacula label unlabeled mediaRandom Access = Yes;AutomaticMount = yes;               # when device opened, read itRemovableMedia = no;AlwaysOpen = no;Maximum Concurrent Jobs = 10
}Autochanger {Name = F9Device = F9-Dev1, F9-Dev2Changer Command = ""Changer Device = /dev/null
}
Device {Name = F9-Dev1Media Type = File9Archive Device = /cephfs/tt/backup_d1/LabelMedia = yes;                   # lets Bacula label unlabeled mediaRandom Access = Yes;AutomaticMount = yes;               # when device opened, read itRemovableMedia = no;AlwaysOpen = no;Maximum Concurrent Jobs = 10
}
Device {Name = F9-Dev2Media Type = File9Archive Device = /cephfs/tt/backup_d1/LabelMedia = yes;                   # lets Bacula label unlabeled mediaRandom Access = Yes;AutomaticMount = yes;               # when device opened, read itRemovableMedia = no;AlwaysOpen = no;Maximum Concurrent Jobs = 10
}Autochanger {Name = F10Device = F10-Dev1, F10-Dev2Changer Command = ""Changer Device = /dev/null
}
Device {Name = F10-Dev1Media Type = File10Archive Device = /cephfs/tt/backup_d2/LabelMedia = yes;                   # lets Bacula label unlabeled mediaRandom Access = Yes;AutomaticMount = yes;               # when device opened, read itRemovableMedia = no;AlwaysOpen = no;Maximum Concurrent Jobs = 10
}
Device {Name = F10-Dev2Media Type = File10Archive Device = /cephfs/tt/backup_d2/LabelMedia = yes;                   # lets Bacula label unlabeled mediaRandom Access = Yes;AutomaticMount = yes;               # when device opened, read itRemovableMedia = no;AlwaysOpen = no;Maximum Concurrent Jobs = 10
}Autochanger {Name = F11Device = F11-Dev1, F11-Dev2Changer Command = ""Changer Device = /dev/null
}
Device {Name = F11-Dev1Media Type = File11Archive Device = /cephfs/tt/backup_d4/LabelMedia = yes;                   # lets Bacula label unlabeled mediaRandom Access = Yes;AutomaticMount = yes;               # when device opened, read itRemovableMedia = no;AlwaysOpen = no;Maximum Concurrent Jobs = 10
}
Device {Name = F11-Dev2Media Type = File11Archive Device = /cephfs/tt/backup_d4/LabelMedia = yes;                   # lets Bacula label unlabeled mediaRandom Access = Yes;AutomaticMount = yes;               # when device opened, read itRemovableMedia = no;AlwaysOpen = no;Maximum Concurrent Jobs = 10
}Autochanger {Name = F12Device = F12-Dev1, F12-Dev2Changer Command = ""Changer Device = /dev/null
}
Device {Name = F12-Dev1Media Type = File12Archive Device = /cephfs/tt/backup_d5/LabelMedia = yes;                   # lets Bacula label unlabeled mediaRandom Access = Yes;AutomaticMount = yes;               # when device opened, read itRemovableMedia = no;AlwaysOpen = no;Maximum Concurrent Jobs = 10
}
Device {Name = F12-Dev2Media Type = File12Archive Device = /cephfs/tt/backup_d5/LabelMedia = yes;                   # lets Bacula label unlabeled mediaRandom Access = Yes;AutomaticMount = yes;               # when device opened, read itRemovableMedia = no;AlwaysOpen = no;Maximum Concurrent Jobs = 10
}Autochanger {Name = F13Device = F13-Dev1, F13-Dev2Changer Command = ""Changer Device = /dev/null
}
Device {Name = F13-Dev1Media Type = File13Archive Device = /cephfs/tt/backup_d6/LabelMedia = yes;                   # lets Bacula label unlabeled mediaRandom Access = Yes;AutomaticMount = yes;               # when device opened, read itRemovableMedia = no;AlwaysOpen = no;Maximum Concurrent Jobs = 10
}
Device {Name = F13-Dev2Media Type = File13Archive Device = /cephfs/tt/backup_d6/LabelMedia = yes;                   # lets Bacula label unlabeled mediaRandom Access = Yes;AutomaticMount = yes;               # when device opened, read itRemovableMedia = no;AlwaysOpen = no;Maximum Concurrent Jobs = 10
}Autochanger {Name = F14Device = F14-Dev1, F14-Dev2Changer Command = ""Changer Device = /dev/null
}
Device {Name = F14-Dev1Media Type = File14Archive Device = /cephfs/tt/backup_d7/LabelMedia = yes;                   # lets Bacula label unlabeled mediaRandom Access = Yes;AutomaticMount = yes;               # when device opened, read itRemovableMedia = no;AlwaysOpen = no;Maximum Concurrent Jobs = 10
}
Device {Name = F14-Dev2Media Type = File14Archive Device = /cephfs/tt/backup_d7/LabelMedia = yes;                   # lets Bacula label unlabeled mediaRandom Access = Yes;AutomaticMount = yes;               # when device opened, read itRemovableMedia = no;AlwaysOpen = no;Maximum Concurrent Jobs = 10
}
1.2.2.2Y机房

bacula-sd.conf中添加1个Device F3分别指向/cephfs/yz/目录
bacula-sd.conf新加配置如下:

Autochanger {Name = F3Device = F3-Dev1, F3-Dev2Changer Command = ""Changer Device = /dev/null
}Device {Name = F3-Dev1Media Type = File3Archive Device = /cephfs/yzLabelMedia = yes;                   # lets Bacula label unlabeled mediaRandom Access = Yes;AutomaticMount = yes;               # when device opened, read itRemovableMedia = no;AlwaysOpen = no;Maximum Concurrent Jobs = 5
}Device {Name = F3-Dev2Media Type = File3Archive Device = /cephfs/yzLabelMedia = yes;                   # lets Bacula label unlabeled mediaRandom Access = Yes;AutomaticMount = yes;               # when device opened, read itRemovableMedia = no;AlwaysOpen = no;Maximum Concurrent Jobs = 5
}
1.2.2.3调整bacula-dir配置
  1. 把前面新添加的7个SD加到bacula-dir.conf中
  2. T机房:把原来Job中的 Storage 都换成对应新建的Storage,例如原Storage = tt-7(/data1/backup_d7/)替换成现在Storage = tt-14(/cephfs/tt/backup_d7/)
  3. Y机房:把原来Job中的 Storage 都换成对应新建的Storage = yz-3(亦庄把yz-1和yz-2在此做一个合并,合并到yz-3)
    bacula-dir.conf新加配置如下:
Storage {Maximum Concurrent Jobs = 10Name = tt-8SDPort = 9103Address = xxxxxxxxDevice = F8Password = "TFDk"Media Type = File8
}
Storage {Maximum Concurrent Jobs = 10Name = tt-9SDPort = 9103Address = xxxxxxxxDevice = F9Password = "TFDk"Media Type = File9
}
Storage {Maximum Concurrent Jobs = 10Name = tt-10SDPort = 9103Address = xxxxxxxxDevice = F10Password = "TFDk"Media Type = File10
}
Storage {Maximum Concurrent Jobs = 10Name = tt-11SDPort = 9103Address = xxxxxxxxDevice = F11Password = "TFDk"Media Type = File11
}
Storage {Maximum Concurrent Jobs = 10Name = tt-12SDPort = 9103Address = xxxxxxxxDevice = F12Password = "TFDk"Media Type = File12
}
Storage {Maximum Concurrent Jobs = 10Name = tt-13SDPort = 9103Address = xxxxxxxxDevice = F13Password = "TFDk"Media Type = File13
}
Storage {Maximum Concurrent Jobs = 10Name = tt-14SDPort = 9103Address = xxxxxxxxDevice = F14Password = "TFDk"Media Type = File14
}
Storage {Maximum Concurrent Jobs = 10Name = yz-3SDPort = 9103Address = xxxDevice = F3Password = "TFDk"Media Type = File3
}
http://www.dtcms.com/a/591405.html

相关文章:

  • 侯马网站建设网站建设报告实训步骤
  • 青岛鲁icp 网站制作 牛商网php 如何在网站根目录创建文件夹
  • 网站建设经费保障网站 架构设计
  • 企业 网站设计关键词如何确定
  • 北京住房和城乡建设部网站自动外链网址
  • 温州电子网站建设cdr做网站
  • 长沙p2p网站建设静态网站建设的技术运用
  • wordpress 适合做小说站吗2019做什么类型网站
  • pc网站建设建站模板推广的几种方式
  • 网站制作乛薇中国建设工程招标网官方网站
  • 周口哪家做网站好时间轴网站
  • 大连网站设计培训班甘肃制作网站
  • 做企业网站那家好科技政策要聚焦自立自强
  • 学校网站建站外贸建站与推广
  • 湖北专业网站建设产品介绍北京壹同制作
  • 星彩医美连锁官方网站建设贵州网络营销公司
  • 关掉wordpress站点wordpress首页登陆
  • 面料做电商 哪个网站好wordpress 市场占有率
  • 微网站 pc网站同步深圳联合办公空间
  • 2024黑盾杯复现赛题MISC部分
  • 直播网站建设费用郑州响应式网站设计
  • 网站服务器部署德州网站建设 绮畅
  • 网站建设资讯wordpress回顶部
  • 外国建设小网站赚钱网站制作和app制作
  • 嘉兴制作企业网站确定网站的主题与风格
  • 网站怎样做优化网页国内最大设计网站
  • 九江网站建设推广成都灯光设计公司
  • 站长之家 seo查询申请邮箱企业邮箱
  • 从零学习做网站台州黄岩做网站
  • 宁波网站建设信息新闻投稿