Administrator Guide

Table Of Contents
Steps to change the host name to IP address
Steps to change the host name to IP address when host name resolution fails, to the following:
1 Open the DOS prompt in elevated Admin mode
2 Change the directory to C:\Program Files\DELL\WMS\MongoDB\bin.
3 Enter the command, mongo localhost -username stratus -p --authenticationDatabase admin
Output—MongoDB shell version v3.4.10
4 Enter the password.
Output—
connecting to: mongodb://127.0.0.1:27017/localhost
MongoDB server version: 3.4.10
5 Enter : use stratus
Output—switched to db stratus
6 Enter the command, > db.bootstrapProperties.updateOne( {'name': 'stratusapp.server.url'}, {$set :
{'value' : "https://IP:443/ccm-web"}} )
Output—{ "acknowledged" : true, "matchedCount" : 1, "modiedCount" : 1 }
7 Enter the command, > db.getCollection('bootstrapProperties').find({'name':
'stratusapp.server.url'})
Output—{ "_id" : ObjectId("5b97905e48b7b7e99ad22aa6"), "name" : "stratusapp.server.url", "value" : "https://IP:443/ccm-web",
"isActive" : true, "committed" : true }
G
238 Steps to change the host name to IP address