This process can be executed using either Web Console or the swstsvrset command.
Point
If the Management Server also works as a Managed Server, these environment settings are also required for the Management Server.