{"id":540,"date":"2016-11-11T15:01:30","date_gmt":"2016-11-11T15:01:30","guid":{"rendered":"https:\/\/www.ull.es\/servicios\/stic\/?p=540"},"modified":"2022-02-15T13:51:03","modified_gmt":"2022-02-15T13:51:03","slug":"sistema-de-almacenamiento-ceph","status":"publish","type":"post","link":"https:\/\/www.ull.es\/servicios\/stic\/2016\/11\/11\/sistema-de-almacenamiento-ceph\/","title":{"rendered":"Sistema de almacenamiento ceph"},"content":{"rendered":"<h3 style=\"text-align: justify\"><span style=\"font-weight: 400\">Sistemas de almacenamiento de datos en la ULL<\/span><\/h3>\n<p style=\"text-align: justify\"><span style=\"font-weight: 400\">\u00a0 \u00a0 Los datos constituyen en la actualidad un activo muy importante para una entidad, y su correcto almacenamiento es un pilar fundamental para el desarrollo de las actividades de cualquier empresa. Una Universidad debe disponer de infraestructuras que cumplan estrictos criterios de seguridad, disponibilidad y eficiencia a la hora de almacenar y acceder a sus datos. <\/span><\/p>\n<p><span style=\"font-weight: 400\">\u00a0 \u00a0 Desde el Servicio TIC, a lo largo del tiempo, esta seguridad, disponibilidad y eficiencia se ha logrado usando diferentes soluciones o m\u00e1s bien, una combinaci\u00f3n estas.<\/span><\/p>\n<p><span style=\"font-weight: 400\">En l\u00edneas generales, las tecnolog\u00edas que se usan son:<\/span><\/p>\n<p><strong>Sistemas tipo SAN<\/strong><\/p>\n<p><span style=\"font-weight: 400\">Consisten en grandes equipos, muy potentes, gestionados de forma centralizada y que permiten acceso a los datos a alta velocidad.<\/span><\/p>\n<p><i><span style=\"font-weight: 400\">Ventajas <\/span><\/i><\/p>\n<ol style=\"text-align: justify\">\n<li style=\"list-style-type: none\">\n<ol>\n<li style=\"list-style-type: none\">\n<ol>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Se consigue un alto rendimiento de acceso ya que la conexi\u00f3n suele ser a trav\u00e9s de redes de fibra \u00f3ptica y los discos son de diferentes tecnolog\u00edas.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Se pueden conseguir grandes capacidades de almacenamiento por la capacidad de ampliaci\u00f3n que nos ofrece.<\/span><\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<p style=\"text-align: justify\"><i><span style=\"font-weight: 400\">Desventajas<\/span><\/i><\/p>\n<ol style=\"text-align: justify\">\n<li style=\"list-style-type: none\">\n<ol>\n<li style=\"list-style-type: none\">\n<ol>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Muchos servicios en una misma infraestructura, por lo que cualquier actuaci\u00f3n significa dejar de dar servicios, lo que implica que se llegue a tener gran dependencia en una sola infraestructura.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Precio muy alto, tanto de adquisici\u00f3n como de mantenimiento y ampliaciones.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Alta dependencia con el fabricante, son soluciones propietarias.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Un cambio de tecnolog\u00eda es un proceso traum\u00e1tico para la organizaci\u00f3n.<\/span><\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<p style=\"text-align: justify\"><strong>Sistemas tipo NAS<\/strong><\/p>\n<p><span style=\"font-weight: 400\">\u00a0 \u00a0 Consiste en cabinas de disco a los que se accede a trav\u00e9s de la red, normalmente sus capacidades son de varios \u00f3rdenes de magnitud menor que las SAN. Para conseguir \u00a0alta disponibilidad, se configuran en parejas redundantes.<\/span><\/p>\n<p><i><span style=\"font-weight: 400\">Ventajas<\/span><\/i><\/p>\n<ol style=\"text-align: justify\">\n<li style=\"list-style-type: none\">\n<ol>\n<li style=\"list-style-type: none\">\n<ol>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Buen rendimiento, aunque menor que las SAN.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Coste menor que las SAN.<\/span><\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<p style=\"text-align: justify\"><i><span style=\"font-weight: 400\">Desventajas<\/span><\/i><\/p>\n<ol style=\"text-align: justify\">\n<li style=\"list-style-type: none\">\n<ol>\n<li style=\"list-style-type: none\">\n<ol>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Dependencia de fabricante.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Para crecer, normalmente es necesario adquirir m\u00e1s equipos.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Son soluciones poco flexibles<\/span><\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<p style=\"text-align: justify\"><strong>Ceph<\/strong><\/p>\n<p><i><span style=\"font-weight: 400\">\u00a0 \u00a0 Ceph<\/span><\/i><span style=\"font-weight: 400\"> es un sistema de almacenamiento distribuido destinado a proporcionar un buen rendimiento y una alta fiabilidad y escalabilidad. Est\u00e1 desarrollado en c\u00f3digo abierto, por lo que est\u00e1 disponible libremente y se ejecuta sobre hardware b\u00e1sico.<\/span><\/p>\n<p><i><span style=\"font-weight: 400\">Ventajas<\/span><\/i><\/p>\n<ol style=\"text-align: justify\">\n<li style=\"list-style-type: none\">\n<ol>\n<li style=\"list-style-type: none\">\n<ol>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Rendimiento bastante alto<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Coste relativamente bajo y que se reduce cada vez m\u00e1s seg\u00fan la capacidad aumenta.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Total independencia de fabricantes<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Para crecer, s\u00f3lo es es necesario a\u00f1adir m\u00e1s equipos, crecimiento horizontal.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Soluciones altamente flexibles. <\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Control total sobre la soluci\u00f3n.<\/span><\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<p style=\"text-align: justify\"><i><span style=\"font-weight: 400\">Desventajas<\/span><\/i><\/p>\n<ol style=\"text-align: justify\">\n<li style=\"list-style-type: none\">\n<ol>\n<li style=\"list-style-type: none\">\n<ol>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Para peque\u00f1as capacidades, el coste de implantaci\u00f3n es elevado.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Dependiendo de la entidad donde se monta, el que todo sea autogestionado, podr\u00eda ser una desventaja.<\/span><\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<p style=\"text-align: justify\"><span style=\"font-weight: 400\">Si le interesa conocer la historia que hay detr\u00e1s de Ceph puede hacerlo a trav\u00e9s del siguiente <a href=\"https:\/\/community.redhat.com\/blog\/2014\/06\/ceph-turns-10-a-look-back\/\" target=\"_blank\" rel=\"noopener\">enlace<\/a>.<\/span><\/p>\n<p><strong>Nuestra soluci\u00f3n<\/strong><\/p>\n<p><span style=\"font-weight: 400\">\u00a0 \u00a0 En el Servicio TIC se han utilizado tanto sistemas NAS como SAN, pero debido a los defectos mencionados en este art\u00edculo, los sistemas tipo SAN se han dejado de utilizar y actualmente los sistemas de almacenamiento se ofrecen con tecnolog\u00edas tipo NAS y Ceph. Nos centraremos en nuestra experiencia con ceph, pues para la parte de NAS, ya hay mucha documentaci\u00f3n sobre esta tecnolog\u00eda.<\/span><\/p>\n<p><span style=\"font-weight: 400\">\u00a0 \u00a0 Los principales objetivos que justifican la implantaci\u00f3n de un sistema de estas caracter\u00edsticas en el Servicio TIC son:<\/span><\/p>\n<ol style=\"text-align: justify\">\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Proporcionar almacenamiento tanto a m\u00e1quinas virtuales, como a m\u00e1quinas f\u00edsicas alojadas en el Centro de Proceso de Datos (CPD).<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Depositar grandes cantidades de datos a un precio asequible para garantizar la sostenibilidad y con alta disponibilidad.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Ampliar la capacidad del sistema seg\u00fan se vaya necesitando y de forma totalmente horizontal.<\/span><\/li>\n<\/ol>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-547 aligncenter\" src=\"https:\/\/www.ull.es\/servicios\/stic\/wp-content\/uploads\/sites\/2\/2016\/11\/Captura-4-300x95.jpg\" alt=\"captura\" width=\"663\" height=\"210\" srcset=\"https:\/\/www.ull.es\/servicios\/stic\/wp-content\/uploads\/sites\/2\/2016\/11\/Captura-4-300x95.jpg 300w, https:\/\/www.ull.es\/servicios\/stic\/wp-content\/uploads\/sites\/2\/2016\/11\/Captura-4-768x243.jpg 768w, https:\/\/www.ull.es\/servicios\/stic\/wp-content\/uploads\/sites\/2\/2016\/11\/Captura-4-1024x324.jpg 1024w, https:\/\/www.ull.es\/servicios\/stic\/wp-content\/uploads\/sites\/2\/2016\/11\/Captura-4.jpg 1117w\" sizes=\"auto, (max-width: 663px) 100vw, 663px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\"><span style=\"font-weight: 400\">\u00a0 \u00a0 Ceph de por s\u00ed no proporciona la flexibilidad suficiente para cubrir toda la casu\u00edstica que se nos presentaba. Por ello, adem\u00e1s del cluster <\/span><i><span style=\"font-weight: 400\">Ceph<\/span><\/i><span style=\"font-weight: 400\">, se ha implantado un cluster de tipo <\/span><i><span style=\"font-weight: 400\">pacemaker<\/span><\/i><span style=\"font-weight: 400\"> &#8211; tambi\u00e9n empleando <\/span><i><span style=\"font-weight: 400\">software open source<\/span><\/i><span style=\"font-weight: 400\"> &#8211; \u00a0a modo de cabecera para proveer servicios mediante los protocolos iSCSI, NFS y SMB. <\/span><\/p>\n<ul style=\"text-align: justify\">\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">El protocolo iSCSI va destinado a proveer la infraestructura de m\u00e1quinas virtuales. <\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">El protocolo NFS para servidores en general alojados en nuestro centro de datos y con administraci\u00f3n propia. <\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">El protocolo SMB que proporciona almacenamiento para servidores en status de \u201c<\/span><i><span style=\"font-weight: 400\">housing<\/span><\/i><span style=\"font-weight: 400\">\u201d en nuestro centro de datos, as\u00ed como para el servicio de disco duro virtual de la instituci\u00f3n (DDV).<\/span><\/li>\n<\/ul>\n<p><span style=\"font-weight: 400\">\u00a0 \u00a0 En el caso de los vol\u00famenes exportados mediante RBD, NFS y SMB se nos presentan las siguientes ventajas adicionales respecto a la realizaci\u00f3n de copias de seguridad:<\/span><\/p>\n<ol style=\"text-align: justify\">\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Pueden programarse en los nodos cabecera y hacerse desde estos sin intervenci\u00f3n de la m\u00e1quina a la que dan servicio.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Pueden hacerse en caliente mediante <\/span><i><span style=\"font-weight: 400\">snapshots<\/span><\/i><span style=\"font-weight: 400\">, con lo que son consistentes respecto a un determinado punto en el tiempo.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Van destinadas directamente a almacenamiento \u201cfr\u00edo\u201d (dispositivos LTO-5 en este caso).<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Pueden hacerse de forma incremental.<\/span><\/li>\n<\/ol>\n<p style=\"text-align: justify\"><span style=\"font-weight: 400\">\u00a0 \u00a0 En conclusi\u00f3n, el sistema de almacenamiento <\/span><b><i>Ceph <\/i><\/b><span style=\"font-weight: 400\">nos aporta control total sobre el sistema, posibilidad de crecimiento horizontal, e independencia de cualquier fabricante, coste reducido para grandes cantidades de datos y un buen rendimiento, por lo que parece que se va a convertir en el backend de almacenamiento principal de la Universidad para los pr\u00f3ximos a\u00f1os.<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Sistemas de almacenamiento de datos en la ULL \u00a0 \u00a0 Los datos constituyen en la actualidad un activo muy importante para una entidad, y su correcto almacenamiento es un pilar fundamental para el desarrollo de las actividades de cualquier empresa. Una Universidad debe disponer de infraestructuras que cumplan estrictos criterios de seguridad, disponibilidad y eficiencia&#8230;<\/p>\n","protected":false},"author":6,"featured_media":560,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[16,6,7,1],"tags":[71,74,72,73],"class_list":["post-540","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cpd","category-infraestructuras","category-noticias","category-sin-categoria","tag-almacenamiento","tag-ceph","tag-nas","tag-san"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.ull.es\/servicios\/stic\/wp-json\/wp\/v2\/posts\/540","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ull.es\/servicios\/stic\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ull.es\/servicios\/stic\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ull.es\/servicios\/stic\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ull.es\/servicios\/stic\/wp-json\/wp\/v2\/comments?post=540"}],"version-history":[{"count":10,"href":"https:\/\/www.ull.es\/servicios\/stic\/wp-json\/wp\/v2\/posts\/540\/revisions"}],"predecessor-version":[{"id":6781,"href":"https:\/\/www.ull.es\/servicios\/stic\/wp-json\/wp\/v2\/posts\/540\/revisions\/6781"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.ull.es\/servicios\/stic\/wp-json\/wp\/v2\/media\/560"}],"wp:attachment":[{"href":"https:\/\/www.ull.es\/servicios\/stic\/wp-json\/wp\/v2\/media?parent=540"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ull.es\/servicios\/stic\/wp-json\/wp\/v2\/categories?post=540"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ull.es\/servicios\/stic\/wp-json\/wp\/v2\/tags?post=540"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}