IT startup: setting up environment for remote server and remote coding [closed] - vpn

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
I want to build an IT setup. At the very basic I want to setup few things
I want to have a central remote server which would have enough processing power to host everything. The local PCs should be on the economical end.
I want that all code and documents remain secure. None of my employees should be ableto take away with code or confidential documents.
The applications I would be working on would be mostly based on Java. I am thinking about the following setup. But I do am not sure about the feasibility or practicality of implementing it.
Buy a windows dedicated server from a hosting website. [Probably a Windows Server 2008 R2 machine with around 16GB or 32 GB RAM]
Use economical windows desktops in the organization. [Probably Dual Core or Core I3 PCs.]
Host all code and applications/programs on the dedicated remote server.
Employees access the remote machine from their windows desktop using Remote Desktop (RDC). Do all coding and run applications on the remote machine only.
All internet access should be disabled on the remote server. So that there is no option to upload the code anywhere onto the internet.
Internet access should only be available on local machines.
Copy and Paste from the remote machine to the local machine should be restricted for all users other than administrator.
Copy and Paste from the local machine to the remote machine should be allowed.
Need suggestion if the above would work fine. I am actually in doubt about few things:
I have come to know that the RDC to remote server would require purchase and installation of windows terminal services TS licenses, so that multiple concurrent user login is possible. Is this correct?
If license cost could be deterrent for a startup would it be better to go for a linux setup, where I can access desktop and programs using SSH. I suppose the latter would not incur much costs as is in the case of buying TS licenses.
Is it possible to setup such copy paste restrictions, which can only be managed and changed by an administrator.
Do I need to setup VPN also? I think this might be needed so that the remote machine would only be accessible from my local office environment and not any other place. I mean my employees or any other people should not be able to access the same remote machine from any other network.

These is the typical setup of any large Software company. All these requirements are realistic. Get an experienced person/company to configure this environment. Any small mistakes in configuration might do a lot of damage to your Intellectual property.

Related

Cannot connect to network shares through a VPN [closed]

Closed. This question is not about programming or software development. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed last month.
Improve this question
I have set up a VPN on a home server (I am using Wireguard in a docker container running on open media vault). My goal is to connect to my network shares from my windows Laptop when I'm on the go.
I set up the VPN and I was able to connect to OMV, both via PuTTy and the web interface, from my Laptop (while not connected directly to my home wifi).
However for some reason windows cannot detect any of the network shares I have set up on OMV
I tried to modify all the windows setting that came to my mind and googled a fair bit but I'm out of ideas.
Looking forward to any possible solutions.
Edit:
I can access the share without a problem when I am directly connected to my home network.
I just tried to access the folder, while connected through the VPN, by typing the full path into the "adress bar" in file explorer, By doing this I managed to connect to the folder and use the files.
But I still can't map the networkdrive... So it really seems to be a settings problem, but I still have no idea.
All of my the other devices that are on the network aren't showing up either while connected through the VPN.
One possible issue that I once ran into, is that the latest versions of windows stopped supporting SMB 1.0. Fortunately, you can explicitly re-enable them.
In the start menu, open "Turn windows features on/off".
A pop-up will allow you to enable also version 1.0 of SMB. I would suggest to enable the "Client" and "Automatic Removal", but you won't need the "Server".
That could possibly solve the problem, assuming that your other devices use older SMB versions.
You may also want to check these settings ...
The Solution was btw. pretty simple:
I was able to map the drive after manually entering the ip adress to file explorer. (in the format \192.168.x.xxx)

