vania-janet/multiturn-rag-retrieval-data huggingface dataset:
For example, to scale the memory of the "example-deployment" to 2048 MB of RAM for each memory member (for a total memory of 4096 MB), you use the command

ibmcloud cdb deployment-groups-set example-deployment member --memory 4096





 Scaling in the API 

The Foundation Endpoint that is shown on the Overview panel Deployment details of your service provides the base URL to access this deployment through the API. Use it with the /groups endpoint if you need to manage or automate scaling programmatically.

To view the current and scalable resources on a deployment, use

curl -X GET -H "Authorization: Bearer $APIKEY" 'https://api.{region}.databases.cloud.ibm.com/v4/ibm/deployments/{id}/groups'

To scale the memory of a deployment to 2048 MB of RAM for each memory member (for a total memory of 4096 MB).

curl -X PATCH 'https://api.{region}.databases.cloud.ibm.com/v4/ibm/deployments/{id}/groups/member' -H "Authorization: Bearer $APIKEY" -H "Content-Type: application/json" -d '{"memory": {
"allocation_mb": 4096
}
}'

More information is in the [API Reference](https://cloud.ibm.com/apidocs/cloud-databases-apiget-currently-available-scaling-groups-from-a-depl).
10 vCPU <br>20 GB 10 vCPU <br>40 GB 
 12 vCPU <br>24 GB 12 vCPU <br>48 GB 



Your existing apps and jobs might be using other memory and CPU combinations, and those will remain unaffected. However, these other combinations are not valid and only the valid combinations are supported. Therefore, any new apps or jobs as well as any changes to existing apps or jobs must comply with the list of valid choices.





 Units of measurement 

Decimal units such as kilobyte (KB), megabyte (MB), and gigabyte (GB) are commonly used to express the size of data. Binary units of measurement include kibibyte (KiB), mebibyte (MiB), and gibibyte (GiB). The following table compares the names, symbols, and values of decimal and binary units.



Table 2. Comparison of binary and decimal units and values

 Binary name Binary value (base 2) Decimal name Decimal value (base 10) 

 kibibyte (KiB) 2^10 kilobyte (KB) 10^3 
 mebibyte (MiB) 2^20 megabyte (MB) 10^6 
 gibibyte (GiB) 2^30 gigabyte (GB) 10^9 
 tebibyte (TiB) 2^40 terabyte (TB) 10^12
Use it with the /groups endpoint if you need to manage or automate scaling programmatically.

To view the current and scalable resources on a deployment, use

curl -X GET -H "Authorization: Bearer $APIKEY" 'https://api.{region}.databases.cloud.ibm.com/v4/ibm/deployments/{id}/groups'

To scale the memory of a deployment to 2048 MB of RAM for each memory member (for a total memory of 4096 MB).

curl -X PATCH 'https://api.{region}.databases.cloud.ibm.com/v4/ibm/deployments/{id}/groups/member' -H "Authorization: Bearer $APIKEY" -H "Content-Type: application/json" -d '{"memory": {
"allocation_mb": 4096
}
}'

More information is in the [API Reference](https://cloud.ibm.com/apidocs/cloud-databases-apiget-currently-available-scaling-groups-from-a-depl).
To view the current and scalable resources on a deployment, use

curl -X GET -H "Authorization: Bearer $APIKEY" 'https://api.{region}.databases.cloud.ibm.com/v4/ibm/deployments/{id}/groups'

To scale the memory of a deployment to 2048 MB of RAM for each memory member (for a total memory of 4096 MB).

curl -X PATCH 'https://api.{region}.databases.cloud.ibm.com/v4/ibm/deployments/{id}/groups/member' -H "Authorization: Bearer $APIKEY" -H "Content-Type: application/json" -d '{"memory": {
"allocation_mb": 4096
}
}'

