Hello Michael,
Thanks for answering.
What happens is that in a client a service was deleted a month ago. And the client needs to recover said service. As there is a backup of the database when the service existed, a new environment was created with that backup to export that service and import it back into the current environment.
But at the time of trying it has not worked for us, creating only the service and returning the following error when we want to create the CIs:
2019-12-06 17:38:56,525 INFO [pool-37-thread-1] ?.?(?) - CI Staging create failed. No Primary Key - SysName,PrimaryDnsName,BiosSystemID,AssetNumber,PhysSerialNumber,PrimaryIPV6AddressWithDomain,PrimaryIPV4AddressWithDomain,PrimaryIPV6Address,PrimaryIPV4Address,PrimaryMacAddress,
{ClassName=GenericIPDevice, CreationTimestamp=2019-12-06T17:38:56.524-03:00, Description=, Label=alphaxd.corp.cablevision.com.ar, LastModActivity=Create, LastModTimestamp=2019-12-06T17:38:56.524-03:00, MdrElementID=3160, MdrProdInstance=SR-SOIDB-DPMILLA, MdrProduct=CA:09996, connectorName=localhost, saInstanceLabel=alphaxd.corp.cablevision.com.ar, siloName=WebServiceForSSA_localhost@localhost, ssa_ci_namespace_map_id=e1daa104951741ebbdef0c7d89057d20, ssa_connector_list=CA:00030@tenant0, ssa_domain_id=4503599627370496, ssa_priority=-1, ssa_severity=0, ssa_significance=3160}
Original Message:
Sent: 12-16-2019 05:16 AM
From: MICHAEL BOEHM
Subject: CA SOI: Import services with WSSSAServiceCmd or WSSSAServiceCmdV2
Hi Carlos,
one important thing to consider:
You cannot use these commands to export services from one environment to then import them into a different environment.
These commands are solely usable to backup and restore services within the same SOI environment.
The reason for this is:
The export contains all the CIs, with the individual IDs, and connector information.
In a different environment all CIs will have different IDs and connectors will be different as well.
The CIs and also the connectors from the original environment will be created in the second environment, but they will not have any mapping to other objects of that environment.
Only if you want to "see" or do some analysis in a second environment based on the original export, this export/import might make sense (for example Support is doing this to look at customer data, without having the real environment).
Can you explain what you want to achieve by exporting the services from one environment and importing them to a different environment?
What are your expectations by performing this action?
Thanks
Michael
------------------------------
Customer Success Architect
CA Deutschland GmbH (a Broadcom company)
Original Message:
Sent: 12-05-2019 10:09 PM
From: Carlos Hugo Martin Carranza Olivera
Subject: CA SOI: Import services with WSSSAServiceCmd or WSSSAServiceCmdV2
Hi with everyone,
We have two CA SOI environments, one of them we have exported certain services using the WSSSAServiceCmd or WSSSAServiceCmdV2 commands, but when you want to import them into the new environment, only the service is created but not the relationships that exist within the service. For example, if in the first one we generate a service indicating that it has two servers as members and we export them; in the second environment when importing the service, only the service is created and in the topology the two servers that indicated they were members do not appear.
Could you help me with this problem?