Simple networked computer monitor [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 3 years ago.
Improve this question
My role's responsibilities include monitoring the status of around 300 TFS Build executions. As a result, I have setup an additional computer in an area of our office that runs Catlight.
However, this is only one half of the build executions. I would like to monitor the status of the underlying six Build Controllers for the TFS Build Definitions, as they occasionally become unresponsive and require a reboot.
On the second monitor of this additional computer, what would you recommend for a full-screen, light-weight, simple computer monitoring application that will ascertain whether a networked computer is unresponsive or offline?
To monitor the health of your build server, you can check the steps below:
While logged on to the build server, you can confirm Team Foundation Build Service is running, get information about the resources it is consuming, and confirm the general health of the build server.
Run Windows Task Manager (Task Manager on Windows 8).
On Windows 8, if the More details link appears, choose it.
Choose the Process tab.
On versions of Windows other than Windows 8, make sure Show processes from all users is selected.
On what version of Windows is your build server running?
Windows 8: Locate the Visual Studio Team Foundation Build Service
Host process. It should be located in the Background processes
section, or if your build server is running in interactive mode, in
the Apps section. Observe the CPU, memory, disk, and network
resources that the process is consuming.
Another Windows version: Locate the TFSBuildServiceHost.exe process.
Observe the CPU and memory resources that the process is consuming.
Use the other tabs in Task Manager to confirm the general health of the build server. For example, you can choose the Performance tab to confirm the computer has sufficient processor and memory resources. You can then choose Resource Monitor (on Windows 8, Open Resource Monitor).
You can use AnyStatus to monitor both builds and health state of your servers to view the overall status in one place.
Disclaimer: I am the author of AnyStatus

Xen Server Cluster [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I have upwards of 30 Dell GX2xx models doing nothing. I've decided on using them to build a cluster, but I am lost as far as getting started. I've used ClusterKnoppix, and even straight OpenMosix in the past, but those projects are, very sadly, dead now.
I've checked out Xen, to an extent. I don't know if Xen is the solution I need. I'd like to have the ability to spin up a few VMs (when I need) in a server pool, with the VMs having the ability to run just off of resources in the pool, leaving me without the care of which node they run on.
I need some insight here... Thanks all!
Xen is not itself going to manage the whole cluster.
It will act on every single machine to instantiate/manage/delete the VMs.
You can have a look at Eucalyptus if you want to build that kind of private cloud solution with open-source software.
I would also recommend that you use OpenStack that tends to be the successor of Eucalyptus.
Have you checked out XCP, I find that it's really easy to start up a virtual cluster with this software.
Have you looked at such projects as OpenAIS, Corosync, DRBD and Pacemaker? They are all apart of the Linux High Availability project (http://www.linux-ha.org). They offer many different configuration options for numerous types of servers (IE. MySQL, Apache, Xen, etc.).
They have custom scripts (LSB and OCF) that are ran in place of your standard init scripts and assume the roles of these init scripts. I have included a detailed guide for setting up a Xen HA cluster on OpenSuse 11.1 below for your reference. The configuration of the Linux HA components should be the same from distro to distro, except that the package names to be installed will vary, as well as the location of the specific configuration files. The command line tools should be the same as well as functionality. Hope this helps.
http://www.howtoforge.com/installation-and-setup-guide-for-drbd-openais-pacemaker-xen-on-opensuse-11.1

What's a good tool to monitor network activity [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I'm operating a neighbourhood WIFI network in a rural environment.
Now I'm looking fo a monitoring tool to run on a server (Windows or Linux) which would track bandwidth, uptime (clients as well as internet connection), etc...
Most of this information is exposed via SNMP by my routers and access points, so SNMP support is required.
Additional features should be:
Graphical data representation
free license
So what's the best choice for me?
Edit These are the tools mentioned so far:
MRTG
Munin
Nagios
Zenoss Core
ntop
cacti
ZABBIX
MRTG is probably the easiest to setup. If your router has SNMP (as you mention), to setup it's a single command:
cfgmaker --output=mrtg_myrouter.cfg public#1.2.3.4
MRTG is good for high-bandwidth routers and the likes. It's not great for other data (it can be coerced into graphing most things, but it's a little unintuitive to setup)
For monitoring other stuff I like Munin. I would describe it again, but I posted an answer a while ago here (about graphing disc-usage).
Munin can of course graph network usage, and easily pull data via SNMP (in fact it's the recommended setup for grabbing data from Windows-based servers - run a SNMP daemon on the Windows machine, and have Munin connect to this). The graphs are also prettier than MRG, I would say (clearly the most important factor..)
There's an example installation of MRTG here, and Munin here
IMHO, Cacti is easiest to install and use.
Zabbix is interesting, but harder to use.
And here is a very comprehensive list of all network monitoring tools.
Not sure if this fits your usage but a lot of web hosting provider uses Nagios for network monitoring
Zenoss Core is free and open source. It keeps RRD graphs (like other monitoring tools mentioned here). To monitor parameters other than basic network bandwidth (and up state), the switch or router SNMP definitions and MIBs should be available as a ZenPack. Runs on a Linux (virtual?) server. Uses Google Maps to display link status.
I have been using ntop it is free on linux and for purchase if you want a windows binary and worked pretty well for us
I had the same question last week and tried several options.
For basic snmp graphing needs, cacti is great, but graphing apache, mysql, etc. is a bit too hard I think.
ntop is also a nice tool, but has a different usecase than the other ones in your list.
You should look at Zenoss. The Core version is FOSS, userfriendly, and very powerful. I had no need for the Enterprise version, but your needs may differ.
It does graphing, monitoring and alerting of all the basic stats, but download some ZenPacks and you can easily add Apache, MySQL or many other stats. All configuration can be done via the GUI. The interface is clear and responsive and allows for easy management of very large networks.
In short, I'm glad I never spent much time on Nagios, because I believe Zenoss is the best option available.
Also consider CactiEZ on a VM or small server, it is a baremetal CentOS 6 based system.

Best Source Control Solution for Oracle/ASP.NET Environment? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I am trying to plan a way for 5 developers to use Visual Studio 2005/2008 to collaboratively develop an ASP.NET web app on a development web server against an Oracle 8i(soon to be 10g) Database.
The developers are either on the local network or coming in over a vpn (not a very fast connection),
I evaluated the latest Visual SourceSafe, but ran into the following gotchas:
1) We can't use decentralized development because we can't replicate a development oracle database to all developers computers. Also, the vpn is too slow to let their local app instances connect to the database server.
2) Since VSS source code not on the file system, the only way to debug it is to build the app and run debugger, which only one developer can do at a time on a centralized development server. This is unacceptable. We tried using shadow folders so that every time a file is checked in it gets published to the app instance on the development server, but this failed for remote developers on the vpn.
3) Since the developers do a lot of web code, it is important for productivity reasons that when they SAVE a file, they should be able to immediately see the change working on the development server.
4) No easy way to implement a controlled process for pushing files to the production server.
Any suggestions on a source control solution that would work under these contraints?
Update: I guess since development is forced to be on the server, we need to go with a "Lock and Check In" model. So which source control solution would work best for "Lock and Check In' scenarios?
Update: Does Visual SVN support developing centrally against a development server? As in, the dev can immediately see his update on the development server after saving in VS?
I have used Subversion and TortoiseSVN and was very pleased.
Is point 1 due to an issue with your database schema (or data) ?
We can't use decentralized development because we can't replicate a development oracle database to all developers computers.
If not, I strongly suggest that every developer has its own environment (Visual Studio, Oracle...) and use your development server for integration purposes. Maybe you could just give them a subset of the data, or maybe just the schema scripts.
Oracle Express Edition is perfectly fit for this scenario. Besides, sharing the same database violates rule #1 for database work, which in my experience should be enforced anywhere possible.
As Guy suggested, have an automated build allowing any developer to recreate its database schema at any time.
More very useful guidelines can be found here (include rule #1 above).
Define your development process so that parallel development is possible, and only use locks as a last resort.
I'm sorry if you already envisioned these solutions and found them unfit to your situation, but I really felt the urge to express them just in case...
Visual Source Safe is the spawn of Satan.
Look at Subversion, and Visual SVN (with Tortise SVN). Sure, Visual SVN costs a bit - $49 per seat - but it is a great tool. We have a development team of 6 programmers, and it has been a great boon to us.
If you can spend the money, then Team Foundation Server is the one that works best in a Visual Studio dev environment.
And based on personal experience, it works beautifully over VPN connections. And you can of course have automated builds going on it.
I would say SVN on price (free), Perforce on ease of integration.
You will undoubtedly hear about GIT and CVS as well and there are good reasons to look at them.
Interesting -- it sounds you are working on a web site project on the server, and everyone is working on the same physical files. I agree that SVN is far superior to VSS and really good to work with, but in my experience it's really geared toward developers working on a copy of the code locally.
VSS is a "lock and check in" type of source control, while SVN and TFS and most others are "edit and merge" -- devs all get copies of the source, edit the files as needed, and later merge their changes in to source control, and if someone else has edited the file in the meantime they merge the changes together.
From a database standpoint, I assume you are checking in your database scripts, then have some automated build packaging and running them (or maybe just a dev or DBA running them manually every so often). In this case, having the developers have a local copy of the scripts that they can edit and merge using SVN or TFS makes sense.
For a team working on a shared copy of the source code on a development server, though, you may get into problems using edit and merge -- a "lock and check in" model of source control may work better for you. Just not VSS, from a corruption and stability standpoint.

Resources