12 Aralık 2012 Çarşamba

Windows 7 de IPsec

Windows 7 de IPsec

IPsec ile belirlediğimiz makinelerin dışındaki tüm network ile haberleşmenin engellenmesini sağlamak için. MMC konsolunu çalıştırıp aşağıdaki servisleri ekliyoruz. IP Filtresi ve eylemlerimizi tanımlayarak yeni bir kural oluşturup etkinleştiriyoruz.





IP Filitresi ve Eylemleri eklemek için ekle butonuna basarak devam ediyoruz.


Aynı şekilde diğer IP adreslerini de tanımlıyoruz

"Filitre Eylemlerini Yönet" kısmından uygulayacağımız eylemlerimizi tanımlıyoruz.

IP filitresi ve eylemmlerimizi tanımladıktan sonra yeni IPsec kuralımızı oluşturuyoruz.

Ekle butonuna tıklayarak kuralın uygulanacağı network grubunu seçiyoruz.

 Bu kuralla ilgili olarak eylemimizi seçiyoruz

Diğer network gruplarında da istediğimiz eylemleri tanımlıyoruz.
Engelle ve izin ver diyen iki farklı ip filitresi oluşturduk.
Oluşturmuş olduğumuz kuralların özeti aşağıdaki gibi

IPsec Rule isimli kuralımıza Ata diyerek politikamızı uyguluyoruz.


31 Ekim 2012 Çarşamba

How to move DHCP database from a Windows 2003 server to Windows Server 2008

DHCP servisini Windows 2003 makineden Windows 2008 makineye taşıma.

DHCP rolünü başka bir makineye taşıma işlemi grafik arayüzler ile yapılabileceği gibi aşağıdaki komutlar ile de yapılabilir. Windows Server 2003 ten Windows Server 2008 taşınmasında grafik arayüzünde sorunlar çıkabilir. Netsh komutu ile bu işlemleri yapmak daha güvenli olabilir.

Bu işlemi gerçekleştirmek istediğimiz Windows Server 2003 makine üzerinde aşağıdaki komutu çalıştırarak dhcp verilerini import ediyoruz.

netsh dhcp server export C:\dhcp.txt all

Daha sonra bu dosyayı yeni makinemize kopyalıyoruz.

Yeni Windows 2008 makinesine önce DHCP rolünü yüklüyoruz, servisini çalıştırıyoruz.

Windows 2008 makinesi üzerinde aşağıdaki komutu girerek verileri import ediyoruz.

DHCP konsolundan scope ve rezervasyon bilgilerinin geldiğini gözlemliyoruz.

netsh dhcp server import C:\dhcp.txt all

31 Temmuz 2012 Salı

Reset admin password

Reset admin password on a Windows Server

Windows Server 2008 çalışan sunucuda admin kullanıcısının şifresini unuttuğumuzda

kurulum cd si ile makineyi boot edip, Command Prompt da aşağıdaki komutu çalıştırabiiliriz.

net user ile sistemdeki kullanıcıları görebilir, istediğimiz kullanıcıya yeni şifre verebiliriz.

Örnek:   net user      kullanıcı_adı    parolası

net user Administrator NewPassword

Admin kullanıcısının disable olduğunu düşünelim, kullanıcıyı enable yapmak için şu komutu kullanabiliriz

net user Administrator /active:yes

19 Temmuz 2012 Perşembe

NetBackup - Browse and select Virtual Machine time out

NetBackup - Browse and select Virtual Machine time out

NetBackup ile VMware üzerindeki sanal makinelerin imajını alma için oluşturduğumuz politikanın içerisinde  Client tabından yeni sanal makine eklemek istediğimizde time out hatası alabiliriz.

Bu durum VMware backup makinesinin sanal makinenin ip adreslerini çözmeye çalışması ve zaman aşımına uğramasından kaynaklanmaktadır.

Registry'e eklenecek bir kayıt ile ip çözümleme  işlemi devredışı bırakılarak time out sorunu giderilebilmektedir.

 HKEY_LOCAL_MACHINE\SOFTWARE\VERITAS\NetBackup\CurrentVersion\Config\BACKUP\disableIPResolution

Problem

Browsing vSphere inventory via clients tab in backup policy could be slow if VMware backup host cannot resolve IP addresses of virtual machines

Solution

