728x90

SELECT * FROM

OPENROWSET

(

'SQLOLEDB' ,

'IP , PORT ' ; 'ID' ; 'PW' ,

'SELECT * FROM 원격DB명.소유자.테이블명'

)

 

728x90
728x90

http://lattice-spgen-stored-procedure-generator.en.softonic.com/download?ex=SWH-1608.7

728x90
728x90
select replace(convert(varchar,convert(money, 1000000 ),1),'.00',space(0) ) as total

 

 

728x90
728x90

다운로드 URL

https://borntolearn.mslearn.net/certification/m/certgallery/372293/download

 

 

728x90
728x90

참고 - URL

https://technet.microsoft.com/ko-kr/library/gg398069(v=ocs.15).aspx

728x90
728x90

CU 설치 시, 아래 박스안의 오류가 발생 되었다.

해결 방법

제어판>방화벽>Windows 방화벽을 통해 프로그램 또는 기능 허용

Windows Management Instrumentation(WMI) 체크

 

Install-CsDatabase : Command execution failed: Cannot determine where to instal
l database files because Windows Management Instrumentation on the database ser
ver is unavailable from your computer or user account. To continue, you can res
olve this issue, or you can specify where you want to install the files.
At line:1 char:1
+ Install-CsDatabase -ConfiguredDatabases -SqlServerFqdn be01.site1.mani4u.com

 ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~
    + CategoryInfo          : InvalidOperation: (:) [Install-CsDatabase], Depl
   oymentException
    + FullyQualifiedErrorId : ProcessingFailed,Microsoft.Rtc.Management.Deploy
   ment.InstallDatabaseCmdlet 

 

 

참조

http://www.wardvissers.nl/2011/01/05/microsoft-lync-error-microsoft-rtc-management-deployment-deploymentexception-cannot-determine-where-to-install-database-files-because-windows-management-instrumentation-on-the-datab/

Step 1:

  1. Click Start, and then click Control Panel.
  2. Open the Windows Firewall program.
  3. Click Change Settings to the Windows Firewall Settings dialog box.
  4. Verify that Windows Firewall is turned on, and then click the Exceptions tab.
  5. In the To enable an exception, select its check box window, scroll to locate the Remote Administration Program or Port exception.
  6. Make sure that the Remote Administration Program or Port exception is selected.
  7. Click OK to close the Windows Firewall Settings dialog box.

                image

Step 2: I had named the pool different than the server name, so I needed to add an A record or CNAME Record to DNS to get past.

 

 

끝.

728x90
728x90

최신 Lync Server 2013 Cumulative Update 파일을 다운로드 받아 둡니다.

파워쉘을 관리자 권한으로 실행합니다.

 

Step1. Get-CsPoolUpgradeReadinessState 명령어 후 State Value가 "REDY"인지 확인

PS C:\> Get-CsPoolUpgradeReadinessState


PoolName : LyncPool01.site1.mani4u.com
State : InSufficientActiveFrontEnds
TotalFrontends : 1
TotalActiveFrontends : 1
UpgradeDomains : {
UpgradeDomainName: UpgradeDomain1
IsReadyForUpgrade: True
Total FrontEnds: 1
Total Active FrontEnds: 1
Frontends: FE01.site1.mani4u.COM
}

State가 "InSufficientActiveFrontEnds"으로 표기 된다면 "stop-cswindowservice" 후

Get-CsPoolUpgradeReadinessState를 하면 State Value가 "REDY"로 변경 됩니다.

Step2. LyncServerUpdateInstaller.exe 설치

설치 완료 후 재부팅

Step3. Install-CsDatabase 설치

Install-CsDatabase -ConfiguredDatabases -SqlServerFqdn be01.site1.mani4u.com
-Verbose

 

 

Step4. Enable the Mobility service

Enable-CsTopology

 

Step5. Enable the Unified Communications Web API

%ProgramFiles%\Microsoft Lync Server 2013\Deployment\Bootstrapper.exe

 

정상적으로 반영 되었는지 확인 방법

첫번째. Product

Get-WmiObject -class Win32_Product | where {$_.name -like "*Lync Server*"} | Sort-Object Name | Select Name, Version |ft -AutoSize

 

 

 

