{"id":1149,"date":"2019-12-24T22:52:18","date_gmt":"2019-12-24T14:52:18","guid":{"rendered":"http:\/\/www.ilovekonan.com\/?p=1149"},"modified":"2019-12-29T14:14:43","modified_gmt":"2019-12-29T06:14:43","slug":"virtual-apps-and-desktops-7-1912-ltsr%e9%9b%86%e6%88%90db%e8%bf%81%e7%a7%bb%e5%88%b0sql-server-2016-alwayson%e7%94%9f%e4%ba%a7%e7%8e%af%e5%a2%83","status":"publish","type":"post","link":"https:\/\/www.charflower.com\/?p=1149","title":{"rendered":"Virtual Apps and Desktops 7 1912 LTSR\u96c6\u6210DB\u8fc1\u79fb\u5230SQL Server 2016 AlwaysOn\u751f\u4ea7\u73af\u5883"},"content":{"rendered":"\n<p>\u9996\u5148\u5411\u5723\u8bde\u524d\u591c\u8fd8\u5728\u56e0CVE-2019-19781\u4e4b\u7978\u800c\u52aa\u529b\u594b\u6597\u7684Citrix NetScaler ADC\/GW\u7b49\u5404\u7ea7\u5de5\u53cb\u4eec\u81f4\u656c\uff01<\/p>\n\n\n\n<p>\u4e4b\u524d\u63d0\u8fc7\uff0c\u6709\u65f6\u5019\u9700\u8981\u628a\u5355DB\u8f6c\u6210\u96c6\u7fa4DB\uff0c\u8fd9\u91cc\u66f4\u6781\u7aef\uff0c\u662f\u628aExpress DB\u79fb\u690d\u5230DB\u96c6\u7fa4\uff0c\u672c\u6b21\u73af\u5883\u57fa\u4e8e\u4ee5\u4e0b\u4ecb\u8d28\uff1a<\/p>\n\n\n\n<blockquote class=\"wp-block-quote\"><p><\/p><cite>Citrix_Virtual_Apps_and_Desktops_7_1912.iso<br>cn_sql_server_2016_enterprise_with_service_pack_1_x64_dvd_9538279.iso<br>cn_windows_server_2019_x64_dvd_2d80e042.iso<br>ADDS\uff1a2012 R2<\/cite><\/blockquote>\n\n\n\n<p>CVAD 1912\u81ea\u5e26\u7684\u662fSQL Server 2017 Express CU16\uff0c\u5982\u679c\u4f60\u6ca1\u6709SQLServer 2017 Enterprise\u7684ISO\u6587\u4ef6\uff08\u8c8c\u4f3c\u4e0d\u592a\u597d\u627ecn_sql_server_2017_enterprise_x64_dvd_11293608.iso\uff09\uff0c\u8fd9\u91cc\u4ee5\u4f4e\u7248\u672cSQL2016\u4e3a\u4f8b\uff0cSQL 2019\u5012\u662f\u5f88\u6d41\u884c(cn_sql_server_2019_enterprise_x64_dvd_2bfe815a.iso)\u3002<\/p>\n\n\n\n<p>SQL\u9ad8\u7248\u672c\u8fd8\u539f\u5230\u4f4e\u7248\u672c\u4e0d\u53ef\u76f4\u63a5\u7528\u4f20\u7edf\u5907\u4efd\/\u8fd8\u539f\u65b9\u5f0f\uff0c\u4f1a\u62a5\u7248\u672c\u4e0d\u5339\u914d\u9519\u8bef\u3002\u53ef\u4ee5\u901a\u8fc7\u6267\u884c\u751f\u6210\u7684SQL\u6587\u4ef6\u6765\u5b8c\u6210\u6570\u636e\u5e93\u8fd8\u539f\uff0c\u518d\u53bb\u6784\u5efaAlwaysOn\u96c6\u7fa4\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" width=\"640\" height=\"553\" src=\"http:\/\/www.ilovekonan.com\/wp-content\/uploads\/2019\/12\/011.png\" alt=\"\" class=\"wp-image-1150\" srcset=\"https:\/\/www.charflower.com\/wp-content\/uploads\/2019\/12\/011.png 640w, https:\/\/www.charflower.com\/wp-content\/uploads\/2019\/12\/011-300x259.png 300w\" sizes=\"(max-width: 640px) 100vw, 640px\" \/><figcaption>\u6570\u636e\u7c7b\u578b\u9009\u62e9\u67b6\u6784\u548c\u6570\u636e<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" width=\"419\" height=\"354\" src=\"http:\/\/www.ilovekonan.com\/wp-content\/uploads\/2019\/12\/012.png\" alt=\"\" class=\"wp-image-1151\" srcset=\"https:\/\/www.charflower.com\/wp-content\/uploads\/2019\/12\/012.png 419w, https:\/\/www.charflower.com\/wp-content\/uploads\/2019\/12\/012-300x253.png 300w, https:\/\/www.charflower.com\/wp-content\/uploads\/2019\/12\/012-272x230.png 272w\" sizes=\"(max-width: 419px) 100vw, 419px\" \/><figcaption>\u670d\u52a1\u5668\u7248\u672c\u9009\u62e92016<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" width=\"844\" height=\"488\" src=\"http:\/\/www.ilovekonan.com\/wp-content\/uploads\/2019\/12\/013.png\" alt=\"\" class=\"wp-image-1153\" srcset=\"https:\/\/www.charflower.com\/wp-content\/uploads\/2019\/12\/013.png 844w, https:\/\/www.charflower.com\/wp-content\/uploads\/2019\/12\/013-300x173.png 300w, https:\/\/www.charflower.com\/wp-content\/uploads\/2019\/12\/013-768x444.png 768w\" sizes=\"(max-width: 844px) 100vw, 844px\" \/><figcaption>sql\u6587\u4ef6\u5927\u5199\u53d6\u51b3\u4e8e\u4f60\u7684POC\u73af\u5883\u590d\u6742\u7a0b\u5ea6\uff0c\u9700\u8981\u8010\u5fc3\u52a0\u8f7d\u548c\u6267\u884c\uff0c\u6267\u884c\u540e\u7684\u62a5\u9519\u53ef\u5ffd\u7565\uff01<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" width=\"726\" height=\"552\" src=\"http:\/\/www.ilovekonan.com\/wp-content\/uploads\/2019\/12\/014.png\" alt=\"\" class=\"wp-image-1152\" srcset=\"https:\/\/www.charflower.com\/wp-content\/uploads\/2019\/12\/014.png 726w, https:\/\/www.charflower.com\/wp-content\/uploads\/2019\/12\/014-300x228.png 300w\" sizes=\"(max-width: 726px) 100vw, 726px\" \/><figcaption>DB\u4e00\u4fa7\u5b8c\u5de5\u540e\uff0c\u5269\u4e0b\u5c31\u662f\u56de\u5230DDC\u4e0a\u501f\u52a9PowerShell\u5404\u79cd\u795e\u64cd\u4f5c\u4e86\uff01<\/figcaption><\/figure>\n\n\n\n<blockquote class=\"wp-block-quote\"><p>\u89e3\u9664\u73b0\u6709\u7684DB\u8fde\u63a5<\/p><cite>Load the Citrix snap-ins<br> asnp Citrix.*<br> Disable configuration logging for the XD site:<br> Set-LogSite -State Disabled<br> Clear the current Delivery Controller database connections<br> Note: AdminDBConnection must be the last command<br> Set-ConfigDBConnection -DBConnection $null<br> Set-AcctDBConnection -DBConnection $null<br> Set-AnalyticsDBConnection -DBConnection $null             #  for 7.6 and newer<br> Set-AppLibDBConnection -DBConnection $null                #  for 7.8 and newer<br> Set-OrchDBConnection -DBConnection $null                  #  for 7.11 and newer<br> Set-TrustDBConnection -DBConnection $null                 #  for 7.11 and newer<br> Set-HypDBConnection -DBConnection $null<br> Set-ProvDBConnection -DBConnection $null<br> Set-BrokerDBConnection -DBConnection $null<br> Set-EnvTestDBConnection -DBConnection $null<br> Set-SfDBConnection -DBConnection $null<br> Set-MonitorDBConnection -DataStore Monitor -DBConnection $null<br> Set-MonitorDBConnection -DBConnection $null<br> Set-LogDBConnection -DataStore Logging -DBConnection $null<br> Set-LogDBConnection -DBConnection $null<br> Set-AdminDBConnection -DBConnection $null -force<\/cite><\/blockquote>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" width=\"712\" height=\"351\" src=\"http:\/\/www.ilovekonan.com\/wp-content\/uploads\/2019\/12\/015-2.png\" alt=\"\" class=\"wp-image-1158\" srcset=\"https:\/\/www.charflower.com\/wp-content\/uploads\/2019\/12\/015-2.png 712w, https:\/\/www.charflower.com\/wp-content\/uploads\/2019\/12\/015-2-300x148.png 300w\" sizes=\"(max-width: 712px) 100vw, 712px\" \/><figcaption>\u5145\u5206\u53c2\u8003 <a href=\"https:\/\/docs.citrix.com\/en-us\/advanced-concepts\/implementation-guides\/database-connection-strings.html\">https:\/\/docs.citrix.com\/en-us\/advanced-concepts\/implementation-guides\/database-connection-strings.html<\/a> <\/figcaption><\/figure>\n\n\n\n<blockquote class=\"wp-block-quote\"><p>\u5efa\u7acb\u65b0\u7684DB\u8fde\u63a5<\/p><cite><em>$ServerName = &#8220;CVADlis&#8221;<br> $SiteDBName = &#8220;cvadPOC&#8221;<br> $LogDBName = &#8220;<\/em> <em>cvadPOC<\/em> <em>&#8220;<br> $MonitorDBName = &#8220;<\/em> <em>cvadPOC<\/em> <em>&#8220;<br> $csSite = &#8220;Server=$ServerName;Initial Catalog=$SiteDBName;Integrated Security=True&#8221;<br> $csLogging = &#8220;Server=$ServerName;Initial Catalog=$LogDBName;Integrated Security=True&#8221;<br> $csMonitoring = &#8220;Server=$ServerName;Initial Catalog=$MonitorDBName;Integrated Security=True&#8221;<br> Set-AdminDBConnection -DBConnection $csSite<br> Set-ConfigDBConnection -DBConnection $csSite<br> Set-AcctDBConnection -DBConnection $csSite<br> Set-AnalyticsDBConnection -DBConnection $csSite              # for 7.6 and newer<br> Set-HypDBConnection -DBConnection $csSite<br> Set-ProvDBConnection -DBConnection $csSite<br> Set-AppLibDBConnection \u2013DBConnection $csSite                 # for 7.8 and newer<br> Set-OrchDBConnection \u2013DBConnection $csSite                   # for 7.11 and newer<br> Set-TrustDBConnection \u2013DBConnection $csSite                  # for 7.11 and newer<br> Set-BrokerDBConnection -DBConnection $csSite<br> Set-EnvTestDBConnection -DBConnection $csSite<br> Set-SfDBConnection -DBConnection $csSite<br> Set-LogDBConnection -DBConnection $csSite<br> Set-LogDBConnection -DataStore Logging -DBConnection $csLogging<br> Set-MonitorDBConnection -DBConnection $csSite<br> Set-MonitorDBConnection -DataStore Monitor -DBConnection $csMonitoring<\/em><\/cite><\/blockquote>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" width=\"558\" height=\"453\" src=\"http:\/\/www.ilovekonan.com\/wp-content\/uploads\/2019\/12\/016-1.png\" alt=\"\" class=\"wp-image-1159\" srcset=\"https:\/\/www.charflower.com\/wp-content\/uploads\/2019\/12\/016-1.png 558w, https:\/\/www.charflower.com\/wp-content\/uploads\/2019\/12\/016-1-300x244.png 300w\" sizes=\"(max-width: 558px) 100vw, 558px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" width=\"627\" height=\"327\" src=\"http:\/\/www.ilovekonan.com\/wp-content\/uploads\/2019\/12\/017-2.png\" alt=\"\" class=\"wp-image-1161\" srcset=\"https:\/\/www.charflower.com\/wp-content\/uploads\/2019\/12\/017-2.png 627w, https:\/\/www.charflower.com\/wp-content\/uploads\/2019\/12\/017-2-300x156.png 300w\" sizes=\"(max-width: 627px) 100vw, 627px\" \/><figcaption>\u5207\u6362\u6570\u636e\u5e93\uff0c\u67e5\u770bARP\u8f93\u51fa\u7684MAC\u5730\u5740\u6765\u9a8c\u8bc1DDC\u5de5\u4f5c\u60c5\u51b5\uff01\u6b64\u5916\u8fd8\u53ef\u4ee5\u5728DDC\u4e0a\u6267\u884c\u7ad9\u70b9\u68c0\u6d4b\uff0c\u5982\u679c\u51fa\u73b0\u8b66\u544a\u4fe1\u606f\uff0c\u53ef\u4ee5\u653e\u5fc3\u5ffd\u7565\uff01<\/figcaption><\/figure>\n\n\n\n<blockquote class=\"wp-block-quote\"><p>\u7528PS\u6765\u68c0\u6d4bdb\u8fde\u63a5\u60c5\u51b5\uff1a<\/p><cite>Load the Citrix snap-ins<br> asnp citrix.*<br> $ServerName = &#8221; <em>CVADlis<\/em> &#8220;<br> $SiteDBName = &#8221; <em>cvadPOC<\/em> &#8220;<br> $LogDBName = &#8221; <em>cvadPOC<\/em> &#8220;<br> $MonitorDBName = &#8221; <em>cvadPOC<\/em> &#8220;<br> $csSite = &#8220;Server=$ServerName;Initial Catalog=$SiteDBName;Integrated Security=True&#8221;<br> $csLogging = &#8220;Server=$ServerName;Initial Catalog=$LogDBName;Integrated Security=True&#8221;<br> $csMonitoring = &#8220;Server=$ServerName;Initial Catalog=$MonitorDBName;Integrated Security=True&#8221;<br> Test-AcctDBConnection -DBConnection $csSite<br> Test-AdminDBConnection -DBConnection $csSite<br> Test-AnalyticsDBConnection -DBConnection $csSite   # for 7.6 and newer<br> Test-AppLibDBConnection -DBConnection $csSite      # for 7.8 and newer<br> Test-BrokerDBConnection -DBConnection $csSite<br> Test-ConfigDBConnection -DBConnection $csSite<br> Test-EnvTestDBConnection -DBConnection $csSite<br> Test-HypDBConnection -DBConnection $csSite<br> Test-LogDBConnection -DBConnection $csSite<br> Test-LogDBConnection -DataStore Logging -DBConnection $csLogging<br> Test-MonitorDBConnection -DBConnection $csSite<br> Test-MonitorDBConnection -Datastore Monitor -DBConnection $csMonitoring<br> Test-OrchDBConnection -DBConnection $csSite       # for 7.11 and newer<br> Test-ProvDBConnection -DBConnection $csSite<br> Test-SfDBConnection -DBConnection $csSite<br> Test-TrustDBConnection -DBConnection $csSite      # for 7.11 and newer<\/cite><\/blockquote>\n\n\n\n<iframe width=\"560\" height=\"315\" src=\"https:\/\/www.youtube.com\/embed\/dNYemZtQBpk\" frameborder=\"0\" allow=\"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen=\"\"><\/iframe>\n\n\n\n<p>\u4ee5\u4e0a\u662f\u5b8c\u6574\u7684\u89c6\u9891\u64cd\u4f5c\u8fc7\u7a0b\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u9996\u5148\u5411\u5723\u8bde\u524d\u591c\u8fd8\u5728\u56e0CVE-2019-19781\u4e4b\u7978\u800c\u52aa\u529b\u594b\u6597\u7684Citrix NetScaler ADC\/GW&hellip; <a class=\"more-link\" href=\"https:\/\/www.charflower.com\/?p=1149\">\u7ee7\u7eed\u9605\u8bfb<span class=\"screen-reader-text\">Virtual Apps and Desktops 7 1912 LTSR\u96c6\u6210DB\u8fc1\u79fb\u5230SQL Server 2016 AlwaysOn\u751f\u4ea7\u73af\u5883<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":1163,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[4,37,22],"tags":[53,39],"_links":{"self":[{"href":"https:\/\/www.charflower.com\/index.php?rest_route=\/wp\/v2\/posts\/1149"}],"collection":[{"href":"https:\/\/www.charflower.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.charflower.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.charflower.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.charflower.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1149"}],"version-history":[{"count":4,"href":"https:\/\/www.charflower.com\/index.php?rest_route=\/wp\/v2\/posts\/1149\/revisions"}],"predecessor-version":[{"id":1190,"href":"https:\/\/www.charflower.com\/index.php?rest_route=\/wp\/v2\/posts\/1149\/revisions\/1190"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.charflower.com\/index.php?rest_route=\/wp\/v2\/media\/1163"}],"wp:attachment":[{"href":"https:\/\/www.charflower.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1149"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.charflower.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1149"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.charflower.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1149"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}