Doubt about credentials file when upgrading DM and VVC applications.
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
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
Comments
Hmm... <nont> was remoted...
Anyway... make sure smartCard and certificateFile fields are not empty.
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?
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)
1 vote
Ok. Thank you very much.
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>?
<previous_version> should be replaced with the version you are migrating from. For example:
fromVersion=4.0.6
Regards,
Thomas
1 vote
Thank you so much Thomas.