[关闭]
@tony-yin 2018-08-24T03:11:11.000000Z 字数 1267 阅读 852

kylin 适配

kylin


  1. ctdb config dir:/etc/sysconfig --> /etc/default
  2. nfs-kernel-server需要手动启动
  3. nfs config & rquota(解决,手动创建/etc/sysconfig)
  4. hostagent代码验证
    • ha
    • nfs
    • cifs
    • ftp
    • iscsi

HA Create

  1. ctdb config dir replace
  2. nfs config dir remove(手动创建/etc/sysconfig/nfs)
  3. lockfile change to cephfs (解决,改为rados)
  4. disable smb and iscsi in ctdb config(解决)
  5. service start/stop
    • nfs -> nfs-kernel-server
    • tgtd -> tgt
    • smb -> smbd
  6. ha stable params(tmp)
  1. echo 10000 > /sys/fs/cgroup/cpu/system.slice/cpu.rt_runtime_us
  1. install app
    • ipcalc
  2. ipcalc -n | grep Network(需要添加grep)
  3. /etc/sysconfig/iscsi disable(解决,手动创建)
  4. 命令行创建命令
  1. # 1. init
  2. ucsmadm-worker hagroup init -n ha1 -p 192.168.221.33,192.168.221.34,192.168.221.35 -v 192.168.221.110/24,192.168.221.111/24,192.168.221.112/24
  3. # 2. create
  4. ucsmadm-worker hagroup create -n ha1
  1. manual start nfs-kernel-service(tmp)

HA Delete

  1. /etc/sysconfig/iscsi disable(解决)
  2. 删除命令:
  1. ucsmadm-worker hagroup destroy -n ha1

HA Deinit(tmp)

未测,依赖于ceph

NFS

Create

Finish

Cifs

Create

  1. root@kylin1:/usr/sbin# smbd -F -S
  2. smbd version 4.3.11-Ubuntu started.
  3. Copyright Andrew Tridgell and the Samba Team 1992-2015
  4. clustering=yes but ctdbd connect failed: NT_STATUS_CONNECTION_REFUSED

FTP

匿名用户或者同一用户在一个主机上只能存在一个ftp服务

Create

  1. apt-get instll db-util
  2. apt-get install libdb5.3

ano:

  1. ucsmftpadm ftp add -a -p ld /ftp2

user:

  1. ucsmftpadm ftp add -u storageuser -s storageuser -p lmoud /ftp3

Delete

ano:

  1. ucsmftpadm ftp del /ftptest

user:

  1. ucsmftpadm ftp del -u storageuser /ftptest
添加新批注
在作者公开此批注前,只有你和作者可见。
回复批注