Mudanças entre as edições de "Criar ClusterGFS2"

De Slacam_Wiki
Ir para: navegação, pesquisa
Linha 39: Linha 39:
 
Exemplo da saída:
 
Exemplo da saída:
  
mpathd (360a98000572d2f615234655976454c6e) dm-2 NETAPP,LUN
+
<nowiki>mpathd (360a98000572d2f615234655976454c6e) dm-2 NETAPP,LUN
 
size=3.0T features='1 queue_if_no_path' hwhandler='0' wp=rw
 
size=3.0T features='1 queue_if_no_path' hwhandler='0' wp=rw
 
|-+- policy='round-robin 0' prio=4 status=active
 
|-+- policy='round-robin 0' prio=4 status=active
Linha 63: Linha 63:
 
   |- 1:0:0:1 sdb 8:16  active ready running
 
   |- 1:0:0:1 sdb 8:16  active ready running
 
   `- 2:0:0:1 sdh 8:112 active ready running
 
   `- 2:0:0:1 sdh 8:112 active ready running
 +
</nowiki>

Edição das 01h28min de 3 de novembro de 2011

Criação do Cluster para GFS2 (Storage NetApp) e Virtualização KVM

Pacotes a serem instalados em todos os Nodes

yum groupinstall "High Availability" "Resilient Storage"

Pacotes a serem instalados na Maquina de Gerencia

yum groupinstall "High Availability Management"

Desabilitar o selinux

vim /etc/selinux/config
SELINUX=disabled

Configurar os serviços para startup

chkconfig ricci on | service ricci start
chkconfig luci on | service luci start (apenas na maquina de gerencia)
chkconfig cman on | chkconfig clvmd on | chkconfig rgmanager on
chkconfig modclusterd on
chkconfig NetworkManager off | service NetworkMAnager stop

Apontar o browser para o conga interface e criar o cluster

https://node1.localdomain.com:8084
Entre o root username e password

Liste os discos que conectado na storage em qualquer um dos nodes (o que fizer para ele valerá para os outros)

multipath -ll

Exemplo da saída:

mpathd (360a98000572d2f615234655976454c6e) dm-2 NETAPP,LUN size=3.0T features='1 queue_if_no_path' hwhandler='0' wp=rw |-+- policy='round-robin 0' prio=4 status=active | |- 1:0:1:2 sdf 8:80 active ready running | `- 2:0:1:2 sdl 8:176 active ready running `-+- policy='round-robin 0' prio=1 status=enabled |- 1:0:0:2 sdc 8:32 active ready running `- 2:0:0:2 sdi 8:128 active ready running mpathc (360a98000572d2f615234655976545069) dm-1 NETAPP,LUN size=2.5T features='1 queue_if_no_path' hwhandler='0' wp=rw |-+- policy='round-robin 0' prio=4 status=active | |- 1:0:1:3 sdg 8:96 active ready running | `- 2:0:1:3 sdm 8:192 active ready running `-+- policy='round-robin 0' prio=1 status=enabled |- 1:0:0:3 sdd 8:48 active ready running `- 2:0:0:3 sdj 8:144 active ready running mpatha (360a98000572d2f615234655976325045) dm-0 NETAPP,LUN size=3.4T features='1 queue_if_no_path' hwhandler='0' wp=rw |-+- policy='round-robin 0' prio=4 status=active | |- 1:0:1:1 sde 8:64 active ready running | `- 2:0:1:1 sdk 8:160 active ready running `-+- policy='round-robin 0' prio=1 status=enabled |- 1:0:0:1 sdb 8:16 active ready running `- 2:0:0:1 sdh 8:112 active ready running