Hüseyin Göksin Blog

Bilgi paylaştıkça çoğalır….

CIO nedir?

Diğer kısaltmalar

CEO (Chief Executive Officer) İcra kurulu başkanı

CTO (Chief Technology Officer) Teknolojiden sorumlu başkan

CISO (Chief Info Security Officer) Bilgi güvenliğinden sorumlu başkan

CFO (Chief Financial Officer) finans grubu başkanı

CLO (Chief Legal Officer) hukuk grubu başkanı

CGO (Chief Growth Officer) Genişlemeden sorumlu başkan

COO (Chief Operations Officer) Operasyonlardan sorumlu başkan

CMO (Chief marketing Officer) Pazarlama ve satış grubu başkanı

CAO (Chief Advertisement Officer) reklam ve medya grubu başkanı

Reklamlar

Filed under: Uncategorized

Sanal windows sunucuda ses kartı ihtiyacınız mı var? Do you need sound driver on virtual machine?

ESX üzerinde ki bir makineye stream server, mp3 player ya da windows media server kurdunuz fakat doğası gereği bu tip uygulamalar fiziksel ses kartı / driveri görmek isterler.

VMware ile sanallaştırılmış bir fiziksel makineye ses kartı tanıtabilsek dahi rdp bağlantı yapacağımızdan bu driveri uzak masaüstü bağlantısı ile kullanamayız.

Aşağıdaki local policy ayarları ile rdp conneciton yaptığınız makine için ses driverını kullanabilirsiniz.

(Windows Tuşu)+R
mmc
File
Add/Remove Snap İn
Group Policy Object

esx-seskarti1

 

Local Computer Policy / Computer Configuration / Administrative Templates / Windows Components / Remote Desktop Services / Remote Dekstop Session Host / Device and Resource Redirection

altından;

esx-seskarti2

Allow audio and video playback redirection Enabled
Allow audio recording redirection Enabled

konumuna getirmeniz gerekmektedir.

Alıntıdır: http://www.erhanatalar.com/sanal-windows-sunucuda-ses-karti-ihtiyaciniz-mi-var/

Filed under: Esx Ailesi

Configuration issue : No vmkcore disk partition

Untitled

# esxcli system coredump network set –interface-name vmk0 –server-ipv4 10xx.xx.xx.xx –server-port 6500

“xxx.xxx.xxx.xxx – esx’in ip adresini yazınız”

Enable the new setting:

# esxcli system coredump network set --enable true

 

bu işlemden sonra hata gidecektir, SSH’ı kapatmayı unutmayınız.

Filed under: Esx Ailesi

Ethernet Kartını Sıfırlamak için yapılacaklar.

Sanal serverda başka bir model kart eklenir ise, kart id 1-2-3-4 gibi rakamlarla ilerliyor, bu lisanslı uygulamalarda problem yaratmaktadır, ilgili komutlar çalıştırılarka gizli kalan eski ethernet listeleniyor ve silinebiliyor, sonrasında id’yi düzeltebiliyorsunuz….

 

set DEVMGR_SHOW_NONPRESENT_DEVICES=1
devmgmt.msc

View > Show Hidden Devices

Filed under: Server 2012, Server2008

SQL Versiyon öğrenme

SELECT SERVERPROPERTY(‘productversion’), SERVERPROPERTY(‘productlevel’), SERVERPROPERTY(‘edition’)

Filed under: Uncategorized

GPO Sorunu-Polyc Çalışmıyor ise ve bu hatayı alıyorsanız 2008r2 de bunu uygulayın..Error 5807

