It's all about the answers!

Ask a question

Doubt about credentials file when upgrading DM and VVC applications.


LUIZ DE ALMEIDA (23016192) | asked Mar 20 '15, 1:17 p.m.
Hi all,

During upgrade of DM and VVC applications to the version 5.0.x, one of the steps is to migrate VVC and DM applications. In the upgrade guide there is the following attention point:
"Ensure there are credentials that exists with the following content:"
adminUserId=yourAdminUserId
adminPassword=yourAdminPassword
repositoryURL=https://yourserver.com:9443/dm
smartCard=<none>
certificateFile=<none>

Well, I did not find any file with this content. There is no "credentials.txt" created in my environment.
Question: Must I create the credentials.txt in order to execute the command below?

./repotools-vvc.sh -vvc_online_migrationCommand credentialsFile=credentials.txt fromVersion=<previous_version> logPort=52000 logLevel=DEBUG

Thanks for any tip.

Accepted answer


permanent link
Andrey Karaulov (1861) | answered Mar 20 '15, 1:26 p.m.
Hi Luiz,

Yes, you need to create this file yourself.
Make sure you have updated repositoryURL while upgrading VVC and then DM.

Also, make sure you set "<none>" to smartCard= and certificateFile= fields:

adminUserId=yourAdminUserId
adminPassword=yourAdminPassword
repositoryURL=https://yourserver.com:9443/dm
smartCard=<none>
certificateFile=
<none>

Regards,
Andrey
LUIZ DE ALMEIDA selected this answer as the correct answer

Comments
Andrey Karaulov commented Mar 20 '15, 1:28 p.m.

Hmm... &lt;nont&gt was remoted...
Anyway... make sure smartCard and certificateFile fields are not empty.


LUIZ DE ALMEIDA commented Mar 20 '15, 1:28 p.m.

Thank you for the quick answer Andrey. The smartCart and certificateFile will be:
adminUserId=yourAdminUserId
adminPassword=yourAdminPassword
repositoryURL=https://yourserver.com:9443/dm
smartCard=""
certificateFile=""

Is this?


1
Andrey Karaulov commented Mar 20 '15, 1:31 p.m.

Editor removes "lt" and "gt" symbols. You need to specify exactly the same values as described in help: "<none>" (none between lt and gt symbols)


LUIZ DE ALMEIDA commented Mar 20 '15, 1:54 p.m.

Ok. Thank you very much.


LUIZ DE ALMEIDA commented Mar 20 '15, 2:01 p.m.

Andrey,

One more question:

in the command

./repotools-vvc.sh -vvc_online_migrationCommand credentialsFile=credentials.txt fromVersion=<previous_version> logPort=52000 logLevel=DEBUG

<previous_version> should be replaced by <previous_version_install_dir>?


1
Thomas Mattsson commented Mar 20 '15, 4:31 p.m.
FORUM MODERATOR / JAZZ DEVELOPER

<previous_version> should be replaced with the version you are migrating from. For example:
fromVersion=4.0.6

Regards,
Thomas


LUIZ DE ALMEIDA commented Mar 23 '15, 9:35 a.m.

Thank you so much Thomas.

showing 5 of 7 show 2 more comments

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.