Dre4m Shell
Server IP : 85.214.239.14  /  Your IP : 18.225.117.89
Web Server : Apache/2.4.62 (Debian)
System : Linux h2886529.stratoserver.net 4.9.0 #1 SMP Tue Jan 9 19:45:01 MSK 2024 x86_64
User : www-data ( 33)
PHP Version : 7.4.18
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
MySQL : OFF  |  cURL : OFF  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : OFF
Directory :  /proc/3/root/usr/share/augeas/lenses/dist/tests/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /proc/3/root/usr/share/augeas/lenses/dist/tests/test_ceph.aug
module Test_ceph =

  let ceph_simple = "[global]
### http://ceph.com/docs/master/rados/configuration/general-config-ref/

    fsid                       = b4b2e571-fbbf-4ff3-a9f8-ab80f08b7fe6    # use `uuidgen` to generate your own UUID
    public network             = 192.168.0.0/24
    cluster network            = 192.168.0.0/24
"

  let ceph_extended = "##
# Sample ceph ceph.conf file.
##
# This file defines cluster membership, the various locations
# that Ceph stores data, and any other runtime options.

[global]
    ; Start-line comment
    log file                   = /var/log/ceph/$cluster-$name.log ; End-line comment

   [mon.alpha]
    host                       = alpha
    mon addr                   = 192.168.0.10:6789

  [mon.beta]
    host                       = beta
    mon addr                   = 192.168.0.11:6789

[mon.gamma]
    host                       = gamma
    mon addr                   = 192.168.0.12:6789


[mon]
mon initial members        = mycephhost

mon host                   = cephhost01,cephhost02
    mon addr                   = 192.168.0.101,192.168.0.102

mon osd nearfull ratio     = .85

    # logging, for debugging monitor crashes, in order of
    # their likelihood of being helpful :)
    debug ms                   = 1
    debug mon                  = 20
    debug paxos                = 20
    debug auth                 = 20

[mds]

    osd max backfills            = 5

    #osd mkfs type = {fs-type}
    #osd mkfs options {fs-type}   = {mkfs options}   # default for xfs is \"-f\"
    #osd mount options {fs-type}  = {mount options} # default mount option is \"rw, noatime\"
    osd mkfs type                = btrfs
    osd mount options btrfs      = noatime,nodiratime
    journal dio                  = false

    debug ms                     = 1
    debug osd                    = 20
    debug filestore              = 20
    debug journal                = 20

    filestore merge threshold    = 10

    osd crush update on start    = false

[osd.0]
    host                         = delta

[osd.1]
    host                         = epsilon

[osd.2]
    host                         = zeta

[osd.3]
    host                         = eta

    rgw dns name                 = radosgw.ceph.internal
"

  test Ceph.lns get ceph_simple =
  { "global"
    { "#comment" = "## http://ceph.com/docs/master/rados/configuration/general-config-ref/" }
    { }
    { "fsid" = "b4b2e571-fbbf-4ff3-a9f8-ab80f08b7fe6"
      { "#comment" = "use `uuidgen` to generate your own UUID" }
    }
    { "public network" = "192.168.0.0/24" }
    { "cluster network" = "192.168.0.0/24" }
  }

  test Ceph.lns get ceph_extended =
    { "#comment" = "#" }
    { "#comment" = "Sample ceph ceph.conf file." }
    { "#comment" = "#" }
    { "#comment" = "This file defines cluster membership, the various locations" }
    { "#comment" = "that Ceph stores data, and any other runtime options." }
    {  }
    { "global"
      { "#comment" = "Start-line comment" }
      { "log file" = "/var/log/ceph/$cluster-$name.log"
        { "#comment" = "End-line comment" }
      }
      {  }
    }
    { "mon.alpha"
      { "host" = "alpha" }
      { "mon addr" = "192.168.0.10:6789" }
      {  }
    }
    { "mon.beta"
      { "host" = "beta" }
      { "mon addr" = "192.168.0.11:6789" }
      {  }
    }
    { "mon.gamma"
      { "host" = "gamma" }
      { "mon addr" = "192.168.0.12:6789" }
      {  }
      {  }
    }
    { "mon"
      { "mon initial members" = "mycephhost" }
      {  }
      { "mon host" = "cephhost01,cephhost02" }
      { "mon addr" = "192.168.0.101,192.168.0.102" }
      {  }
      { "mon osd nearfull ratio" = ".85" }
      {  }
      { "#comment" = "logging, for debugging monitor crashes, in order of" }
      { "#comment" = "their likelihood of being helpful :)" }
      { "debug ms" = "1" }
      { "debug mon" = "20" }
      { "debug paxos" = "20" }
      { "debug auth" = "20" }
      {  }
    }
    { "mds"
      {  }
      { "osd max backfills" = "5" }
      {  }
      { "#comment" = "osd mkfs type = {fs-type}" }
      { "#comment" = "osd mkfs options {fs-type}   = {mkfs options}   # default for xfs is \"-f\"" }
      { "#comment" = "osd mount options {fs-type}  = {mount options} # default mount option is \"rw, noatime\"" }
      { "osd mkfs type" = "btrfs" }
      { "osd mount options btrfs" = "noatime,nodiratime" }
      { "journal dio" = "false" }
      {  }
      { "debug ms" = "1" }
      { "debug osd" = "20" }
      { "debug filestore" = "20" }
      { "debug journal" = "20" }
      {  }
      { "filestore merge threshold" = "10" }
      {  }
      { "osd crush update on start" = "false" }
      {  }
    }
    { "osd.0"
      { "host" = "delta" }
      {  }
    }
    { "osd.1"
      { "host" = "epsilon" }
      {  }
    }
    { "osd.2"
      { "host" = "zeta" }
      {  }
    }
    { "osd.3"
      { "host" = "eta" }
      {  }
      { "rgw dns name" = "radosgw.ceph.internal" }
    }


Anon7 - 2022
AnonSec Team