Change the maximum amount of memory that can be used by the Analyzer server.
Format
changememory
{-set memory-size [-auto] | -status}
Options
- set memory-size
-
Specify the maximum amount of memory (in GB) that can be used by the Analyzer server. You can specify a value in the range from 1 to 256. Note that the specified value must be less than the total memory of the OS.
- auto
-
Automatically stops and starts Analyzer server services.
- status
-
Displays the setting status for the maximum amount of memory that can be used by the Analyzer server.
Execution Permission
root permission
Location
Analyzer-server-installation-directory/Analytics/bin
Notes
If you run this command without specifying the auto option, you must restart the product by running the hcmds64srv command on the host where you ran the changememory command.
Return values
|
Return value |
Description |
|---|---|
|
0 |
The command ran normally. |
|
1 |
The argument is invalid. |
|
2 |
Command running was interrupted. |
|
4 |
Another command is currently running. |
|
13 |
An attempt to write to the file failed. |
|
14 |
You do not have permission to run this command. |
|
16 |
An attempt to start or stop the services of the Analyzer server failed. |
|
18 |
An attempt to read the file failed. |
|
255 |
Command running was interrupted because of another error. |
Example
To change the maximum amount of memory that can be used by the Analyzer server to 32 GB:
changememory -set 32 -auto
To check the setting status for the maximum amount of memory that can be used by the Analyzer server:
changememory -status
Configuring SSL communications
You can use either of the following methods to configure SSL communications:
- To use the SSL setup tool (the cssslsetup command) for each product, perform the procedure described in Configuring SSL communications by using the SSL Setup tool.
- To configure SSL communications manually or use both RSA and Elliptic Curve Digital Signature Algorithm (ECDSA) as the public key encryption algorithms, perform the procedure described in Configuring SSL communications without using the SSL Setup tool.
Configuring SSL communications by using the SSL Setup tool
The following figure shows the workflow for configuring SSL communications by using the SSL Setup tool (cssslsetup command).
The following Hitachi Ops Center products can be configured for SSL communications by using the cssslsetup command:
- Hitachi Ops Center Common Services
- Hitachi Ops Center Automator
- Hitachi Ops Center Analyzer
- Hitachi Ops Center Analyzer detail view
- Hitachi Ops Center Analyzer viewpoint
- Hitachi Ops Center Analyzer probe server
- Hitachi Ops Center Analyzer Virtual Storage Software Agent
- Hitachi Ops Center Administrator
- Hitachi Ops Center Protector (Master)
- Hitachi Ops Center API Configuration Manager
- You can use the SSL Setup tool for products for which a supported version is installed. If the installed version is not supported, upgrade the product and then use the tool. For details on the versions of each product supported by the SSL Setup tool, see the Hitachi Ops Center Release Notes.
- If API Configuration Manager is installed by a user other than the root user, it is not displayed in the list and SSL communications cannot be configured. Configure the settings manually as described in the Hitachi Ops Center API Configuration Manager REST API Reference Guide.
- When specifying a certificate for the cssslsetup command, specify the certificate in the X.509 PEM format. Make sure that the certificate file specified for the cssslsetup command contains only text between -----BEGIN CERTIFICATE----- and -----END CERTIFICATE-----. If the file contains any other text, attempts to set the certificate might fail.
You can run the cssslsetup command on each management server. For a management server where Common Services is not installed or the Analyzer probe server, obtain the cssslsetup command from the installation media. The locations of the cssslsetup command are as follows:
- If Common Services is installed on the management server:
installation-directory-of-Common-Services/utility/bin
- If Common Services is not installed on the management server:
Expand utility.tar from the installation media.
The utility.tar is located in the following directory:
- root-directory-of-the-Common-Services-installation-media
- root-directory-of-the-Server-Express-installer-media/COMMONSERVICES
- root-directory-of-the-Client-Express-installer-media/COMMONSERVICES
The cssslsetup command is stored in the following directory after the files are extracted from utility.tar:
directory-where-utility.tar-is-extracted/utility/bin
The following settings are not configured by the cssslsetup command:
- Settings using both RSA and Elliptic Curve Digital Signature Algorithm
(ECDSA) as public key encryption algorithms
For details on how to set up such a configuration, see the procedure described in Configuring SSL communications without using the SSL Setup tool.
- Settings for storage systems and Active Directory, LDAP, and identity provider servers
- Settings for the Protector clients
Configure these settings as necessary by referring to the manual for Protector.
SSL Setup tool functionality
- Creating a private key and a certificate signing request (CSR)
-
The cssslsetup command creates a common private key and CSR that can be used by all products.
Note: This command only supports the RSA encryption algorithm. If you want to use both RSA and the Elliptic Curve Digital Signature Algorithm (ECDSA), perform the procedure described in Configuring SSL communications without using the SSL Setup tool. - Configuring the SSL server settings
-
The cssslsetup command configures the SSL server settings for the following:
Product
Settings
Common Services
Registers the server certificate and private key.
Automator
- Registers the server certificate and private key.
- Enables SSL communications.
Analyzer
- Registers the server certificate and private key.
- Enables SSL communications.
Analyzer detail view
Imports the server certificate (in the PKCS#12 format) into the keystore.
Analyzer viewpoint
Registers the server certificate and private key.
Analyzer probe server - Imports the server certificate (in the PKCS#12 format) into the keystore.
- Registers the server certificate and private key (for on-demand real time monitoring and RAID Agent).
Analyzer Virtual Storage Software Agent Imports the server certificate (in the PKCS#12 format) into the keystore.
Administrator
Registers the server certificate and private key.
Protector
Registers the server certificate and private key.
API Configuration Manager
- Registers the server certificate and private key.
- Configures notifications for storage system configuration changes.
- Configuring the SSL client settings and enabling certificate verification
-
The cssslsetup command configures the SSL communication settings and enables certificate verification.
Product
Settings
Common Services
- Imports the root certificate into the truststore.
- Imports the root certificate of the server certificate for the Active Directory, LDAP, or an identity provider server into the truststore.
- Enables certificate verification.
Automator
- Imports the root certificate into the truststore.
- Imports the root certificate of the server certificate for the Active Directory server into the truststore.
- Enables certificate verification.
Analyzer
- Imports the root certificate into the truststore.
- Imports the root certificate of the server certificate for the Active Directory server into the truststore.
- Enables certificate verification.
Analyzer detail view
- Imports the root certificate into the truststore.
- Imports the Active Directory server certificate into the
truststore.Note: To link with Active Directory, you must add an active directory user by using Analyzer detail view.
- Enables certificate verification.Note: If you want to use a certificate issued by a certificate authority for SSL communication for real time data collection, you must set the following Analyzer detail view server parameters in the hosts file on the management server to enable certificate verification:
IP-address hostname
For hostname, specify the value obtained by running the hostname -f command.
- Imports the server certificate of the RAID Agent server into the truststore (for on-demand real time monitoring).
Analyzer viewpoint
- Registers the trusted certificate into Analyzer viewpoint.
- Enables certificate verification.
Analyzer probe server - Imports the root certificate and the target product's server certificate into the truststore.
- Imports the Active Directory server certificate into the truststore.
- Imports the root certificate into the Analyzer probe server truststore (for RAID Agent).
- Imports the storage system certificate into the truststore of the instance environment (for RAID Agent).
- Changes the permissions of the client.truststore.jks file, which was copied from the Analyzer detail view server (for real time data collection).
- Enables certificate verification.
Analyzer Virtual Storage Software Agent - Imports the root certificate of VSP One SDS Block or the storage system into the truststore.
- Enables certificate verification.
Administrator
None
Note:- You must use the setupcommonservice command for the following tasks:
- Importing the root certificate into the truststore
- Enabling certificate verification
- If you want to link with Active Directory, you must import the certificate of the Active Directory server into the truststore and register an Active Directory domain that uses the DNS server. For the configuration procedure, see the Administrator documentation.
Protector
Imports the root certificate into the truststore.
Note: You must use the setupcommonservice command to enable certificate verification.API Configuration Manager
- Enables certificate verification for SSL communications with the storage system.
- Enables SSL communications.
- Enabling or disabling certificate verification
-
You can enable or disable certificate verification for SSL communications maintenance.
Creating a private key and a certificate signing request (SSL Setup tool)
- If the certificate has expired or has been revoked by the certificate authority, you must renew it. Follow the procedure in this section to request a new certificate and overwrite the existing one. You must also perform the procedures in Configuring SSL server settings (SSL Setup tool) and Configuring SSL client settings and enabling certificate verification (SSL Setup tool).
- Do not set a passphrase for the created private key. If you use a private key for which a passphrase is set, you cannot start product services.
Configuring SSL server settings (SSL Setup tool)
Configuring SSL server settings for an Active Directory or LDAP server
Configuring SSL communication settings for an identity provider server
Configuring SSL client settings and enabling certificate verification (SSL Setup tool)
- To configure real time data collection for the Analyzer probe server, create the client.truststore.jks file on the Analyzer detail view server in advance, and then copy it to /usr/local/megha/conf/kafka on the Analyzer probe server. For details, see the Analyzer manual.
- To configure SSL communications between the RAID Agent on the Analyzer probe server and your storage systems, create an instance environment in advance. For details, see the Analyzer manual.
Configuring SSL communications without using the SSL Setup tool
Preparing the server certificate for Common Services
Prepare the server certificate for Common Services. Make sure the certificate has not expired. For details on how to check this, see Checking the validity period of the server certificate. Common Services supports both RSA and Elliptic Curve Digital Signature Algorithm (ECDSA). You cannot configure ECDSA alone. Prepare secret keys and server certificates for RSA only or for both RSA and ECDSA.
Setting the path information for the server certificate and private key
In the Common Services properties file, specify the settings for the signed server certificate obtained from the certificate authority and the settings for the private key.
Concatenate the signed server certificate obtained from the certificate authority and the certificate from the intermediate certificate authority into a single file as follows. If there are multiple certificates from intermediate certificate authorities, concatenate all certificates in a chain.
awk 1 server-certificate-signed-by-certificate-authority certificate-from-an-intermediate-certificate-authority [certificate-from-an-intermediate-certificate-authority ...] > chained-server-certificate
Specifying SSL server settings for each product
For details on how to specify the SSL server settings, see the documentation for each product.
Configuring SSL server settings for an Active Directory or LDAP server
Configuring SSL communication settings for an identity provider server
Importing certificates into each product
For details on how to import a certificate, see the documentation for each product.
Importing certificates into the Common Services truststore
Import the root certificate of the server certificate for Common Services and for each product into the Common Services truststore. If the system is linked with an Active Directory, LDAP, or identity provider server, you can also import the root certificates of these server certificates.
Transfer the certificates to the management server in a secure manner.
Enabling server certificate verification
Configuring a link to an Active Directory or LDAP server
By linking Hitachi Ops Center with an external Active Directory or LDAP server, you can perform centralized user authentication on the Active Directory or LDAP server. To link with an Active Directory or LDAP server, configure the settings on the Hitachi Ops Center Portal.
Configuring Active Directory as a directory service for Ops Center
- For LDAP configurations, verify you completed the procedure described in Importing certificates into the Common Services truststore.
- For Kerberos configurations, see Setting up Kerberos authentication for Ops Center before following this procedure.
About using multiple Active Directory servers
- You can configure a maximum of four Active Directory servers.
- The Users screen of the Ops Center portal is designed to display up to 1100 users. If the total number of local users and Active Directory users exceeds 1100, the additional users will be able to log in to Ops Center, but will not be displayed on the Users screen.
- User names and email addresses must be unique and not duplicated across multiple Active Directory servers.
- If the BIND password is invalid on one of several Active Directory servers registered with Common Services, or if a connection cannot be made to an Active Directory server, the following operations are not possible:
- Create new local user
- Display local user list
- Update user profile
- Click Sync groups to apply the changes to Active Directory groups configured in Ops Center.
- Click Test connection and Test authentication.
- The Active Directory entries are added to and are displayed with the DN designation.
- AD users cannot be added to local (non-AD) groups.
- By default, AD group users are assigned the opscenter-user role, which permits them to log in to the Ops Center portal and access the Inventory tab, but not start Ops Center products. To assign a role to an AD group that permits users access to administrative functions outside the Inventory tab and log in to all Ops Center products with full admin privileges, you can assign the opscenter-system-administrator role. See Assigning portal-level roles to Ops Center groups for more information.
- To assign product-level roles to an AD group that permit members to access individual Ops Center products, see Assigning product-level roles from the Ops Center portal for more information.
- Confirm the Active Directory entries appear in .
- Verify Active Directory users can log in. AD users must log in using the sAMAccoutName (no domain).
Using dsquery to obtain user or group DN
You can use the following PowerShell commands to obtain the DN for a user or group.
To get the user DN:
dsquery user
To retrieve the user details (all attributes):
dsquery * user_DN -scope base -attr *
To get the group DN:
dsquery group
To retrieve the group details (all attributes):
dsquery * group_DN -scope base -attr *
Setting up Kerberos authentication for Ops Center
- Log in to the Ops Center portal as sysadmin or a user with opscenter-administrators membership.
- From the navigation bar, click Manage users and select User directories from the Asset type list.
- Click Kerberos connection settings.
- To use DNS instead of KDC to look up the Kerberos server, enable DNS lookup KDC.
- Use Clock skew to control the maximum time difference between the system clocks on the Ops Center server and the Kerberos server (default: 300 seconds). When this value is exceeded, an authentication error occurs.
- Enter the Realm name that identifies the Kerberos domain. The Realm name is case-sensitive and must match the realm to which you are linking. Although the realm can be any ASCII string, the convention is to make it the same as the domain name in upper-case letters (such as EXAMPLE.COM).
- If you are not using DNS, click +Add KDC to provide a list of Kerberos KDC server entries.
- Click Submit when the settings are complete.
Configuring a non-AD directory service for Ops Center (LDAP server)
- Verify you completed the procedure described in Importing certificates into the Common Services truststore.
- Click Sync users to apply the changes to the users configured in Ops Center.
- Click Test connection and Test authentication.
- Click Pre-check the number of imported users.
The imported LDAP server users are added to and are displayed with the DN designation.
- If you enabled the Add all users under User base DN to opscenter-users group option, the imported LDAP server users can log in to the Ops Center portal and access the Inventory tab. To assign a role to a group that permits access to administrative functions outside the Inventory tab and log in to all Ops Center products with full admin privileges, you can assign the opscenter-system-administrator role. See Assigning portal-level roles to Ops Center groups for more information.
- To assign product-level roles to a group that permits members to access individual Ops Center products, refer to Assigning product-level roles from the Ops Center portal for more information.
- Confirm the LDAP server entries appear in .
- Verify the LDAP server users can log in.
Determining the parameters for LDAP server registration
Run the ldapsearch command, and then determine the parameters based on the information returned by the search.
Configuring a link to an AD FS identity provider
The procedure for configuring a link differs depending on the type of identity provider. You can configure a link to AD FS by following the steps listed in the Workflow for linking with AD FS to workflow topic. For details on the procedure for configuring a link to an identity provider other than AD FS, see Configuring a link to a non-AD FS identity provider.
Supported AD FS
Item |
Description |
|---|---|
|
Identity provider |
Active Directory Federation Services (AD FS) |
|
Protocol |
|
|
OS |
The supported AD FS must support the following operating systems:
|
Maximum number of linked providers |
1 If a link is already established with AD FS, you cannot configure links to other identity providers. |
Workflow for linking with AD FS
The workflow for specifying settings depends on the protocol being used.
- If you want to use OIDC:
-
- Register Common Services in AD FS as an application group.
- Set up an issuance transform rule for AD FS.
- Check the OpenID Connect Discovery endpoint of AD FS.
- Register AD FS with Common Services.
- Log in to the Hitachi Ops Center Portal as an AD FS user.
- If you want to use SAML:
-
- Check the AD FS metadata endpoint.
- Register AD FS with Common Services.
- Export Common Services metadata.
- Register Common Services in AD FS as a relying party.
- Set up a claim issuance policy.
- Log in to the Hitachi Ops Center Portal as an AD FS user.
Before using Common Services to specify the settings to link with AD FS, you must install and configure AD FS.
To link with AD FS, you must specify SSL communication settings in advance for the route from Common Services to the AD FS server. For details, see Configuring SSL communications.
Configuring settings to link with AD FS (OIDC)
Registering Common Services in AD FS as an application group
The following settings are also necessary for registering AD FS in Common Services and must be determined in advance:
AD FS alias name
The alias name is an identifier that uniquely identifies AD FS in Common Services. You can specify up to 64 characters consisting of halfwidth alphabetic characters (lowercase only), numeric characters, hyphens, and underscores. You cannot change the registered value later.
-
URI of the Web API identifier
The Web API identifier is an identifier that AD FS uses to uniquely identify Common Services. Although you can specify any valid character string, a good practice is to use a name that is easy to identify (such as the host name of the Common Services management server).
Setting up an issuance transform rule for AD FS
Checking the OpenID Connect Discovery endpoint of AD FS
Registering AD FS with Common Services
Logging in to the Hitachi Ops Center Portal as an AD FS user
This completes the settings for linking with the AD FS.
Configuring settings to link with AD FS (SAML)
Checking the AD FS metadata endpoint
Registering AD FS with Common Services
Exporting Common Services metadata (AD FS)
To link with AD FS, you must register Common Services metadata into AD FS. From the Hitachi Ops Center Portal, output the metadata to a file, and then send the file to the AD FS server.
Registering Common Services in AD FS as a relying party
- Log in to the AD FS server.
- Select .
- From the tree on the left side, select . In the pane on the right side, click .
- In the Welcome window, select Claims aware, and then click Start.
- In the Select Data Source window, select Import data about the relying party from file. For Federation metadata file location, specify the file to which the Common Services metadata was exported, and then click Next.
- In the Specifying Display Name window, specify a display name, and then click Next.
- In the Choose Access Control Policy window, specify an access control policy, and then click Next.
- In the Ready to Add Trust window, make sure that the settings are correct, and then click Next.
- In the Finish window, select the Configure claims issuance policy for this application check box, and then click Close.
Setting up a claim issuance policy
Logging in to the Hitachi Ops Center Portal as an AD FS user
This completes the settings for linking with the AD FS.
Updating an identity provider configuration
You can update the identity provider configuration in the Hitachi Ops Center Portal.
- Log in to the Hitachi Ops Center Portal as sysadmin or a user with opscenter-administrators membership.
- From the navigation bar, click Manage users.
- In the Users window, from the Asset type, click Identity providers.
- Click the edit icon (pencil) for the identity provider.
- Update the information and then click Next to proceed through all the entry windows.
- Click Submit when you reach the last window and your changes are complete.
Removing an identity provider
You can remove an identity provider from Ops Center.
- Log in to the Hitachi Ops Center Portal as sysadmin or a user with opscenter-administrators membership.
- From the navigation bar, click Manage users.
- In the Users window, from the Asset type, click Identity providers.
- Click the delete icon (trash can) for the identity provider.
- Click Submit in the Delete dialog box.
Updating the authentication certificates used with an AD FS (SAML)
If you link with AD FS by using the OIDC protocol, you do not need to perform this procedure.
Overview of updating authentication certificates (AD FS)
For AD FS, Common Services and AD FS certificates are used during user authentication.
Common Services certificates are called authentication keys, and AD FS certificates are called Token certificates.
Each certificates has an expiration date and certificates are automatically updated according to a defined interval (in days).
However, when a certificate is automatically updated, a discrepancy arises between the new certificate and the certificate that was registered when the link with AD FS was configured. For this reason, you will no longer be able to log in to Common Services by using the AD FS user account. To prevent this problem, you must check the date of the next update of the certificate and update the certificate before the expiration date.
If it is inconvenient to update the authentication key of Common Services immediately, you can temporarily suppress the update by increasing the number of days set as the update interval. Although you can also change the update interval of AD FS Token certificates, the change is not applied to the certificates currently used. The new update interval is applied to the certificates that will be updated next time.
Checking the next update for the Common Services certificates
Checking the dates of the next update of the AD FS certificates
- Log in to the AD FS server.
- Select .
- From the tree on the left side, select .
- Check the value of Expiration Date for Token-decrypting and Token-signing in the middle pane.
Updating the Common Services certificates (AD FS)
Automatically updating the Common Services certificates
Verify that the following settings are configured:
- If the Windows Server version is 2019 or earlier, verify that Common Services certificates are signed with ECDSA.
- Verify that TLS 1.2 or higher is enabled in the .NET Framework settings of the AD FS server.
- Log in to the Hitachi Ops Center Portal as the sysadmin user or as a user who is a member of the opscenter-administrators group.
- From the navigation bar, click Manage users.
- In Asset type in the Users window, click Identity providers. In the target identity provider details window, check the value of SAML SP metadata URI.
- Log in to the AD FS server.
- Select .
- From the tree on the left side, select . In the middle pane, select the target Relying Party Trust, and then in the right pane, click Properties.
- In the properties window, select the Monitoring tab, and enter the value of SAML SP metadata URI that you checked in the identity provider details window of the Hitachi Ops Center Portal in Relying party's federation metadata URL.
- Click Test URL to confirm. If an error occurs, review the SSL/TLS settings of Windows.
- Select the check box for Monitoring relying party.
- Select the check box for Automatically update relying party.
- Click Apply.
Manually updating the Common Services certificates
Updating the AD FS certificates
If you cannot sign on with an identity provider (AD FS)
- Certificates for Common Services were updated.
In this scenario, if you cannot log in using AD FS, the following message is output to in the AD FS event log:
ID6013: The signature verification failed
For details on what to do when this message is output, see Updating the Common Services metadata by using AD FS.
- Certificates for AD FS were updated.
In this scenario, if you cannot log in using AD FS, the following message is output Common Services log file (default: /var/log/hitachi/CommonService/idp/log/server.log):
ERROR [org.keycloak.broker.saml.SAMLEndpoint] (default task-14) validation failed
For details on what to do when this message is output, see Specifying the AD FS metadata endpoint by using Common Services.