<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 07:53:25 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[DOCS-7012] Ops Manager 2.0 upgrade procedure missing step leads to upgrade failure</title>
                <link>https://jira.mongodb.org/browse/DOCS-7012</link>
                <project id="10380" key="DOCS">Documentation</project>
                    <description>&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;The &lt;a href=&quot;https://docs.opsmanager.mongodb.com/current/tutorial/upgrade-on-prem-with-rpm-packages/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;upgrade guide&lt;/a&gt; for Ops Manager 2.0 should be improved to cover upgrading installations where there are dedicated Backup Daemon hosts running Ops Manager 1.8 or 1.6.&lt;/p&gt;

&lt;p&gt;In particular there is a step missing before &lt;a href=&quot;https://docs.opsmanager.mongodb.com/current/tutorial/upgrade-on-prem-with-rpm-packages/#start-onprem-on-every-server&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;step 6&lt;/a&gt;. Starting the mongodb-mms service on each machine will use the default &lt;tt&gt;conf-mms.properties&lt;/tt&gt; file that includes the parameter:&lt;/p&gt;
&lt;p/&gt;
&lt;div id=&quot;syntaxplugin&quot; class=&quot;syntaxplugin&quot; style=&quot;border: 1px dashed #bbb; border-radius: 5px !important; overflow: auto; max-height: 30em;&quot;&gt;
&lt;table cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot; width=&quot;100%&quot; style=&quot;font-size: 1em; line-height: 1.4em !important; font-weight: normal; font-style: normal; color: black;&quot;&gt;
		&lt;tbody &gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;  margin-top: 10px;   margin-bottom: 10px;  width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;mongo.mongoUri=mongodb://127.0.0.1:27017/?maxPoolSize=150&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
			&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;p/&gt;

&lt;p&gt;The service mongodb-mms would not start on all the hosts that are not running an application database on the same machine (127.0.0.1), port 27017:&lt;/p&gt;
&lt;p/&gt;
&lt;div id=&quot;syntaxplugin&quot; class=&quot;syntaxplugin&quot; style=&quot;border: 1px dashed #bbb; border-radius: 5px !important; overflow: auto; max-height: 30em;&quot;&gt;
&lt;table cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot; width=&quot;100%&quot; style=&quot;font-size: 1em; line-height: 1.4em !important; font-weight: normal; font-style: normal; color: black;&quot;&gt;
		&lt;tbody &gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;  margin-top: 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;# service mongodb-mms start&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;Starting pre-flight checks&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;Failure to connect to configured mongo instance: Config{loadBalance=false, encryptedCredentials=false, ssl=&apos;false&apos;, dbNames=&apos;[mmsdb, mmsdbprovisionlog, mmsdbautomation, mmsdbserverlog, mmsdbpings, mmsdbprofile, mmsdbrrd, mmsdbconfig, mmsdbjobs, mmsdbagentlog, mmsdbbilling, backuplogs, mmsdbautomationlog, cloudconf, backupdb, mmsdbprovisioning, mmsdbqueues]&apos;, uri=mongodb://127.0.0.1:27017/?maxPoolSize=150} Error: { &quot;serverUsed&quot; : &quot;127.0.0.1:27017&quot; , &quot;ok&quot; : 0.0 , &quot;errmsg&quot; : &quot;not authorized on admin to execute command { listDatabases: 1 }&quot; , &quot;code&quot; : 13}&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   margin-bottom: 10px;  width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;Pre-flight checks failed. Service can not start.&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
			&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;p/&gt;

&lt;p&gt;If there is a different MongoDB database running on 127.0.0.1:27017 that &lt;b&gt;is not the application database&lt;/b&gt; (this can be possible for any reason, for example it could be the blockstore database), the result would be even worse: the Ops Manager application databases will be generated like on a fresh install on the &lt;b&gt;wrong&lt;/b&gt; application database.&lt;/p&gt;

&lt;p&gt;I believe that there should be a step between step 5 and step 6 that includes instruction on how to configure correctly the mongo.mongoUri parameter with the correct value &lt;b&gt;before&lt;/b&gt; starting the mongodb-mms service from version 2.0 for the first time.&lt;/p&gt;

