...
borderColor | #7BD855 |
---|---|
titleColor | black |
borderWidth | 3 |
titleBGColor | #7BD855 |
borderStyle | solid |
title | IBM PowerVM preparation |
A user is required for the operation of the BVQ PowerVM Scanner who should at least have read-only (hmcviewer) access to the HMC.
Please create this user before configuring the BVQ Scanner. We recommend to name the user "bvq"
Please open the user properties dialogue and select "Allow remote access via the web"
...
...
Enable performance data collection
BVQ can only collect performance statistics if "Data Collection" is enabled on the managed systems and all LPARs.
Adjust System settings
Enable "Performance Monitoring Data Collection for Managed Servers"
To lower the system load and storage capacity usage on the HMC, we recommend to reduce the number of days to store performance data below the title "Performance Data Storage" to its minimum value of "1". BVQ takes over the role to store a longer history of that data.
Adjust LPAR settings
Switch on "Enable Performance Information Collection" on all LPARs
You can check the state of the "Performance Collection" enablement per LPAR easily. Run the following script on the HMC to show all LPARs without enabled collection:
Code Block | ||
---|---|---|
| ||
bvq@hmc3:~> for SYS in $(lssyscfg -r sys -F name); do lssyscfg -r lpar -m $SYS -F name,allow_perf_collection ; done | grep ",0"
rju_viot,0
IOS74DHP,0
HABS74D,0
HAQS74D,0
HAMS74D,0 |
BVQ Scanner configuration
To configure a PowerVM scanner in BVQ the following information is required:
- IP address or hostname of the HMC
- User and password of the HMC user for BVQ
Starting with BVQ 2023.H1: Redundant HMCs managing the same systems must be configured in the same PowerVM scanner. Otherwise, the managed systems will appear twice in BVQ. Define the most powerful HMC first, because the order of HMCs determines the order in which they are scanned by BVQ. Additional HMCs managing other systems should be configured in an additional PowerVM scanner.
Up to BVQ 2022.H2: Typically, two redundant HMCs manage the same IBM Power systems. Please ensure that only one scanner is created for one of the HMCs to avoid duplication in BVQ.
...
borderColor | #8F5CE2 |
---|---|
titleColor | white |
borderWidth | 3 |
titleBGColor | #8F5CE2 |
borderStyle | solid |
title | OS Agent for AIX & Linux preparation |
AIX and Linux are the first BVQ platforms where data is not pulled from the systems by the BVQ scanner. Instead, data is sent (pushed) from the OS on the LPARs to the BVQ Server by an BVQ OS Agent using SCP/SFTP. This means, an ssh-server on the BVQ Server is receiving data from the OS instances. Once an AIX or Linux BVQ Scanner is configured, the ssh-server is being started automatically and is listening on port 2222.
Note | ||
---|---|---|
| ||
Please ensure that port 2222 is not blocked by a firewall! |
BVQ Scanner configuration
To configure an AIX or Linux BVQ scanner the following information is required:
- NAME - Name of the AIX or Linux scanner
- INSTANCE GROUP NAME - Select a name which is used to group all AIX or Linux Instances (=partitions) together that are running the BVQ OS Agent for AIX or Linux. The number of instances per instance group should not exceed 50.
- USERNAME - This user authorizes the SCP/SFTP transfer from the AIX or Linux Instances to the BVQ Server. It will be configured during the installation process
- SSH PUBLIC KEY - Optional. Leave empty if you want to use the default ssh key-pair included in bvq_agent.tar.gz. If you want to use a different ssh key-pair type, then enter the content of the public ssh key file here and adjust bvq_config.sh on the OS agent accordingly.
Supported key types are:- ssh-rsa (default)
- ecdsa-sha2
- rsa-sha2-256
- ssh-ed25519
OS Agent installation
The BVQ Agent for AIX or Linux RPM installation package is automatically generated once a new BVQ AIX or Linux scanner configuration is being created in the BVQ WebUI. After the "Save"-button is pressed, the RPM package is automatically generated and can be downloaded directly. Further installation instructions can be found in the scanner configuration page or the readme included in the RPM download package.
OS User requirements
...
Alternatively, the BVQ AIX agent can be rolled out automatically to many systems using an AIX NIM server. The download package for AIX includes a script that helps configuring the NIM server.
Note | ||
---|---|---|
| ||
It is essential that BVQ Server and AIX/Linux clocks are in sync. Please ensure that NTP is configured and active on all monitored systems and the BVQ Server! The OS Agent cannot be installed or upgraded as long as NTP is not configured! |
...
borderColor | #33CBB1 |
---|---|
titleColor | white |
borderWidth | 3 |
titleBGColor | #33CBB1 |
borderStyle | solid |
title | VMware vSphere preparation |
A user is required for the operation of the BVQ VMware Scanner, who should at least have read-only access to the VMware vCenter system. The read-only permission for the user must be defined at the vCenter level. Permissions in a lower level (e.g. Datacenter, Cluster, ...) will lead to scan errors.
Please create this user before configuring the BVQ Scanner. We recommend to name the user: bvq
Create or select the right user role
Go to user roles
...
title | screenshot ... |
---|
Info | ||
---|---|---|
| ||
|
Duplicate (1) the read-only role and store it as BVQ-Read-only (2) and add the following privileges (3)
Datastore - browse datastore
Profile driven storage - view
Storage views - view
...
title | screenshot ... |
---|
Info | ||
---|---|---|
| ||
Create the BVQ User for the vCenter
Create the bvq user with the role "BVQ-read-only"
create it as vsphere.local or as AD user - please remember to add it correctly into the scanner dialog later
...
title | screenshot ... |
---|
Info | ||
---|---|---|
| ||
Add the user to the vCenter
Add the user to the vCenter (4) and do not forget to define it for all children
...
title | screenshot |
---|
Info | ||
---|---|---|
| ||
Add the right vCenter Statistics
...
Level 2 is sufficient for standard VMware
Level 3 should be used for VSANs
...
title | screenshot |
---|
Info | ||
---|---|---|
| ||
Note | ||
---|---|---|
| ||
During the BVQ performance scan of a vCenter server the CPU usage of the vCenter server will increase. Please monitor the vCenter server utilization depending on the workload to avoid performance degradation. |
Gather information for BVQ Scanner configuration
BVQ scanners need the following information to be configured for each vCenter system:
- vCenter IP address or hostname
- vCenter user domain
- vCenter ID and password of the bvq user
Preparation for the BVQ Server
For BVQ Servers which are gathering information from NetApps and vCenters, the correct DNS configuration is important.
Make sure that the BVQ Server, NetApp systems and vCenters are in the same domain and have the same DNS server configured.
This is required to match the DNS-Name of the NFS Datastores to the corresponding IP Adresses of the NFS file shares on NetApp systems.
...
borderColor | #24678D |
---|---|
titleColor | white |
borderWidth | 3 |
titleBGColor | #24678D |
borderStyle | solid |
title | Kubernetes preparation |
Kubernetes (k8s) clusters are scanned via 2 different methods:
- Kubernetes API Server for topology information
- BVQ Prometheus Server for topology & performance information
Kubernetes API Server
To gain access to the k8s API server the following preparations must be made:
- Create a 17105011 (CRD) to set up a k8s cluster as master grouping object (MGO) definition for BVQ
- Create a 17105011 instance (binded to the CRD) for the k8s cluster
- Create a 17105011 to get read-only (get, list, watch) access to the k8s cluster
- Create a 17105011 for authentication
Create a 17105011 to bind the ServiceAccount to the ClusterRole
Use kubectl apply -f
to create the expected objects. You can edit & use the all in one preparation YAML file to set up all requirements in one step.
(make sure all 5 objects are created properly - sometimes 17105011 creation fails due to the delayed creation of the 17105011)
CustomResourceDefinition
Create a CustomResourceDefinition (CRD) to set up a k8s cluster as master grouping object (MGO) definition for BVQ
...
language | yml |
---|---|
title | mgo-crd.yaml |
linenumbers | true |
collapse | true |
...
Table of Contents | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Panel | |||||
---|---|---|---|---|---|
| |||||
IBM PowerVMA user is required for the operation of the BVQ PowerVM Scanner who should at least have read-only (hmcviewer) access to the HMC. Please create this user before configuring the BVQ Scanner. We recommend to name the user "bvq" Please open the user properties dialogue and select "Allow remote access via the web"
BVQ can only collect performance statistics if "Data Collection" is enabled on the managed systems and all LPARs. Adjust System settings Enable "Performance Monitoring Data Collection for Managed Servers" To lower the system load and storage capacity usage on the HMC, we recommend to reduce the number of days to store performance data below the title "Performance Data Storage" to its minimum value of "1". BVQ takes over the role to store a longer history of that data. Adjust LPAR settings Switch on "Enable Performance Information Collection" on all LPARs You can check the state of the "Performance Collection" enablement per LPAR easily. Run the following script on the HMC to show all LPARs without enabled collection:
To configure a PowerVM scanner in BVQ the following information is required:
Starting with BVQ 2023.H1: Redundant HMCs managing the same systems must be configured in the same PowerVM scanner. Otherwise, the managed systems will appear twice in BVQ. Define the most powerful HMC first, because the order of HMCs determines the order in which they are scanned by BVQ. Additional HMCs managing other systems should be configured in an additional PowerVM scanner. Up to BVQ 2022.H2: Typically, two redundant HMCs manage the same IBM Power systems. Please ensure that only one scanner is created for one of the HMCs to avoid duplication in BVQ. |
Panel | ||
---|---|---|
| ||
OS Agent for AIX & LinuxAIX and Linux are the first BVQ platforms where data is not pulled from the systems by the BVQ scanner. Instead, data is sent (pushed) from the OS on the LPARs to the BVQ Server by an BVQ OS Agent using SCP/SFTP. This means, an ssh-server on the BVQ Server is receiving data from the OS instances. Once an AIX or Linux BVQ Scanner is configured, the ssh-server is being started automatically and is listening on port 2222.
BVQ Scanner configuration To configure an AIX or Linux BVQ scanner the following information is required:
OS Agent installation The BVQ Agent for AIX or Linux RPM installation package is automatically generated once a new BVQ AIX or Linux scanner configuration is being created in the BVQ WebUI. After the "Save"-button is pressed, the RPM package is automatically generated and can be downloaded directly. Further installation instructions can be found in the scanner configuration page or the readme included in the RPM download package. OS User requirements
|
Panel | ||
---|---|---|
| ||
VMware vSphereA user is required for the operation of the BVQ VMware Scanner, who should at least have read-only access to the VMware vCenter system. The read-only permission for the user must be defined at the vCenter level. Permissions in a lower level (e.g. Datacenter, Cluster, ...) will lead to scan errors. Please create this user before configuring the BVQ Scanner. We recommend to name the user: bvq Create or select the right user role
Create the BVQ User for the vCenter
Add the right vCenter Statistics
Gather information for BVQ Scanner configuration BVQ scanners need the following information to be configured for each vCenter system:
Preparation for the BVQ Server For BVQ Servers which are gathering information from NetApps and vCenters, the correct DNS configuration is important. This is required to match the DNS-Name of the NFS Datastores to the corresponding IP Adresses of the NFS file shares on NetApp systems. |
Panel | ||
---|---|---|
| ||
KubernetesKubernetes (k8s) clusters are scanned via 2 different methods:
To gain access to the k8s API server the following preparations must be made:
ℹ Use |
Panel | |||||
---|---|---|---|---|---|
| |||||
CustomResourceDefinition Create a CustomResourceDefinition (CRD) to set up a k8s cluster as master grouping object (MGO) definition for BVQ mgo-crd.yaml
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
MasterGroupingObject
Create a MasterGroupingObject instance (binded to the CRD) for the k8s cluster
Edit/adjust the values for clusterName, customer, location, dc, contact, email
& phone
to the required information
IMPORTANT: clusterName
will represent the name of the k8s cluster within BVQ, so choose a meaningful name (example would be: Prod-Cluster-01)
...
language | yml |
---|---|
title | mgo-instance.yaml |
linenumbers | true |
collapse | true |
...
|
Panel | ||
---|---|---|
| ||
ClusterRole Create a ClusterRole to get read-only (get, list, watch) access to the k8s cluster |
...
ℹ Read only permissions (get, list, watch) are |
...
required |
...
|
...
cluster-role-bvqscan.yaml |
...
|
...
|
...
|
Panel | ||
---|---|---|
| ||
ServiceAccount Create a ServiceAccount for authentication |
...
ℹ The Token created for this ServiceAccount is needed to set up a BVQ scanner config for the k8s |
...
cluster
|
...
the namspace set in the Compute_layer#ClusterRoleBinding IMPORTANT: With k8s version 1.24 |
...
the LegacyServiceAccountTokenNoAutoGeneration feature gate is beta, and enabled by default ( |
...
see here). Use |
...
this guide to create a non-expiring token (recommended) |
...
bvq-serviceaccount.yaml |
...
|
...
|
...
|
Panel | ||
---|---|---|
| ||
ClusterRoleBinding Create a ClusterRoleBinding to bind the |
...
Compute_layer#ServiceAccount to the Compute_layer#ClusterRole cluster-role-binding-bvqscan-sa.yaml |
...
|
...
|
...
|
Panel | ||
---|---|---|
| ||
BVQ Prometheus Server To get performance and topology data a custom bvq-prometheus stack must be deployed in the k8s cluster via helm. This helm chart will install a bvq-prometheus server as a deployment with a 8GB persistent volume (configurable via See Execute the following steps to deploy the bvq-prometheus helm chart to the k8s cluster:
|
...
...
|
...
|
...
|
...
|
...
|
...
|
...
|
Panel | ||
---|---|---|
| ||
Gather information for BVQ Scanner configuration BVQ scanners need the following information to be configured for each k8s cluster:
|
...
Preparation for the BVQ Server For BVQ Servers which are gathering information from Kubernetes clusters, the correct DNS configuration is important. |