1 / 8

SQL AlwaysOn para System Center

SQL AlwaysOn para System Center. Eduardo Rothschild Abril Comunicações. Cenário. Um cluster de 2 nós de SQL share nothing para acomodar todos os componentes do System Center, Para construir este cluster, NÃO instale o SQL em cluster, apenas instale 2 instancias simples e crie o cluster

Download Presentation

SQL AlwaysOn para System Center

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. SQL AlwaysOn para System Center Eduardo Rothschild Abril Comunicações

  2. Cenário • Um cluster de 2 nós de SQL sharenothing para acomodar todos os componentes do System Center, • Para construir este cluster, NÃO instale o SQL em cluster, apenas instale 2 instancias simples e crie o cluster • Seguindo as melhores práticas, cada componente dever ter sua instância nomeada

  3. O Problema • Cada instancia de SQL na mesma máquina deve ter seu endpoint em uma porta específica • No wizard de criação do endpoint apesar de aparecer o parâmetro, não é possível sua modificação • Não é possível criar o Listener sem os EPscriados.

  4. A solução • Criar o Cluster via UI ou PS • Criar o AGvia UI • Criar e permissionar os endpoints via SQL query • Replique uma base vazia • Criar o listener via UI • Instale o componente usando o nome do cluster\instancia

  5. A query de SQL ALTER AVAILABILITY GROUP [SCSM_MS] MODIFY REPLICA ON ‘SQL-node1\InstanciaX' WITH (ENDPOINT_URL = 'TCP://SQL-node1.ms2012.local:5027') go ALTER AVAILABILITY GROUP [SCSM_MS] MODIFY REPLICA ON ‘SQL-node2\InstanciaX' WITH (ENDPOINT_URL = 'TCP://SQL-node2.ms2012.local:5027 ') go CREATE ENDPOINT [Hadr_endpoint] STATE=STARTED AS TCP (LISTENER_PORT = 5027, LISTENER_IP = ALL) FOR DATA_MIRRORING (ROLE = ALL, AUTHENTICATION = WINDOWS NEGOTIATE , ENCRYPTION = REQUIRED ALGORITHM AES) GO USE [master] GO CREATE LOGIN [NT AUTHORITY\NETWORK SERVICE] FROM WINDOWS WITH DEFAULT_DATABASE=[master] GO use [master] GO GRANT CONNECT ON ENDPOINT::[Hadr_endpoint] TO [NT AUTHORITY\NETWORK SERVICE] GO

  6. Outros itens que não dão certo de cara • Além dos endpoints, o Orchestrator requer que você exporte a Master Key do SQL ativo durante a instalação e restore no nó passivo • O DPM não consegue trabalhar com instancias de SQL com “_” no nome. Simplesmente remova o “_”

  7. Demo Será que vai?

  8. Para lembrar - Agenda

More Related