Openstack » Historique » Version 38
Version 37 (Laurent GUERBY, 02/09/2014 09:45) → Version 38/78 (Laurent GUERBY, 02/09/2014 10:03)
{{>toc}}
h1. Openstack
h2. Objectifs
Monter un cluster openstack a tetaneutral.net en remplacement de ganeti (h1/4/5/6) + libvirt (n7).
h2. Liens
* http://opensource.com/business/14/5/new-openstack-tutorials
* [[Openstack Installation TTNN]]
h2. Ressources
Ressources dispo :
# h5 P8H67-M PRO i7-2600 16GB upgradable a 32 GB 4xSATA 3Gb 2xSATA 6Gb http://www.asus.com/Motherboards/P8H67M_PRO/specifications/
# h6 P8H67-M PRO i7-2600 16GB upgradable a 32 GB
# h1 P8H67-M PRO i7-2600 16GB upgradable a 32 GB perso guerby
# h4 P8H67-M EVO i7-2600 16GB upgradable a 32 GB 4xSATA 3Gb 2xSATA 6Gb 1x eSATA perso guerby http://www.asus.com/Motherboards/P8H67M_EVO/specifications/
# h8 Intel DQ67OW i5-2500 32 GB (ex velizy) http://ark.intel.com/products/51999/Intel-Desktop-Board-DQ67OW
# z2-4 P8H67-M PRO i7-2600 16GB upgradable 32 GB FSF France
# z2-9 GA-890GPA-UD3H i7-2600 16GB pas upgradable 6x SATA 6Gb 2x SATA 3Gb FSF France http://www.gigabyte.com/products/product-page.aspx?pid=3516#sp
# bm0402 Q87M vPro i7-4770 32 GB FSF France 6x SATA 3Gb http://www.asrock.com/mb/Intel/Q87M%20vPro/?cat=Specifications
# bm0403 Q87M vPro i7-4770 32 GB FSF France
# lapaillasse.org GA-B75M-D3H i3-3220 perso julien core i7 24 upgradable 32 GB + 5 disques http://www.gigabyte.com/products/product-page.aspx?pid=4150#sp
# xeon S1200BTL E3-1230 8GB upgradable a 32 GB 6x SATA perso guerby http://ark.intel.com/products/53557/intel-server-board-s1200btl
# pc2 DQ67SW i5-2500 16GB upgradable 32 GB perso guerby http://ark.intel.com/products/51997/intel-desktop-board-dq67sw
# n7 PowerEdge R310 rackable 32 GB 4x SATA http://www.dell.com/downloads/emea/products/R310_spec_sheet.pdf
# STRI rackable 32 GB 1U SC813MTQ-350CBK - PWS-351-1H - 4x Hot-swap 3.5" SAS/SATA X9SCL-F 4xDDR3 UDIMM 8GB KVR1333D3E9S/8G xeon E3-1230V2 3x3TB WD3000FYYZ RE http://www.supermicro.com/products/motherboard/Xeon/C202_C204/X9SCL-F.cfm
# TODO PC mutu Yannick ?
# TODO INSA ?
# perso autre ?
Total 5*32 + 1*24 + 7*16 + 1*8 = 304 GB upgradable 13*32 + 1*16 = 416 GB
Autres
# chaussette H77MA-G43 MS-7756 i3-3220 4GB RAM = 2x2 GB upgradable a 32 GB 2x1.5 TB 2x SATA6Gb + 4 x SATA3Gb http://www.msi.com/product/mb/H77MAG43.html#/?div=Basic
# lesplanade.org B75-D3V G620T 16GB RAM upgradable 32 GB 500GB disque 1xSATA6Gb 4x SATA3Gb 1xmSATA http://www.gigabyte.com/products/product-page.aspx?pid=4149#sp
# h7 Q87M vPro i5-4570 8GB upgradable a 32GB SSD Samsung_SSD_840_PRO_Series_S1ANNSAF106674W 6x SATA 3Gb http://www.asrock.com/mb/Intel/Q87M%20vPro/
lapaillasse
<pre>
disque_dur WESTERN DIGITAL Caviar Red - 3 To - SATA 6Go/s - 64 Mo cache - disque dur spécial pour NAS
disque_dur WESTERN DIGITAL Caviar Green - 1 To - SATA 6Go/s - 64 Mo Cache WD10EZRX
disque_dur WESTERN DIGITAL Caviar Red - 1 To - SATA 6Gos - 64 Mo cache - disque dur spécial pour NAS
processeur INTEL Core i3-3220 3.30GHz 3Mo Cache Socket LGA1155 Graphics HD2500 35W BX80637I33220 | BX80637I33220
memoire_DDR3 KINGSTON Hyper X Blu Red Serie 8G (1x8Go) PC12800 1600MHz CL10 | KHX16C10B1R/8 3x
carte_mere GIGABYTE GA-B75M-D3H | Chipset Intel B75 - Socket 1155 - DDR3 - 2x PCIE 16X (dont 1x 3.0) - 1x SATA3 - USB 3.0 - HDMI/DVI/VGA - mATX
</pre>
Uses cases
# Je veux bien filer mes disques a installer sur d'autres machines mais je veux rester seul root sur mes machines physiques, je chiffrerai donc le stockage distant que j'utilise, possible ?
# Je veux bien partager des disques de ma machine mais je veux rester seul root sur mes machines physiques, possible ?
# Autre ?
h2. Reunions
h3. lundi 20140421
midi Toulouse centre a la belle verte http://www.labellevertebio.com/
# Loic
# Elie
# Laurent
discussion droits et ceph :
* http://ceph.com/docs/master/rados/operations/auth-intro/#cephx-limitations
* http://ceph.com/docs/master/rbd/rbd-ko/
* rados messages https://github.com/ceph/ceph/tree/master/src/messages
* rados messenger https://github.com/ceph/ceph/tree/master/src/msg
* Public access to RBD http://lists.ceph.com/pipermail/ceph-users-ceph.com/2014-April/019017.html
* Sharing hard drives with Ceph http://dachary.org/?p=2930
* patch par dachary pour simplifier : https://github.com/ceph/ceph/pull/1717
h3. vendredi 20140425
12h30 Labege http://www.lacoteetlarete.fr/
# Mehdi
# Joris
# Elie
# Lionel
# Laurent
* howto ubuntu http://redmine.the.re/projects/there/wiki/HOWTO_setup_OpenStack
* KVM debian rdb pb avec arm http://metadata.ftp-master.debian.org/changelogs//main/q/qemu/qemu_1.7.0+dfsg-9_changelog
* manifest enovance https://github.com/enovance/puppet-openstack-cloud
* BSD http://wiki.ceph.com/Planning/Blueprints/Emperor/Increasing_Ceph_portability
h3. mardi 20140902
9h 10 tricou, mehdi et laurent
<pre>
ceph osd tree
=> affiche les osd et devices
=> cat /proc/mounts pour voir ou c'est cree
ceph osd crush rule dump
=> regles
ceph osd pool get ssds min_size
=> repond ok apres min_size replica
ceph osd pool get ssds size
=> nb de replica
ceph -s
=> status du cluster
up => fonction
in => utilisé
pg = placement group
/etc/init.d/ceph stop osd
=> simuler un arret
/etc/init.d/ceph stop osd.4
=> arret juste un disque
ceph osd set noout
ceph osd unset noout
=> desactive la replication automatique si on sait qu'on va couper une machine
rbp -p images import fichier_in fichier_dans_pool
=> ajout un pichier dans un pool ici images
rados lspools
=> liste des pools
rados -p disks ls
=> affiche les objets
ceph => osd/mon
rados => objets
rbd => block device
</pre>
question a loic sur les placement groups
consideration reseau /etc/ceph/ceph.conf
<pre>
cluster_network = 192.168.3.0/24
# replication entre les osd
public_network = 192.168.3.0/24
mon_host = 192.168.3.101,192.168.3.102,192.168.3.103
# acces aux moniteurs + osd pour les clients
</pre>
h1. Openstack
h2. Objectifs
Monter un cluster openstack a tetaneutral.net en remplacement de ganeti (h1/4/5/6) + libvirt (n7).
h2. Liens
* http://opensource.com/business/14/5/new-openstack-tutorials
* [[Openstack Installation TTNN]]
h2. Ressources
Ressources dispo :
# h5 P8H67-M PRO i7-2600 16GB upgradable a 32 GB 4xSATA 3Gb 2xSATA 6Gb http://www.asus.com/Motherboards/P8H67M_PRO/specifications/
# h6 P8H67-M PRO i7-2600 16GB upgradable a 32 GB
# h1 P8H67-M PRO i7-2600 16GB upgradable a 32 GB perso guerby
# h4 P8H67-M EVO i7-2600 16GB upgradable a 32 GB 4xSATA 3Gb 2xSATA 6Gb 1x eSATA perso guerby http://www.asus.com/Motherboards/P8H67M_EVO/specifications/
# h8 Intel DQ67OW i5-2500 32 GB (ex velizy) http://ark.intel.com/products/51999/Intel-Desktop-Board-DQ67OW
# z2-4 P8H67-M PRO i7-2600 16GB upgradable 32 GB FSF France
# z2-9 GA-890GPA-UD3H i7-2600 16GB pas upgradable 6x SATA 6Gb 2x SATA 3Gb FSF France http://www.gigabyte.com/products/product-page.aspx?pid=3516#sp
# bm0402 Q87M vPro i7-4770 32 GB FSF France 6x SATA 3Gb http://www.asrock.com/mb/Intel/Q87M%20vPro/?cat=Specifications
# bm0403 Q87M vPro i7-4770 32 GB FSF France
# lapaillasse.org GA-B75M-D3H i3-3220 perso julien core i7 24 upgradable 32 GB + 5 disques http://www.gigabyte.com/products/product-page.aspx?pid=4150#sp
# xeon S1200BTL E3-1230 8GB upgradable a 32 GB 6x SATA perso guerby http://ark.intel.com/products/53557/intel-server-board-s1200btl
# pc2 DQ67SW i5-2500 16GB upgradable 32 GB perso guerby http://ark.intel.com/products/51997/intel-desktop-board-dq67sw
# n7 PowerEdge R310 rackable 32 GB 4x SATA http://www.dell.com/downloads/emea/products/R310_spec_sheet.pdf
# STRI rackable 32 GB 1U SC813MTQ-350CBK - PWS-351-1H - 4x Hot-swap 3.5" SAS/SATA X9SCL-F 4xDDR3 UDIMM 8GB KVR1333D3E9S/8G xeon E3-1230V2 3x3TB WD3000FYYZ RE http://www.supermicro.com/products/motherboard/Xeon/C202_C204/X9SCL-F.cfm
# TODO PC mutu Yannick ?
# TODO INSA ?
# perso autre ?
Total 5*32 + 1*24 + 7*16 + 1*8 = 304 GB upgradable 13*32 + 1*16 = 416 GB
Autres
# chaussette H77MA-G43 MS-7756 i3-3220 4GB RAM = 2x2 GB upgradable a 32 GB 2x1.5 TB 2x SATA6Gb + 4 x SATA3Gb http://www.msi.com/product/mb/H77MAG43.html#/?div=Basic
# lesplanade.org B75-D3V G620T 16GB RAM upgradable 32 GB 500GB disque 1xSATA6Gb 4x SATA3Gb 1xmSATA http://www.gigabyte.com/products/product-page.aspx?pid=4149#sp
# h7 Q87M vPro i5-4570 8GB upgradable a 32GB SSD Samsung_SSD_840_PRO_Series_S1ANNSAF106674W 6x SATA 3Gb http://www.asrock.com/mb/Intel/Q87M%20vPro/
lapaillasse
<pre>
disque_dur WESTERN DIGITAL Caviar Red - 3 To - SATA 6Go/s - 64 Mo cache - disque dur spécial pour NAS
disque_dur WESTERN DIGITAL Caviar Green - 1 To - SATA 6Go/s - 64 Mo Cache WD10EZRX
disque_dur WESTERN DIGITAL Caviar Red - 1 To - SATA 6Gos - 64 Mo cache - disque dur spécial pour NAS
processeur INTEL Core i3-3220 3.30GHz 3Mo Cache Socket LGA1155 Graphics HD2500 35W BX80637I33220 | BX80637I33220
memoire_DDR3 KINGSTON Hyper X Blu Red Serie 8G (1x8Go) PC12800 1600MHz CL10 | KHX16C10B1R/8 3x
carte_mere GIGABYTE GA-B75M-D3H | Chipset Intel B75 - Socket 1155 - DDR3 - 2x PCIE 16X (dont 1x 3.0) - 1x SATA3 - USB 3.0 - HDMI/DVI/VGA - mATX
</pre>
Uses cases
# Je veux bien filer mes disques a installer sur d'autres machines mais je veux rester seul root sur mes machines physiques, je chiffrerai donc le stockage distant que j'utilise, possible ?
# Je veux bien partager des disques de ma machine mais je veux rester seul root sur mes machines physiques, possible ?
# Autre ?
h2. Reunions
h3. lundi 20140421
midi Toulouse centre a la belle verte http://www.labellevertebio.com/
# Loic
# Elie
# Laurent
discussion droits et ceph :
* http://ceph.com/docs/master/rados/operations/auth-intro/#cephx-limitations
* http://ceph.com/docs/master/rbd/rbd-ko/
* rados messages https://github.com/ceph/ceph/tree/master/src/messages
* rados messenger https://github.com/ceph/ceph/tree/master/src/msg
* Public access to RBD http://lists.ceph.com/pipermail/ceph-users-ceph.com/2014-April/019017.html
* Sharing hard drives with Ceph http://dachary.org/?p=2930
* patch par dachary pour simplifier : https://github.com/ceph/ceph/pull/1717
h3. vendredi 20140425
12h30 Labege http://www.lacoteetlarete.fr/
# Mehdi
# Joris
# Elie
# Lionel
# Laurent
* howto ubuntu http://redmine.the.re/projects/there/wiki/HOWTO_setup_OpenStack
* KVM debian rdb pb avec arm http://metadata.ftp-master.debian.org/changelogs//main/q/qemu/qemu_1.7.0+dfsg-9_changelog
* manifest enovance https://github.com/enovance/puppet-openstack-cloud
* BSD http://wiki.ceph.com/Planning/Blueprints/Emperor/Increasing_Ceph_portability
h3. mardi 20140902
9h 10 tricou, mehdi et laurent
<pre>
ceph osd tree
=> affiche les osd et devices
=> cat /proc/mounts pour voir ou c'est cree
ceph osd crush rule dump
=> regles
ceph osd pool get ssds min_size
=> repond ok apres min_size replica
ceph osd pool get ssds size
=> nb de replica
ceph -s
=> status du cluster
up => fonction
in => utilisé
pg = placement group
/etc/init.d/ceph stop osd
=> simuler un arret
/etc/init.d/ceph stop osd.4
=> arret juste un disque
ceph osd set noout
ceph osd unset noout
=> desactive la replication automatique si on sait qu'on va couper une machine
rbp -p images import fichier_in fichier_dans_pool
=> ajout un pichier dans un pool ici images
rados lspools
=> liste des pools
rados -p disks ls
=> affiche les objets
ceph => osd/mon
rados => objets
rbd => block device
</pre>
question a loic sur les placement groups
consideration reseau /etc/ceph/ceph.conf
<pre>
cluster_network = 192.168.3.0/24
# replication entre les osd
public_network = 192.168.3.0/24
mon_host = 192.168.3.101,192.168.3.102,192.168.3.103
# acces aux moniteurs + osd pour les clients
</pre>