Twitter: No public Twitter messages.

Data Protection Manager 2007 inceleme ve izlenimlerim

28/06/2009 23:02, Posted in Data Protection Manager, Windows Server | No Comments »

Sanırım biraz haksızlık etmiş olabilirim DPM’e. Bugün yapmış olduğum lab denemelerinde, gayet iyi bir performans çıkardı. Yalnız gerçek yapı, hiç bir zaman lab ortamı gibi olamıyor malesef. Çünkü gerçek bir verimerkezinde, her ne kadar sunucular local’den de bağlı olsalar bile veri transfer hızları, lab ortamındaki sanal sunuculardaki gibi olmuyor. DPM ile yapmış olduğum denemeler özel Dell Blade sunucular üzerinde gerçekleştirildi ve Blade’in bağlı olduğu Dell EqualLogic iSCSI SAN sunucusu sayesinde, senkronizasyon ve recovery point’ler çok kısa bir süre içersinde, hatasız bir şekilde oluşturuldu. Gerçek yapıda ise senkronizasyon ve recovery point oluşturma sırasında genelde hatalar ile karşılaşıyoruz. Bu da almanız gereken hayati yedeklerin, zamanında, düzgün olarak alınamamasına neden oluyor.

Yalnız gerçek yapıdaki sorunları geçersek, DPM ile Exchange Server çok hızlı bir şekilde recover edilebiliyor. Ayrıca Exchange Server üzerindeki Recovery Protection Group sayesinde, geri dönülen yedek üzerinden, sadece tek kullanıcının mailbox’ını bile dönebiliyorsunuz ki bu gerçekten güzel bir çözüm. Aynı şekilde DPM ile alınan System State yedekleri ile tamamen patlamış olan Active Directory Domain Controller sunucusunu ayağa kaldırabiliyorsunuz. Fakat DPM’den aldığınız yedeği, farklı bir Network paylaşımına atıp, bu yedeği yeni kurduğunuz Windows sunucuya, cmd üzerinden Windows Backup komut satırı ile geri dönebilmektesiniz. Burada biraz zorluk olduğunu kabul etmeliyiz. System State yedeğinin, DPM’e ait Standalone bir exe ile geri döndürülmesi daha güzel olurdu.

DPM 2007′nin sahip olduğu bir çok güzel özelliğin yanında, bir çok eksik noktalar da mevcut. Umarım DPM’in yeni versiyonunda, bu hatalar düzeltilir ve kullanıcılardan gelen geri dönüşlere göre iyileştirme yaparlar. Windows Server 2008 R2 ile birlikte iyi bir DPM çıkması güzel olurdu.

Tags: , , , ,

AddThis Social Bookmark Button

Eseutil.exe x86 version for Data Protection Manager x86

27/06/2009 21:55, Posted in Data Protection Manager, Exchange Server | No Comments »

You need Eseutil.exe and Ese.dll x86 versions for System Center Data Protection Manager (x86) to backup your Microsoft Exchange Server. As you know, you can’t use x64 files in DPM x86. If you don’t have any Microsoft Exchange Server 2007 x86 dvd and don’t want to download whole Microsoft Exchange Server 2007 (x86), you can obtain Eseutil.exe and Ese.dll x86 versions from this link:

FYI, Eseutil.exe: 8.1.240.3 (file version) – 27.11.2007 (date modified)

Tags: , , , , , ,

AddThis Social Bookmark Button

Linux üzerine Cpanel nasıl kurulur?

27/06/2009 20:38, Posted in Linux Server | No Comments »

Aşağıdaki adımları izleyerek, Linux üzerine Cpanel kurabilirsiniz.

1. cd /home — /home klasörüne götürür.
2. wget http://layer1.cpanel.net/latest —Kurulum dosyasını çeker.
3. sh latest — Kurulumu başlatır.
4. /usr/local/cpanel/cpkeyclt — Kurulum sonrası lisansınızı aktifleştirir.

Yalnız kurulum öncesi Development Tools’ları kurmayı unutmayın.

Tags: , , ,

AddThis Social Bookmark Button

DPM 2007 – Agent Operation Failed (ID 370)

27/06/2009 16:31, Posted in Data Protection Manager | No Comments »

You may get this error when you install DPM agent on target server:

Agent operation failed. (ID 370)
The agent operation failed because of a communication error with the DPM Agent Coordinator service on exc01.exchange.radore.net. (ID 319 Details: The RPC server is unavailable (0×800706BA))

Please check your firewall on target server. If firewall is off, check RPC service.

Tags: , , ,

AddThis Social Bookmark Button

System Center Data Protection Manager Fails at Setup [SOLVED]

26/06/2009 19:47, Posted in Data Protection Manager, Windows Server | No Comments »

Installing Data Protection Manager was a real nightmare for me. I think (still thinking) DPM is the worst Microsoft product, I have ever used. Every time when I tried to install DPM, I always got this message:

The DPM database was not created.

User Add or Remove Programs in Control Panel to remove the DPM files and registry entries that were created during Setup. Verify that SQL Server is properly installed and that it is running, and then run Setup again.

ID:811

I tried every way to fix this problem. I searched all over the internet and I found so many people who have exactly same problem like me. You can find exactly same problem from this post:

http://www.eggheadcafe.com/conversation.aspx?messageid=31655488&threadid=31655488

This problem occurs if your regional settings different from English and United States. I tested installation of DPM many times and finally fix it with changing regional settings to English.

dpm.kur.6 adim.kur.4

After you change your location settings to United States and English, you can finish installation with no problem.