vent Id 5807
Source NETLOGON
Description During the past number hours there have been number connections to this Domain Controller from client machines whose IP addresses dont map to any of the existing sites in the enterprise. Those clients, therefore, have undefined sites and may connect to any Domain Controller including those that are in far distant locations from the clients. A clients site is determined by the mapping of its subnet to one of the existing sites. To move the above clients to one of the sites, please consider creating subnet object(s) covering the above IP addresses with mapping to one of the existing sites. The names and IP addresses of the clients in question have been logged on this computer in the following log file SystemRoot\debug\netlogon.log and, potentially, in the log file SystemRoot\debug\netlogon.bak created if the former log becomes full. The log(s) may contain additional unrelated debugging information. To filter out the needed information, please search for lines which contain text NO_CLIENT_SITE:. The first word after this string is the client name and the second word is the client IP address. The maximum size of the log(s) is controlled by the following registry DWORD valueHKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Netlogon\Parameters\LogFileMaxSize; the default is 20000000 bytes. The current maximum size is 20000000 bytes. To set a different maximum size, create the above registry value and set the desired maximum size in bytes.
Event Information According to Microsoft:
CAUSE:
This issue may occur if the following conditions are true:
1. The IP address of the client computer is not defined.
2. The IP address of the client computer is not mapped to an existing site in the Subnets folder of the Active Directory Sites and Services snap-in on the local domain controller.
RESOLUTION:
To resolve this issue, define the IP address of the client computer in the Subnets folder, and then map the IP address to the site that contains the local domain controller. To do this, follow these steps:
1. Click Start, point to Programs, point to Administrative Tools, and then click Active Directory Sites and Services.
2. In the left pane, locate and then click the Sites\Subnets folder.
3. Right-click Subnets, and then click New Subnet.
4. In the Address box, type the IP address of the client.
5. In the Mask box, type the subnet mask of the client.
6. In the Site Name list, click the site object that you want to join the client to, and then click OK. When you select a site object, you have to select the site object that contains the local domain controller.
7. On the File menu, click Exit to close Active Directory Sites and Services.
Reference Links You may receive event ID 5807 on a Windows Server 2003-based domain controller

NETLOGON Event ID 5807 is recorded on a Windows Server 2003 domain controller

Filed under: Server2008

Microsoft SQL Server Version List

RTM (no SP) SP1 SP2 SP3 SP4
↓ SQL Server 2014
     codename Hekaton SQL14
12.0.2000.8
↓ SQL Server 2012
     codename Denali
11.0.2100.60 11.0.3000.0
or 11.1.3000.0
11.0.5058.0
or 11.2.5058.0
↓ SQL Server 2008 R2
     codename Kilimanjaro
10.50.1600.1 10.50.2500.0
or 10.51.2500.0
10.50.4000.0
or 10.52.4000.0
10.50.6000.34
or 10.53.6000.34
↓ SQL Server 2008
     codename Katmai
10.0.1600.22 10.0.2531.0
or 10.1.2531.0
10.0.4000.0
or 10.2.4000.0
10.0.5500.0
or 10.3.5500.0
10.0.6000.29
or 10.4.6000.29
↓ SQL Server 2005
     codename Yukon
9.0.1399.06 9.0.2047 9.0.3042 9.0.4035 9.0.5000
↓ SQL Server 2000
     codename Shiloh
8.0.194 8.0.384 8.0.532 8.0.760 8.0.2039
↓ SQL Server 7.0
     codename Sphinx
7.0.623 7.0.699 7.0.842 7.0.961 7.0.1063

Filed under: Uncategorized

Windows Server 2012 Özellikleri

Windows Server 2012 Standart Edition

Bu versiyon içerisinde Windows Server 2012 ‘de bulunan tüm roller ve bileşenler gelmektedir. Örneğin; Windows Server 2008 R2 Standart versiyonda Failover Clustering bileşeni kurulamaması, bu özelliğin sadece Enterprise versiyon ile beraber gelmesi diye bir durum söz konusu değil artık. 4 TB Ram ve 64 sokete kadar destekleyebilir, ancak sadece iki adet sanal makine kurulum lisansına sahip olursunuz.

Windows Server 2012 Datacenter Edition

Windows Server 2012 platformundaki tüm roller ve bileşenler kullanımınıza sunulmaktadır. Limitsiz sayıda sanal makine kurulum lisansına sahip olursunuz. Standart versiyon ile arasındaki en önemli fark budur. 64 sokete kadar, 640 işlemci çekirdeği ve 4 TB RAM ‘a kadar desteği bulunmaktadır.

Windows Server 2012 Foundation Edition

