Forum

Bildirimler
Hepsini Temizle

Hyper-v Üzerindeki Sanal Makinalar Çalışmıyor (Acil!!!)

4 Yazılar
3 Üyeler
0 Likes
691 Görüntüleme
(@omer_said)
Gönderiler: 43
Trusted Member
Konu başlatıcı
 

Merhaba Arkadaşlar;

Dün de bu konu ile ilgili konu açmıştım. Arkadaşlar yardımcı olmaya çalıştılar sağ olsunlar. Yanlız sorunum halen devam ediyor. Ben konu ile ilgili detayları aşağıda anlatıyorum. Acil yardımlarınızı rica edeceğim.

- Hyper-v Makinası üzerinde 3 tane sanal makinam var. Bunlardan bir tanesi DC. Hyper-v Domainde. Core olarak kurulu.

Aşağıda sorun ile ilgili gelişmeleri anlatıyorum.

- Sanal makinalar üzerinden DC'de Hyperv Management Tools kullanıyordum. Sanal makinalara bir şey olduğu start stop işlemi için.

- Dün DC çalışmıyordu. Ping atamıyordum. Remote bağlanamıyordum.

Hyperv'ye remote olarak bağlanabiliyordum. Command ekranı var sadece.

Windows 7 üzerine Hyper-v management tools kurdum. Bağlanamadım.   http://davidoverton.com/blogs/doverton/archive/2008/12/03/how-to-resolve-errors-like-quot-cannot-connect-to-the-rpc-service-make-sure-your-rpc-service-is-running-quot-with-hyper-v-server-and-hyper-v-manager.aspx  sitedeki komutları yazdım.

 netsh advfirewall set currentprofile settings remotemanagement enable

netsh advfirewall firewall set rule group="Windows Management Instrumentation (WMI)" new enable=yes

netsh advfirewall firewall set rule  name="Remote Administration (RPC-EPMAP)" new enable=yes profile=domain

netsh advfirewall firewall set rule name="Remote Administration (NP-In)" new enable=yes profile=domain

netsh advfirewall firewall set rule name="Remote Administration (RPC)" new enable=yes profile=domain

netsh advfirewall firewall set rule name="remote desktop (tcp-in)" new enable=Yes profile=domain

En son komutu yazdıktan sonra  remote bağlantım koptu. Ayrıca makinaya ping atamıyorum.

 

Power shell komutları ile sanal makinaları çalıştırmayı deneyeceğim. Power shell komutlarını araştırıyorum. Konu ile ilgili acil yardımlarınızı rica ediyorum. 

 
Gönderildi : 04/05/2011 14:47

(@fatihkaraalioglu)
Gönderiler: 3040
Illustrious Member
 

Merhaba;


Aşağıda temel Windows Firewall PS komutları bulunmaktadır. Core sunucusu üzerinde windows firewallı kapatıp tekrardan denermisiniz.




A shorter command to completely disable the firewall could have been:


 



netsh firewall set opmode disable


 


As Zaubi points out you should avoid using this command because it eliminates the firewall as a security measure completely, which is a bad thing. Temporarily disabling the firewall might be useful to troubleshoot network connectivity. The command to enable the firewall again is:


 



netsh firewall set opmode enable


 


 


Firewall


I recommend taking a look at one of the command lines below. I'll show you some examples of how to open up the firewall.I assume you use the Windows Firewall in the Default profile.


 


To enable service exceptions


The Windows Firewall in a Server Core installation of Windows Server 2008 comes with a couple of default firewall exceptions. You can enable these exception to allow specific types of traffic through the firewall. For example, to allow File and Printer Sharing you can run the following command:


 



netsh firewall set service fileandprint


 


If at any point you need help with the set service command just type netsh firewall set service which will show you some help. Extra command line switches may allow you to specify another firewall profile and/or specify a firewall scope (all, subnet or custom)


 


To open specific ports


If your situation demands you open up specific ports to allow incoming traffic through your firewall you can add specific port openings in your firewall. You can specify whether the traffic is UDP or TCP, which port number you'd like to open and which name you'd like to give your portopening, like this:


 



