Best practices to migrate the OI Connector and Kafka to a different server.
DX NetOps Performance Management
Migrate the Kafka and OI Connector server using one of the following options:
Tip! To minimize data loss, migrate the Kafka and OI Connector server this during a maintenance window when you can shut down the data aggregator during the process.
If you can shut down/restart the data aggregator:
GET http://example-server:8581/rest/kafkaeventservice
Lookup the KafkaConfigID
PUT http://example-server:8581/rest/kafkaconfig/{KafkaConfigID}
Body (specify as many BootstrapServer entries as needed for Kafka nodes):
<KafkaConfiguration version="1.0.0">
<BootstrapServersList>
<BootstrapServers>example-kafka-1:9092</BootstrapServers>
<BootstrapServers>example-kafka-2:9092</BootstrapServers>
<BootstrapServers>example-kafka-3:9092</BootstrapServers>
</BootstrapServersList>
</KafkaConfiguration>
If you prefer not to shut down the data aggregator (a data aggregator restart is not required):
GET http://example-server:8581/rest/kafkaeventservice
Lookup the KafkaConfigID
PUT http://example-server:8581/rest/kafkaconfig/{KafkaConfigID}
Body (specify as many BootstrapServer entries as needed for Kafka nodes):
<KafkaConfiguration version="1.0.0">
<BootstrapServersList>
<BootstrapServers>example-kafka-1:9092</BootstrapServers>
<BootstrapServers>example-kafka-2:9092</BootstrapServers>
<BootstrapServers>example-kafka-3:9092</BootstrapServers>
</BootstrapServersList>
</KafkaConfiguration>
Uninstall Kafka/OI Connector from old host(s) at leisure if desired.
Change Kafka configuration on the Data Aggregator by way of REST
GET http://example-server:8581/rest/kafkaeventservice
Lookup the KafkaConfigID
PUT http://example-server:8581/rest/kafkaconfig/{KafkaConfigID}
Body (specify as many BootstrapServer entries as needed for Kafka nodes):
<KafkaConfiguration version="1.0.0">
<BootstrapServersList>
<BootstrapServers>example-kafka-1:9092</BootstrapServers>
<BootstrapServers>example-kafka-2:9092</BootstrapServers>
<BootstrapServers>example-kafka-3:9092</BootstrapServers>
</BootstrapServersList>
</KafkaConfiguration>