For more information, see [API Reference](https://cloud.ibm.com/apidocs/cloud-databases-apiget-currently-available-scaling-groups-from-a-depl).
For example, specify the following parameter for audio data that is captured at 16 kHz in little-endian format:<br><br>audio/l16;rate=16000;endianness=little-endian<br><br>Section 5.1 of [Request for Comment (RFC) 2045](https://tools.ietf.org/html/rfc2045section-5.1) specifies big-endian format for audio/l16 data, but many people use little-endian format. 



For more information, see the IETF [Request for Comment (RFC) 2586](https://tools.ietf.org/html/rfc2586) and [Pulse-code modulation](https://wikipedia.org/wiki/Pulse-code_modulation).





 audio/mp3 and audio/mpeg formats 

MP3 (audio/mp3) or Motion Picture Experts Group (MPEG) (audio/mpeg) is a lossy audio format. (MP3 and MPEG refer to the same format.) For more information, see [MP3](https://wikipedia.org/wiki/MP3).





 audio/mulaw format 

Mu-law (audio/mulaw) is a single-channel, lossy audio format. The data is encoded by using the u-law (or mu-law) algorithm. The audio/basic format is an equivalent format that is always sampled at 8 kHz. When you use this format, the service requires an extra parameter on the format specification.



Table 4. Parameter for audio/mulaw format

 Parameter Description 

 rate <br>Required An integer that specifies the sampling rate at which the audio is captured. For example, specify the following parameter for audio data that is captured at 8 kHz:<br><br>audio/mulaw;rate=8000 



For more information, see [M-law algorithm](https://wikipedia.org/wiki/M-law_algorithm).





 audio/ogg format 

Ogg (audio/ogg) is an open container format that is maintained by the Xiph.org Foundation ([xiph.org/ogg](https://www.xiph.org/ogg)).
IO utilization in percent 60 minute average metric metadata

 Metadata Description 

 Metric Name ibm_messages_for_rabbitmq_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 6. IOPS read and write total count for an instance metric metadata

 Metadata Description 

 Metric Name ibm_messages_for_rabbitmq_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 7. Max allowed memory for an instance metric metadata

 Metadata Description 

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







 Total disk space for an instance 

Represents the total amount of disk available to your deployment.



Table 8. Total disk space for an instance metric metadata

 Metadata Description 

 Metric Name ibm_messages_for_rabbitmq_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 9. Used CPU for an instance metric metadata

 Metadata Description 

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







 Used disk space for an instance 

How much disk your deployment is using.



Table 10. Used disk space for an instance metric metadata

 Metadata Description 

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







 Used memory for an instance 

How much memory your deployment is using.



Table 11. Used memory for an instance metric metadata

 Metadata Description 

 Metric Name ibm_messages_for_rabbitmq_memory_used_bytes
System Types are listed by SAP on [SAP HANA System Types](https://help.sap.com/viewer/2c1988d620e04368aa4103bf26f17727/latest/en-US/df16fa40b3dc4ed3b86e575ad6d1198d.html) as:



* Single-host system - one SAP HANA instance on one host server
* Multi-node / distributed / scale-out cluster



A single-host system is the simplest system installation type. It is possible to run an SAP HANA system entirely on one host server and then scale the system up as needed.

A multi-node / distributed / scale-out cluster is a system installation across multiple host servers with a limit on the CPU/RAM for each host node and a limit on the number of host nodes that can be used. Information on the maximum scale-out configurations, is listed in the [SAP HANA Hardware Directory - Certified IaaS Platforms](https://www.sap.com/dmc/exp/2014-09-02-hana-hardware/enEN//solutions?filters=iaas).



 SAP HANA scale-out cluster 

Use of scale-out is primarily designed for SAP BW/4HANA or SAP BW on HANA. The [Scale-up and Scale-out for SAP BW/4HANA](https://cloud.ibm.com/docs/sap?topic=sap-bw4hanabw4hana-hana-scaling) considerations at the application-layer is covered separately. These consideratios are in addition to database-layer considerations described in the following sections.

It is important to note that if your SAP HANA database server nodes or SAP NetWeaver application server components are distributed across multiple availability zones and data centers, SAP will not support your SAP HANA scale-out cluster (aka. SAP HANA multi-node system).

IBM Power Systems Virtual Servers does not support scale-out for either OLAP or OLTP processing types.



 Networking 

SAP HANA multi-node requires certain networks be in place to function. Before you order other components of your system, these networks must be set up correctly and together with the database nodes.
term(enriched_text.entities.text,count:45).unique_count(enriched_text.entities.type)
The results include several aggregations such as the following group for the term PostgreSQL. The aggregation indicates that the term appears in 4 documents and is mentioned 12 times. {
"key": "PostgreSQL",
"matching_results": 4,
"aggregations":
{
"type": "unique_count",
"field": "enriched_text.entities.type",
"value": 12.0
}
] ! ! ! ! !
PM-7 - Enterprise Architecture 



  Control requirements 

PM-7 - 0
:   The organization develops an enterprise architecture with consideration for information security and the resulting risk to organizational operations, organizational assets, individuals, other organizations, and the Nation.





  Additional IBM Cloud for Financial Services specifications 



*  Contingency planning activities must consider all dependencies within the supply chain.
When you assign permissions for an enterprise you can give access to the full enterprise or specific accounts or account groups. To learn more about recommendations for enterprises, see [Best practices for enterprises](https://cloud.ibm.com/docs/security-compliance?topic=security-compliance-best-practicesbp-enterprise).



1. In the Console, go to Manage > Access (IAM) > Roles and click Create.
2. Give your role a name, programatic ID, and description. For example, Compliance focals, ComplianceFocals, and Permissions required for compliance focals to work with Security and Compliance Center.
3. From the Service drop-down, select Enterprise, and then add the following actions.



* enterprise.enterprise.attach-config-rules
* enterprise.enterprise.detach-config-rules
* enterprise.enterprise.update-config-rules
* enterprise.account-group.attach-config-rules
* enterprise.account-group.detach-config-rules
* enterprise.account-group.update-config-rules
* enterprise.account.attach-config-rules
* enterprise.account.detach-config-rules
* enterprise.account.update-config-rules
* enterprise.account.retrieve
* enterprise.account-group.retrieve
* enterprise.enterprise.retrieve
* global-search-tagging.resource.read



4. Review your selections to ensure you've added the correct permissions and click Create.







 Assigning access to Satellite 

To evaluate the resources that run on Satellite, you must create a service-to-service authorization between Security and Compliance Center and Satellite. To create a new authorization through the IAM UI, you can use the following steps.



1. In the IBM Cloud console, go to Manage > Access (IAM) > Authorizations.
2. Click Create.
3. Select Security and Compliance Center from the Source service drop-down.
4. Leave All resources selected.
5. Select Satellite from the Target service drop-down.
6.
Specifying product metadata for onboarding a product to a private catalog 

When you prepare to onboard a version of a deployable architecture or software to a private catalog, you can use a JSON file that is named ibm_catalog.json, also referred to as a catalog manifest file, to automatically import product and version information. By using this file, you can avoid manually entering metadata in the console each time you onboard a new version and automate the process of onboarding products to your private catalogs.

A catalog manifest file includes information such as the name of a product, usage instructions, security and compliance controls, IAM access requirements, and more. If you plan to automate the onboarding process by [importing a version with the CLI](https://cloud.ibm.com/docs/secure-enterprise?topic=secure-enterprise-onboard-custom&interface=cli), you must include this file in your root directory.

You can start from the ibm_catalog.json file that is provided by existing deployable architectures to help reduce time and effort manually creating it. For example, if you choose to customize a deployable architecture from the IBM Cloud catalog, an ibm_catalog.json catalog manifest file is created for you with some information included. You can review, add, edit, delete, and update the file to fit your needs.



 Creating your catalog manifest file 

When you find a deployable architecture in the IBM Cloud catalog that interests you, you can customize it to fit your business needs. Then, you can share it with accounts, account groups, or the entire enterprise from a private catalog.



1. Go to the [IBM Cloud catalog](https://cloud.ibm.com/catalogreference_architecture), and select a deployable architecture.
2. Click Review deployment options > Customize locally > Start customizing to download a customization bundle that includes a prebuilt catalog manifest file.
3. Use the following documentation to review and customize the JSON file:



* [Catalog manifest template](https://cloud.ibm.com/docs/secure-enterprise?topic=secure-enterprise-manifestmanifest-template)
[An example of the enterprise hierarchy and user access management](https://cloud.ibm.com/docs-content/v1/content/217f108cc44e2ce15fb692d4b57b4c628464e908/hs-crypto//images/enterprise-hierarchy-example.svg)

Figure 2. An example of the enterprise hierarchy and user access management



* Use separate accounts and distinct resource groups to manage instances for development purpose and production purpose.
* Assign users the minimum access to the corresponding resources. For example, assign the enterprise managers the administrator role for accounts and billing management. Assign the developer team members the editor and manager roles for performing operations toward the development instance. Assign other members the viewer and reader role for viewing only instance resources.







 What's next 

Account owners and admins can invite users and set service policies that correspond to the Hyper Protect Crypto Services actions the users can perform. For more information about assigning user roles, see [Managing access to resources](https://cloud.ibm.com/docs/account?topic=account-assign-access-resources).
ESA-2 - Support Desk Tooling and Technology 



  Control requirements 

ESA-2 - 0
:   Help desk capabilities shall be able to meet the demands of fluctuating customer workloads with commensurate technologies.
System.out.printf("List all legal holds on object %s in bucket %sn", objectName, bucketName);

ListLegalHoldsResult result = cos.listLegalHolds(
bucketName,
objectName
);

System.out.printf("Legal holds on bucket %s: n", bucketName);

List<LegalHold> holds = result.getLegalHolds();
for (LegalHold hold : holds) {
System.out.printf("Legal Hold: %s", hold);
}
}

def list_legal_holds_on_object(bucket_name, object_name):
print("List all legal holds on object {0} in bucket {1}n".format(object_name, bucket_name));

response = cos.list_legal_holds(
Bucket=bucket_name,
Key=object_name
)

print("Legal holds on bucket {0}: {1}n".format(bucket_name, response))

function listLegalHoldsOnObject(bucketName, objectName) {
console.log(List all legal holds on object ${objectName} in bucket ${bucketName});
return cos.listLegalHolds({
Bucket: bucketName,
Key: objectId
}).promise()
.then((data) => {
console.log(Legal holds on bucket ${bucketName}: ${data});
})
.catch((e) => {
console.log(ERROR: ${e.code} - ${e.message}n);
});
}
GET https://{bucket-name}.{endpoint}/{object-name}?legalHold= virtual host style

Example request

GET /BucketName/ObjectName?legalHold HTTP/1.1
Host: myBucket.mydsNet.corp.com
Date: Fri, 8 Dec 2018 17:50:00 GMT
Authorization: {authorization-string}
Content-Type: text/plain

Example response

HTTP/1.1 200 OK
Date: Fri, 8 Dec 2018 17:51:00 GMT
Connection: close
<?xml version="1.0" encoding="UTF-8"?>
<RetentionState>
<CreateTime>Fri, 8 Sep 2018 21:33:08 GMT</CreateTime>
<RetentionPeriod>220752000</RetentionPeriod>
<RetentionPeriodExpirationDate>Fri, 1 Sep 2023 21:33:08
GMT</RetentionPeriodExpirationDate>
<LegalHoldSet>
<LegalHold>
<ID>SomeLegalHoldID</ID>
<Date>Fri, 8 Sep 2018 23:13:18 GMT</Date>
</LegalHold>
<LegalHold>
...
</LegalHold>
</LegalHoldSet>
</RetentionState>
Show more



* Java
* Python
* Node



public static void listLegalHoldsOnObject(String bucketName, String objectName) {
System.out.printf("List all legal holds on object %s in bucket %sn", objectName, bucketName);

ListLegalHoldsResult result = cos.listLegalHolds(
bucketName,
objectName
);

System.out.printf("Legal holds on bucket %s: n", bucketName);

List<LegalHold> holds = result.getLegalHolds();
for (LegalHold hold : holds) {
PM-9 - Risk Management Strategy 



  Control requirements 

The organization:

PM-9 (a)
:   Develops a comprehensive strategy to manage risk to organizational operations and assets, individuals, other organizations, and the Nation associated with the operation and use of information systems;

PM-9 (b)
:   Implements the risk management strategy consistently across the organization; and

PM-9 (c)
:   Reviews and updates the risk management strategy [IBM Assignment: at least annually] or as required, to address organizational changes.
Edge VPC Internet or other customer environment OS and software patch management HTTP/HTTPS (ports 80 and 443) software dependent software dependent not customer-sensitive 







 Endpoints specified by configurations 

When you provision this landscape by using the VPC landing zone presets, the following endpoints are configured. Additional endpoints might be configured separately after deployment by managing VPC and PowerVS services directly.



Table 3. Endpoints configured for customer access

 Name Type Description Zone Exposed to zones Authentication 

 Management access SSH SSH access for Linux root user. Management VPC IBM Cloud Schematics IP addresses Customer provided SSH key 



Access to the landscape over the customer defined IP or from customer environment is not configured. Additional IP addresses for management VSI can be added to the network ACL of management VPC. As an alternative, a VPN connection can be set up. Currently, setting up access is considered as a manual post deployment task that you are responsible for.
Bucket: bucketName,
Key: keyName,
LegalHold: {Status: 'ON'}
}).promise()
.then(() => {
console.log(Object lock legalhold added!!);
logDone();
})
.catch(logError);

}

function getObjectLockLegalhold(bucketName,keyName) {
console.log(Getting Objectlock legalhold for : ${keyName});
// Getting objectlock legalhold
return cos.getObjectLegalHold({
Bucket: bucketName,
Key: keyName
}).promise()
.then((data) => {
console.log(Objectlock legalhold for : ${keyName} );
console.log( JSON.stringify(data.LegalHold, null, " ") );
logDone();
})
.catch(logError);

}

// Main app
function main() {
try {
var newBucketName = "jscosbucket350";
var newTextFileName = "js_cos_bucket_file.txt";
var newTextFileContents = "This is a test file from Node.js code sample!!!";

createBucket(newBucketName) // Create a new cos bucket with object lock enabled.
.then(() => putObjectLockConfigurationonBucket(newBucketName)) // Put objectlock configuration(i.e. default retention) on COS bucket.
.then(() => getObjectLockConfigurationonBucket(newBucketName)) // Read objectlock configuration on COS bucket.
.then(() => createTextFile(newBucketName, newTextFileName, newTextFileContents)) // Upload an object to cos bucket.
Alpine Linux (main) Debian (matching Ubuntu main) UBUNTU (MAIN)







 IBM Cloud Shell 

This section consists of the following:



* CC-BY-1.0
* CC-BY-2.5
* CC-BY-3.0
* CC-BY-4.0
* CC-BY-SA-1.0
* CC-BY-SA-2.0
* CC-BY-SA-2.5
* CC-BY-SA-3.0
* CC-BY-SA-4.0





 Creative Commons Attribution 1.0 Generic 

The Program includes some or all of the following works licensed under the Creative Commons. The URL to the license is [https://creativecommons.org/licenses/by/1.0/legalcode](https://creativecommons.org/licenses/by/1.0/legalcode)

SIPHASH [NodeJS](https://nodejs.org/)





 Creative Commons Attribution 2.5 Generic 

The Program includes some or all of the following works licensed under the Creative Commons. The URL to the license is [https://creativecommons.org/licenses/by/2.5/legalcode](https://creativecommons.org/licenses/by/2.5/legalcode)

JCIP-ANNOTATIONS [HttpCore](https://mvnrepository.com/artifact/net.jcip/jcip-annotations), JAVAX.ANNOTATION.CONCURRENT [libjsr305-java](http://www.jcip.net)





 Creative Commons Attribution 3.0 Generic 

The Program includes some or all of the following works licensed under the Creative Commons. The URL to the license is [https://creativecommons.org/licenses/by/3.0/legalcode](https://creativecommons.org/licenses/by/3.0/legalcode)

DOCS.
[Avatar icon](https://cloud.ibm.com/docs-content/v1/content/4d8c6eec891cff72b666dc24bd3211810c77fb42/icons/i-avatar-icon.svg) > Profile and settings, and select Login settings.
2. In the Security questions seciton, click Set up.
3. Select the questions that you want to have and answer them. You must answer all three security questions.
4. Click Save when you're finished.



To update your security questions, click Edit.





 Enabling security questions 

Complete the following steps to turn on MFA security questions for a user:



1. In the IBM Cloud® console, click Manage > Access (IAM), and select Users.
2. Select a user from the list.
3. From the User details page in the Manage user's login section, set the Require MFA security questions at login option to On.



If the toggle Require MFA security questions at login is disabled and you can't turn it on or off, you don't have access to manage the MFA factor. You must be the account owner or have the User-managed login setting turned on. Contact your account owner or administrator to get access to turn on the User-managed login setting. To check if User-managed login is turned on, go to Manage > Access (IAM) > Users and click on yourself. View the User-managed login section.