netsh firewall set portopening protocol=TCP | UDP port=PortnumberHere name=AnyNameHere


 


If at any point you need help with the set service command just type netsh firewall set portopening which will show you some help. Extra command line switches may allow you to specify another firewall profile and/or specify a firewall scope (all, subnet or custom)


 


To allow specific programs


Another way to open up the firewall is to allow specific programs to communicate with the outside world. The Windows Firewall will allow any traffic to the executables you specify. Again you can also specify a name for the rule. Use this command to allow specific programs:


 



netsh firewall set allowedprogram program=FullPathToExecutable name=AnyNameHere


 


If at any point you need help with the set service command just type netsh firewall set allowedprogram which will show you some help. Extra command line switches may allow you to specify another firewall profile and/or specify a firewall scope (all, subnet or custom)


 


 


Advanced Firewall


Alternatively you can use the spanking new Advanced Firewall, which enables you to control incoming as well as outgoing traffic, allows you to edit the firewall configuration in offline mode (so you can change the settings, without committing any changes yet) There's a nice webpage with more information on the Advanced Firewall functionality here. It shows you how to change settings through the commandline and how to change them using Group Policies.

 
Gönderildi : 06/05/2011 03:16

(@omer_said)
Gönderiler: 43
Trusted Member
Konu başlatıcı
 

 

Merhaba;

 

Sorunumu giderdim. Yaptıklarımı sizlerle paylaşmakistiyorum. Umarım faydalı olur.

 

 Hyper-V'ye ping atamıyordum. Aşağıdaki komutlaping atabildim.

 

netsh firewall set icmpsetting 8

Ref:  http://www.cozumpark.com/blogs/windows_server/archive/2008/12/07/windows-server-2008-core-uzerine-ping-paketlerinin-gonderilmesi.aspx  

 

Remote bağlantı kuranıyordum.

netsh firewall set opmode disable

komutu ile ping atabildim.

 

Formdaki kaynaklardan Windows 7 bilgisayarımdan Hyper-VManager ile bağlantı kurdum.

 

Dc sürekli repair ekranı çıkarıyordu. Dos ekranındasistem x:\ > olarak görünüyordu.Diğer disklere baktığımda eski açılmayan sistemim d:\> içinde gördüm.

 

D diskinde yapılan değişiklikler şu şekildedir.

 

DOS ekranında

 

D:\Windows\System32\Configiçinde bulunan SOFTWARE ve SYSTEM isimli dosyaları rename ederek SOFTWARE.OLD ve SYSTEM.OLD olarak değiştirdim.

Sonrasında  

 

D:\Windows\System32\Config\RegBack

klasörü içindeki SOFTWAREve SYSTEM dosyalarını

D:\Windows\System32\Configklasörüne kopyaladım. Makinayı restart ettiğimde sistem sorunsuz çalıştı.

 

Makinalar bir birleri arasında iletişim kuramıyorlardı.

Hyper-V Manager üzerinde Virtual Network Managertıklayarak yeni Virtual Network Oluşturdum

 

ve eskisiniz sildim. Tüm sanal makinaları shutdown ettim.

 

Hepsinin ethernetini yeni oluşturduğum network’ü seçtüm.Hyper-V restart ettim. (Bu çok önemli!!!)

 

Makinaların hepsine erişim sağladım.

 

Core Server GUI mod Araçları

http://www.petri.co.il/manage-server-2008-r2-core-with-visual-core-configurator.htm

http://coreconfig.codeplex.com/

http://www.petri.co.il/installing-hyper-v-on-windows-server-2008-server-core.htm

 

 

 

 

 

 

 

Windows Server2008 Core Edition Komutları:

 

1. GENELYAPILANDIRMA

IP Adresi Vermek:

Set IP Address: 

Netsh interface ip set address “Local AreaConnection” static 192.168.10.10 255.255.255.0 192.168.10.1

DNS ServerIP Adresi Verme:

Set DNS 

Netsh interface ip set dnsserver “Local AreaConnection” static 192.168.10.10

