지금 지원 담당자와 채팅
지원 담당자와 채팅

Foglight Hybrid Cloud Manager 6.1.0 - User Guide (for Google environments)

Getting the BigQuery Table ID

1
Go to the Google Cloud Platform console: https://console.cloud.google.com/.
2
Choose Billing on the navigation bar, and then choose Billing export.
3
Click the target Dataset name and drill down to the dataset in the BigQuery page. Click Details and get the Table ID.

 

Service Account Permissions

Foglight uses service account to monitor Google Cloud. Each RESTful API provided by Google cloud requires that the service account has corresponding permissions.

The viewer roles are required.
a
Install the gcloud CLI from https://cloud.google.com/sdk/docs/downloads-interactive and run 'gcloud beta auth application-default login' to initialize it.
b
Get the script at directory: {foglight_home}\fglam\agents\GoogleCloudAgent\{google_cloud_version}\script
param 1 is mandatory. -s defined as String type and represents the service account.
param 2 is optional. -p defined as String Array type and represents the projects you want to monitor. The script will grant all projects role to the service account if this param is not specified.
Example 1: .\grantProjectRoleToServiceAccount.ps1 -s XXXX@foglight.iam.gserviceaccount.com -p @('foglight','db','windows')
Example 2: .\grantProjectRoleToServiceAccount.ps1 -s XXXX@foglight.iam.gserviceaccount.com
Example 1: bash grantProjectRoleToServiceAccount.sh -s XXXX@foglight.iam.gserviceaccount.com -p "foglight,db"
Example 2: bash grantProjectRoleToServiceAccount.sh -s XXXX@foglight.iam.gserviceaccount.com
param 1 is mandatory. -s defined as String type and represents your service account.
param 2 is optional. -b defined as String Array type and represents the billing account you want to monitor. The script will grant all billing accounts role to the service account if this param is not specified.
Example 1: .\grantBillingAccountRoleToServiceAccount .ps1 -s XXXX@foglight.iam.gserviceaccount.com -b @('015A1D-A50154-232131','015A1D-A50154-232133')
Example 2: .\grantBillingAccountRoleToServiceAccount.ps1 -s XXXX@foglight.iam.gserviceaccount.com
Example 1: bash grantBillingAccountRoleToServiceAccount.sh -s XXXX@foglight.iam.gserviceaccount.com -b "015A1D-A50154-232131,0196A2-C4659B-3461DA"
Example 2: bash grantBillingAccountRoleToServiceAccount.sh -s XXXX@foglight.iam.gserviceaccount.com
b
Get the script at directory: {foglight_home}\fglam\agents\GoogleCloudAgent\{google_cloud_version}\script
c
Upload the grantProjectRoleToServiceAccount.sh file to the console.

Creating a Google Cloud Agent

3
On the navigation panel, under Homes, click Cloud Manager.
The Cloud Manager dashboard opens.
4
In the Cloud Manager dashboard, click Google Cloud > Administration, and then click Add or Create Google Cloud Agent.
A Google Cloud Setup Wizard dialog box opens.
5
In the Select Agent Manager view, select the agent manager on which the new agent is to be deployed, and then click Next.
6
In the Agent Info view, specify the following values, and then click Next.
Enter the BigQuery Table ID according to the Google Cloud Platform console. To get the BigQuery Table ID from Google Cloud Platform console, see Getting the BigQuery Table ID for more information.
7
In the Credential Verification view, do either of the following:
Choose Create a new Google Cloud Credential and click Next. A Create New Credential dialog box appears.
a
Specify a Credential Name.
b
Click Load from file to upload the JSON file generated from Google Cloud Platform console. See Generating Google Cloud Service Account File for more information.
Choose Use an existing Google Cloud credential and click Next. Select an existing credential and click Next.
8
A Summary view appears and click Finish.

Dashboard location and UI elements

After installing Foglight Hybrid Cloud Manager for Google Cloud, the Cloud Manager entry appears under Homes.

To access the Cloud Manager dashboard:
3
On the navigation panel, under Homes, click Cloud Manager, and then click Google Cloud.
The Cloud Manager dashboard opens.

The Cloud Manager dashboard consists of the following UI elements:

관련 문서

The document was helpful.

평가 결과 선택

I easily found the information I needed.

평가 결과 선택