Forum

sql2005 1418 hatasi...
 
Bildirimler
Hepsini Temizle

sql2005 1418 hatasi - sql server 2005 database mirroring

51 Yazılar
9 Üyeler
0 Reactions
1,774 Görüntüleme
(@muratdogan)
Gönderiler: 162
Reputable Member
Konu başlatıcı
 

vazgecmek degil ama bu noktadan sonra ne yapacagimi bilmiyorum hemem hemen hersei denedim sorunun ne oldugunu bulamiyorum

 
Gönderildi : 10/10/2008 19:36

(@mesutaladag)
Gönderiler: 327
Reputable Member
 

Merhabalar,


http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=258365&SiteID=1  adresindeki 26 adimlik surece gore Database Mirroring islemini tekrar yaparmisiniz?


Mesut ALADAG


Technology Director


Microsoft Certified Trainer


www.ITSTACK.com.tr | www.mesutaladag.com | www.cozumpark.com


 

 
Gönderildi : 11/10/2008 01:40

(@ugurdasdemir)
Gönderiler: 1824
Noble Member
 

Pinal Dave abinin notları arasından buldum ..bence abicim kafanı toparla hatayı görürsün zaten ....

SQL
SERVER - Fix : Error: 1418 - Microsoft SQL Server - The server network
address can not be reached or does not exist. Check the network address
name and reissue the command

Error:
1418 - Microsoft SQL Server - The server network address can not be
reached or does not exist. Check the network address name and reissue
the command

The server network endpoint did not respond because the specified server network address cannot be reached or does not exist.

Fix/Workaround/Solution:

Step 1) Your system Firewall should not block SQL Server port.

Step 2) Go to Computer Management >> Service and Application
>> SQL Server 2005 Configuration >> Network Configuration
Enable TCP/IP protocol. Make sure that SQL SERVER port is by Default 1433.

Just to make sure follow one more step which may or may not be necessary.

Step 3) Go to Computer Management >> Service and Application
>> SQL Server 2005 Configuration >> Client Configuration
Enable TCP/IP protocol.

 
Gönderildi : 11/10/2008 02:29

(@muratdogan)
Gönderiler: 162
Reputable Member
Konu başlatıcı
 

mesut bey bilgi icin tesekkur ederim o maddeleri bu aksam tekrardan kontrol edicem tesekkurler

 
Gönderildi : 13/10/2008 14:42

(@muratdogan)
Gönderiler: 162
Reputable Member
Konu başlatıcı
 

gene olmadi 🙁 sanirim sorun bende


 

 
Gönderildi : 14/10/2008 12:54

(@selimatmaca)
Gönderiler: 242
Reputable Member
 

sizin makineler de amma inatmis 🙂 hala bekliyorum, acaba sorunu cozen cikar mi diye

 
Gönderildi : 24/10/2008 03:50

(@muratdogan)
Gönderiler: 162
Reputable Member
Konu başlatıcı
 

hala ugrasiyorum ama bi sonuc yok

 
Gönderildi : 27/10/2008 01:28

(@muratdogan)
Gönderiler: 162
Reputable Member
Konu başlatıcı
 

arkadaslar ben problemi cozdum suan sql miror calişiyor 🙂

 
Gönderildi : 05/11/2008 00:18

Hakan Uzuner
(@hakanuzuner)
Gönderiler: 33311
Illustrious Member Yönetici
 

peki bizimlede paylaşmayı hatta makalesini yazmayı düşünürmüsün.

Danışman - ITSTACK Bilgi Sistemleri
****************************************************************
Probleminiz Çözüldüğünde Sonucu Burada Paylaşırsanız.
Sizde Aynı Problemi Yaşayanlar İçin Yardım Etmiş Olursunuz.
Eğer sorununuz çözüldü ise lütfen "çözüldü" olarak işaretlerseniz diğer üyeler için çok büyük kolaylık sağlayacaktır.
*****************************************************************

 
Gönderildi : 05/11/2008 00:39

(@muratdogan)
Gönderiler: 162
Reputable Member
Konu başlatıcı
 

tabiki yazicam suan derliyorum bitince buraya yazarim

 
Gönderildi : 05/11/2008 00:49