BilgisayarAdını Değiştirme:

Netdom renamecomputer /newname:

Domain’eAlma:

Netdom join /domain: /userD: /passwordD: 

RemoteAdministration Aktif Hale GetirmeDescription: Windows Server 2008 Core Edition Komutları:

netsh firewall set service RemoteAdmin ENABLE

Firewall’uSet Etme:

Netsh firewall set icmpsetting 8 ENABLE

Netsh firewall set opmode ENABLE

Map NetworkDrive:

net use [DriveLetter] \\Computername\ShareName

DriveLetter = D: E: F: 

2. KURULUMVE YAPILANDIRMA

LocalAdministrator Password Değişimi:

Net user administrator *

Domain’e PcEkleme:

1. Netdom join %computername% /domain:/userd:\username> /password:*
2. Bilgisayarı restart edin.

Domain’denPc Çıkarma:

Netdom remove

BirKullanıcıyı Local Administrator Grubuna Ekleme:

Net localgroup Administrators /add \

BirKullanıcıyı Local Administrator Grubundan Çıkarma:

Net localgroup Administrators /delete 

Local Pc’yeKullanıcı Ekleme:

Net user /add *

Local pc’yegrup ekleme:

Net localgroup /add

Domain’eüye bir pc’nin adını değiştirme:

Netdom renamecomputer %computername% /NewName:/userd: /password:*

Workgroup’taçalışan Pc’nin adını değiştirme:

1. Netdom renamecomputer /NewName:
2. Bilgisayarı restart edin.

Paging fileyönetimini iptal etme:

Wmic computersystem where name="" setAutomaticManagedPagefile=False

Paging fileyapılandırması:

Wmic pagefileset where name=”” setInitialSize=,MaximumSize=

Where:
path/filename: paging file’ın bulunduğu path’inadı 
initialsize: byte cinsinden paging file’ınbaşlayacağı değer
maxsize: byte cinsinden page file’ın maxiumumalacağı değer 

Statik IPAdresi Değiştirme:

1. Komut satırını açın ve Ipconfig /all komutunugirin.
2. Bir text dosyasına bu bilgiyi kaydedinDescription: Windows Server 2008 Core Edition Komutları.(ipconfig /all >ipconfig.txt).
3. Komut satırında Netsh interface ipv4 show interfaceskomutunu çalıştırın.
4. Listeyi doğrulayın.
5. Netsh interface ipv4 set address namesource=static address= gateway=

Static DNSAdresi ekleme:

1. Netsh interface ipv4 add dnsserver name=address= index=1
2. Komut satırında aşağıdakini yazın:

Netsh interface ipv4 add dnsserver name= address=index=2

Static IP Adresini iptal edip DHCP Server’dan IPAdresi alma:

Netsh interface ipv4 set address name= source=DHCP

Serveraktivasyonu:

Slmgr.vbs -ato

Uzakbağlantı ile Server Aktivasyonu:

1. Komut satırını açın:
Cscript slmgr.vbs -ato 
2. Cscript slmgr.vbs -did komutu ile bilgisayarın GUID’igörüntüleyin. 
3. Cscript slmgr.vbs -dli 
4. Lisans durumunun Licensed (activated) yazdığınıkontrol edin. 

3.NETWORKING VE FIREWALL

Server’ınızın bir Proxy server kullanmasınısağlama:

Netsh Winhttp set proxy :

IPSECyapılandırmasını görüntüleme ve değiştirme:

Netsh ipsec

NAPyapılandırmasını görüntüleme ve değiştirme:

Netsh nap

Localrouting tablosunu görüntüleme ve değiştirme:

Route

DNS Serverayarlarını görüntüleme ve yapılandırma:

Nslookup

TCP/IPnetwork bağlantı protokol istatistiklerini görüntüleme:

Netstat

NetBIOSover TCP/IP (NBT)network bağlantı protokol istatistiklerini görüntüleme:

Nbtstat

Networkbağlantıları için hop görüntülenmesi:

Pathping
Trace hop 
Tracert

Multicastrouter yapılandırma ayarlarını görüntüleme:

