具有集成运行时的Azure DataFactory v2链接服务

时间:2019-02-01 10:16:19

标签: azure azure-data-factory-2

客户端服务器上的自托管IR设置,显示已连接到我的ADFv2。 创建链接服务超时。我可以看到此设置与以前的成功设置之间的唯一区别是,SQL Connection需要启用信任服务器证书刻度。

我不知道如何向我的json sqlconnection文件添加信任服务器证书。

下面为SqlServerLinkedService.json删除了服务器名和密码

{
"properties": {
    "type": "SqlServer",
    "typeProperties": {
        "connectionString": {
            "type": "SecureString",
            "value": "Server=<servername>;Database=Master;User 
ID=admin;Password=<password>;Timeout=60"
        }
    },
    "connectVia": {
        "type": "integrationRuntimeReference",
        "referenceName": "Test-IR"
    }
},
"name": "SqlServerLinkedService"
}


New-AzureRmDataFactoryV2LinkedServiceEncryptedCredential -DataFactoryName 
$dataFactoryName -ResourceGroupName $ResourceGroupName - 
IntegrationRuntimeName "TEST-IR" -File ".\SQLServerLinkedService.json
" > encryptedSQLServerLinkedService.json   

给我错误:

 New-AzureRmDataFactoryV2LinkedServiceEncryptedCredential : Unable to 
connect to the remote server caused by A connection attempt failed because 
the connected party did not properly respond after a period of time, or
established connection failed because connected host has failed to respond 
<ip address removed>:8050 At line:1 char:1
+ New-AzureRmDataFactoryV2LinkedServiceEncryptedCredential -DataFactory ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo          : CloseError: (:) [New- 
AzureRmData...yptedCredential], GeneralException
+ FullyQualifiedErrorId : 

Microsoft.Azure.Commands.DataFactoryV2.NewAzureDataFactoryLinkedServiceEncryptedCredentialCommand

1 个答案:

答案 0 :(得分:0)