PCF PAS NSX-T 2.3 NCP Tile (NO-NAT)

Populating the NSGroups via OpsManager

The NSGroups we created which will be used as server pool for the NSX-T LB are empty, we need to use OpsManager to populate the entries into the NSGroups.

The following steps are carried out after you have successfully configured the PAS Tile.

The Installation Dashboard of Ops Manager should looks like this.

Screen Shot 2018-12-27 at 4.32.00 PM

SSH to Ops Manager. ssh ubuntu@10.11.24.11

uaac target https://10.11.24.11/uaa –skip-ssl-validation

uaac token owner get

Client ID: opsman

Client Secret:

User name:

Password:

Screen Shot 2018-12-27 at 4.55.24 PM

uaac contexts

Copy the access_token to your clipboard.

Screen Shot 2018-12-27 at 4.57.29 PM

ACCESS_TOKEN=’eyJhbGciOiJSUzI1NiIsImtpZCI6ImtleS0xIiwidHlwIjoiSldUIn0.eyJqdGkiOiJlNjYyNDgwMjM1YmE0ZGM0YTE1YzgyN2Q4OTcwMDBmYiIsInN1YiI6ImU1MDU3MGMzLTVkZDEtNDdmYS1hZTU1LWQ3YjE4N2U4ZWU1MyIsInNjb3BlIjpbIm9wc21hbi5hZG1pbiIsInNjaW0ubWUiLCJ1YWEuYWRtaW4iLCJjbGllbnRzLmFkbWluIl0sImNsaWVudF9pZCI6Im9wc21hbiIsImNpZCI6Im9wc21hbiIsImF6cCI6Im9wc21hbiIsImdyYW50X3R5cGUiOiJwYXNzd29yZCIsInVzZXJfaWQiOiJlNTA1NzBjMy01ZGQxLTQ3ZmEtYWU1NS1kN2IxODdlOGVlNTMiLCJvcmlnaW4iOiJ1YWEiLCJ1c2VyX25hbWUiOiJhZG1pbiIsImVtYWlsIjoiYWRtaW5AdGVzdC5vcmciLCJhdXRoX3RpbWUiOjE1NDU5MDA2ODQsInJldl9zaWciOiJmNzI2YTcwNSIsImlhdCI6MTU0NTkwMDY4NCwiZXhwIjoxNTQ1OTQzODg0LCJpc3MiOiJodHRwOi8vbG9jYWxob3N0OjgwODAvdWFhL29hdXRoL3Rva2VuIiwiemlkIjoidWFhIiwiYXVkIjpbInNjaW0iLCJvcHNtYW4iLCJjbGllbnRzIiwidWFhIl19.AU3sBxAydTcOx4XLTPSPxPP7aWpW7p5R6FMuHLd3A721Zn2DGyxF9akalt9gudj168bTesc15CrJ3pp_v95Zfw-HX5FKq8f_IdeynRoAy98MH6JWrfAqpPmIWzyZOzL870ijjwGGwtZ27K3rXE_1X15jFsW9aHhe9lasLDj7kkjqIHQDt6GDfj72eg2MKKzAHErGzpleK_gcj3d9ORDGLzF2lLTMXztOaVtI5TDcUyYGE5J5-cr091rNKSMgNElHFIq8OuvGQfwJvF9NDEkEDMrqfnxy0ieI3lzbr4TlG1sSAvvHYBitB9n3BZNBfDgTaOFoHSNjWUgkjb0Ishwshw’

Screen Shot 2018-12-27 at 5.00.01 PM

curl -s -k ‘https://10.11.24.11/api/v0/staged/products’ -H “Authorization: Bearer $ACCESS_TOKEN” | jq .

Screen Shot 2018-12-27 at 5.05.04 PM

curl -s -k ‘https://10.11.24.11/api/v0/staged/products/cf-b4b06d2c846d1c0cd567/jobs’ -H “Authorization: Bearer $ACCESS_TOKEN” | jq .

Screen Shot 2018-12-27 at 5.07.03 PM