Mrinfo

RemoteAdministration aktif hale getirme:

Netsh firewall set service remoteadmin enable

4. UPDATE,HATA RAPORLAMA VE GERİ BİLDİRİM

Otomatikupdate yapılandırma, var olan ayarları görüntülemek için:

Cscript scregedit.wsf /AU /v

Otomatikupdate’leri aktifleştirmek için:

Cscript scregedit.wsf /AU /4 

Otomatikupdateleri pasif hale getirmek için:

Cscript scregedit.wsf /AU /1 

ErrorReporting’i aktif hale getirme:

Var olan ayarları
Type: ServerWerOptin /query To komutu iledoğrulayın.

Detaylı raporlamayı otomatik olarak göndermek için
Type: ServerWerOptin /detailed

Özet raporları otomatik olarak göndermek içinDescription: Windows Server 2008 Core Edition Komutları
Type: ServerWerOptin /summary

Error Reporting özelliğini pasif hale getirmekiçin
Type: ServerWerOptin /disable

Müşteri Deneyimi Geliştirme Programı (CEIP)

Varolan durumu görmek için
ServerCEIPOptin /query

Aktif hale getirmek için
ServerCEIPOptin /enable

İptal etmek için
ServerCEIPOptin /disable


5. SERVİSLER, İŞLEMLER VEPERFORMANS

Çalışan servisleri görmek:

Sc query
Net start

Servisbaşlatmak:

SC start 
Net start 

Servisdurdumak:

SC stop 
Net stop 

Çalışanuygulama ve prosesleri görüntülemek:

Tasklist

Çalışan prosesi durdurmak:

Taskkill /PID 

Eventlog’ları listelemek:

Wevtutil el

Belirtilenbir log için sorgulama:

Wevtutil qe /f:text 

Exportetme:

Wevtutil epl 

Eventlogları temizleme:

Wevtutil cl 

6. DİSK VEDOSYA SİSTEMİ

Disk bölümlerini yönetme:

Diskpart /? 

SoftwareRAID yönetme:

Diskraid /? 

VolumeMount noktalarını yönetme:

mountvol /?

Volumebirleştirme:

Defrag /? 

Volume’uNTFS dosya sistemine çevirme:

Convert /FS:NTFS

Bir dosyayıCompact etme:

Compact /? 

Açıkdosyaları yönetme:

Openfiles /? 

VSSdosyalarını yönetmeDescription: Windows Server 2008 Core Edition Komutları:

Vssadmin /?

Dosyasistemlerini yönetme:

Fsutil /?

Dosyaimzalarını yönetme:

Sigverif /?

Dosya veklasör sahipliğini alma:

Icacls /?

7. DONANIM

Yeni bir donanım sürücüsü ekleme:

1. İlgili sürücüyü %homedrive%\ path’e kopyalayın. 
2. Komut satırını açın;
pnputil -i -a %homedrive%\\.inf yazın.

Donanımsürücüsünü kaldırma:

1. Yüklü olan sürücüleri görmekiçin:
Sc query type= driver
2. Komut satırını açın:
Sc delete

 

 
Gönderildi : 06/05/2011 20:21

(@ElifYergok)
Gönderiler: 24
Eminent Member
 

Biz de aynı sorunu yaşıyoruz. Fakat dediğiniz şekilde software system dosyalarının ismini değiştirdik aynı şeyi uyguladık. Herhangi bir değişme olmadı. Yardımcı olursanız sevinirim.

Ayrıca şu işlemi de yaptım ama bir değişim olmadı. "Windows 2008r2 DVD’si ile DVD’den boot ederek Repair Mode 'u seçin. System recovery option'dan command prompt'u seçin. Sonra Bootrec /RebuildBcd komutunu yazıp çalıştırın. Bu şekilde server'ı restart edip test edin...Eğer olmazsa aynı şekilde ;

Bootrec /FIXMBR ve Bootrec /FIXBOOT komutlarını yazıp çalıştırın ve yine test edin.."

 
Gönderildi : 27/11/2013 18:56

Paylaş: