Ceph With Many OSDs

While setting up my Ceph cluster on a set of Dell R710s, one with 60 disks attached to it, I found that I needed to raise fs.aio-max-nr to around 1,000,000. SELinux also needed to be disabled. Once that was done the normal cephadm osd install worked great, even with 60 disks. 

$ cat /etc/sysctl.d/99-osd.conf

# For OSDs
fs.aio-max-nr=1000000

Tags

Ceph Orch Error When Adding Host

[ceph: root@xxxxxx0 /]# ceph orch host add xxxxxxxxxxx1
Error EINVAL: Traceback (most recent call last):
  File "/usr/share/ceph/mgr/mgr_module.py", line 1153, in _handle_command
    return self.handle_command(inbuf, cmd)
  File "/usr/share/ceph/mgr/orchestrator/_interface.py", line 110, in handle_command
    return dispatch[cmd['prefix']].call(self, cmd, inbuf)
  File "/usr/share/ceph/mgr/mgr_module.py", line 308, in call
    return self.func(mgr, **kwargs)
  File "/usr/share/ceph/mgr/orchestrator/_interface.py", line 72, in <lambda>
    wrapper_copy = lambda *l_args,

Tags

Having Problems With OVH Blocking Valid IPSEC Traffic?

OVH's DDOS Mitigation System was constantly blocking my IPSEC traffic when I had it encapsulated in UDP. Once I switched it back to native IPSEC (the IP protocol, not in a UDP wrapper for NAT traversal) it stopped blocking it. Repeated tickets to OVH resulted in no changes or fixes. They just ignored the tickets or were useless. Hope you don't need IPSEC with NAT traversal for them!

Tags

xmlsec/xmlsec1 In Heroku Python

Need xmlsec (aka xmlsec1) working in Heroku's Python? Try this: 

  1. Install buildpack: heroku buildpacks:add --index 1 heroku-community/apt
    1. This needs to be before the Python buildpack. You can validate that in the settings tab now days. 
  2. Create an Aptfile in the root of your project and add:
    1. libxml2-dev
      libxml2
      libxmlsec1-dev
      libxmlsec1
      libxmlsec1-openssl
      build-essential
      libxml2-utils
      xmlsec1
  3. Commit & Push!
Subscribe to