I have installed MongoDB (3.0.15) in my local Sitecore 8.1 (initial Release) instance and have enabled the following setting/config
Enabled "Xdb.Enabledand" and "Xdb.Tracking.Enabled" in Sitecore.xdb.config
Enabled "enableTracking" for all my sites in mysitedefinition.config
Enabled Sitecore.MvcAnalytics.config file
Disabled all the xDBCloud related files
Added mongodb connection strings in connectionstrings.config
Also started mongod service from commend prompt and made my session timeout is 1 minute instead of 20 minute in web.config
after all I have made few visits to my site pages i.e home page,about us,products,new pages but interaction data does not appear in the collection database for the visited pages (analytics and tracking.live databases created)
(All my pages have the identification tag & have license for mongodb)
Please suggest how to solve this issue/how verify my collection db working?
Also I have configured processing/reporting servers in my local instance but contact and history collection databases not appeared in xDB- please suggest
Thanks,
Karthik
Related
A customer of ours is using a kind of sharepoint (not sharepoint) -a document repository- that, for what I saw, uses webdav.
There are two terminal servers, one of them is Windows 2008 R2 Datacenter v6.1 build 7601, Office 2016, and Internet Explorer 10.0.9200.17609IS. They couldn't access anything at all, they went as far clicking "edit" on the site and then Word they that he's sorry because he couldn't open the document.
I've fixed that, I added the site to the Trusted Sites list, and disabled SSL 3.0 and TLS 1.0. Local admins can open and update documents. Non admin users can open the document but not update it, and by can't I mean that Word opens the document in read-only mode and any attempt to switch to read-write will save the document in the local computer.
Now, the other server, Windows Server 2012 R2 version 6.3 build 9600, Internet Explorer 11.0.9600.19867, the former fix did the trick for both admins and non-admins.
Does anyone know where to look?
Thanks,
Max
we are using 2018.3 version of Tableau Server. The server stats like user login, and other stats are getting logged into PostgreSQL DB. and the same being cleared regularly after 1 week.
Is there any API available in Tableau to connect the DB and take backup of data somewhere like HDFS or any place in Linux server.
Kindly let me know if there are any other way other than API as well.
Thanks.
You can enable access to the underlying PostgreSQL repository database with the tsm command. Here is a link to the documentation for your (older) version of Tableau
https://help.tableau.com/v2018.3/server/en-us/cli_data-access.htm#repository-access-enable
It would be good security practice to limit access to only the machines (whitelisted) that need it, create or use an existing read-only account to access the repository, and ideally to disable access when your admin programs are complete (i.e.. enable access, do your query, disable access)
This way you can have any SQL client code you wish query the repository, create a mirror, create reports, run auditing procedures - whatever you like.
Personally, before writing significant custom code, I’d first see if the info you want is already available another way, in one of the built in admin views, via the REST API, or using the public domain LogShark or TabMon systems or with the Addon (for more recent versions of Tableau) the Server Management Add-on, or possibly the new Data Catalog.
I know at least one server admin who somehow clones the whole Postgres repository database periodically so he can analyze stats offline. Not sure what approach he uses to clone. So you have several options.
I am running odoo server using odoo service file:
/etc/init.d/odoo start
But when I need to stop or restart the server, I need to ask everyone that if they are using that server or not.
So my questions is , Is there any way that I can know number of users or links using that particular server.
If there is a way then I can directly stop/restart server without asking anyone , by only check from active links .
There is no way to get know the active users in odoo.
In older version like 6.1 they had field login_datetime but on later versions they store only "login_date".
you can only do is check openerp user active in the database and if not then restart/stop server.
Situation:
Have created today a new Compose for MongoDB Service instance in Bluemix
Need:
I have to access this MongoDB DIRECTLY with tools (eg. Mongo Managemant Studio Pro, mongo.exe, etc.) for bulkloading, testing, ad-hoc data fix, etc.
Problem:
I have not found any docs, samples nor a CLEAR statement that
a) gives me some confirmation that THIS is possible
b) gives me COMPLETE information (not just some technical fragments that might have worked year ago) how to do it.
Maybe I am looking to the wrong places or do not know the right people. However I am stuck on this, and before quitting Bluemix MongoDB maybe somebody has a copy/past solution or handson step by step manual.
Any help welcome. Thanks!
Connecting to MongoDB service in Bluemix from an application is possible. For this answer I have used the application "Robo3T" and here are the steps:
Access your MongoDB Service on you Bluemix account. Usually under
"Cloud Foundry Services"
Open section "Manage", from "Connection Settings" copy from "HTTPS" the connection address and port. In this example "sl-eu-lon-2-portal.5.dblayer.com" and "20651"
In Robo3T create a new connection with the connection address from previous step
In tab Authentication configure database name, username and password
. The credentials are found as in step 1
From "Connection Settings" copy the SSL Certificate into a text file and save locally.
In Robo3T Add the certificate to the connection in the "SSL" tab
Test the connection and save the settings
Answer
YES, Bluemix hosted Compose for MongoDB instances can be connected from the mongo Shell and some updated DB Managment tools.
However, you have to make sure, that in case you are running the newest DB versions, that your tools (shell and DB management GUIs) comply with the newest DB features such as encryption etc.
Origin of the Problem
My problem was due to older and therefore incompatible versions of the mongo shell and DB-managment tools running against the newest MongoDB versions with their specialities on encription and multiple servers to be handled in the URI.
At least two DB managment tools are not compatible with the newest DB version and will take their time to get fixed. The problem is, that both will not tell you about this. They just do not not connect. No logs on either side. Period.
So my advise here: look for tool providers who express dedicated compliance with the specific version of your DB.
Advise to the Bluemix Team
It might not take much time to provide some sample connection strings for the most common tools like the mongo shell, MongoBooster, etc. to take the hassle and guesswork out of interpreting the Environment variables and figuring out what is needed for specific connection strings and what is not.
For instance MongoDB Atlas hosting provides for every cluster readymade connection strings for many tools you can just copy/past and done!
Connecting to Atlas took me 5 Minutes. For Bluemix I have lost hours! Not because it is complex, but because the documentation and the generated Info is somehow incomplete and messy - at least for the ones who do not connection strings for their living!
We are working on Sitecore deployment in Azure.
Sitecore Experience Platform 8.0 rev. 160115
MongoDB - 3.0.4
We installed MongoDB, and we can connect to localhost using Robomongo. We can only see “Analytics” database/collections.
Our connection strings setup are:
Connectionstring.config
But the other 3 databases and collections are not created.
Tracking.live
Tracking.history
Tracking.contact
In Sitecore.Analytics.config file – the setting “Analytics.Enabled” is set to true.
Sitecore.Analytics.config
In log we found some references to xDB cloud initialization failed issues, therefore we disabled it.
Are we missing any configurations? Any help or suggestions are appreciated.
Thank you
Keep in mind that MongoDB is schemaless. Of course, in a production environment you would probably have to create these databases manually - to ensure that access rights are assigned correctly. But in a development environment, any database can be created on the fly.
The only reason the analytics database was created for you is because Sitecore creates indexes for the Interactions collection. Otherwise, you wouldn't see this database until xDB wrote some data into it. Same goes for any MongoDB collection - those won't appear until there's either data being written or an index created.
The other three databases will be created once the aggregation/processing logic is executed. I.e. when your instance starts to actually collect and process visit data.
As a conclusion, don't worry about these databases missing (for now). Just verify that xDB functionality is working properly.