vania-janet/multiturn-rag-retrieval-data huggingface dataset:
Newly discovered disks are listed at the end of the report.



/usr/bin/rescan-scsi-bus.sh -a -c -v

It is easier to check the system when the physical disks have different sizes. If the volumes are the same size, you can use the worldwide name (WWN) of the volume that is shown in the IBM Cloud® UI. The WWN corresponds to the ID in the output of the multipath -ll command.

For example, a storage volume with the name sapdata_vol has a WWN 3600507681081814CE80000000000054D. In the operating system output of the multipath -ll command, the corresponding device name for this WWN is dm-4. The device name is needed to create the logical volume and the volume group.

multipath -ll
3600507681081814ce80000000000054d dm-4 IBM,2145
size=100G features='0' hwhandler='1 alua' wp=rwv

The WWN in the IBM Cloud® UI contains uppercase letters. In the operating system, the same ID contains lowercase letters.



2. Use the following to identify disks by using disk sizes. The four storage volumes for SAP HANA data are 60 GB each. Multipath aliases are used. Run the following command to create file system for /hana/data.



export pv_size=60G
export lv_name=hana_data_lv
export vg_name=hana_data_vg
export mount=/hana/data
 use following command if you USE multipath aliases
devices=$(multipath -ll | grep -B 1 $pv_size | grep dm- | awk '{print "/dev/"$3}' | tr 'n' ' ')
stripes=$(multipath -ll | grep -B 1 $pv_size | grep dm- | awk '{print "/dev/"$2}' | wc | awk '{print $1}')
pvcreate $devices
CoreDNS 1.8.7 1.8.6 See the [CoreDNS release notes](https://coredns.io/2021/10/07/coredns-1.8.6-release/). 
 Gateway-enabled cluster controller 1792 1823 Updated to Go version 1.17.13. 
 GPU device plug-in and installer d8f1be0 c58c299 Enable DRM module and update Go to version 1.18.5. 
 IBM Calico extension 997 1006 Updated to Go version 1.17.13. 
 IBM Cloud Controller Manager v1.22.11-3 v1.22.13-1 Updated vpcctl binary to version 3367. Updated to support the Kubernetes 1.22.13 release. 
 IBM Cloud File Storage for Classic plug-in and monitor 412 414 Updated to Go version 1.18.5. Updated universal base image (UBI) to version 8.6-902 to resolve CVEs. 
 IBM Cloud RBAC Operator 0a187a4 dc1725a Updated Go dependencies and to Go version 1.18.3. 
 Key Management Service provider v2.5.7 v2.5.8 Updated Go dependencies. 
 Konnectivity agent and server v0.0.30_331_iks v0.0.32_363_iks Updated to Go version 1.17.13 and to Konnectivity version v0.0.32. 
 Kubernetes v1.22.12 v1.22.13 See the [Kubernetes release notes](https://github.com/kubernetes/kubernetes/releases/tag/v1.22.13). 
 Kubernetes Dashboard metrics scraper v1.0.7 v1.0.8 See the [Kubernetes Dashboard metrics scraper release notes](https://github.com/kubernetes-sigs/dashboard-metrics-scraper/releases/tag/v1.0.8).
Name Memory Network speed Cores Type OS Primary storage Secondary storage 

 b3c.16x64 64GB 1000Mbps 16 Virtual UBUNTU_18_64, UBUNTU_20_64 (default) 25GB SSD 100GB SSD 
 b3c.16x64.300gb 64GB 1000Mbps 16 Virtual UBUNTU_18_64, UBUNTU_20_64 (default) 25GB SSD 300GB SSD 
 b3c.32x128 128GB 1000Mbps 32 Virtual UBUNTU_18_64, UBUNTU_20_64 (default) 25GB SSD 100GB SSD 
 b3c.4x16 16GB 1000Mbps 4 Virtual UBUNTU_18_64, UBUNTU_20_64 (default) 25GB SSD 100GB SSD 
 b3c.56x242 242GB 1000Mbps 56 Virtual UBUNTU_18_64, UBUNTU_20_64 (default) 25GB SSD 100GB SSD 
 b3c.8x32 32GB 1000Mbps 8 Virtual UBUNTU_18_64, UBUNTU_20_64 (default) 25GB SSD 100GB SSD 
 c3c.16x16 16GB 1000Mbps 16 Virtual UBUNTU_18_64, UBUNTU_20_64 (default) 25GB SSD 100GB SSD 
 c3c.16x32 32GB 1000Mbps 16 Virtual UBUNTU_18_64, UBUNTU_20_64 (default) 25GB SSD 100GB SSD 
 c3c.32x32 32GB 1000Mbps 32 Virtual UBUNTU_18_64, UBUNTU_20_64 (default) 25GB SSD 100GB SSD 
 c3c.32x64 64GB 1000Mbps 32 Virtual UBUNTU_18_64, UBUNTU_20_64 (default) 25GB SSD 100GB SSD 
 m3c.4x32 32GB 1000Mbps 4 Virtual UBUNTU_18_64, UBUNTU_20_64 (default) 25GB SSD 100GB SSD
Name Memory Network speed Cores Type OS Primary storage Secondary storage 

 b3c.16x64 64GB 1000Mbps 16 Virtual UBUNTU_18_64, UBUNTU_20_64 (default) 25GB SSD 100GB SSD 
 b3c.16x64.300gb 64GB 1000Mbps 16 Virtual UBUNTU_18_64, UBUNTU_20_64 (default) 25GB SSD 300GB SSD 
 b3c.32x128 128GB 1000Mbps 32 Virtual UBUNTU_18_64, UBUNTU_20_64 (default) 25GB SSD 100GB SSD 
 b3c.4x16 16GB 1000Mbps 4 Virtual UBUNTU_18_64, UBUNTU_20_64 (default) 25GB SSD 100GB SSD 
 b3c.56x242 242GB 1000Mbps 56 Virtual UBUNTU_18_64, UBUNTU_20_64 (default) 25GB SSD 100GB SSD 
 b3c.8x32 32GB 1000Mbps 8 Virtual UBUNTU_18_64, UBUNTU_20_64 (default) 25GB SSD 100GB SSD 
 c3c.16x16 16GB 1000Mbps 16 Virtual UBUNTU_18_64, UBUNTU_20_64 (default) 25GB SSD 100GB SSD 
 c3c.16x32 32GB 1000Mbps 16 Virtual UBUNTU_18_64, UBUNTU_20_64 (default) 25GB SSD 100GB SSD 
 c3c.32x32 32GB 1000Mbps 32 Virtual UBUNTU_18_64, UBUNTU_20_64 (default) 25GB SSD 100GB SSD 
 c3c.32x64 64GB 1000Mbps 32 Virtual UBUNTU_18_64, UBUNTU_20_64 (default) 25GB SSD 100GB SSD 
 m3c.16x128 128GB 1000Mbps 16 Virtual UBUNTU_18_64, UBUNTU_20_64 (default) 25GB SSD 100GB SSD
u3c.2x4 4GB 1000Mbps 2 Virtual UBUNTU_18_64, UBUNTU_20_64 (default) 25GB SSD 100GB SSD 







 par 



Table 9. Worker node flavors for Paris.

 Name Memory Network speed Cores Type OS Primary storage Secondary storage 

 b3c.16x64 64GB 1000Mbps 16 Virtual UBUNTU_18_64, UBUNTU_20_64 (default) 25GB SSD 100GB SSD 
 b3c.16x64.300gb 64GB 1000Mbps 16 Virtual UBUNTU_18_64, UBUNTU_20_64 (default) 25GB SSD 300GB SSD 
 b3c.32x128 128GB 1000Mbps 32 Virtual UBUNTU_18_64, UBUNTU_20_64 (default) 25GB SSD 100GB SSD 
 b3c.4x16 16GB 1000Mbps 4 Virtual UBUNTU_18_64, UBUNTU_20_64 (default) 25GB SSD 100GB SSD 
 b3c.56x242 242GB 1000Mbps 56 Virtual UBUNTU_18_64, UBUNTU_20_64 (default) 25GB SSD 100GB SSD 
 b3c.8x32 32GB 1000Mbps 8 Virtual UBUNTU_18_64, UBUNTU_20_64 (default) 25GB SSD 100GB SSD 
 c3c.16x16 16GB 1000Mbps 16 Virtual UBUNTU_18_64, UBUNTU_20_64 (default) 25GB SSD 100GB SSD 
 c3c.16x32 32GB 1000Mbps 16 Virtual UBUNTU_18_64, UBUNTU_20_64 (default) 25GB SSD 100GB SSD 
 c3c.32x32 32GB 1000Mbps 32 Virtual UBUNTU_18_64, UBUNTU_20_64 (default) 25GB SSD 100GB SSD
u3c.2x4 4GB 1000Mbps 2 Virtual REDHAT_7_64 (default), REDHAT_8_64 25GB SSD 100GB SSD 







 mil 



Table 6. Worker node flavors for Milan.

 Name Memory Network speed Cores Type OS Primary storage Secondary storage 

 b3c.16x64 64GB 1000Mbps 16 Virtual REDHAT_7_64 (default), REDHAT_8_64 25GB SSD 100GB SSD 
 b3c.16x64.300gb 64GB 1000Mbps 16 Virtual REDHAT_7_64 (default), REDHAT_8_64 25GB SSD 300GB SSD 
 b3c.32x128 128GB 1000Mbps 32 Virtual REDHAT_7_64 (default), REDHAT_8_64 25GB SSD 100GB SSD 
 b3c.4x16 16GB 1000Mbps 4 Virtual REDHAT_7_64 (default), REDHAT_8_64 25GB SSD 100GB SSD 
 b3c.56x242 242GB 1000Mbps 56 Virtual REDHAT_7_64 (default), REDHAT_8_64 25GB SSD 100GB SSD 
 b3c.8x32 32GB 1000Mbps 8 Virtual REDHAT_7_64 (default), REDHAT_8_64 25GB SSD 100GB SSD 
 c3c.16x16 16GB 1000Mbps 16 Virtual REDHAT_7_64 (default), REDHAT_8_64 25GB SSD 100GB SSD 
 c3c.16x32 32GB 1000Mbps 16 Virtual REDHAT_7_64 (default), REDHAT_8_64 25GB SSD 100GB SSD 
 c3c.32x32 32GB 1000Mbps 32 Virtual REDHAT_7_64 (default), REDHAT_8_64 25GB SSD 100GB SSD 
 c3c.32x64 64GB 1000Mbps 32 Virtual REDHAT_7_64 (default), REDHAT_8_64 25GB SSD 100GB SSD
cpu [CPU metrics](https://github.com/prometheus-community/windows_exporter/blob/master/docs/collector.cpu.md) 
 cs [Computer system metrics](https://github.com/prometheus-community/windows_exporter/blob/master/docs/collector.cs.md) 
 logical_disk [Disk metrics](https://github.com/prometheus-community/windows_exporter/blob/master/docs/collector.logical_disk.md) 
 os [Operating System metrics](https://github.com/prometheus-community/windows_exporter/blob/master/docs/collector.os.md) 
 system [System metrics](https://github.com/prometheus-community/windows_exporter/blob/master/docs/collector.system.md) 
 net [Network interface metrics](https://github.com/prometheus-community/windows_exporter/blob/master/docs/collector.net.md) 
 memory [Memory metrics](https://github.com/prometheus-community/windows_exporter/blob/master/docs/collector.memory.md) 



To learn how to configure the Windows exporter, see [Monitoring a Windows environment](https://cloud.ibm.com/docs/monitoring?topic=monitoring-windows).

The legacy Prometheus WMI Exporter is still supported, see [Monitoring a Windows environment using the legacy WMI Exporter](https://cloud.ibm.com/docs/monitoring?topic=monitoring-windows_wmi) for information on the WMI Exporter.





 IPMI exporter 

In addition to the set of metrics that are automatically collected by the monitoring agent, you might want to collect other metrics such as sensor metrics.
Allow TCP inbound traffic to port 9100 and any other ports that your application uses to expose metrics within the VPC [access control list](https://cloud.ibm.com/docs/vpc?topic=vpc-using-acls) and [security group](https://cloud.ibm.com/docs/vpc?topic=vpc-using-security-groups) that your virtual server instance is in.
2. Within the Red Hat OpenShift on IBM Cloud cluster, create a project called monitoring-vpc-vsi.

oc new-project monitoring-vpc-vsi
3. For each of your virtual server instances apply the following configuration into the monitoring-vpc-vsi project. Make the appropriate changes where noted with <variables>. The following content is a sample and assumes that it is scraping your virtual server instance by using the HTTP protocol on port 9100 with the path of /metrics:



1. Apply the Service resource:

kind: Service
apiVersion: v1
metadata:
name: vsi-<Name of VSI you used to provision>
namespace: monitoring-vpc-vsi
labels:
k8s-app: vsi-<Name of VSI you used to provision>
spec:
externalName: <IP Address of your VSI>
type: ExternalName
ports:
- name: http
port: 9100
protocol: TCP
targetPort: 9100
2. Apply the Endpoint resource:

apiVersion: v1
kind: Endpoints
metadata:
name: vsi-<Name of VSI you used to provision>
namespace: monitoring-vpc-vsi
labels:
k8s-app: vsi-<Name of VSI you used to provision>
subsets:
- addresses:
- ip: <IP Address of your VSI>
ports:
- name: http
port: 9100
protocol: TCP
3. Apply the ServiceMonitor resource:

apiVersion: monitoring.coreos.com/v1
sg=0738-2d364f0a-a870-42c3-a554-000000981149

Now create a rule to allow SSH traffic:

ibmcloud is sg-rulec $sg inbound tcp --port-min=22 --port-max=22

Optionally, you can also add a rule to allow ping traffic:

ibmcloud is sg-rulec $sg inbound icmp --icmp-type 8 --icmp-code 0

For Windows images, make sure the security group that is associated with the instance allows inbound and outbound Remote Desktop Protocol traffic (TCP port 3389).





 Log in to your instance 

For example, on Linux you can use a command of this form:

ssh -i $HOME/.ssh/id_rsa root@$address

The user login 'root' is disabled by default in Fedora Core OS. The user login 'core' can be used to log in to Fedora Core OS instances.

When you're prompted to continue connecting, type yes.

SSH access into the instance might be prevented by security groups. Make sure the instance's security group allows SSH access.

To connect to a Windows image, log in using its decrypted password. For instructions, see [Connecting to your Windows instance](https://cloud.ibm.com/docs/vpc?topic=vpc-vsi_is_connecting_windows).





 Monitoring your instance 

You can monitor the CPU, volume, memory, and network usage of your instance over time in the IBM Cloud console. Because the monitoring data is stored in IBM Cloud Monitoring, you must be authenticated to an instance of the Monitoring service in your account. For more information, see [Getting started with monitoring](https://cloud.ibm.com/docs/monitoring?topic=monitoring-getting-started).

For IBM Cloud Hyper Protect Virtual Servers for IBM Cloud® Virtual Private Cloud instances, the memory metrics cannot be collected because IBM Cloud Hyper Protect Virtual Servers for IBM Cloud® Virtual Private Cloud instances are created using Secure Execution images and the memory of a secure execution instance is not accessible.





 Create a VPN gateway
u3c.2x4 4GB 1000Mbps 2 Virtual REDHAT_7_64 (default), REDHAT_8_64 25GB SSD 100GB SSD 







 wdc 



Table 16. Worker node flavors for Washington DC.

 Name Memory Network speed Cores Type OS Primary storage Secondary storage 

 b3c.16x64 64GB 1000Mbps 16 Virtual REDHAT_7_64 (default), REDHAT_8_64 25GB SSD 100GB SSD 
 b3c.16x64.300gb 64GB 1000Mbps 16 Virtual REDHAT_7_64 (default), REDHAT_8_64 25GB SSD 300GB SSD 
 b3c.32x128 128GB 1000Mbps 32 Virtual REDHAT_7_64 (default), REDHAT_8_64 25GB SSD 100GB SSD 
 b3c.4x16 16GB 1000Mbps 4 Virtual REDHAT_7_64 (default), REDHAT_8_64 25GB SSD 100GB SSD 
 b3c.56x242 242GB 1000Mbps 56 Virtual REDHAT_7_64 (default), REDHAT_8_64 25GB SSD 100GB SSD 
 b3c.8x32 32GB 1000Mbps 8 Virtual REDHAT_7_64 (default), REDHAT_8_64 25GB SSD 100GB SSD 
 c3c.16x16 16GB 1000Mbps 16 Virtual REDHAT_7_64 (default), REDHAT_8_64 25GB SSD 100GB SSD 
 c3c.16x32 32GB 1000Mbps 16 Virtual REDHAT_7_64 (default), REDHAT_8_64 25GB SSD 100GB SSD 
 c3c.32x32 32GB 1000Mbps 32 Virtual REDHAT_7_64 (default), REDHAT_8_64 25GB SSD 100GB SSD 
 c3c.32x64 64GB 1000Mbps 32 Virtual REDHAT_7_64 (default), REDHAT_8_64 25GB SSD 100GB SSD
subjectAttribute := &iampolicymanagementv1.SubjectAttribute{
Name: core.StringPtr("iam_id"),
Value: core.StringPtr("IBMid-123453user"),
}
policySubjects := &iampolicymanagementv1.PolicySubject{
Attributes: []iampolicymanagementv1.SubjectAttribute{subjectAttribute},
}
policyRoles := &iampolicymanagementv1.PolicyRole{
RoleID: core.StringPtr("crn:v1:bluemix:public:metrics-router::::serviceRole:Viewer"),
}
accountIDResourceAttribute := &iampolicymanagementv1.ResourceAttribute{
Name: core.StringPtr("accountId"),
Value: core.StringPtr("ACCOUNT_ID"),
Operator: core.StringPtr("stringEquals"),
}
serviceNameResourceAttribute := &iampolicymanagementv1.ResourceAttribute{
Name: core.StringPtr("serviceName"),
Value: core.StringPtr("metrics-router"),
Operator: core.StringPtr("stringEquals"),
}
policyResources := &iampolicymanagementv1.PolicyResource{
Attributes: []iampolicymanagementv1.ResourceAttribute{
accountIDResourceAttribute, serviceNameResourceAttribute}
}

options := iamPolicyManagementService.NewCreatePolicyOptions(
"access",
[]iampolicymanagementv1.PolicySubject{policySubjects},
[]iampolicymanagementv1.PolicyRole{policyRoles},
serviceNameSubjectAttribute := &iampolicymanagementv1.SubjectAttribute{
Name: core.StringPtr("serviceName"),
Value: "metrics-router",
Operator: core.StringPtr("stringEquals"),
}
policySubjects := &iampolicymanagementv1.PolicySubject{
Attributes: []iampolicymanagementv1.SubjectAttribute{accountSubjectAttribute,
serviceNameSubjectAttribute},
}
policyRoles := &iampolicymanagementv1.PolicyRole{
RoleID: core.StringPtr("crn:v1:bluemix:public:sysdig-monitor::::serviceRole:Publisher"),
}
accountIDResourceAttribute := &iampolicymanagementv1.ResourceAttribute{
Name: core.StringPtr("accountId"),
Value: core.StringPtr(exampleAccountID),
Operator: core.StringPtr("stringEquals"),
}
serviceNameResourceAttribute := &iampolicymanagementv1.ResourceAttribute{
Name: core.StringPtr("serviceName"),
Value: core.StringPtr("sysdig-monitor"),
Operator: core.StringPtr("stringEquals"),
}
policyResources := &iampolicymanagementv1.PolicyResource{
Attributes: []iampolicymanagementv1.ResourceAttribute{
accountIDResourceAttribute, serviceNameResourceAttribute},
}

options := iamPolicyManagementService.NewCreatePolicyOptions(
"authorization",
[]iampolicymanagementv1.PolicySubject{policySubjects},
* Supported operating systems: Red Hat CoreOS (RHCOS), RHEL 8 (REDHAT_8_64), RHEL 7 (REDHAT_7_64) (default)
* [Version information and update actions](https://cloud.ibm.com/docs/openshift?topic=openshift-cs_versions_49)
* [Change log](https://cloud.ibm.com/docs/openshift?topic=openshift-openshift_changelog_49)







 Clusters in Satellite locations without CoreOS enabled 

Latest: 4.13 (Kubernetes 1.26)



* Release date: 14 June 2023
* End of support: 26 February 2025†
* Supported operating systems: RHEL 8 (REDHAT_8_64)
* [Version information and update actions](https://cloud.ibm.com/docs/openshift?topic=openshift-cs_versions_413)
* [Change log](https://cloud.ibm.com/docs/openshift?topic=openshift-openshift_changelog_413)



4.12 (Kubernetes 1.25)



* Release date: 23 February 2023
* End of support: 26 February 2025†
* Supported operating systems: RHEL 8 (REDHAT_8_64)
* [Version information and update actions](https://cloud.ibm.com/docs/openshift?topic=openshift-cs_versions_412)
* [Change log](https://cloud.ibm.com/docs/openshift?topic=openshift-openshift_changelog_412)



Default: 4.11 (Kubernetes 1.24)



* Release date: 31 August 2022
* End of support: 06 March 2024†
* Supported operating systems: RHEL 8 (REDHAT_8_64)
* [Version information and update actions](https://cloud.ibm.com/docs/openshift?topic=openshift-cs_versions_411)
b3c.8x32 32GB 1000Mbps 8 Virtual UBUNTU_18_64, UBUNTU_20_64 (default) 25GB SSD 100GB SSD 
 c3c.16x16 16GB 1000Mbps 16 Virtual UBUNTU_18_64, UBUNTU_20_64 (default) 25GB SSD 100GB SSD 
 c3c.16x32 32GB 1000Mbps 16 Virtual UBUNTU_18_64, UBUNTU_20_64 (default) 25GB SSD 100GB SSD 
 m3c.4x32 32GB 1000Mbps 4 Virtual UBUNTU_18_64, UBUNTU_20_64 (default) 25GB SSD 100GB SSD 
 u3c.2x4 4GB 1000Mbps 2 Virtual UBUNTU_18_64, UBUNTU_20_64 (default) 25GB SSD 100GB SSD 







 syd 



Table 13. Worker node flavors for Sydney.

 Name Memory Network speed Cores Type OS Primary storage Secondary storage 

 b3c.16x64 64GB 1000Mbps 16 Virtual UBUNTU_18_64, UBUNTU_20_64 (default) 25GB SSD 100GB SSD 
 b3c.16x64.300gb 64GB 1000Mbps 16 Virtual UBUNTU_18_64, UBUNTU_20_64 (default) 25GB SSD 300GB SSD 
 b3c.32x128 128GB 1000Mbps 32 Virtual UBUNTU_18_64, UBUNTU_20_64 (default) 25GB SSD 100GB SSD 
 b3c.4x16 16GB 1000Mbps 4 Virtual UBUNTU_18_64, UBUNTU_20_64 (default) 25GB SSD 100GB SSD 
 b3c.56x242 242GB 1000Mbps 56 Virtual UBUNTU_18_64, UBUNTU_20_64 (default) 25GB SSD 100GB SSD
u3c.2x4 4GB 1000Mbps 2 Virtual UBUNTU_18_64, UBUNTU_20_64 (default) 25GB SSD 100GB SSD 







 osa 



Table 8. Worker node flavors for Osaka.

 Name Memory Network speed Cores Type OS Primary storage Secondary storage 

 b3c.16x64 64GB 1000Mbps 16 Virtual UBUNTU_18_64, UBUNTU_20_64 (default) 25GB SSD 100GB SSD 
 b3c.16x64.300gb 64GB 1000Mbps 16 Virtual UBUNTU_18_64, UBUNTU_20_64 (default) 25GB SSD 300GB SSD 
 b3c.32x128 128GB 1000Mbps 32 Virtual UBUNTU_18_64, UBUNTU_20_64 (default) 25GB SSD 100GB SSD 
 b3c.4x16 16GB 1000Mbps 4 Virtual UBUNTU_18_64, UBUNTU_20_64 (default) 25GB SSD 100GB SSD 
 b3c.56x242 242GB 1000Mbps 56 Virtual UBUNTU_18_64, UBUNTU_20_64 (default) 25GB SSD 100GB SSD 
 b3c.8x32 32GB 1000Mbps 8 Virtual UBUNTU_18_64, UBUNTU_20_64 (default) 25GB SSD 100GB SSD 
 c3c.16x16 16GB 1000Mbps 16 Virtual UBUNTU_18_64, UBUNTU_20_64 (default) 25GB SSD 100GB SSD 
 c3c.16x32 32GB 1000Mbps 16 Virtual UBUNTU_18_64, UBUNTU_20_64 (default) 25GB SSD 100GB SSD 
 c3c.32x32 32GB 1000Mbps 32 Virtual UBUNTU_18_64, UBUNTU_20_64 (default) 25GB SSD 100GB SSD
.subjects(Arrays.asList(policySubjects))
.roles(Arrays.asList(policyRoles))
.resources(Arrays.asList(policyResources))
.build();

Response<Policy> response = service.createPolicy(options).execute();
Policy policy = response.getResult();

System.out.println(policy);

policy_subjects = PolicySubject(
attributes=[SubjectAttribute(name='iam_id', value='IBMid-123453user')])
policy_roles = PolicyRole(
role_id='crn:v1:bluemix:public:metrics-router::::serviceRole:Viewer')
account_id_resource_attribute = ResourceAttribute(
name='accountId', value='ACCOUNT_ID')
service_name_resource_attribute = ResourceAttribute(
name='serviceName', value='metrics-router')
policy_resources = PolicyResource(
attributes=[account_id_resource_attribute,
service_name_resource_attribute])

policy = iam_policy_management_service.create_policy(
type='access',
subjects=[policy_subjects],
roles=[policy_roles],
resources=[policy_resources]
).get_result()

print(json.dumps(policy, indent=2))

subjectAttribute := &iampolicymanagementv1.SubjectAttribute{
Name: core.StringPtr("iam_id"),
Value: core.StringPtr("IBMid-123453user"),
}
policySubjects := &iampolicymanagementv1.PolicySubject{
Attributes: []iampolicymanagementv1.SubjectAttribute{subjectAttribute},
}
Name Memory Network speed Cores Type OS Primary storage Secondary storage Secondary storage options 

 bx2.16x64 64GB 24Gbps 16 Virtual UBUNTU_18_64, UBUNTU_20_64 (default) 100GB BLOCK N/A 900gb.5iops-tier, 1200gb.5iops-tier, 1600gb.5iops-tier, 2400gb.10iops-tier, 3000gb.10iops-tier, 4000gb.10iops-tier 
 bx2.2x8 8GB 4Gbps 2 Virtual UBUNTU_18_64, UBUNTU_20_64 (default) 100GB BLOCK N/A N/A 
 bx2.32x128 128GB 25Gbps 32 Virtual UBUNTU_18_64, UBUNTU_20_64 (default) 100GB BLOCK N/A 900gb.5iops-tier, 1200gb.5iops-tier, 1600gb.5iops-tier, 2400gb.10iops-tier, 3000gb.10iops-tier, 4000gb.10iops-tier 
 bx2.48x192 192GB 25Gbps 48 Virtual UBUNTU_18_64, UBUNTU_20_64 (default) 100GB BLOCK N/A 900gb.5iops-tier, 1200gb.5iops-tier, 1600gb.5iops-tier, 2400gb.10iops-tier, 3000gb.10iops-tier, 4000gb.10iops-tier 
 bx2.4x16 16GB 8Gbps 4 Virtual UBUNTU_18_64, UBUNTU_20_64 (default) 100GB BLOCK N/A 900gb.5iops-tier, 1200gb.5iops-tier, 1600gb.5iops-tier
IO utilization in percent 5 minute average metric metadata

 Metadata Description 

 Metric Name ibm_databases_for_elasticsearch_disk_io_utilization_percent_average_5m 
 Metric Type gauge 
 Value Type percent 
 Segment By Service instance 







 IO usage in percent 60 minute average 

Disk I/O usage over 60 minutes as a percentage of total disk I/O available.



Table 9. IO utilization in percent 60 minute average metric metadata

 Metadata Description 

 Metric Name ibm_databases_for_elasticsearch_disk_io_utilization_percent_average_60m 
 Metric Type gauge 
 Value Type percent 
 Segment By Service instance 







 IOPS read and write total count for an instance 

How many input/output operations per second your deployment is performing.



Table 10. IOPS read and write total count for an instance metric metadata

 Metadata Description 

 Metric Name ibm_databases_for_elasticsearch_disk_iops_read_write_total 
 Metric Type gauge 
 Value Type count 
 Segment By Service instance 







 Max allowed memory for an instance 

The maximum amount of memory available to your deployment.



Table 11. Max allowed memory for an instance metric metadata

 Metadata Description 

 Metric Name ibm_databases_for_elasticsearch_memory_limit_bytes 
 Metric Type gauge 
 Value Type byte 
 Segment By Service instance 







 Number of unassigned shards 

The number of unassigned shards.



Table 12. Number of unassigned shards metric metadata

 Metadata Description 

 Metric Name ibm_databases_for_elasticsearch_unassigned_shards_total 
 Metric Type gauge 
 Value Type count 
 Segment By Service instance 







 Total disk space for an instance 

The total amount of disk available to your deployment.



Table 13. Total disk space for an instance metric metadata

 Metadata Description 

 Metric Name ibm_databases_for_elasticsearch_disk_total_bytes 
 Metric Type gauge 
 Value Type byte 
 Segment By Service instance 







 Used CPU for an instance 

How much CPU is used as a percentage of total CPU available. Only for deployments that have dedicated CPU.



Table 14. Used CPU for an instance metric metadata

 Metadata Description