Hi,
One client has Linux (Open Suse 15.3) server with Samba and window clients (Win 7, Win 10, Win 11 etc).
Data files are DBF with more than 400,000 records in some. There is occasional loss of data in transit (Local Lan). What is the best option, should I use HbNetIO or LetoDBF to overcome the problem. SQL is not an option right now.
Warm regards,
Jayadev
IMHO, heavy use of cables and dbfs are deadly
I think that is very well said.
--
Regards
Alex
--
--
You received this message because you are subscribed to the Google
Groups "Harbour Users" group.
Unsubscribe: harbour-user...@googlegroups.com
Web: http://groups.google.com/group/harbour-users
---
You received this message because you are subscribed to the Google Groups "Harbour Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to harbour-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/harbour-users/005d01d8083e%244977c450%24dc674cf0%24%40gmail.com.
--
Hi Mario,
Many thanks for the inputs.
>>I have switched to LetoDBf and so far it's been working fine for a few years now. Even the Wi->>Fi access is more stable now although slower than cable.
Is this for the physical Linux Server (which one) and Windows clients connected by cable ?
>>One setup that I have now is on the Cloud with separate instances for Linux Server and Windows >>Server for RDP with 600+ concurrent sessions (~300 physical users) on the application without >>complaining about the performance.
Since you are using RDP for connection, whether LetoDBF or HBNetIO is required ? Is there any advantage ?
I guess the one advantage of LetoDBf over HbNetIO is the server console utility where you can monitor the active sessions.
>> That is good to know.
Warm regards,
Jayadev
To view this discussion on the web visit https://groups.google.com/d/msgid/harbour-users/CAGuBOFqUu-n3a%3DwqmXkEhRKXeb-Omewi7PdsovbTqom4DNSrBg%40mail.gmail.com.
>>Which kind of problems do you have? I'm not able to decode " There is occasional loss of data in >>transit (Local Lan)."
One is the read error as has been mentioned by Mario also. Secondly Random Dos Error 64 in accessing DBF files.
The most important being that in the program when an invoice is saved, certain balance get updated in Debtors Masters, however what happens is arbitrarily while the invoices are getting saved correctly, the Debtors masters are not getting updated (physical logging of the lines where the program performs these operations shows that the program is correctly processing the relevant lines of code,but the actual balance is not getting changed).
Randomly, the records in the Debtors Master are getting deleted without any pattern. ( I have checked all the delete statements in the program).
Similar problems do not happen when the program and data is mounted on a windows share. Everything works correctly.
I can send the Samba configuration file if you so desire.
>>Clients are PC or notebooks? How many of them?
Clients are Win7, Win 10 64 bit PCS. About 30 of them.
I'm interested in porting my app to HBNetIo or Letodbf in order to remove samba for the DBF... Sql would be a better choice but my programs should be heavily modified, not only in the code but also for the user-facing forms...
There is an excellent option for you to try, “MEDIATOR (100 users license is free)” which will allow you to migrate your program to MYSQL with minimum changes in your code. I have done this kind of set up for multiple clients in Windows Scenario, However for Linux Servers, I am yet to test.
Warm regards,
Jayadev
.
To view this discussion on the web visit https://groups.google.com/d/msgid/harbour-users/CADPHLr9GMjrf-H9HeHaXOaEXBOq5n2rke03kiYxp18nbHmP%3DpA%40mail.gmail.com.
>>I have switched to LetoDBf and so far it's been working fine for a few years now. Even the Wi->>Fi access is more stable now although slower than cable.
Is this for the physical Linux Server (which one) and Windows clients connected by cable ?
-physical Linux Server is where the application and LetoDBf resides. Clients are Windows majority are cable with few laptops
>>One setup that I have now is on the Cloud with separate instances for Linux Server and Windows >>Server for RDP with 600+ concurrent sessions (~300 physical users) on the application without >>complaining about the performance.
Since you are using RDP for connection, whether LetoDBF or HBNetIO is required ? Is there any advantage ?
-Since the app is compiled in Windows, users connect to the Windows instance via RDP. The application being run on the RDP terminal connects to LetoDBf on a Linux server (separate instance). LetoDBf/HbNetIO process data via TCP/IP protocol. It's also faster and more secure since the database is not exposed to the client terminals. Using a shared drive/folder to run your application, you need to provide a read/write access on the shared files and this is one of the risk.
I guess the one advantage of LetoDBf over HbNetIO is the server console utility where you can monitor the active sessions.
>> That is good to know.
Regards,
Mario
To view this discussion on the web visit https://groups.google.com/d/msgid/harbour-users/000201d80b6e%2466082eb0%2432188c10%24%40gmail.com.
Thanks Mario,
I have now understood your setup.
The RDPs are to the windows clients and not to the Linux server hence you have used LetoDBF for communication between Windows Clients and Linux Server removing the need for Samba share on Linux Server of DBF access.
Thanks for clarifying.
Warm regards,
Jayadev
To view this discussion on the web visit https://groups.google.com/d/msgid/harbour-users/CAGuBOFo1N1EBcJdr%2BT08RABKz51zZeAapfx7YDqX0-J92GuoTw%40mail.gmail.com.
The most important being that in the program when an invoice is saved, certain balance get updated in Debtors Masters, however what happens is arbitrarily while the invoices are getting saved correctly, the Debtors masters are not getting updated (physical logging of the lines where the program performs these operations shows that the program is correctly processing the relevant lines of code,but the actual balance is not getting changed).
Randomly, the records in the Debtors Master are getting deleted without any pattern. ( I have checked all the delete statements in the program).
Similar problems do not happen when the program and data is mounted on a windows share. Everything works correctly.
I can send the Samba configuration file if you so desire.
>>Clients are PC or notebooks? How many of them?
Clients are Win7, Win 10 64 bit PCS. About 30 of them.
I'm interested in porting my app to HBNetIo or Letodbf in order to remove samba for the DBF... Sql would be a better choice but my programs should be heavily modified, not only in the code but also for the user-facing forms...
There is an excellent option for you to try, “MEDIATOR (100 users license is free)” which will allow you to migrate your program to MYSQL with minimum changes in your code. I have done this kind of set up for multiple clients in Windows Scenario, However for Linux Servers, I am yet to test.
Hi Jayadev,
>>I have switched to LetoDBf and so far it's been working fine for a few years now. Even the Wi->>Fi access is more stable now although slower than cable.
Is this for the physical Linux Server (which one) and Windows clients connected by cable ?
-physical Linux Server is where the application and LetoDBf resides. Clients are Windows majority are cable with few laptops
...
Can you please explain in more detail your setup, expecially on the linux server? Why do you say " physical Linux Server is where the application and LetoDBf resides."? What do you mean with "application and LetoDBf"?
Is your application text-mode or GUI? I did a proof of concept of my text-mode program porting it to linux and it was... fast...database is accessed locally, no networking involved, and also a full table scan is almost immediate. Just use putty to ssh to the host, define users and voila...
Years ago someone also gave some configurations for printing via putty (Przemek? Anybody remembers that information?)
or you may create a PDF on linux and share one directory via samba (but not the dbf...) printing the path on the screen so that you can copy/paste. Or send the pdf via mail.Unfortunately I ported part of the code to GUI so now it would be a bit more difficult to have a dbf accessed directly via samba and locally via linux, locks may not work. The solution is to use in both cases HBNetIO or LetoDBf...
What frightens me the most is a ransomware hitting the data directory...
On Mon, Jan 17, 2022 at 8:48 AM Mario H. Sabado <mhsa...@gmail.com> wrote:Hi Jayadev,>>I have switched to LetoDBf and so far it's been working fine for a few years now. Even the Wi->>Fi access is more stable now although slower than cable.
Is this for the physical Linux Server (which one) and Windows clients connected by cable ?
-physical Linux Server is where the application and LetoDBf resides. Clients are Windows majority are cable with few laptops
...-Since the app is compiled in Windows, users connect to the Windows instance via RDP. The application being run on the RDP terminal connects to LetoDBf on a Linux server (separate instance). LetoDBf/HbNetIO process data via TCP/IP protocol.
--
--
You received this message because you are subscribed to the Google
Groups "Harbour Users" group.
Unsubscribe: harbour-user...@googlegroups.com
Web: http://groups.google.com/group/harbour-users
---
You received this message because you are subscribed to the Google Groups "Harbour Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to harbour-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/harbour-users/CADPHLr82WPFo%2BUXjfPhFhGoOXGW3nHkzjXefbhkDj_O4tCzx0Q%40mail.gmail.com.
Hi Francesco,
While I will forward the Samba settings to the IT guy who looks after the Linux server, could you please explain:
“The only way to be safe is to use transactions.”
Warm regards,
Jayadev
From: harbou...@googlegroups.com [mailto:harbou...@googlegroups.com] On Behalf Of Francesco Perillo
Sent: 20 January 2022 04:14 AM
To: harbou...@googlegroups.com
Subject: Re: [harbour-users] HbNetIO and LetoDBF
Hi,
--
--
You received this message because you are subscribed to the Google
Groups "Harbour Users" group.
Unsubscribe: harbour-user...@googlegroups.com
Web: http://groups.google.com/group/harbour-users
---
You received this message because you are subscribed to the Google Groups "Harbour Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to harbour-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/harbour-users/CADPHLr95DcEsMEuAQrSPi0KRvCr3f2fG0V8_rvzV7BbhQyqbfQ%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/harbour-users/000001d80db9%2407973310%2416c59930%24%40gmail.com.