Nueva publicación

Rechercher

Pregunta
· 20 nov, 2024

Veeam backup causing IRIS node to be dropped from mirror

Is anyone using Veeam as their external backup product?

I'm trying to backup a Linux VMs (VMWare; SUSE).

These VMs have a mirrored pair IRIS DB.

I'm using the InterSystems's provides pre-freeze - Backup.General(ExternalFreeze)
I'm using the InterSystems's provides post-thaw  - Backup.General(ExternalThaw)

I've been running the backups with Veeam 'application aware processing' so I can add the pre-freeze and post-thaw scripts.

I'm backing up the PRIMARY node of the mirror pair.

The problem is that the time take by Veeam between the run of the pre-freeze script and post-thaw script is about 14-16 minutes.

The Veeam processing between the call of pre-freeze script and call of the post-thaw script should only be to create a VMWare snapshot.

On checking the logs I can see that Veeam tries to install the Postgres agent and Oracle agent and both these agents do a discovery
looking for installations of Oracle and Postgres. There does not seem to be anywhere I can turn off the Postgres agent and Oracle agent.

Has anyone had a similar problem?

How did you fix it?

3 comentarios
Comentarios (3)2
Inicie sesión o regístrese para continuar
Artículo
· 20 nov, 2024 Lectura de 3 min

第二十七章 TCP 客户端 服务器通信 - 连接管理

第二十七章 TCP 客户端 服务器通信 - 连接管理

连接管理

服务器一次只维护一个连接。如果第二个客户端在另一个连接打开时尝试连接,则 TCP/IP 将该客户端放入队列中。在队列中时,第二个客户端可以像已连接一样写入端口。第二个客户端写入的数据保留在缓冲区中,直到第一个连接关闭并且第二个客户端连接。

如果第二个客户端在连接存在之前发出 READ,它就会挂起。当第二个客户端在队列中时,第三个客户端的任何连接尝试都会失败。

如果已经打开 TCP 设备的客户端在第一个连接仍然存在时尝试第二次连接,则第二个 OPEN 命令会导致<COMMAND> 错误。将这种情况视为错误而不是 USE 命令可以防止出现意外结果。如果一个错误的程序认为它打开了一个新连接,而实际上它正在重用一个可能具有不同目标或不同参数的现有连接,则可能会出现这种意想不到的结果。

Comentarios (0)1
Inicie sesión o regístrese para continuar
Pregunta
· 20 nov, 2024

Reading values from JSON

Hi ,

I receive below JSON from a https outbound operation

{
  "Link": "www.sample.com",
  "Practice": [
    {
      "Node": "Record1"
    }
  ]
}

I am able to read Link as - JSON.%Get("Link")

How can I read Node value ?

2 comentarios
Comentarios (2)1
Inicie sesión o regístrese para continuar
Pregunta
· 20 nov, 2024

Iterate through current Row of EnsLib.SQL.Snapshot

I am using a JDBC connection to MS SQL server to execute a stored procedure to select data and bring it into InterSystems as a EnsLib.SQL.Snapshot. I loop through the EnsLib.SQL.Snapshot using a while loop, but I also want to iterate through the Columns within that Row to do logic.

Is there a way to iterate through the Columns of the current Row of the EnsLib.SQL.Snapshot so I can apply logic/rules for further processing?

Thanks

Scott

4 comentarios
Comentarios (4)2
Inicie sesión o regístrese para continuar
Pregunta
· 20 nov, 2024

Impossible to modify headers and status in a %CSP.REST %response

Hi everybody, 

I'm modifying a REST interface for a client but it seems impossible to me to modify HTTP Response Status and including custom HTTP Headers either.

My dispatch class (extending %CSP.REST) is contacted through a POST request and the latter is processed in a custom class (extending %CSP.REST as well) accessed as shown in the example below:

  <Route Url="/test" Method="POST" Call="Custom.Test:Process" />

Within the processing class I tried executing the following statements with no success:

Do %response.SetHeader("totalcount",totalcount)
Set %response.Status = ..#HTTP400BADREQUEST

The following message is always returned, even if an error occurred: 

Moreover, I tried to print %response.Status just before the end of the code in the processing class and it seems to have the right value ("400 Bad Request"), even it is always 200 within the response.

Finally, I tried adding a custom header with no success, again. I tried with "x-totalcount" also, as a user suggested in another question but it haven't worked.

Can somebody help me?

Thanks

6 comentarios
Comentarios (6)2
Inicie sesión o regístrese para continuar