Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Amlen » Upgrading from IBM Watson IoT Platform Message Gateway to Eclipse Amlen(Queries on the upgrade steps on https://www.eclipse.org/amlen/docs/Upgrading/up00021_.html)
Upgrading from IBM Watson IoT Platform Message Gateway to Eclipse Amlen [message #1859302] Mon, 29 May 2023 12:54 Go to next message
Naveen M V is currently offline Naveen M VFriend
Messages: 9
Registered: May 2023
Junior Member
Hi,

We are in the planning phase of migrating IBM messagesight to Eclipse Amlen. I have been going through the documentation in the upgrade link provided in eclipse amlen.

The steps provided it is mentioned "Uninstall IBM Watson IoT Platform Message Gateway" as step 3 , as it is not mentioned any specific command is it works with "rpm -e nodeps [package name]" ? .

Also after following these steps, do we need to any configuration to make this work in cluster setup for ex: https://www.eclipse.org/amlen/docs/Administering/ad00361_.html ?

Our current setup has 2 ETM nodes, 1 Haproxy, 1 IBM messagesight.
Re: Upgrading from IBM Watson IoT Platform Message Gateway to Eclipse Amlen [message #1859394 is a reply to message #1859302] Mon, 05 June 2023 07:46 Go to previous messageGo to next message
Naveen M V is currently offline Naveen M VFriend
Messages: 9
Registered: May 2023
Junior Member
++ Also one more query,

In prerequisites for Upgrading from IBM Watson IoT Platform Message Gateway to Eclipse Amlen "Hardware requirements for the Eclipse Amlen server". it is mentioned as ,

Disk 1 size : 25 GB
Disk 2 (store) size : 64 GB

Ref: - https://www.eclipse.org/amlen/docs/Planning/pl00040.html
Can anyone please let me know what is "Disk 2 (store) " ?
Re: Upgrading from IBM Watson IoT Platform Message Gateway to Eclipse Amlen [message #1859522 is a reply to message #1859394] Tue, 13 June 2023 12:52 Go to previous messageGo to next message
Naveen M V is currently offline Naveen M VFriend
Messages: 9
Registered: May 2023
Junior Member
Hi Team,

Can you please help me the answer of above queries ?
Re: Upgrading from IBM Watson IoT Platform Message Gateway to Eclipse Amlen [message #1859540 is a reply to message #1859302] Wed, 14 June 2023 08:05 Go to previous messageGo to next message
Krzysztof Kazmierczyk is currently offline Krzysztof KazmierczykFriend
Messages: 10
Registered: July 2010
Junior Member
Naveen M V wrote on Mon, 29 May 2023 08:54

The steps provided it is mentioned "Uninstall IBM Watson IoT Platform Message Gateway" as step 3 , as it is not mentioned any specific command is it works with "rpm -e nodeps [package name]" ? .

The uninstall should use what ever method was used to install Message Gateway. If you installed Watson Iot using rpm, then uninstall it the same way

Naveen M V wrote on Mon, 29 May 2023 08:54

Also after following these steps, do we need to any configuration to make this work in cluster setup for ex: https://www.eclipse.org/amlen/docs/Administering/ad00361_.html ?

This question probably refers to install ETM clustered which requires Amlen. In that situation you should follow the documentation for ETM. Probably this link will the best:
https://www.ibm.com/docs/en/elms/elm/7.0.3?topic=guides-interactive-installation-upgrade-setup. Look at section III. Configuring Eclipse Amlen

Naveen M V wrote on Mon, 29 May 2023 08:54

In prerequisites for Upgrading from IBM Watson IoT Platform Message Gateway to Eclipse Amlen "Hardware requirements for the Eclipse Amlen server". it is mentioned as ,

Disk 1 size : 25 GB
Disk 2 (store) size : 64 GB

Ref: - https://www.eclipse.org/amlen/docs/Planning/pl00040.html
Can anyone please let me know what is "Disk 2 (store) " ?

Disk 1 is referring to the install/logging location and Disk 2) is for any data storage.
Re: Upgrading from IBM Watson IoT Platform Message Gateway to Eclipse Amlen [message #1859545 is a reply to message #1859540] Wed, 14 June 2023 10:41 Go to previous messageGo to next message
Naveen M V is currently offline Naveen M VFriend
Messages: 9
Registered: May 2023
Junior Member
Krzysztof Kazmierczyk >> ""Disk 1 is referring to the install/logging location and Disk 2) is for any data storage.

So in this case disk 1 space is for ""/usr/share and DIsk 2 for /var, is that correct ?

As per the new and old directory path mentioned in Amlen upgrade doc,

Old Location New Location Description
/opt/ibm/imaserver /usr/share/amlen-server Server install path
/var/messagesight /var/lib/amlen-server Data/config/diagnostics for the server
/opt/ibm/imawebui /usr/share/amlen-webui WebUI install path
/var/messagesight/webui /var/lib/amlen-webui Data/config/diagnostics path for the WebUI
Re: Upgrading from IBM Watson IoT Platform Message Gateway to Eclipse Amlen [message #1859547 is a reply to message #1859545] Wed, 14 June 2023 10:47 Go to previous messageGo to next message
Naveen M V is currently offline Naveen M VFriend
Messages: 9
Registered: May 2023
Junior Member
>> Also regarding uninstall , there is no specific command mentioned in the document so I guess I can use normal command like "rpm -e nodeps <package.rpm>"
Where as for install it is mentioned as below command.
yum --nogpgcheck localinstall -y EclipseAmlenWebUI*.rpm
Re: Upgrading from IBM Watson IoT Platform Message Gateway to Eclipse Amlen [message #1859558 is a reply to message #1859547] Thu, 15 June 2023 09:22 Go to previous messageGo to next message
Krzysztof Kazmierczyk is currently offline Krzysztof KazmierczykFriend
Messages: 10
Registered: July 2010
Junior Member
Naveen M V wrote on Wed, 14 June 2023 06:47
>> Also regarding uninstall , there is no specific command mentioned in the document so I guess I can use normal command like "rpm -e nodeps <package.rpm>"
Where as for install it is mentioned as below command.
yum --nogpgcheck localinstall -y EclipseAmlenWebUI*.rpm


Please clarify how you installed MessageSite (what command you used) .
Re: Upgrading from IBM Watson IoT Platform Message Gateway to Eclipse Amlen [message #1859560 is a reply to message #1859545] Thu, 15 June 2023 09:29 Go to previous messageGo to next message
Krzysztof Kazmierczyk is currently offline Krzysztof KazmierczykFriend
Messages: 10
Registered: July 2010
Junior Member
Naveen M V wrote on Wed, 14 June 2023 06:41
Krzysztof Kazmierczyk >> ""Disk 1 is referring to the install/logging location and Disk 2) is for any data storage.

So in this case disk 1 space is for ""/usr/share and DIsk 2 for /var, is that correct ?

As per the new and old directory path mentioned in Amlen upgrade doc,

Old Location New Location Description
/opt/ibm/imaserver /usr/share/amlen-server Server install path
/var/messagesight /var/lib/amlen-server Data/config/diagnostics for the server
/opt/ibm/imawebui /usr/share/amlen-webui WebUI install path
/var/messagesight/webui /var/lib/amlen-webui Data/config/diagnostics path for the WebUI


Disk2 refers to /var/messagesight location.
Disk1 is the rest.
Re: Upgrading from IBM Watson IoT Platform Message Gateway to Eclipse Amlen [message #1859569 is a reply to message #1859558] Fri, 16 June 2023 06:21 Go to previous messageGo to next message
Naveen M V is currently offline Naveen M VFriend
Messages: 9
Registered: May 2023
Junior Member
Krzysztof Kazmierczyk >> Please clarify how you installed MessageSite (what command you used) .

Naveen >>
We installed message sight with below commands

$ sudo rpm -ivh /opt/IBM/imaserver/IBMIoTMessageSightServer-2.0.0.2-20190222.1951.x86_64.rpm
$ sudo yum install -y openldap-servers
$ sudo rpm -ivh /opt/IBM/imawebui/IBMIoTMessageSightWebUI-2.0.0.2-20190222.1951.x86_64.rpm

[Updated on: Fri, 16 June 2023 06:22]

Report message to a moderator

Re: Upgrading from IBM Watson IoT Platform Message Gateway to Eclipse Amlen [message #1859573 is a reply to message #1859569] Fri, 16 June 2023 08:43 Go to previous messageGo to next message
Krzysztof Kazmierczyk is currently offline Krzysztof KazmierczykFriend
Messages: 10
Registered: July 2010
Junior Member
Naveen M V wrote on Fri, 16 June 2023 02:21
Krzysztof Kazmierczyk >> Please clarify how you installed MessageSite (what command you used) .

Naveen >>
We installed message sight with below commands

$ sudo rpm -ivh /opt/IBM/imaserver/IBMIoTMessageSightServer-2.0.0.2-20190222.1951.x86_64.rpm
$ sudo yum install -y openldap-servers
$ sudo rpm -ivh /opt/IBM/imawebui/IBMIoTMessageSightWebUI-2.0.0.2-20190222.1951.x86_64.rpm


In that situation you should unistall MEssageSight using rpm command.
Probably you should use
rpm -e IBMIoTMessageSightServer
rpm -e IBMIoTMessageSightWebUI
Re: Upgrading from IBM Watson IoT Platform Message Gateway to Eclipse Amlen [message #1859917 is a reply to message #1859573] Wed, 05 July 2023 10:17 Go to previous messageGo to next message
Naveen M V is currently offline Naveen M VFriend
Messages: 9
Registered: May 2023
Junior Member
Hi Krzysztof,

I have upgrade our message sight application to Eclipse Amlen.
After installation, service are running and I am able to see the WEBUI.
But application status shows in Maintenance mode, I am unable to stop maintenance to restart it in production mode.
Can you please suggest here.
Re: Upgrading from IBM Watson IoT Platform Message Gateway to Eclipse Amlen [message #1859919 is a reply to message #1859917] Wed, 05 July 2023 12:12 Go to previous messageGo to next message
Krzysztof Kazmierczyk is currently offline Krzysztof KazmierczykFriend
Messages: 10
Registered: July 2010
Junior Member
Hi Naveen,
Please have a look at this document: https://eclipse.dev/amlen/docs/Troubleshooting/tr00006_.html. Here is what it states:

There are several reasons that the Eclipse Amlen server state changes to maintenance mode:
There is a configuration error. For example:
High Availability might be configured with the wrong IP address for the local replication NIC.
The LDAP Bind DN password might be changed on the LDAP server, and therefore the Eclipse Amlen server cannot connect.
A certificate might be invalid or corrupted.
The system administrator sets the server state to Maintenance by using REST Administration APIs, or by using the Amlen WebUI. For more information changing the server state, see Changing the server state.
The store is corrupted and unrecoverable, or there are insufficient system resources to start the store. When any of these issues occur, the Eclipse Amlen server automatically changes the server state to Maintenance.
A pair of Eclipse Amlen servers in a high availability (HA) pair is incorrectly configured for cluster membership. One server in the HA pair might be configured for cluster membership but the other server in the HA pair might not be configured for cluster membership. For more information about configuring HA on cluster members, see Configuring HA.
To diagnose why the server is in maintenance mode, check the status of the server, and check the log files for possible causes. After you resolve the issue, you can change the server state from Maintenance. For more information about checking the status of the server and changing the server state, see Changing the server state.

If the store is corrupted and unrecoverable, or if there are insufficient system resources to start the store, you might need to clean the store. Cleaning the store deletes all persistent data, including messages, subscriptions, and client states. Do not clean the store unless you want to delete all persistent data on the system. For more information about cleaning the store, see Cleaning the store.


Please let us know if that helps.
Re: Upgrading from IBM Watson IoT Platform Message Gateway to Eclipse Amlen [message #1859921 is a reply to message #1859919] Wed, 05 July 2023 12:54 Go to previous messageGo to next message
Naveen M V is currently offline Naveen M VFriend
Messages: 9
Registered: May 2023
Junior Member
Hi Chris,

Thank you for your reply.
and upon checking logs I can see below messages, saying "Set error "Store is not available." (500)". Should I try cleanup store ?

2023-07-05T14:50:00.503+02 logger config.c:3352: 2023-07-05T14:50:00.503+02:00 Admin AdminIOP CWLNA6129 E: The Amlen Server encountered an error while processing an administration request. The error code is 6209. The error string is "The Amlen Server status is \"Maintenance\". Any actions to \"Endpoint\" are not allowed.".
2023-07-05T14:50:20.198+02 AdminIOP store.c:333: Set error "Store is not available." (500)
2023-07-05T14:50:41.654+02 timer1 tcp.c:2849: Set error "No data was received on a connection." (164)
2023-07-05T14:50:41.654+02 timer1 tcp.c:2849: Set error "No data was received on a connection." (164)
2023-07-05T14:50:41.654+02 timer1 tcp.c:2849: Set error "No data was received on a connection." (164)
2023-07-05T14:50:41.654+02 logger tcp.c:838: 2023-07-05T14:50:41.654+02:00 Connection timer1 CWLNA1116 W: Closing TCP connection during handshake: ConnectionID=34 From=[10.12.242.39]:51021 Endpoint="AdminEndpoint" RC=164 Reason="No data was received on the connection" Uptime=118 ReadBytes=2,239 WriteBytes=1,221.
2023-07-05T14:50:41.654+02 logger tcp.c:838: 2023-07-05T14:50:41.654+02:00 Connection timer1 CWLNA1116 W: Closing TCP connection during handshake: ConnectionID=31 From=[10.12.242.39]:51019 Endpoint="AdminEndpoint" RC=164 Reason="No data was received on the connection" Uptime=118 ReadBytes=2,232 WriteBytes=1,221.
2023-07-05T14:50:41.654+02 logger tcp.c:838: 2023-07-05T14:50:41.654+02:00 Connection timer1 CWLNA1116 W: Closing TCP connection during handshake: ConnectionID=30 From=[10.12.242.39]:51017 Endpoint="AdminEndpoint" RC=164 Reason="No data was received on the connection" Uptime=118 ReadBytes=2,167 WriteBytes=1,234.
2023-07-05T14:50:51.294+02 AdminIOP store.c:333: Set error "Store is not available." (500)
Re: Upgrading from IBM Watson IoT Platform Message Gateway to Eclipse Amlen [message #1859922 is a reply to message #1859921] Wed, 05 July 2023 13:07 Go to previous messageGo to next message
Krzysztof Kazmierczyk is currently offline Krzysztof KazmierczykFriend
Messages: 10
Registered: July 2010
Junior Member
Naveen M V wrote on Wed, 05 July 2023 08:54
Hi Chris,
and upon checking logs I can see below messages, saying "Set error "Store is not available." (500)". Should I try cleanup store ?


Yes, try cleaning up the store.
Re: Upgrading from IBM Watson IoT Platform Message Gateway to Eclipse Amlen [message #1859923 is a reply to message #1859922] Wed, 05 July 2023 13:22 Go to previous message
Naveen M V is currently offline Naveen M VFriend
Messages: 9
Registered: May 2023
Junior Member
Tried clean store , but facing same issue. Can you please let me know if we can have web session to check on the issue ?
Previous Topic:Default configuration tops out at 1024 connections
Next Topic:Shared vs. non-shared subscriptions illustrated in 90 seconds
Goto Forum:
  


Current Time: Fri Apr 26 02:50:09 GMT 2024

Powered by FUDForum. Page generated in 0.03907 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top