Peer to Peer, NAS and NTX -> CDX

Re: Peer to Peer, NAS and NTX -> CDX

Postby Otto » Fri Dec 18, 2020 1:42 pm

Mark, I post a network plan of how we install WINHOTEL now.
Best regards,
Otto
Image
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6346
Joined: Fri Oct 07, 2005 7:07 pm

Re: Peer to Peer, NAS and NTX -> CDX

Postby TimStone » Mon Dec 21, 2020 2:04 am

Otto,

In the past year, I had to update Remote Desktop. When I did that, I read a notification that Microsoft would be discontinuing it. I can't give you the reference, but it appeared they were going in a different direction.

That is why I said IF

Tim
Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
User avatar
TimStone
 
Posts: 2945
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA

Re: Peer to Peer, NAS and NTX -> CDX

Postby TimStone » Mon Dec 21, 2020 2:08 am

Marc,

If you don't have Password Protection turned OFF on the local network, then to access the drive you have to log in. I find that my application doesn't trigger this when trying to get to the data drive on another computer.

When you map a drive, you retain the login, so it will always work fine. The other way is to turn off the local password protection on the server.

I use a configuration file to set the path to the proper data location. I use either a mapped drive ( ie. N:\ ) or just the full path. \\SERVER\\data\
I have also learned to put in that last \

TIm
Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
User avatar
TimStone
 
Posts: 2945
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA

Re: Peer to Peer, NAS and NTX -> CDX

Postby Otto » Mon Dec 21, 2020 8:00 am

Tim, I think sending data back and forth over a network is always the second-best option.
If there are better and simpler options (RDP), you should use them.

You can handle things with SQL and client server. But these things can be solved much better with the file system (e.g. domain server and user rights)
and local files. It doesn't make sense to implement always more layers.

The time is ready.
Best regards,
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6346
Joined: Fri Oct 07, 2005 7:07 pm

Re: Peer to Peer, NAS and NTX -> CDX

Postby Marc Venken » Mon Dec 21, 2020 10:41 am

Hello Otto,

I took some time to read some info about RDP, and have to say that i'm interested...

It seems that my hosting can do it, but it costs aprrox 400 euro/month startup system.

But we are talking over a onsite system now.

4 stations are needed and 2 printers

So, 1 think 1 new PC with Win server (2016 ?) or (2019) and good specs to serve the data. Will this machine also be used as a working machine like now or is it a server type without keyboard/screen ?
Current pc's can be used ? (some are W7 I5 processor)

Your experience with optimal hardware ? (A Tesla is not needed :twisted: :twisted: )

Software : I am correct that RDP is hardware configuratie.... and the software has almost nothing to do with it. I can put my program/data on the 'server', and connect with a remote (onsite) pc. That's it? afther right config of server/remote pc's. I's pure FWH and DBF data structures.
Marc Venken
Using: FWH 23.04 with Harbour
User avatar
Marc Venken
 
Posts: 1446
Joined: Tue Jun 14, 2016 7:51 am
Location: Belgium

Re: Peer to Peer, NAS and NTX -> CDX

Postby Otto » Mon Dec 21, 2020 11:48 am

Mark,
This is the right decision, and you will love the system. I recommend a notebook.
Since you also have to think of mod harbor, I would recommend i/, 32 GB RAM and a large SSD disk.
I'll post the model here later.

You can use the series with the smallest screen.

I recommend you not to work on the server at the same time. Then you always have a clean system. Nobody except the admin can install programs.
I have been using the HP PROBOOK line for 7 years now. I've sold a lot of such systems.

I will help you with the installation.
See my video of 2013 that shows the installation: https://www.youtube.com/watch?v=_lL8XtucVQw

We have further developed and improved the scripts. A complete installation takes about 1 hour.

You can get WINDOWS server 2016 for some hundreds of Euros cheaper than the current system.
Although I would suggest you 2019 so, you stay personally up to date. And we self must always be working with the newest technique to learn.

Best regards,
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6346
Joined: Fri Oct 07, 2005 7:07 pm

Re: Peer to Peer, NAS and NTX -> CDX

Postby Marc Venken » Mon Dec 21, 2020 1:25 pm

Otto,

I look into it and dicide after some more info like the hardware , but Mod. Harbour is not a option. I will only maintain the current FWH program, since it suites our needs and it is NOT a commercial product.
I don't sell any software and can only spend some time for maintenance, but thanks in advance for the time for informing me.
Marc Venken
Using: FWH 23.04 with Harbour
User avatar
Marc Venken
 
Posts: 1446
Joined: Tue Jun 14, 2016 7:51 am
Location: Belgium

Re: Peer to Peer, NAS and NTX -> CDX

Postby Marc Venken » Mon Dec 21, 2020 1:49 pm