(@sinankahraman)
Gönderiler: 5225
Illustrious Member
 

Ben merakla bekliyor olacağım 🙂

 
Gönderildi : 05/11/2008 00:50

(@muratdogan)
Gönderiler: 162
Reputable Member
Konu başlatıcı
 

sql 2005 miroring


konfigurasyon icin sistemimde 3 adet server ve ozellikleri


1 Principal Server win2003 sbs pre (AD DNS DHCP) sp2 Bütün updateleri yapili durumda  SQL2005 Developer SP2 yuklu  


2  Mirror Server win2000 server domain joined sp4 ve updateleri yapili  SQL2005 Developer SP2 yuklu  


3 Witness Server win2003 stnd sp2 ve butun updateleri yapili  SQL2005 Developer SP2 yuklu  


sql mirorin işlemine baslamadan once aşagidaki adimlari kontrol ediyoruz


--- SQL Server Surface Area Configuration dan administrator e sysadmin rol ekliyoruz


---   SQL Server Configuration Manager TCP/İP , Named pipes in enable yapiyoruz


--- eger sistemde bir firewall kullaniyorsak firewall dan 1433 ve sql mirorin icin 5022 portlarini aciyoruz


---  SQL Server Management Studio acip mirorin işlrmi icin kullanacagimiz database in ozelliklerine girip recovery model i   full olarak seciyoruz


---  databaseimizin ful  backup unu aliyoruz


--- transactions log un backup unu aliyoruz


--- Mirror Server aldigimiz yedekleri no recovery secenegiyle restore ediyoruz


bundan sonra asagidaki scripleri sirasi ile caliştirmaniz yeterli


--- HOST A = Principal Server , HOST B = Mirror Server , HOST W = Witness Server


 


 -- Principal Server
      create master key encryption by password = 'abc123!!';
      GO


      create certificate HOST_A_cert with subject = 'HOST_A certificate',
start_date = '2007/11/11', expiry_date = '2020/11/11';
      GO


      Create endpoint endpoint_mirroring state = started
      as tcp(listener_port = 5022, listener_ip = all)
      for database_mirroring (authentication = certificate HOST_A_cert,
encryption = disabled, role = all);
      GO


      Backup certificate HOST_A_cert to file = 'c:\HOST_A_cert.cer';
      GO


      -- Mirror Server
      create master key encryption by password = 'abc123!!';
      GO


      create certificate HOST_B_cert with subject = 'HOST_B certificate',
start_date = '2008/11/11', expiry_date = '2020/11/11';
      GO


      Create endpoint endpoint_mirroring state = started
      as tcp(listener_port = 5022, listener_ip = all)
      for database_mirroring (authentication = certificate HOST_B_cert,
encryption = disabled, role = all);
      GO


      Backup certificate HOST_B_cert to file = 'c:\HOST_B_cert.cer';
      GO


      -- Witness Server
      create master key encryption by password = 'abc123!!';
      GO


      create certificate HOST_W_cert with subject = 'HOST_W certificate',
