Use the playbook available with the SGC Central application to set up the Service Graph Connector for GCP for pulling in GCP project data into the CMDB.
Antes de Iniciar
Install Service Graph Connector for GCP version 1.8.0 or later from the ServiceNow Store. For ServiceNow Store installation steps, see Install a ServiceNow Store application.
Role required: The following table shows the roles required for each stage of the playbook.
Role required: The following table shows the roles required for each stage of the playbook.
Por Que e Quando Desempenhar Esta Tarefa
The playbook experience for onboarding connectors is activated with SGC Central in the Service Graph Workspace or CMDB Workspace. To configure the SGC Central application, see Configuring SGC Central and for more information on how to interact with a playbook, see Interact with Playbook.
Procedimento
-
Use one of the following methods to open SGC Central:
-
Navigate to .
-
In the CMDB Workspace, select SGC Central.
-
On the Overview page, select Create connection.
Dica: Alternatively, you can select Create connection on the All connections page.
-
On the Create connection window, select the GCP connector type and then select Create connection.
-
Complete the initial prerequisites when setting up a connection for the first time using a connector.
-
Complete the prerequisites for setting up the GCP environment.
-
Set up the GCP environment and create a Java KeyStore (JKS) certificate to encrypt the security certificates obtained from a GCP application.
- In the Prerequisites stage of the playbook, select the Review setup instructions activity.
- Select Service Graph connector for GCP - Setup Instructions link to view the setup instructions included in the Service Graph connector for GCP - Setup Instructions [KB1220598] article in the Now Support Knowledge Base.
- Make a note of the destination keystore password. You need to specify this password while importing the JKS certificate into the Service Graph Connector for GCP application.
- Select the I have read the setup instructions check box to confirm that you have set up the GCP environment according to the instructions.
- Select Continue.
- After completing the Review setup instructions activity, select Continue.
-
Create an X.509 certificate to associate the JKS certificate for the GCP application with the Service Graph Connector for GCP.
Nota: You can skip this step if you're reusing an existing certificate by selecting Skip.
- In the Prerequisites stage of the playbook, select the Create X.509 certificate activity.
- Select New.
- On the form, fill in the fields.
- In the Attachments section, select Add File to browse and upload the keystore.p12 file for the JKS certificate you created in step 7.a.
- Select the I have read the setup instructions check box after you have completed the setup.
- After completing the Create X.509 certificate activity, select Continue.
- Opcional:
Download the scripts that are required to enable deep discovery for the Service Graph Connector for GCP.
-
In the Prerequisites stage of the playbook, select the Download GCP deep discovery scripts activity.
-
Download the deep discovery scripts for Linux and Windows VMs.
-
After completing the Download GCP deep discovery scripts activity, select Continue.
-
Enter connection details and test the API connection for importing GCP data.
-
In the Setup stage of the playbook, select the Create and test connection activity.
-
On the form, fill in the fields.
-
Select Update and test connection.
-
Once the connection test is complete, select Continue.
- Opcional:
Configure the deep discovery connection properties.
-
In the Setup stage of the playbook, select the Configure connection properties activity.
If deep discovery is already configured on the connection, the values are pre-populated on the
Deep Discovery properties form. For more information about the deep discovery connection properties for
GCP, see
Deep discovery connection properties.
-
Review the pre-populated fields on the Deep Discovery properties form.
-
After completing the Configure connection properties activity, select Continue.
-
Configure the import schedule to import data at regular intervals.
-
In the Setup stage of the playbook, select the Configure import schedule activity.
-
Select Configure import schedule.
-
Expand the Parent scheduled data import within the Import schedules list to select the SG-GCP Organization import schedule.
-
In the Configure import schedule dialog box, select the Active check box, and then fill in the run schedule and time details.
-
Select Save.
Alternatively, select Execute Now to execute the import schedule immediately.
-
Select Continue.
-
In the Setup stage of the playbook, select the Confirm connection creation activity to verify whether the connection was configured.
O que Fazer Depois
Select View all connections to review the connection details. The configured connection appears in the Installed connections list.