In the last couple of blog post I showed how to setup PivotalCF Operations Manager, Elastic Runtime, and setup the PHD service. After setting up our enviornment we would then want to login to the developers console to deploy applications.
While setting up the elastic runtime, we created a wildcard record that allowed the runtime to create FQDN based off of the system and apps domain.
In my lab the domain was the same for both cto.emc.local. To begin using the developers console there are now 3 FQDNS that we need to connect to.
API, console, and login. You can ping these with the domain name to verify that the runtime and wildcard dns entry are working.
Open a browser and goto console.fqdn Example console.cto.emc.local
You will need to enter the admin credentials. Note that this admin password is different than the admin password used for operations mananger and is generated during the runtime install
Open another tab or browser and goto the operations manager. In operations manager open the runtime and click on credentials. Next to UAA you will see the admin credential and password. Use this combo to login to the developers console.
After logining in you can goto the Pivotal netowrk, the online CF version, or connect to the local CF through Web Services. Click Web Services
You are asked to create your own organization. Give it a name a click create
The org is created and you can begin to use the developers console.
Now what if you want to use a differnt user than admin? You can use the CLI to create users.
Download and install the CLI from git
https://github.com/cloudfoundry/cli/releases
Once the install is complete open a command prompt.
Cd to the install dir, in this case its windows in the c:\program files (x86)\CloudFoundry directory.
Connect to the api with the following command
cf api https://api.cto.emc.local --skip-ssl-validation
you will be asked for the admin password combo
Next login
The API endpoint is already set. Use the follwoing comand to login
cf login
enter the admin password combo
create a user with the follwoing command
cf create-user Alice pa55w0rd
You can now login to the developers console with the user "Alice"
Comments