start_date = '2008/11/11', expiry_date = '2020/11/11';
      GO


      Create endpoint endpoint_mirroring state = started
      as tcp(listener_port = 5022, listener_ip = all)
      for database_mirroring (authentication = certificate HOST_W_cert,
encryption = disabled, role = witness);
      GO


      Backup certificate HOST_W_cert to file = 'c:\HOST_W_cert.cer';
      GO


      -- Principal Server
      create login HOST_B_login with PASSWORD = 'abc123!!';
      GO


      create user HOST_B_user from login HOST_B_login;
      GO


      Create certificate HOST_B_cert
      Authorization HOST_B_user
      From file = 'c:\HOST_B_cert.cer';
      GO


      Grant CONNECT ON Endpoint::endpoint_mirroring to [HOST_B_login];
      GO
      ------
      create login HOST_W_login with PASSWORD = 'abc123!!';
      GO


      create user HOST_W_user from login HOST_W_login;
      GO


      Create certificate HOST_W_cert
      Authorization HOST_W_user
      From file = 'c:\HOST_W_cert.cer';
      GO


      Grant CONNECT ON Endpoint::endpoint_mirroring to [HOST_W_login];
      GO


      -- Mirror Server
      create login HOST_A_login with PASSWORD = 'abc123!!';
      GO


      create user HOST_A_user from login HOST_A_login;
      GO


      Create certificate HOST_A_cert
      Authorization HOST_A_user
      From file = 'c:\HOST_A_cert.cer';
      GO


      Grant CONNECT ON Endpoint::Endpoint_mirroring to [HOST_A_login];
      GO


      -------
      create login HOST_W_login with PASSWORD = 'abc123!!';
      GO


      create user HOST_W_user from login HOST_W_login;
      GO


      Create certificate HOST_W_cert
      Authorization HOST_W_user
      From file = 'c:\HOST_W_cert.cer';
      GO


      Grant CONNECT ON Endpoint::Endpoint_mirroring to [HOST_W_login];
      GO


      -- Witness Server
      create login HOST_A_login with PASSWORD = 'abc123!!';
      GO


      create user HOST_A_user from login HOST_A_login;
      GO


      Create certificate HOST_A_cert
      Authorization HOST_A_user
      From file = 'c:\HOST_A_cert.cer';
      GO


      Grant CONNECT ON Endpoint::Endpoint_mirroring to [HOST_A_login];
      GO


      -------
      create login HOST_B_login with PASSWORD = 'abc123!!';
      GO


      create user HOST_B_user from login HOST_B_login;
      GO


      Create certificate HOST_B_cert
      Authorization HOST_B_user
      From file = 'c:\HOST_B_cert.cer';
      GO


      Grant CONNECT ON Endpoint::endpoint_mirroring to [HOST_B_login];
      GO


      -- Mirror Server
      alter database  set partner = 'TCP://Principalpcismi.domain.com:5022';
      GO


      -- Principal Server
      alter database set partner = 'TCP://mirorpcismi.domain.com:5022';
      GO


      alter database set witness = 'TCP://Witnesspcismi.domain.com:5022';
      GO


daha sonra Principal Server da blunan database sag tiklayip task lach database miroring monitorden instance eklenerek sql miror işlemi monitor edilebilir

 

 
Gönderildi : 11/11/2008 19:23

(@rahmidilli)
Gönderiler: 2458
Famed Member
 


sql 2005 miroring


konfigurasyon icin sistemimde 3 adet server ve ozellikleri


1 Principal Server win2003 sbs pre (AD DNS DHCP) sp2 Bütün updateleri yapili durumda  SQL2005 Developer SP2 yuklu  


2  Mirror Server win2000 server domain joined sp4 ve updateleri yapili  SQL2005 Developer SP2 yuklu  


3 Witness Server win2003 stnd sp2 ve butun updateleri yapili  SQL2005 Developer SP2 yuklu  


sql mirorin işlemine baslamadan once aşagidaki adimlari kontrol ediyoruz


--- SQL Server Surface Area Configuration dan administrator e sysadmin rol ekliyoruz


---   SQL Server Configuration Manager TCP/İP , Named pipes in enable yapiyoruz


--- eger sistemde bir firewall kullaniyorsak firewall dan 1433 ve sql mirorin icin 5022 portlarini aciyoruz


---  SQL Server Management Studio acip mirorin işlrmi icin kullanacagimiz database in ozelliklerine girip recovery model i   full olarak seciyoruz


---  databaseimizin ful  backup unu aliyoruz


--- transactions log un backup unu aliyoruz


--- Mirror Server aldigimiz yedekleri no recovery secenegiyle restore ediyoruz


bundan sonra asagidaki scripleri sirasi ile caliştirmaniz yeterli


--- HOST A = Principal Server , HOST B = Mirror Server , HOST W = Witness Server


 


 -- Principal Server
      create master key encryption by password = 'abc123!!';
      GO


      create certificate HOST_A_cert with subject = 'HOST_A certificate',
start_date = '2007/11/11', expiry_date = '2020/11/11';
      GO


      Create endpoint endpoint_mirroring state = started
      as tcp(listener_port = 5022, listener_ip = all)
      for database_mirroring (authentication = certificate HOST_A_cert,
encryption = disabled, role = all);
      GO


      Backup certificate HOST_A_cert to file = 'c:\HOST_A_cert.cer';
      GO


      -- Mirror Server
      create master key encryption by password = 'abc123!!';
      GO


      create certificate HOST_B_cert with subject = 'HOST_B certificate',
