How to Use MMS to Manage MongoDB Instance Installed with MUP - meteor

I'm relatively inexperienced with sysadmin work, but I'm trying to figure out how to connect MMS to my Meteor app to sync regular backups of our MongoDB instance. The app was deployed on Digital Ocean using MUP, but MMS doesn't seem to want to connect to the Mongo Instance. I was wondering if there are any specific steps that need to be taken to make MMS work properly. It appears as though MMS requires standalone instances to be reconfigured to be replica instances, but I'm not quite sure how this works. I was wondering if anyone else has gone through this and could assist. Thanks!

For MMS to be able to manage your servers remotely you need to install the MMS Automation Agent on each server that's running MongoDB, and you need to have specific ports open so they can access the automation agent.
Use the instructions for installing the agent on your specific operating system.
Also use the MMS Automation Checklist to make sure you have everything configured properly.

Related

Database without server for Ember production app

I am developing an application in ember. I would host it locally in a machine using mangoose webserver after production. Now I need to store data for the application (json is most welcome) even in file database. I need a serverless local database without internet. I should not install node.js or any other software for database because the machine in which is going to be hosted has not given any provision for installation. The database or file must be directly acccessible from js. I have viewed about sqlite3 but i found no useful js library to connect without node.js. How could I achieve it. Guide me please.
Thanks in advance

Can I access database without installing SQL server

I am working on an ERP Project, using sql server for database.
Now when I deploy the project, I have to install sql server which uses a lot of storage and time is also wasted. As the client is never going to fire any query. Thus, having no need of the development environment. So, is there any option to overcome this.
Local DB is one of the option but having difficulties in configuring it. If anybody ever used it and Please help me out. Or if there's any other option please help me with that
NOTE: I am using asp.net as front end technology
I'm not sure if this is what you're trying to do, but if you want your app to connect to an SQL Server database, you will need at least the OLE DB Driver to be installed on your server.
It will allow your app to connect to an SQL Server instance, which can be running on any other machine.
In complement you could have a look at this : https://www.connectionstrings.com/
and this https://learn.microsoft.com/fr-fr/sql/connect/oledb/oledb-driver-for-sql-server?view=sql-server-ver15

How to deploy meteor app to DigitalOcean

I created a new app repository in Github, built on the Meteor platform. I am having significant difficulty deploying the app to my DigitalOcean droplet, however. I am trying to connect my Github repository to the droplet and to deploy that to my domain. I am trying to do this in SSH using puTTy; however, after setting up a root account and password, I am unable to log in through SSH. I receive the following error: disconnected: no supported authentication methods available (server sent:publickey)
Does anyone know why this error is coming up? I have looked through more tutorials for deploying a meteor app on digitalocean than I care to admit, but they all seem to take different approaches and many are outdated. Any advice would be greatly appreciated!
Thank you
I reckon the easiest way is to use meteor up. It's a very simple process, and you don't need to be continually sshing into your target server, with all the hassles involving ssh keys.
In my experience, once you have it set up, it's a very painless process, and you can deploy with a simple command each time.
http://meteor-up.com/
It looks after the following:
Setting up your server with docker instances
Creating SSL certs using Let's encrypt
Building your app, bundling it, transferring it
Starting the app
Rolling back if it doesn't work
There is some trust involved, but it's worth it for a seamless deployment scenario

Develop the openstack manage website like the original dashboard

I installed the HA OpenStack on 3 host machines, and them works perfect.
As you know, the HA OpenStack has a original dashboard, I can access from browser: http://44.118.44.1xx/dashboard, now I want to write a new website to do the dashboard's functions.
and I want to develop the site on my Mac, how to do with that?
I don't know how to connect with the original HA openstack's database(there are mariadb cluster).
because in the website, I will register the user(tenant), I will put the tenant information to the mariadb.
In Openstack you are not advised to connect to DB directly. Each services in Openstack exposes API(primarily it shall be REST API). Assuming you are trying to build website from scratch, you can use javascript or similar to call REST APIs. here is quick start guide for using REST APIs. You can fine complete list of services and its REST APIs description Here.

Hosting java web application with oracle database

I have been trying to find out how best I can host a JavaEE5 web application with Oracle11g database. I have got my domain registered and currently pointing to my Jboss web application on my laptop.
I would like to host it for a while untill my application gets finished and ideally would like to go on hosting on a professional company server when I start getting increased traffic.
Firstly, to host at my home I want to use a separate dedicated server. Can you please let me know what options I have? Because I have no clue on what to purchase.
Secondly, when I want to go with a professional company server, which ones should I consider that supports JavaEE5 deployments and Oracle11g databases? Let me know if you need more details.
Personally I have experience with OpenShift. Free plan offers JBoss AS 7.1.1 and MySQL or PostgreSQL, but it's very slow (you might want to try these two my demo applications: personal site and e-shop). Paid plans looks for me too expensive here. This solution might be appropriate if you don't wanna configure application server and database.
Another possible solution is Amazon Web Services. There are such services as Elastic Beanstalk that offers you different servers including Tomcat, Amazon Relational Database Service that offers you Oracle Database as well as other RDMSes, and Amazon Elastic Compute Cloud that enable you install JBoss AS yourself even if Beanstalk with Tomcat doesn't work for you. It looks like AWS is cheaper than OpenShift, but as for me, EC2 is still expensive. Check if price works for you. Buy the way AWS has a free tier the first year of usage that includes EC2 instance. So if you're sure that your project will long less than a year, it might be a good choice. ASW would be appropriate for you if you are ok with Tomcat instead of application server and you don't wanna configure application server and database.
Also I heard positive comments about Digital Ocean, but never tried it. It looks like it offers only infrastructure as service (like AWS EC2) so you will have to install and configure all servers yourself.

Resources