InfoScale™ 9.0 Solutions Guide - Linux
- Section I. Introducing Veritas InfoScale
- Section II. Solutions for Veritas InfoScale products
- Solutions for Veritas InfoScale products
- Solutions for Veritas InfoScale products
- Section III. Stack-level migration to IPv6 or dual stack
- Section IV. Improving database performance
- Overview of database accelerators
- Improving database performance with Veritas Concurrent I/O
- Improving database performance with atomic write I/O
- Section V. Using point-in-time copies
- Understanding point-in-time copy methods
- Backing up and recovering
- Preserving multiple point-in-time copies
- Online database backups
- Backing up on an off-host cluster file system
- Database recovery using Storage Checkpoints
- Backing up and recovering in a NetBackup environment
- Off-host processing
- Creating and refreshing test environments
- Creating point-in-time copies of files
- Section VI. Maximizing storage utilization
- Optimizing storage tiering with SmartTier
- Optimizing storage with Flexible Storage Sharing
- Optimizing storage tiering with SmartTier
- Section VII. Migrating data
- Understanding data migration
- Offline migration from LVM to VxVM
- Offline conversion of native file system to VxFS
- Online migration of a native file system to the VxFS file system
- Migrating a source file system to the VxFS file system over NFS v4
- VxFS features not available during online migration
- Migrating storage arrays
- Migrating data between platforms
- Overview of the Cross-Platform Data Sharing (CDS) feature
- CDS disk format and disk groups
- Setting up your system to use Cross-platform Data Sharing (CDS)
- Maintaining your system
- Disk tasks
- Disk group tasks
- Displaying information
- File system considerations
- Specifying the migration target
- Using the fscdsadm command
- Maintaining the list of target operating systems
- Migrating a file system on an ongoing basis
- Converting the byte order of a file system
- Migrating from Oracle ASM to Veritas File System
- Section VIII. Veritas InfoScale 4K sector device support solution
- Section IX. REST API support
- Support for configurations and operations using REST APIs
- Support for configurations and operations using REST APIs
- Section X. Reference
Configuring the REST server
The REST server is configured on one of the nodes of an InfoScale cluster, and the RestServer agent manages the high availability of this component.
In case of Cluster Volume Manager (CVM) environments, the REST server is bound to the CVM master server.
You can configure the REST server by using the product installer at the following instances:
While a new cluster configuration is in progress
# ./installer -configure
On a cluster configured with InfoScale 9.0
# /opt/VRTS/install/installer -rest_server
After upgrading a cluster from any earlier version to InfoScale 9.0
# ./installer -upgrade
# /opt/VRTS/install/installer -rest_server
You can also perform the same operations using response files.
Note:
This section does not describe REST server configurations in container environments. For details, refer to the Veritas InfoScale Support for Containers document.
The cluster must be configured in the secure mode.
A dedicated, unused virtual IP address must be available.
This requirement does not apply to single-node clusters where the public IP of the system is used.
Installer prompts for configuring the REST server
During a new installation (# ./installer -configure), when you specify that you want to the configure a REST server, the installer first configures a secure cluster.
When a cluster is already configured (# /opt/VRTS/install/installer -rest_server), the installer continues with the further prompts.
Next, it asks you to provide the following values associated with the cluster nodes:
A NIC for each node; the same NIC can be used for all the nodes
A virtual IP address and a network mask
A port number associated with the IP address (default: 5636)
Next, it asks you whether to use a Veritas-provided security certificate or a third-party CA certificate. In case of a Veritas-provided security certificate, no further input is required. In case of a third-party CA certificate, the installer prompts you to provide the following information associated:
A valid server key file path
A valid server certificate file path
A valid CA certificate file path
Confirmation on whether the REST server key certificate is encrypted
A passphrase to decrypt the key in case the server key is encrypted
Next, it asks you for the domain name and the IP address of the LDAP server from which the REST server can fetch user data for authentication.
Next, the installer displays the information that you provided and prompts you to verify its accuracy.
Next, it prompts you to provide the name (default: admin) of a user and the roles to be assigned to that user. This activity is required only for the first user of the REST server. Other users can be added later.
See Authorization of users for performing operations using REST APIs.
At this point, any ongoing InfoScale processes need to be stopped. The installer prompts you confirm your agreement.
After gathering all the required input and stopping the InfoScale processes, the installer bring the RestSG service group online.
Note:
If any issues occur during the configuration, the installer rolls back all the changes that are relevant to the REST server configuration.
InfoScale lets you configure the REST server using response files. The command used is:
# ./installer -responsefile /tmp/full_response_file_path_and_name
A sample response is as follows:
our %CFG; $CFG{REST_server}=1; $CFG{REST_server_cacert_file}="/certs/server.crt"; $CFG{REST_server_cert_file}="/certs/server.crt"; $CFG{REST_server_ip}="xx.xxx.xxx.xxx"; $CFG{REST_server_key}="/certs/server.key"; $CFG{REST_server_ldap_admin}="Manager"; $CFG{REST_server_ldap_domain}="myveritas.com"; $CFG{REST_server_ldap_domain_password}="ldppassword"; $CFG{REST_server_ldap_ip}="xx.xxx.xxx.xxx"; $CFG{REST_server_netmask}="255.255.240.0"; $CFG{REST_server_nic}{all}="nicdevice"; $CFG{REST_server_passphrase}="****"; $CFG{REST_server_port}=5637; $CFG{REST_server_third_party_cert}=1; $CFG{REST_server_username}="adam"; $CFG{opt}{rest_server}=1; $CFG{prod}="ENTERPRISE802"; $CFG{systems}=[ "infoscale_sys1","infoscale_sys1" ]; $CFG{vcs_clusterid}=11111; $CFG{vcs_clustername}="Cluster01"; 1;