Root

DB Server/MS Sql Server

SQL Server Multi USER 변경

Express 설치 후 여러개의 프로그램 사용 시 Database가 Single User모드이며 세션이 연결되어 있으므로 쿼리 실행에 실패하였다는 메시지가 나오는 경우가 있습니다. (저는 WSUS 설치 시 해당 메시지를 보았습니다.) 그 때 해당 DB를 Multi User 모드로 변경하는 방법입니다. 1. User와 Session ID 확인 SELECT D.name, spid, login_time, nt_username, loginame FROM SYSPROCESSES P INNER JOIN SYSDATABASES D ON o.dbid=d.dbid WHERE D.NAME = 'SUSDB' go 2. User의 spid를 확인 후 Session을 Kill한다. 3. SUSDB를 Multi User 모드로 ..

Microsoft/Tool

KMS 인증 확인 방법

KMS 인증 확인 방법 http://technet.microsoft.com/en-us/library/ee939272.aspx

Microsoft/Core

Memory Count

Memory 용어 Page - Memory의 가장 작은 단위 - 32Bit, 64Bit : 4KB - IA64 : 8KB Paging - Physical Memory양 수정을 위해 Memory의 Content를 Disk로 옮김 Shared Memory - exe, dll의 경우 같은 Path를 사용하므로 자동으로 해당 Memory를 Share한다. Trimming the Working SEt - 가장 오래전에 Access한 Page를 Working Set에서 Page Out한다. Process(*)\Virtual Bytes - Process 별 Virtual Memory 사용량 - Reserved and Committed User Memory 의 총합 x86 : 2GB x86 without LargeAd..

Microsoft/Core

Large Address Aware

Large Address Aware - 32Bit Application은 Virtual Memory 2GB를 사용 - 3GB의 경우 32Bit Application은 Virtual Memory 3GB를 사용 - 32Bit Application with Large Address Aware인 경우 /3GB일때 3GB사용 - 32Bit Application을 64Bit OS에서 돌리면 wow64로 4GB의 Memory가 할당된다. - /3GB와 64Bit OS에서 4GB Memory 인식을 위해 Large Address Aware 옵션으로 Program이 Compile 되어야 함

Microsoft/Core

Disk Count

Disk 성능 - Avg. Disk sec / Read|Write 15ms : Warning 기준 25ms : Critical 기준 - Avg. Disk Queue Length 원래 Physical Disk가 내야 하는 Performance와 비교하여 Baseline 확인 Disk가 정상인지 확인 가능 Disk 구성에 따라 값이 틀려짐 ex) Raid 5 : (Read) + (4 * Writes) 32보다 크면 이슈가 있음 - Avg. Disk Bytes / Read, Avg. Disk Bytes/Write I/O의 Size에 따라 Respond Time이 변경됨 15ms이 기준임 1MB : 30ms 64K : 10ms 4k : 4ms 64K보다 크면 기준을 넘길 수 있음 - % Free Space 10..

Microsoft/공통

Performance Counter Error 해결

Counter Error - perfmon 수행하여 Counters이 내용이 아닌 숫자 코드로 나오는 경우 Counter Error - Rebuild Counter : Lodctr /r - Unload Counter : unlodctr.exe

프로그래밍/vbscript

Remote Registry Get

Vbscript를 사용하여 원격 Registry 값을 가지고 오는 방법 Const HKEY_CURRENT_USER = &H80000001 Const HKEY_LOCAL_MACHINE = &H80000002 strComputer = "192.168.0.2" strUser = "Administrator" strPassword = "!!"" strDomain = "WORKGROUP" Set objSWbemLocator = CreateObject("wbemScripting.SwbemLocator") Set objWMIService = objSWbemLocator.ConnectServer(strComputer, _ "root\default", _ strUser, _ strPassword, _ "MS_409", _..

Microsoft/Core

프로세서, 메모리 사용계획 Registry

프로세서 사용 계획 Registry - Key : HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\PriorityControl\Win32PrioritySeparation - Type : DWORD - Value : 0 - Foreground and Background를 동일하게 1 - Foreground를 Background 보다 빠르게 반응 2 - Background를 Foreground보다 빠르게 반응 GUI에서 수정시 0x00000018(24) - Background Services 0x00000026(38) - Programs 메모리 사용 계획 Registry - Key : HKLM\SYSTEM\CurrentControlSet\Control\Sessio..

Microsoft/Patch

Windows 2008 R2 SP1 Cluster Patch

Windows 2008 R2 SP1이 설치된 Cluster Machine에 추가로 해야할 Patch List 입니다. 사이트 : http://support.microsoft.com/kb/2545685 Patch List 2531907: Validate SCSI Device Vital Product Data (VPD) test fails after you install Windows Server 2008 R2 SP1 2550886: A transient communication failure causes a Windows Server 2008 R2 failover cluster to stop working 2552040: A Windows Server 2008 R2 failover cluster loses..

Microsoft/Patch

Windows 2003, 2008 R2 Cluster Patch 방법

Windows 2003, Windows 2008 R2 Cluster Patch 방법 입니다. 사이트 : http://support.microsoft.com/kb/174799/ko

로멘틱가이
'분류 전체보기' 카테고리의 글 목록 (9 Page)