Küçük çaptaki işletmeler için düşünülmüş bir versiyondur. 15 adet kullanıcı desteği, domain ortamını desteklememsi ve limitli rollere sahip olması diğer versiyonlardan ayıran özelliklerdir.Tek işlemci çekirdeği ve 32 GB RAM ‘a kadar desteği vardır.

server2012versiyonlari

Windows Server 2012 Essentials

Small Business Server (SBS) bir sonraki versiyonudur. Domain ‘deki root server olması gerekmektedir. Hyper-V, Failover Clustering, Server Core ve Remote Desktop Services hizmetlerini desteklemez. 25 kullanıcı ve 50 makine desteği vardır. Çift işlemci çekirdeği ve 64 GB RAM ‘a kadar desteği bulunmaktadır.

Microsoft Hyper-V Server 2012

Sanal makineleriniz için User Interface olmayan Stand-Alone bir ortam sunar. Host sunucu için herhangi bir lisans bedeli istenmez, ancak sanal makinelerinizin lisanslanması normal olarak yapılır. 64 sokete ve 4 TB RAM ‘a kadar desteği vardır. Domain ortamına dahil edebilirsiniz ancak diğer sunucu versiyonlarındaki gibi roller ve bileşenlere sahip değildir. Dosya Sunucusu hizmetlerini limitli olarak kullanabilirsiniz.

Windows Storage Server 2012 Workgroup

Sunucunuzu depolama aygıtı gibi kullanım için giriş seviyesidir. 50 adet kullanıcı, tek işlemci çekirdeği, 32 GB RAM ‘a kadar yükseltebilme ve domain ortamına dahil olabilme özelliği sunar.

Windows Storage Server 2012 Standart

64 soket, 4 TB RAM ‘a kadar desteği vardır. İki adet sanal makine kurabilme lisansı ile beraber gelir. Domain ortamına dahil edebilir ve DNS, DHCP gibi roller kurabilirsiniz. Ancak Active Directory Domain Services, Active Directory Certificate Services ve Active Directory Federation Services gibi ana rolleri desteklemez.

Windows Multipoint Server 2012 Standart

Domain ortamını desteklemez. Birden fazla kullanıcının aynı host sunucusuna direkt olarak klavye, Mouse ve monitör kullanarak erişmesi sağlanır. Tek soket limitli, 32 GB RAM ‘a kadar ve 12 Sessions desteği bulunmaktadır. DNS, DHCP gibi roller kurulabilir, ancak Active Directory Domain Services, Active Directory Certificate Services ve Active Directory Federation Services gibi roller desteklenmez.

Windows Multipoint Server 2012 Premium

Mouse, klavye ve monitörler kullanarak birden fazla kullanıcının aynı host sunucusu üzerine erişmesi sağlanır. Limitli 2 adet soket, 4 TB RAM ‘a kadar yükseltebilme ve maksimum 22 Sessions desteği bulunmaktadır. DNS, DHCP gibi roller kurulabilir, ancak Active Directory Domain Services, Active Directory Certificate Services ve Active Directory Federation Services gibi roller desteklenmez.

Filed under: Server 2012

2008 standart serveri entr. upgrade

To determine the installed edition, run:
DISM /online /Get-CurrentEdition

To check the possible target editions, run:
DISM /online /Get-TargetEditions

Finally, to initiate an upgrade, run:
DISM /online /Set-Edition:<edition ID> /ProductKey:XXXXX-XXXXX-XXXXX-XXXXX-XXXXX

For example, to upgrade to Enterprise from a downlevel version, run:
DISM /online /Set-Edition:ServerEnterprise /ProductKey:489J6-VHDMP-X63PK-3K798-CPX3Y

Filed under: Server2008

RDP Bloke sorunu (how-to-logoff-remote-desktop-sessions-via-command-line-tools)

This trick I learned from my one of ex-college.  In Windows servers, only two remote desktop sessions allowed with administrative access. There are situations, you can’t connect to the server via remote desktop because of two sessions already active.  You may have seen this dialog box. (“Remote Desktop Disconnected”, “This computer can’t connect to the remote computer”)