start_date = '2008/11/11', expiry_date = '2020/11/11';
      GO


      Create endpoint endpoint_mirroring state = started
      as tcp(listener_port = 5022, listener_ip = all)
      for database_mirroring (authentication = certificate HOST_B_cert,
encryption = disabled, role = all);
      GO


      Backup certificate HOST_B_cert to file = 'c:\HOST_B_cert.cer';
      GO


      -- Witness Server
      create master key encryption by password = 'abc123!!';
      GO


      create certificate HOST_W_cert with subject = 'HOST_W certificate',
start_date = '2008/11/11', expiry_date = '2020/11/11';
      GO


      Create endpoint endpoint_mirroring state = started
      as tcp(listener_port = 5022, listener_ip = all)
      for database_mirroring (authentication = certificate HOST_W_cert,
encryption = disabled, role = witness);
      GO


      Backup certificate HOST_W_cert to file = 'c:\HOST_W_cert.cer';
      GO


      -- Principal Server
      create login HOST_B_login with PASSWORD = 'abc123!!';
      GO


      create user HOST_B_user from login HOST_B_login;
      GO


      Create certificate HOST_B_cert
      Authorization HOST_B_user
      From file = 'c:\HOST_B_cert.cer';
      GO


      Grant CONNECT ON Endpoint::endpoint_mirroring to [HOST_B_login];
      GO
      ------
      create login HOST_W_login with PASSWORD = 'abc123!!';
      GO


      create user HOST_W_user from login HOST_W_login;
      GO


      Create certificate HOST_W_cert
      Authorization HOST_W_user
      From file = 'c:\HOST_W_cert.cer';
      GO


      Grant CONNECT ON Endpoint::endpoint_mirroring to [HOST_W_login];
      GO


      -- Mirror Server
      create login HOST_A_login with PASSWORD = 'abc123!!';
      GO


      create user HOST_A_user from login HOST_A_login;
      GO


      Create certificate HOST_A_cert
      Authorization HOST_A_user
      From file = 'c:\HOST_A_cert.cer';
      GO


      Grant CONNECT ON Endpoint::Endpoint_mirroring to [HOST_A_login];
      GO


      -------
      create login HOST_W_login with PASSWORD = 'abc123!!';
      GO


      create user HOST_W_user from login HOST_W_login;
      GO


      Create certificate HOST_W_cert
      Authorization HOST_W_user
      From file = 'c:\HOST_W_cert.cer';
      GO


      Grant CONNECT ON Endpoint::Endpoint_mirroring to [HOST_W_login];
      GO


      -- Witness Server
      create login HOST_A_login with PASSWORD = 'abc123!!';
      GO


      create user HOST_A_user from login HOST_A_login;
      GO


      Create certificate HOST_A_cert
      Authorization HOST_A_user
      From file = 'c:\HOST_A_cert.cer';
      GO


      Grant CONNECT ON Endpoint::Endpoint_mirroring to [HOST_A_login];
      GO


      -------
      create login HOST_B_login with PASSWORD = 'abc123!!';
      GO


      create user HOST_B_user from login HOST_B_login;
      GO


      Create certificate HOST_B_cert
      Authorization HOST_B_user
      From file = 'c:\HOST_B_cert.cer';
      GO


      Grant CONNECT ON Endpoint::endpoint_mirroring to [HOST_B_login];
      GO


      -- Mirror Server
      alter database  set partner = 'TCP://Principalpcismi.domain.com:5022';
      GO


      -- Principal Server
      alter database set partner = 'TCP://mirorpcismi.domain.com:5022';
      GO


      alter database set witness = 'TCP://Witnesspcismi.domain.com:5022';
      GO


daha sonra Principal Server da blunan database sag tiklayip task lach database miroring monitorden instance eklenerek sql miror işlemi monitor edilebilir

 



Geri bildirim için teşekkürler.

 
Gönderildi : 11/11/2008 21:20

Sayfa 3 / 3
Paylaş: