Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Connect to MongoDB on Remote Linux Server with Powershell


Connect to MongoDB on Remote Linux Server with Powershell

Author
Message
thedspaincrew
thedspaincrew
Valued Member
Valued Member (68 reputation)Valued Member (68 reputation)Valued Member (68 reputation)Valued Member (68 reputation)Valued Member (68 reputation)Valued Member (68 reputation)Valued Member (68 reputation)Valued Member (68 reputation)

Group: General Forum Members
Points: 68 Visits: 172
Comments posted to this topic are about the item Connect to MongoDB on Remote Linux Server with Powershell
Jeff Moden
Jeff Moden
SSC Guru
SSC Guru (71K reputation)SSC Guru (71K reputation)SSC Guru (71K reputation)SSC Guru (71K reputation)SSC Guru (71K reputation)SSC Guru (71K reputation)SSC Guru (71K reputation)SSC Guru (71K reputation)

Group: General Forum Members
Points: 71691 Visits: 40748

Good bit of research there. Thanks for sharing.

Of bigger concern to me is the whole nature of this task. If LINUX and MongoDB is so good (according to some), why is it the folks using those couldn't come up with the report(s) on the LINUX/MongoDB side of the house? Seems like that would have been the better/faster choice instead of dragging data from one server to another.



--Jeff Moden

RBAR is pronounced ree-bar and is a Modenism for Row-By-Agonizing-Row.
First step towards the paradigm shift of writing Set Based code:
Stop thinking about what you want to do to a row... think, instead, of what you want to do to a column.
If you think its expensive to hire a professional to do the job, wait until you hire an amateur. -- Red Adair

Helpful Links:
How to post code problems
How to post performance problems
Forum FAQs
fschreuder
fschreuder
SSC Rookie
SSC Rookie (48 reputation)SSC Rookie (48 reputation)SSC Rookie (48 reputation)SSC Rookie (48 reputation)SSC Rookie (48 reputation)SSC Rookie (48 reputation)SSC Rookie (48 reputation)SSC Rookie (48 reputation)

Group: General Forum Members
Points: 48 Visits: 193
Jeff Moden - Sunday, March 19, 2017 4:52 PM

Good bit of research there. Thanks for sharing.

Of bigger concern to me is the whole nature of this task. If LINUX and MongoDB is so good (according to some), why is it the folks using those couldn't come up with the report(s) on the LINUX/MongoDB side of the house? Seems like that would have been the better/faster choice instead of dragging data from one server to another.


Hi Jeff,

Why is it you don't have your reportingservice running on your (production)databaseserver? :-) Mind you; you respons reads a little biased?
With SSRS already in place/actively used/comfortable with; that would be the logical choice for (just) a single datapoint (as I understood from the original article).
Ad-hoc implementations often grow sour on you. That "feature" is definitely "multiplatform"!

(Admirer of your work here btw!)
Regards!

@Michael: Thanks for posting the script Allways great to be able to stand on the shoulders of guys ('n girls) bigger than me!

[/edit]; added thanks to orignal article and added bias-question ;-)
[/edit2,3,4...] clarify!

Jeff Moden
Jeff Moden
SSC Guru
SSC Guru (71K reputation)SSC Guru (71K reputation)SSC Guru (71K reputation)SSC Guru (71K reputation)SSC Guru (71K reputation)SSC Guru (71K reputation)SSC Guru (71K reputation)SSC Guru (71K reputation)

Group: General Forum Members
Points: 71691 Visits: 40748
fschreuder - Monday, March 20, 2017 4:51 AM
Jeff Moden - Sunday, March 19, 2017 4:52 PM

Good bit of research there. Thanks for sharing.

Of bigger concern to me is the whole nature of this task. If LINUX and MongoDB is so good (according to some), why is it the folks using those couldn't come up with the report(s) on the LINUX/MongoDB side of the house? Seems like that would have been the better/faster choice instead of dragging data from one server to another.


Why is it you don't have your reportingservice running on your (production)databaseserver? :-) Mind you; you respons reads a little biased?
With SSRS in place/activly used; that would be the logical choice for a single datapoint (as I understood from the original post).
Ad-hoc implementations often grow sour on you. That is "multiplatform"!

Regards!

Thanks for posting the script Michael! Allways great to be able to stand on the shoulders of guys ('n girls) bigger than me!

[/edit]; added thanks to orignal post and added bias-question ;-)


Not sure but you may have quoted the wrong person on your response. The question does remain, though... if all of the data lives on MongoDB on a Linux server, why not do it there instead of dragging the data across to another system? Centralize reporting also leads to centralized single points of failure.

--Jeff Moden

RBAR is pronounced ree-bar and is a Modenism for Row-By-Agonizing-Row.
First step towards the paradigm shift of writing Set Based code:
Stop thinking about what you want to do to a row... think, instead, of what you want to do to a column.
If you think its expensive to hire a professional to do the job, wait until you hire an amateur. -- Red Adair

Helpful Links:
How to post code problems
How to post performance problems
Forum FAQs
thedspaincrew
thedspaincrew
Valued Member
Valued Member (68 reputation)Valued Member (68 reputation)Valued Member (68 reputation)Valued Member (68 reputation)Valued Member (68 reputation)Valued Member (68 reputation)Valued Member (68 reputation)Valued Member (68 reputation)

Group: General Forum Members
Points: 68 Visits: 172
Jeff Moden - Sunday, March 19, 2017 4:52 PM

Good bit of research there. Thanks for sharing.

Of bigger concern to me is the whole nature of this task. If LINUX and MongoDB is so good (according to some), why is it the folks using those couldn't come up with the report(s) on the LINUX/MongoDB side of the house? Seems like that would have been the better/faster choice instead of dragging data from one server to another.


yes... the bigger concern is valid. So Dev is in India and Palo Alto and Ops is in Dallas. Lets just say, there is very little communication between the two. Dev likes to find shiny new toys to build new apps on. So at the time when they deployed this app, Mongo was the hot new DB, thus now we have Mongo in our Production environment. Trying to keep things positive it has exposed me to other technologies and expanded my skill set. It has also reinforced my fondness for SQL Server in the enterprise. With the open source movement, "free" isn't always "free". Just because it's "free" you still have to support it and most of the time its trying to find scripts, trolling community forums or develop you own process to manage this "free" database.

Michael
http://thesurfingdba.weebly.com/

thedspaincrew
thedspaincrew
Valued Member
Valued Member (68 reputation)Valued Member (68 reputation)Valued Member (68 reputation)Valued Member (68 reputation)Valued Member (68 reputation)Valued Member (68 reputation)Valued Member (68 reputation)Valued Member (68 reputation)

Group: General Forum Members
Points: 68 Visits: 172
fschreuder - Monday, March 20, 2017 4:51 AM
Jeff Moden - Sunday, March 19, 2017 4:52 PM

Good bit of research there. Thanks for sharing.

Of bigger concern to me is the whole nature of this task. If LINUX and MongoDB is so good (according to some), why is it the folks using those couldn't come up with the report(s) on the LINUX/MongoDB side of the house? Seems like that would have been the better/faster choice instead of dragging data from one server to another.


Why is it you don't have your reportingservice running on your (production)databaseserver? :-) Mind you; you respons reads a little biased?
With SSRS in place/activly used; that would be the logical choice for a single datapoint (as I understood from the original post).
Ad-hoc implementations often grow sour on you. That is "multiplatform"!

Regards!

Thanks for posting the script Michael! Allways great to be able to stand on the shoulders of guys ('n girls) bigger than me!

[/edit]; added thanks to orignal post and added bias-question ;-)

My response is totally biased in favor or SQL Server vs Open Source solutions. "Free" isn't always "Free".. Basically my script is my ETL process to the data to a place where it is in a usable form. The nature of the task was to deliver to a manager a list of customers with the disaster recovery sku in place. I am providing my manger access to the table where this data lands. Didn't really see the need to get SSRS involved. He just wanted a way to track this info as we roll out upgrades to this app.

fschreuder
fschreuder
SSC Rookie
SSC Rookie (48 reputation)SSC Rookie (48 reputation)SSC Rookie (48 reputation)SSC Rookie (48 reputation)SSC Rookie (48 reputation)SSC Rookie (48 reputation)SSC Rookie (48 reputation)SSC Rookie (48 reputation)

Group: General Forum Members
Points: 48 Visits: 193
thedspaincrew - Monday, March 20, 2017 9:07 AM
fschreuder - Monday, March 20, 2017 4:51 AM
Jeff Moden - Sunday, March 19, 2017 4:52 PM

Good bit of research there. Thanks for sharing.

Of bigger concern to me is the whole nature of this task. If LINUX and MongoDB is so good (according to some), why is it the folks using those couldn't come up with the report(s) on the LINUX/MongoDB side of the house? Seems like that would have been the better/faster choice instead of dragging data from one server to another.


Why is it you don't have your reportingservice running on your (production)databaseserver? :-) Mind you; you respons reads a little biased?
With SSRS in place/activly used; that would be the logical choice for a single datapoint (as I understood from the original post).
Ad-hoc implementations often grow sour on you. That is "multiplatform"!

Regards!

Thanks for posting the script Michael! Allways great to be able to stand on the shoulders of guys ('n girls) bigger than me!

[/edit]; added thanks to orignal post and added bias-question ;-)

My response is totally biased in favor or SQL Server vs Open Source solutions. "Free" isn't always "Free".. Basically my script is my ETL process to the data to a place where it is in a usable form. The nature of the task was to deliver to a manager a list of customers with the disaster recovery sku in place. I am providing my manger access to the table where this data lands. Didn't really see the need to get SSRS involved. He just wanted a way to track this info as we roll out upgrades to this app.

Hi Michael,

There was no bias in your article; seeing the additional info I'm quite surprised that there wasn't any :-)

Agree with your observation on "Free":
Free is not Free as in Free beer!
It is Free as in Freedom... that too is not without cost...

Hey; I'm biased too! I try not to be.... but that doesn't always work out!
I (perhaps mis-)understood that you only had to get a teensy detail from "foreign" database-systems ASSUMING that it was chosen through a rigorous selection process to best fit the job. From your later comment I understood that was less so.

To often I suspect that lack of (a broad) skill-set is the reason to spread FUD
Beware!

Sorry for any misunderstandings I'm responsible for! Hope I've been able to clarify!

[/edit]: added on-topic (Free) response

thedspaincrew
thedspaincrew
Valued Member
Valued Member (68 reputation)Valued Member (68 reputation)Valued Member (68 reputation)Valued Member (68 reputation)Valued Member (68 reputation)Valued Member (68 reputation)Valued Member (68 reputation)Valued Member (68 reputation)

Group: General Forum Members
Points: 68 Visits: 172
fschreuder - Monday, March 20, 2017 9:29 AM
thedspaincrew - Monday, March 20, 2017 9:07 AM
fschreuder - Monday, March 20, 2017 4:51 AM
Jeff Moden - Sunday, March 19, 2017 4:52 PM

Good bit of research there. Thanks for sharing.

Of bigger concern to me is the whole nature of this task. If LINUX and MongoDB is so good (according to some), why is it the folks using those couldn't come up with the report(s) on the LINUX/MongoDB side of the house? Seems like that would have been the better/faster choice instead of dragging data from one server to another.


Why is it you don't have your reportingservice running on your (production)databaseserver? :-) Mind you; you respons reads a little biased?
With SSRS in place/activly used; that would be the logical choice for a single datapoint (as I understood from the original post).
Ad-hoc implementations often grow sour on you. That is "multiplatform"!

Regards!

Thanks for posting the script Michael! Allways great to be able to stand on the shoulders of guys ('n girls) bigger than me!

[/edit]; added thanks to orignal post and added bias-question ;-)

My response is totally biased in favor or SQL Server vs Open Source solutions. "Free" isn't always "Free".. Basically my script is my ETL process to the data to a place where it is in a usable form. The nature of the task was to deliver to a manager a list of customers with the disaster recovery sku in place. I am providing my manger access to the table where this data lands. Didn't really see the need to get SSRS involved. He just wanted a way to track this info as we roll out upgrades to this app.

Hi Michael,

There was no bias in your article; seeing the additional info I'm quite surprised that there wasn't any :-)

Hey; I'm biased too! I try not to be.... but that doesn't always work out!
I (perhaps mis-)understood that you only had to get a teensy detail from "foreign" database-systems ASSUMING that it was chosen through a rigorous selection process to best fit the job. From your later comment I understood that was less so.

To often I suspect that lack of (a broad) skillset is the reason to spread FUD
Beware!

Sry for any misunderstandings I'm responsible for! Hope I've been able to clarify!

No worries. Its all good. Hope you find the script useful.
Michael.

fschreuder
fschreuder
SSC Rookie
SSC Rookie (48 reputation)SSC Rookie (48 reputation)SSC Rookie (48 reputation)SSC Rookie (48 reputation)SSC Rookie (48 reputation)SSC Rookie (48 reputation)SSC Rookie (48 reputation)SSC Rookie (48 reputation)

Group: General Forum Members
Points: 48 Visits: 193
I do! Thank you! :-)
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search