PS C:\> Get-WmiObject -class Win32_Product | where {$_.name -like "*Lync Server*
"} | Sort-Object Name | Select Name, Version |ft -AutoSize

Name Version
---- -------
Microsoft Lync Server 2013, Administrative Tools 5.0.8308.920
Microsoft Lync Server 2013, Application Host 5.0.8308.920
Microsoft Lync Server 2013, Audio Test Service 5.0.8308.920
Microsoft Lync Server 2013, Conferencing Server 5.0.8308.920
Microsoft Lync Server 2013, Core Components 5.0.8308.920
Microsoft Lync Server 2013, Front End Server 5.0.8308.920
Microsoft Lync Server 2013, Reach Fonts 5.0.8308.0
Microsoft Lync Server 2013, Web Components Server 5.0.8308.920
Microsoft Lync Server 2013, Web Conferencing Server 5.0.8308.920
Microsoft Lync Server 2013, XMPP Translating Gateway 5.0.8308.920


PS C:\>

 

 

두번째. Back End Databases 버전 체크

Test-CsDatabase -ConfiguredDatabases -SqlServerFqdn be01.site1.mani4u.com

 

아래는 CU 생성 날자별 DB 버전입니다.

Enterprise의 경우 xds와 lis는 CMS에만 존재합니다.

버전 확인 URL 참조

http://blogs.technet.com/b/dodeitte/archive/2013/07/02/how-to-verify-if-lync-server-2013-database-updates-completed-successfully.aspx

 

 

끝.

 

 

 

 

감사합니다.

728x90
728x90

 

 

Lync 2013 설치시 명령어

 

http://technet.microsoft.com/en-us/library/gg398103.aspx

http://technet.microsoft.com/en-us/library/gg412871.aspx

Install-WindowsFeature RSAT-ADDS

 

 

 

 

Import-Module ServerManager

 

 

 

 

Add-WindowsFeature Web-Server, Web-Static-Content, Web-Default-Doc, Web-Http-Errors, Web-Asp-Net, Web-Net-Ext, Web-ISAPI-Ext, Web-ISAPI-Filter, Web-Http-Logging, Web-Log-Libraries, Web-Request-Monitor, Web-Http-Tracing, Web-Basic-Auth, Web-Windows-Auth, Web-Client-Auth, Web-Filtering, Web-Stat-Compression, Web-Dyn-Compression, NET-WCF-HTTP-Activation45, Web-Asp-Net45, Web-Mgmt-Tools, Web-Scripting-Tools, Web-Mgmt-Compat, Desktop-Experience, BITS -Source f:\sources\sxs

728x90
728x90

아래 명령을 파워쉘로 확인

Get-WmiObject -class Win32_Product | where {$_.name -like "*Lync Server*"} | Sort-Object Name | Select Name, Version |ft -AutoSize

 

 

 

PS C:\> Get-WmiObject -class Win32_Product | where {$_.name -like "*Lync Server*
"} | Sort-Object Name | Select Name, Version |ft -AutoSize

Name                                                                 Version
----                                                                   -------
Microsoft Lync Server 2013, Administrative Tools     5.0.8308.920
Microsoft Lync Server 2013, Application Host         5.0.8308.920
Microsoft Lync Server 2013, Audio Test Service       5.0.8308.920
Microsoft Lync Server 2013, Conferencing Server      5.0.8308.920
Microsoft Lync Server 2013, Core Components          5.0.8308.920
Microsoft Lync Server 2013, Front End Server         5.0.8308.920
Microsoft Lync Server 2013, Reach Fonts              5.0.8308.0
Microsoft Lync Server 2013, Web Components Server    5.0.8308.920
Microsoft Lync Server 2013, Web Conferencing Server  5.0.8308.920
Microsoft Lync Server 2013, XMPP Translating Gateway 5.0.8308.920


PS C:\>

 

물론 프로그램 추가/제거에서도 확인은 가능 함.

728x90
728x90

url - http://www.myskypelab.com/2014/02/lync-edge-testing-suite-part-1-lync.html

 

 

Features:

  • One tool for testing both ends of the connection. Run the Lync Edge Port Tester on your Edge server and on an internal and external network machine.
  • Test both UDP and TCP ports are open in both directions.
  • Select a profile from the list (Edge Outside, Edge Inside, Front End, Client Outside, Client Inside) to check all the relevant ports for that connection type.
  • Open all the required firewall ports temporarily with the press of a button.
  • Can be used to test connections to a live Edge (or Front End) server. If you run the tool on a live edge server it will automatically learn which ports are currently in use and only allow you to Listen on unused ports.
  • Can be used on a Consolidated Edge configuration or on an Edge running with a single external IP address (ie. all 443 services running on different ports). The Single External IP check box allows for this configuration.
  • Tool Tips to provide you with contextual help.
  • All in one interface. (Over 100 interface objects! Yep, that was a lot of typing...)
728x90

+ Recent posts