psm bdcsce access-rules
List the access rules defined for an Oracle Big Data Cloud cluster.
Syntax
In the following syntax, line breaks have been added for clarity. Do not include them when entering the command.
psm bdcsce access-rules -s|--service-name cluster-name
[-of|--output-format short|json|html]
Parameters
Parameter | Description |
---|---|
|
Specifies the name of the Oracle Big Data Cloud cluster. |
|
(Optional) Specifies the output format of the command’s response:
The default output format is the one you specified when using the |
Examples
The following example lists access rules for the bdcsce-cluster
Oracle Big Data
Cloud cluster.
$ psm bdcsce access-rules --service-name bdcsce-cluster
{
"accessRules":[
{
"ruleName":"ora_p2bdcsce_ssh",
"description":"Permit ssh access to nodes",
"status":"disabled",
"source":"PUBLIC-INTERNET",
"destination":"bdcsce_COMPUTE_SLAVE",
"ports":"22",
"protocol":"tcp",
"ruleType":"DEFAULT"
},
{
"ruleName":"ora_p2bdcsce_nginx",
"description":"NGINX Proxy",
"status":"enabled",
"source":"PUBLIC-INTERNET",
"destination":"bdcsce_MASTER",
"ports":"1080",
"protocol":"tcp",
"ruleType":"DEFAULT"
},
{
"ruleName":"ora_p2bdcsce_ambari",
"description":"Ambari REST",
"status":"disabled",
"source":"PUBLIC-INTERNET",
"destination":"bdcsce_MASTER",
"ports":"8080",
"protocol":"tcp",
"ruleType":"DEFAULT"
},
{
"ruleName":"ora_trusted_hosts_bdcsce",
"description":"DO NOT MODIFY: Permit specific IPs to access BDCS-CE port ",
"status":"enabled",
"source":"127.0.0.1/32",
"destination":"bdcsce_MASTER",
"ports":"1080",
"protocol":"tcp",
"ruleType":"SYSTEM"
},
{
"ruleName":"sys_infra2bdc_admin_ssh",
"description":"DO NOT MODIFY: Permit PSM to ssh to admin host",
"status":"enabled",
"source":"PUBLIC-INTERNET",
"destination":"bdcsce_ADMIN_HOST",
"ports":"22",
"protocol":"tcp",
"ruleType":"SYSTEM"
}
],
"activities":[]
}