Stay organized with collections
Save and categorize content based on your preferences.
Before you install Mainframe Connector, you must perform the initial
setup, including granting the required roles to your service account, setting
up security for your assets, and setting up network connectivity between your
mainframe and Google Cloud. The following sections describe each task in detail.
Ensure that the following permissions required by Java Cryptography Extension Common Cryptographic Architecture (IBMJCECCA) (Java 8 or Java 17)
are granted for your mainframe. Transport layer security (TLS) is used on all
requests made from your mainframe to Google Cloud APIs. If these permissions are
not granted, you will see an INSUFFICIENT ACCESS AUTHORITY error
message.
ICSF Query Facility (CSFIQF)
Random Number Generate (CSFRNG)
Random Number Generate Long (CSFRNGL)
PKA Key Import (CSFPKI)
Digital Signature Generate (CSFDSG)
Digital Signature Verify (CSFDSV)
Set up network connectivity
Mainframe Connector interacts with Cloud Storage, BigQuery,
and Cloud Logging APIs. Ensure Cloud Interconnect
and VPC Service Controls (VPC-SC) is
configured to allow access to specific BigQuery, Cloud Storage, and
Cloud Logging resources from specified IP ranges, based on your enterprise
policy. You can also use Pub/Sub, Dataflow, and Dataproc
APIs for additional integration between IBM z/OS batch jobs and data pipelines
on Google Cloud.
Ensure that your network administration team has access to the following:
IP subnets assigned to the IBM z/OS logical partitions (LPARs)
Google Cloud service accounts used by IBM z/OS batch jobs
Google Cloud project IDs containing resources accessed by IBM z/OS batch jobs
Configure firewalls, routers, and Domain Name Systems
Configure your mainframe IP files to include rules in firewalls, routers, and
Domain Name Systems (DNSs) to allow traffic to and from Google Cloud. You can
install either userid.ETC.IPNODES or userid.HOSTS.LOCAL as
hosts file to resolve the standard Cloud Storage API endpoints as the VPC-SC
endpoint. The sample file userid.TCPIP.DATA is deployed to configure
DNS to use the hosts file entries.
To enforce VPC-SC on your on-premises network, configure it as follows:
Configure the on-premises routers to route IBM z/OS outbound traffic to
destination subnets within the VPC networks and the restricted.googleapis.com
special domain using Cloud Interconnect or a virtual private network (VPN).
Configure the on-premises firewalls to allow outbound traffic to VPC subnets
or VM instances and Google API endpoints - restricted.googleapis.com 199.36.153.4/30.
Configure the on-premises firewalls to deny all other outbound traffic to
prevent bypass of VPC-SC.
Configure the on-premises firewalls to allow outbound traffic to https://www.google-analytics.com.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-29 UTC."],[],[],null,["# Get started with Mainframe Connector\n\nBefore you install Mainframe Connector, you must perform the initial\nsetup, including granting the required roles to your service account, setting\nup security for your assets, and setting up network connectivity between your\nmainframe and Google Cloud. The following sections describe each task in detail.\n\nGrant service account permissions\n---------------------------------\n\nEnsure that the following roles are granted to your service account. You can\n[grant multiple roles to your service account using the Google Cloud console](/iam/docs/manage-access-service-accounts#multiple-roles-console) or\n[grant the roles programmatically](/iam/docs/manage-access-service-accounts#multiple-roles-programmatic).\n\n- At the project level, assign the following roles:\n - [Logs Writer](/iam/docs/understanding-roles#logging.logWriter)\n - [BigQuery Job User](/bigquery/docs/access-control#bigquery.jobUser)\n- On your Cloud Storage bucket, assign the following roles:\n - [Storage Object Admin](/storage/docs/access-control/iam-roles)\n - [BigQuery Data Editor](/bigquery/docs/access-control#bigquery.dataEditor)\n - [BigQuery Read Session User](/bigquery/docs/access-control#bigquery.readSessionUser)\n\nSet up security for your assets\n-------------------------------\n\nEnsure that the following permissions required by Java Cryptography Extension Common Cryptographic Architecture (IBMJCECCA) ([Java 8](https://www.ibm.com/docs/en/sdk-java-technology/8?topic=components-ibmjcecca) or [Java 17](https://www.ibm.com/docs/en/semeru-runtime-ce-z/17.0.0?topic=guide-ibmjcecca))\nare granted for your mainframe. Transport layer security (TLS) is used on all\nrequests made from your mainframe to Google Cloud APIs. If these permissions are\nnot granted, you will see an `INSUFFICIENT ACCESS AUTHORITY` error\nmessage.\n\n- ICSF Query Facility (CSFIQF)\n- Random Number Generate (CSFRNG)\n- Random Number Generate Long (CSFRNGL)\n- PKA Key Import (CSFPKI)\n- Digital Signature Generate (CSFDSG)\n- Digital Signature Verify (CSFDSV)\n\nSet up network connectivity\n---------------------------\n\nMainframe Connector interacts with Cloud Storage, BigQuery,\nand Cloud Logging APIs. Ensure [Cloud Interconnect](/network-connectivity/docs/interconnect)\nand [VPC Service Controls (VPC-SC)](/vpc-service-controls/docs/overview) is\nconfigured to allow access to specific BigQuery, Cloud Storage, and\nCloud Logging resources from specified IP ranges, based on your enterprise\npolicy. You can also use Pub/Sub, Dataflow, and Dataproc\nAPIs for additional integration between IBM z/OS batch jobs and data pipelines\non Google Cloud.\n\nEnsure that your network administration team has access to the following:\n\n- IP subnets assigned to the IBM z/OS logical partitions (LPARs)\n- Google Cloud service accounts used by IBM z/OS batch jobs\n- Google Cloud project IDs containing resources accessed by IBM z/OS batch jobs\n\nConfigure firewalls, routers, and Domain Name Systems\n-----------------------------------------------------\n\nConfigure your mainframe IP files to include rules in firewalls, routers, and\nDomain Name Systems (DNSs) to allow traffic to and from Google Cloud. You can\ninstall either *userid.ETC.IPNODES* or *userid.HOSTS.LOCAL* as\nhosts file to resolve the standard Cloud Storage API endpoints as the VPC-SC\nendpoint. The sample file *userid.TCPIP.DATA* is deployed to configure\nDNS to use the hosts file entries. \n\n - ETC.IPNODES\n - 199.36.153.4 www.googleapis.com\n - 199.36.153.5 www.googleapis.com\n - 199.36.153.6 www.googleapis.com\n - 199.36.153.7 www.googleapis.com\n - 199.36.153.4 oauth2.googleapis.com\n - 199.36.153.5 oauth2.googleapis.com\n - 199.36.153.6 oauth2.googleapis.com\n - 199.36.153.7 oauth2.googleapis.com\n - 127.0.0.1 LPAR1 (based on LPAR configuration)\n - 127.0.0.1 LPAR2\n - 127.0.0.1 LPAR3\n - HOSTS.LOCAL\n - HOST : 199.36.153.4, 199.36.153.5, 199.36.153.6, 199.36.153.7 : WWW.GOOGLEAPIS.COM ::::\n - HOST : 199.36.153.4, 199.36.153.5, 199.36.153.6, 199.36.153.7 : OAUTH2.GOOGLEAPIS.COM ::::\n - TCPIP.DATA\n - LOOKUP LOCAL DNS\n\n### Configure your network to enforce VPC-SC\n\nTo enforce VPC-SC on your on-premises network, configure it as follows:\n\n- Configure the on-premises routers to route IBM z/OS outbound traffic to destination subnets within the VPC networks and the `restricted.googleapis.com` special domain using Cloud Interconnect or a virtual private network (VPN).\n- Configure the on-premises firewalls to allow outbound traffic to VPC subnets or VM instances and Google API endpoints - `restricted.googleapis.com 199.36.153.4/30`.\n- Configure the on-premises firewalls to deny all other outbound traffic to prevent bypass of VPC-SC.\n- Configure the on-premises firewalls to allow outbound traffic to `https://www.google-analytics.com`.\n\nWhat's next\n-----------\n\n- [Install Mainframe Connector](/mainframe-connector/docs/installation)"]]