&lt;p&gt;Kind regards,&lt;br/&gt;
Emilio&lt;/p&gt;</description>
                <environment></environment>
        <key id="259836">DOCS-7012</key>
            <summary>Ops Manager 2.0 upgrade procedure missing step leads to upgrade failure</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="1" iconUrl="https://jira.mongodb.org/images/icons/priorities/blocker.svg">Blocker - P1</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="9">Done</resolution>
                                        <assignee username="tony.sansone@mongodb.com">Anthony Sansone</assignee>
                                    <reporter username="emilio.scalise@mongodb.com">Emilio Scalise</reporter>
                        <labels>
                    </labels>
                <created>Thu, 21 Jan 2016 10:41:46 +0000</created>
                <updated>Wed, 17 May 2017 11:29:32 +0000</updated>
                            <resolved>Sat, 13 Feb 2016 02:33:23 +0000</resolved>
                                    <version>ops-manager-2.0.0</version>
                                    <fixVersion>01112017-cleanup</fixVersion>
                                    <component>Ops Manager</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="1573146" author="gg.anands@gmail.com" created="Wed, 17 May 2017 11:29:32 +0000"  >&lt;p&gt;http services is not coming up when we start ops manager in windows.&lt;br/&gt;
can you give some sample conf file . so that it will be helpful&lt;/p&gt;</comment>
                            <comment id="1151310" author="emilio.scalise" created="Fri, 22 Jan 2016 16:47:46 +0000"  >&lt;p&gt;Hi Bob,&lt;/p&gt;

&lt;p&gt;So you added on step 3:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;If the server runs only a Backup Daemon and does not have a conf-daemon.properties file, copy the properties file from an existing Ops Manager Application server to this server.&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;This should be sufficient to have a conf-mms.properties file. Perhaps you don&apos;t have the path &lt;tt&gt;/opt/mongodb/mms/conf&lt;/tt&gt; at this time (before installing the new Ops Manager 2.0 RPM), so it will not work.&lt;br/&gt;
The Backup Daemon used the path &lt;tt&gt;/opt/mongodb/mms-backup-daemon/&lt;/tt&gt;.&lt;/p&gt;

&lt;p&gt;and a new step 6:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Configure each Backup Daemon server with the correct mongo.mongoUri value.&lt;br/&gt;
Copy the mongo.mongoUri string from the backed-up conf-mms.properties file to the new conf-mms.properties file.&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;This should be valid for &lt;b&gt;all&lt;/b&gt; the Ops Manager servers, also the ones that will be used as Application Servers:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Configure each Ops Manager server with the correct mongo.mongoUri value.&lt;br/&gt;
Copy the mongo.mongoUri string from the backed-up conf-mms.properties file to the new conf-mms.properties file.&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;What about the other upgrade guides (DEB Package, Archive on Linux and Windows)? They need similar modifications for the conf-mms.properties file part.&lt;/p&gt;

&lt;p&gt;For example &lt;a href=&quot;https://mmsdocs-staging.corp.mongodb.com/bob/upgrade-7012/onprem/tutorial/upgrade-on-prem-windows.html#start-onprem-on-every-server&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;step 6&lt;/a&gt; let you start the service before taking care of the configuration files.&lt;/p&gt;

&lt;p&gt;I believe that before publishing the upgraded guide someone should test it in practice accurately and step by step. If possible the MMS Team should review those procedures in my opinion.&lt;/p&gt;

&lt;p&gt;Kind regards,&lt;br/&gt;
Emilio&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                                        </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Fri, 22 Jan 2016 05:19:59 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        6 years, 39 weeks ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[]]></customfieldvalue>


                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10057" key="com.atlassian.jira.toolkit:lastusercommented">
                        <customfieldname>Last comment by Customer</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>true</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10056" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last commenter</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>jess.mokrzecki@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            6 years, 39 weeks ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>gg.anands@gmail.com</customfieldvalue>
            <customfieldvalue>tony.sansone@mongodb.com</customfieldvalue>
            <customfieldvalue>emilio.scalise@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrn1rz:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hshkjz:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10053" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>Time In Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrz0gf:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                </customfields>
    </item>
</channel>
</rss>