Usually Windows Administrators, open “Terminal Services Manager” (in Administrative tools), connect to the problematic server and log off the unwanted sessions.  There are easy ways if you love command line based tools.

Query the Remote Server for Current Terminal Sessions

To query and list the sessions on the remote session, you could use QUser.exe or QWinsta

1. QUser

QUser command comes with all the latest Windows clients and servers. This will list the sessions of the remote server (or local machine).

NOTE: if you are using Windows XP, you need to add this location into your System path: C:WindowsSystem32DLLCache. To do this, in command prompt, type the following.

SET PATH = %PATH%;C:WindowsSystem32DLLCache;

QUser help shows,

C:Anand>QUser /?
Display information about users logged on to the system.

QUERY USER [username | sessionname | sessionid] [/SERVER:servername]

  username            Identifies the username.
sessionname         Identifies the session named sessionname.
sessionid           Identifies the session with ID sessionid.
/SERVER:servername  The server to be queried (default is current).

E.g.,

C:>quser /server:MyCitrixSVR
USERNAME              SESSIONNAME        ID  STATE   IDLE TIME  LOGON TIME
johndoe               ica-tcp#966        10  Active          7  7/31/2008 3:04 PM
averagejoe            ica-tcp#969         1  Active          9  7/31/2008 3:30 PM
familyman             ica-tcp#984         5  Active       1:06  7/31/2008 4:33 PM
normaldude            ica-tcp#987         2  Active          4  7/31/2008 6:20 PM

2. QWinsta

QWinsta is little different and better. It has more features and options. It comes with all flavors of Windows.  QWinsta command line help displays as,

C:>qwinsta /?
Display information about Terminal Sessions.

QUERY SESSION [sessionname | username | sessionid]
[/SERVER:servername] [/MODE] [/FLOW] [/CONNECT] [/COUNTER]

  sessionname         Identifies the session named sessionname.
username            Identifies the session with user username.
sessionid           Identifies the session with ID sessionid.
/SERVER:servername  The server to be queried (default is current).
/MODE               Display current line settings.
/FLOW               Display current flow control settings.
/CONNECT            Display current connect settings.
/COUNTER            Display current Terminal Services counters information.

 

E.g.,

C:>qwinsta /server:citrixserver
SESSIONNAME       USERNAME                 ID  STATE   TYPE        DEVICE
0  Disc    rdpwd
ica-tcp                                 65536  Listen  wdica
rdp-tcp                                 65537  Listen  rdpwd
console                                    16  Conn    wdcon
ica-tcp#966       johndoe                  10  Active  wdica
ica-tcp#969       apple                     1  Active  wdica
ica-tcp#984       averagejoe                5  Active  wdica
ica-tcp#987       familyman                 2  Active  wdica
ica-tcp#989       whoisme                   3  Active  wdica

You are welcome to try the other options QWinsta provides.

Logoff the Remote Sessions

To Log off the terminal session of the remote server, you can use any one of two command line tools. One of LOGOFF and another one is RWINSTA. Before you log off the remote session, you should know the “Session ID” which you get it from “QUSER” OR “QWINSTA” commands as above stated.

1. Logoff

Logoff command kicks off (logging off) the specified remote session. Log off help shows,

C:>logoff /?
Terminates a session.

LOGOFF [sessionname | sessionid] [/SERVER:servername] [/V]

  sessionname         The name of the session.
sessionid           The ID of the session.
/SERVER:servername  Specifies the Terminal server containing the user
session to log off (default is current).
/V                  Displays information about the actions performed.

E.g.,

C:>logoff /server:infra-apps 1 /v
Logging off session ID 1

2. RWinsta

RWinsta has same parameters and does same thing as log off command. It simply means Reset WINdowsSTAtion. The help goes as,

C:>RWinsta /?
Reset the session subsytem hardware and software to known initial values.

RESET SESSION {sessionname | sessionid} [/SERVER:servername] [/V]

  sessionname         Identifies the session with name sessionname.
sessionid           Identifies the session with ID sessionid.
/SERVER:servername  The server containing the session (default is current).
/V                  Display additional information.

E.g.,

C:>RWinsta /Server:MyWinServer 1

Filed under: Server2008