2005/05/12

SQL Server DBA 가이드 - TechNet

Microsoft TechNet에 등록된 기술문서중 DBA에게 유용한 정보를 기술한 문서입니다.

문서내용은 다음과 같은 내용이 있습니다.

데이터베이스 관리
백업과 복구
테이블 관리
시스템 오브젝트 생성
사용자 관리
서버 및 데이터베이스의 정보 확인
성능 모니터링
프로필러
문제 점검 및 해결

출처사이트 : http://www.microsoft.com/korea/technet/sql/tuning_guide_developer03.asp
[PDF원본문서 다운로드]



*위 내용에 대한 저작권은 Microsoft 에 있습니다.

11-arrow_px_down.gif
11-arrow_px_down.gif
11-arrow_px_down.gif
11-arrow_px_down.gif
11-arrow_px_down.gif
11-arrow_px_down.gif
11-arrow_px_down.gif
11-arrow_px_down.gif
11-arrow_px_down.gif
11-TechNetB_masthead_ltr.gif

2005/05/08

Microsoft SQL Server 2000 서비스 팩 4

Microsoft에서

Microsoft SQL Server 2000 서비스 팩 4 를 발표를 하기 위해 SP4 다운로드를 준비 중입니다.

현재 공식적인 경로를 통해서는 접근할수 없는 상태입니다.

다운로드 경로는 다음 주소에서 설치파일을 다운로드 받을수 있습니다.

http://www.microsoft.com/downloads/details.aspx?FamilyID=8e2dfc8d-c20e-4446-99a9-b7f0213f8bc5&DisplayLang=ko

조만간 공식적으로 발표할것으로 보입니다.

버그픽스 및 수정 & 업그레이드된 상세 항목은 다음 문서를 참조하세요.

http://download.microsoft.com/download/c/6/1/c61fbaf2-2030-418f-844b-9548776014c7/ReadmeSql2k32sp4.htm

2005/05/03

Windows Firewall 설정

만일 소규모 네트웍인 경우, Windwos XP SP2 나 Windows Server 2003 SP1에 내장된 Windows Firewall은 좋은 도구일수 있다.

1. 제어판에 다음과 같이 방화벽을 On 설정한다.


2. 서버의 경우 외부나 특정 호스트/서브넷 및 포트로의 접근을 해야 하므로 예외항목에서 필요한 값을 등록한다.


다음은 Windows Firewall을 설정할수 있는 몇가지 방법이다.

1.무인설치 Unattend.txt 파일을 이용하는 방법

Unattend.txt를 통해서 OS 무인설치시에 Windows Firewall을 자동화하는 방법이다. nattend.txt 에 새로운 섹션값이 추가하면 된다. 섹션값에 대한 자세한 설명은 Windows XP Service Pack 2 Deployment Tools 의 설명서를 참조하시기 바란다.

[WindowsFirewall]
Profiles = WindowsFirewall.TurnOffFirewall

[WindowsFirewall.TurnOffFirewall]
Mode = 0 (*0 은 Disable)

위 값에서 Profiles 기본으로 2개가 있다. Standard profile 워크그룹에서.. / Domain profile 도메인환경에서.. 위 예에서는  TurnOffFirewall 이라고 하는 Custom Profile 을 이용했다.

위 기본항목을 기준으로  워크그룹환경에서 인트라넷 웹서버를 운영하는 경우 Unattend.txt 이다.

-----------------------------------------
[WindowsFirewall]
Profiles=WindowsFirewall.Standard

[WindowsFirewall.Standard]
Type = 1 (*워크그룹환경)
Mode = 1 (*Enable)
Exceptions = 1 (*예외있음)
PortOpenings = WindowsFirewall.WebServer

[WindowsFirewall.WebServer]
Protocol= 6
Port = 80
Name = Web Server (TCP 80)
Mode = 1
Scope = 1

-----------------------------------------

2. Netfw.inf 를 이용하는 방법

다음은 Netfw.inf 를 이용하여 Firewall을 설정하는 방법이다.  파일은 %windir%\Inf 에 위치한다.



Windows Server 2003에서 SP1을 설치한경우 Default파일 내용은 다음과 같다.
-----------------------------------------
[version]
Signature      = "$Windows NT$"
DriverVer=10/01/2002,5.2.3790.1830

[DefaultInstall]
AddReg=ICF.AddReg.DomainProfile
AddReg=ICF.AddReg.StandardProfile

[ICF.AddReg.DomainProfile]

[ICF.AddReg.StandardProfile]
-----------------------------------------

여기에 OS설치시에 위 웹서버 항목을 추가하려면 다음 내용을 추가한후에 SP1이 통합된 CD에 있는 기존 Default파일과 바꾸면 된다.

[ICF.AddReg.StandardProfile]
HKLM,"SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\
StandardProfile\AuthorizedApplications\List","%windir%\system32\sessmgr.exe",0x00000000,"%windir%\system32\sessmgr.exe:*:enabled:@xpsp2res.dll,-22019"
HKLM,"SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\
StandardProfile\GloballyOpenPorts\List","80:TCP",0x00000000,
"80:TCP:LocalSubnet:enabled:Web Server (TCP 80)"


위 레지스트리 값은 실제 OS설치후에 위 키경로 위치에서 확인할수 있다.


3. 그룹정책(GPO)를 이용하는 방법



위 위치에서 설정이 가능하다.  각 항목마다 설정하기 쉽게 되어 있으며 설정후에 다른 호스트에 동일한 항목을 적용할경우 정책파일을 Export해서 다른 호스트에서 적용하면 된다.

4.Netsh를 이용하는 방법

Netsh는 여러가지 다양한 기능을 제공하는 툴로서 Firewall은 다음 같은 기본 형식이 제공된다.

netsh firewall set opmode mode=DISABLE profile=DOMAIN

그렇다면 앞서 지정했던 웹서버의 설정값을 등록하려면 다음과 같다.

netsh firewall add portopening protocol=TCP port=80 name=web Server (TCP 80)?mode=ENABLE scope=SUBNET profile=DOMAIN


이미 Windows Sever2003 SP1이 설치된 서버의 경우 제어판의 방화벽 툴에서 설정하거나, 설정된 레지스트리 파일을 등록하거나, GPO 또는 Netsh를 이용해서 설정이 가능하다.



02-WindowsFirewall_01.gif
02-WindowsFirewall_02.gif
02-WindowsFirewall_03.gif
02-WindowsFirewall_04.gif
02-WindowsFirewall_05.gif

가장 많이 본 글