Software issue I think can become a problem ?

I know that in my software if use folowing (agreed... not best programming, but it is so)

copy blablabla to c:\marc\temp.dbf
or create temp files with c:\marc\temp.dbf maining that I name a path directly.

In Peer to Peer this works, because I write to a c:\marc\ path on every machine

In a remote setup this will/can become a problem ?
Marc Venken
Using: FWH 23.04 with Harbour
User avatar
Marc Venken
 
Posts: 1446
Joined: Tue Jun 14, 2016 7:51 am
Location: Belgium

Re: Peer to Peer, NAS and NTX -> CDX

Postby Otto » Mon Dec 21, 2020 2:11 pm

Hello Mark,
This is our current default configuration.

Image


Here you can see a server cabinet with a built-in SERVERBOOK.

Image

This is where we set up our servers.
Image


I don't mean that you should convert your program to mod harbor now.
But if you want to make extensions, you can install an Apache on the same machine and work with mod harbour and RDP in parallel.

Mod harbor is so much fun. No limits.

Best regards,
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6346
Joined: Fri Oct 07, 2005 7:07 pm

Re: Peer to Peer, NAS and NTX -> CDX

Postby Marc Venken » Mon Dec 21, 2020 2:47 pm

Otto,

Where was the topic for the discussion Laptop versus desktop in this setup earlier this year ?
Marc Venken
Using: FWH 23.04 with Harbour
User avatar
Marc Venken
 
Posts: 1446
Joined: Tue Jun 14, 2016 7:51 am
Location: Belgium

Re: Peer to Peer, NAS and NTX -> CDX

Postby Otto » Mon Dec 21, 2020 3:02 pm

********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6346
Joined: Fri Oct 07, 2005 7:07 pm

Re: Peer to Peer, NAS and NTX -> CDX

Postby Marc Venken » Wed Dec 23, 2020 9:47 am

Yes... I come back on this topic in a few days, afther looking into the setup
Marc Venken
Using: FWH 23.04 with Harbour
User avatar
Marc Venken
 
Posts: 1446
Joined: Tue Jun 14, 2016 7:51 am
Location: Belgium

Re: Peer to Peer, NAS and NTX -> CDX

Postby Marc Venken » Sun Dec 27, 2020 8:13 am

The new server will become a new laptop with the windows server system.

Do the other pc's we have now also need to be Win 10 Pro's ? They are win 7 and win 10 home now.

I read that you create a folder on the server for each user. I think that is for temporary files ? Will the program be also in each folder ?

It is the server software that will do the trick of opening data and not pulling the data over the network like in peer to peer. Should I convert some lines of code for this ?
Marc Venken
Using: FWH 23.04 with Harbour
User avatar
Marc Venken
 
Posts: 1446
Joined: Tue Jun 14, 2016 7:51 am
Location: Belgium

Re: Peer to Peer, NAS and NTX -> CDX

Postby Otto » Sun Dec 27, 2020 8:52 am

Good Morning,

you made a good decision.

> Do the other pc's we have now also need to be Win 10 Pro's? They are win 7 and win 10 home now.

You can access it with all operating systems (Android, macOS, and the various Windows versions also from your phone).
I have 2 comments in my documents: Windows XP and Home 10. I think with these 2 you can have problems. But I am not sure about home 10. Maybe it is possible now.

> I read that you create a folder on the server for each user. I think that is for temporary files? Will the program also be in each folder?

I have exe +ini files for each user in a directory. DBF files in a common directory.
I think this gives you more freedom in updating and setup. Also you have nothing to change from local installation.

> It is the server software that will do the trick of opening data and not pulling the data over the network like in peer to peer. Should I convert some lines of code for this?
No changes necessary. Only the screen points are transferred to the PC.

I would now proceed as follows.

    Create stick with WINDOWS server.
    (You do not need to enter any licenses for the time being, as the version works for 120 days.)
    Install WINDOWS server
    Install the backup role and first do a full backup and restore yourself. I'll help you.
    I think it takes about 30 minutes for you.
    Then you have immediate trust in the system and get a feeling for it.
    Then you can make all the settings and always return to a secured state.

Best regards,
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6346
Joined: Fri Oct 07, 2005 7:07 pm

Re: Peer to Peer, NAS and NTX -> CDX

Postby Marc Venken » Sat Jan 02, 2021 12:33 pm

Do I look for the windows server software 2019 or 2016 ? Maybe 2019 is overkill ?

I did not see any prices for them, but will look them up today.
Marc Venken
Using: FWH 23.04 with Harbour
User avatar
Marc Venken
 
Posts: 1446
Joined: Tue Jun 14, 2016 7:51 am
Location: Belgium

PreviousNext

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 37 guests