NetBackup 7.0 for VMware lets users browse VMware vSphere inventory and select virtual machines. If refresh button in GUI is used, it might take a long time for the refresh to complete if the VMware backup host cannot resolve the IP addresses of virtual machines.

 A hotfix is available for use in those environments where NetBackup can be instructed not to attempt IP resolution. Please contact Symantec Technical Support and quote this TechNote number and defect e-track ET2005798 for the hotfix.

 Once the hotfix is applied, the following registry value needs to be set to disable IP resolution attempts for virtual machines.

 HKEY_LOCAL_MACHINE\SOFTWARE\VERITAS\NetBackup\CurrentVersion\Config\BACKUP\disableIPResolution


 If the key BACKUP does not exist please create Key 'BACKUP' under 'Config'. Then create a New -> DWORD Value (32 bits) -> disableIPResolution, under Key 'BACKUP.


*Note: This hotfix made it into 7.0.1 as per the 7.0.1 Release Notes, page 128.  Therefore, if already at 7.0.1, no need to request the hotfix, the following registry value can be set to disable IP resolution attempts for virtual machines.

 HKEY_LOCAL_MACHINE\SOFTWARE\VERITAS\NetBackup\CurrentVersion\Config\BACKUP\disableIPResolution

15 Haziran 2012 Cuma

NetBackup - media write error(84)

NetBackup - media write error(84)   Diske yazma hatası

Cause:

When the NetBackup Deduplication Engine (spoold) starts, it reads the file segment fingerprints from the deduplication pool. Store operations (that is, writing to the disk) are disabled while the cache is incomplete.  If NetBackup tries to start backup jobs while the cache is incomplete, the jobs fail.

Solution:

After the spoold cache loading is complete, backup jobs and compaction jobs are enabled again. Therefore, the solution is to wait until cache loading is complete.

To determine if spoold finished loading fingerprints:
  1. Use your favorite tool to monitor the memory usage of services and daemons on the storage server. Wait until the memory used by spoold does not increase for 5 minutes.  (When spoold loads fingerprints, it allocates memory as needed; spoold does not allocate the maximum amount of memory immediately.)
     
  2. Run the following command and examine the output for "put=Yes":

    UNIX: /usr/openv/pdde/pdcr/bin/crcontrol --getmode
    Windows: <install_path>\Veritas\pdde\crcontrol --getmode

    "put=Yes" means that cache loading is complete. Normal operations should resume.
     
  3. If "put=No," examine the <storage_path>/log/spoold/spoold.log file for the following message:

    Storage Cache Manager: load completed

    The message means that spoold finished loading the fingerprints. However, the new state probably has not been pushed to all processes yet.
     
  4. If the spoold.log has the message, wait 5 minutes then run "crcontrol --getmode" again.
     
  5. If "put=Yes," cache loading is complete and normal operations will resume.

    If "put=No," contact your Symantec support representative.
After the initial start of spoold after the upgrade to 7.5, spoold does not read the entire MSDP for fingerprints. Therefore, successive starts of spoold should occur much faster.
--------------------------------------------------------

NetBackup Deduplication Engine (spoold) başladığında, deduplication pooldan dosya segmetlerini okumaya çalışır.

Dedub disk üzerindeki keyc işlemi tamamlanmadığında diske yazma işlemleri devredışı bırakılır.

Keyc tamamlanmadığı durumda NetBackup üzerinde ki disk yazma işlemi disk yazma hatası verir.

Dedub disk üzerindeki keyc işlemi tamamlandığında diske yazma işlemleri yeniden etkinleştirilir.

NetBackup kurulduğu dizinde Veritas\pdde\ klasöründe " crcontrol --getmode " komutu çalıştırılarak "put=Yes": çıktısı kontrol edili, put değeri YES olmalıdır.

Put değeri No ise, Dedup diski üzerindeki Dedup\log\spoold\spoold.log dosyasında " load completed " mesajı araştırılır.

Log dosyası içerisinde load completed mesajı bulunması durumunda 5 dakika beklenrek "crcontrol --getmode"  komutu yeniden çalıştırılır.

Put değeri YES olduğunda keyc işlemi tamamlanmış demektir, diske yazma işlemleri gerçekleşecektir.

Raporları oluşturmak için Flex üzerindeki master server'a PuTTY üzerinden appadmin ile giriş yapın ve "sudo -i" ile root kulla...