dpmsetup dpm.kur.10

Probably this is a bug of Microsoft SQL Server. But I hated DPM because of this problem. I lost so much time, really!

Tags: , , , ,

AddThis Social Bookmark Button

Exchange Server 2010 Beta is not supported on Windows 2008 R2 RC?

24/06/2009 12:24, Posted in Exchange Server, Windows Server | No Comments »

I tried to install Microsoft Exchange Server 2010 Beta on Windows Server 2008 Standard R2 RC but I got this error:

Microsoft Exchange Server 2010 Beta is not supported on this version of Windows. Install Windows Server 2008 R2 Beta (build 7000).

Exchange Server 2010 Beta is currently not supported on Windows Server 2008 R2 RC. But we can fix this with a registry trick.

exc2 exc03

Open regedit and reach here:

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion]

And find this key:

"BuildLabEx"="7100.0.amd64fre.winmain_win7rc.090421-1700"

Just change it with this:

"BuildLabEx"="7000.0.amd64fre.winmain_win7rc.090421-1700"

You don’t need to restart your computer. Just click “Retry” on Readiness Checks Page.

Edit from beyond the time: Exchange Server Managment Console doesn’t work on RC. Microsoft Exchange Server 2010 Beta is not supported on Windows Server 2008 R2 RC (Build 7100)

Tags: , , ,

AddThis Social Bookmark Button

Windows Server 2008 R2 Hosting on IIS7.5

24/06/2009 11:43, Posted in Hosting & IIS7, Windows Server | No Comments »

Capture1 My website yusufozturk.info is now on Windows Server 2008 R2 Standard Edition on IIS7.5 and Php Fastcgi. Windows Server 2008 R2 is really faster than old version of Windows 2008. You can realize that when opening applications, running powershell scripts and script execution times. I don’t even remember Windows as fast as now. Microsoft is on right way and now they really know how should be a server os. Windows 7 and Windows Server 2008 R2 will be best client-server ever.

As Radore Telekom, We will lunch Windows Server 2008 R2 hosting as soon as RTM released. Also we use special server systems for Hosting environment. Our hosting servers are on Dell Blade and Dell EqualLogic Storage Servers so you will get much power with IIS7.5 hosting. Please contact us if you want to test Windows Server 2008 R2 and IIS7.5 with PHP Fastcgi on Blade Servers. Our dedicated servers start from $130 and fully customized for your requirements. 

Tags: , , ,

AddThis Social Bookmark Button

How to join Windows user to Windows group with Powershell?

23/06/2009 10:45, Posted in Hosting & IIS7, Powershell, Windows Server | No Comments »

You can join Windows user to Windows group from Powershell:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Add IIS User to IIS Group
function add_user_to_iis_group($username)
	{
		$computergroup = [ADSI]("WinNT://localhost,computer")
		$admins = $computergroup.psbase.children.find("IIS_IUSRS")
		foreach ($member in $admins.psbase.Invoke("Members"))
			{
				$member_name = $member.GetType().InvokeMember("Name", ‘GetProperty’, $null, $member, $null)
				if ($member_name -eq $username) 
					{
						Write-Host $username "already in this group."
						return
					}
			}
		$admins.Add("WinNT://$username")
		Write-Host $username "added to group."
	}
 
add_user_to_iis_group "$username"

It checks user and if it is not exist in that group, add that username.

Tags: , , ,

AddThis Social Bookmark Button

How to create Windows user with Powershell?

23/06/2009 10:39, Posted in Powershell, Windows Server | No Comments »

You can create Windows user from Powershell:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
function create_user($username, $password)
	{
		$computer = [ADSI]"WinNT://localhost"
		foreach ($user in $computer.psbase.children)
			{
				if ($user.Name -eq $username)
					{
						Write-Host $user.Name "already exist."
						Return
					}
			}
		$user_obj = $computer.Create("user", "$username")
		$user_obj.Put("description", "$username")
		$user_obj.SetInfo()
		$user_obj.SetPassword($password)
		$user_obj.SetInfo()
		$user_obj.psbase.invokeset("AccountDisabled", "False")
		$user_obj.SetInfo()
		Write-Host "$username created."
	}
 
create_user "$username" "$password"

It checks user and if it is not exist, creates that username.

Tags: , ,

AddThis Social Bookmark Button

How to remove MySQL user with Powershell?

23/06/2009 10:13, Posted in Hosting & IIS7, Powershell, Windows Server | No Comments »

You can remove MySQL user from Powershell with MySQL connector:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Powershell Args
$dbusername = $args[0]			# user01073
$dbpassword = $args[1]			# RadoreTelekom
$dbname = $args[2]     			# db01073
 
# Add MySQL Data Connector
[void][system.reflection.Assembly]::LoadWithPartialName("MySql.Data")
 
# Open Connection to SQL Server
$connStr = "server=127.0.0.1;port=3306;uid=root;pwd=SQLPassword"
$conn = New-Object MySql.Data.MySqlClient.MySqlConnection($connStr)
$conn.Open()
 
# Drop MySQL User
$dropmysqluser = "DROP USER '" + $dbusername  + "'@'localhost'"
$cmd = New-Object MySql.Data.MySqlClient.MySqlCommand($dropmysqluser, $conn)
$da = New-Object MySql.Data.MySqlClient.MySqlDataAdapter($cmd)
$ds = New-Object System.Data.DataSet
$da.Fill($ds)

Also I used arguments so you can call this powershell script from your panel.

Tags: , , ,

AddThis Social Bookmark Button