This isn't the "command to launch a service", this is the command to connect to a database. In this line, Mongo
is a script or a program, resteam-mongo-cluster-001
is a host, and after a colon, 27017
is the port number mongodb is listening on the above host. Mongo client is told to use username mongo-admin
and be prompted for a client password (the -p
switch). On the mentioned host, your admins have created a database called admin, in which user mongo-admin was created. Substring --authenticationDatabase admin
tells client to look for credentials of user mongo-admin in database admin.
Because this is a connect string to an existing service, You don't tweak this command, your admin will adjust it when he changes any parameters of the service.