Hello,
after removing a server which contains router and message processor, if check message-server it still show:
[ { "externalHostName" : "localhost", "externalIP" : "not_used_server_IP", "internalHostName" : "localhost", "internalIP" : "not_used_server_IP", "isUp" : true, "pod" : "gateway", "reachable" : true, "region" : "dc-1", "tags" : { "property" : [ { "name" : "started.at", "value" : "1495523684848" }, { "name" : "Profile", "value" : "Router-Netty" }, { "name" : "startup.time", "value" : "24 second(s)" }, { "name" : "rpc.port", "value" : "4527" }, { "name" : "http.management.port", "value" : "8081" }, { "name" : "jmx.rmi.port", "value" : "1100" }, { "name" : "up.time", "value" : "1059 hour(s) 4 minute(s) 29 second(s)" } ] }, "type" : [ ], "uUID" : "6228c6b9-b481-4bef-b504-677bd5cd88b3" },
as you can see it still marked as
isUp : true
reachable: true
i try to de-register it with help of that command
Deregister server’s type
curl -u adminEmail:pWord -X POST http://<management-ip>:8080/v1/servers -d "type={message-processor|router|management-server}®ion={regionName}&pod={podName}&uuid={uuid}&action=remove"
but as output got:
{ "code" : "registration.TypeNotSpecified", "message" : "At least one of [ingest-server, scheduler-datastore, dw-server, qpid-server, taurus-datastore, kms-datastore, counter-datastore, analytics-datastore, notification-datastore, application-datastore, management-server, aries-processor, cache-datastore, user-settings-datastore, keyvaluemap-datastore, aries-datastore, mint-datastore, dc-datastore, mint-rdbms-datastore, auth-datastore, apimodel-datastore, audit-datastore, endpoint, consumer-server, ax-hadoop-ingester, reportcrud-datastore, ldap, postgres-server, router, zookeeper, message-processor, edgenotification-datastore] should be specified as type for UUID 6228c6b9-b481-4bef-b504-677bd5cd88b3", "contexts" : [ ] }[
is any possible command to deregister / remove that entries from message-server?
same problem with message-processor.
Apigee version:
OPDK version 4.15.07.00 is installed
Solved! Go to Solution.
Hi @Anton Samultsou,
For Routers run 2,3 APIs and for Mp run 1,2,3 from the http://docs.apigee.com/private-cloud/latest/removing-server-management-servermessage-processorrouter.
From your router output, the type is empty type" : [ ]. Looks like its deregistered, now just delete it.
As @Christin Brown mentioned, you will see (registration.TypeNotSpecified) error if type is missing in your API.
As the next step, just run the APIs again in sequence with right values and you should be good.