Use the configcps option available in the installer program to configure the CP server.
Perform one of the following procedures:
For CP servers on single-node VCS cluster: |
See “To configure the CP server on a single-node VCS cluster”. |
For CP servers on an SFHA cluster: |
To configure the CP server on a single-node VCS cluster
VRTScps
RPM is installed on the node.# /opt/VRTS/install/installer -configcps
Enter y to confirm.
1) Configure Coordination Point Server on single node VCS system 2) Configure Coordination Point Server on SFHA cluster 3) Unconfigure Coordination Point Server
The installer then runs the following preconfiguration checks:
Checks to see if a single-node VCS cluster is running with the supported platform.
The CP server requires VCS to be installed and configured before its configuration.
The installer automatically installs a license that is identified as a CP server-specific license. It is installed even if a VCS license exists on the node. CP server-specific key ensures that you do not need to use a VCS license on the single-node. It also ensures that Veritas Operations Manager (VOM) identifies the license on a single-node coordination point server as a CP server-specific license and not as a VCS license.
A single node coordination point server will be configured and VCS will be started in one node mode, do you want to continue? [y,n,q] (y)
Enter the name of the CP Server.
Enter the name of the CP Server: [b] cps1
Enter Virtual IP(s) for the CP server for HTTPS, separated by a space: [b] 10.200.58.231 10.200.58.232 10.200.58.233
Enter the default port '443' to be used for all the virtual IP addresses for HTTPS communication or assign the corresponding port number in the range [49152, 65535] for each virtual IP address. Ensure that each port number is separated by a single space: [b] (443) 54442 54443 54447
Enter absolute path of the database: [b] (/etc/VRTScps/db)
CP Server configuration verification: ------------------------------------------------- CP Server Name: cps1 CP Server Virtual IP(s) for HTTPS: 10.200.58.231, 10.200.58.232, 10.200.58.233 CP Server Port(s) for HTTPS: 54442, 54443, 54447 CP Server Database Dir: /etc/VRTScps/db ------------------------------------------------- Is this information correct? [y,n,q,?] (y)
Successfully generated the /etc/vxcps.conf configuration file Successfully created directory /etc/VRTScps/db on node
Enter how many NIC resources you want to configure (1 to 2): 2
Answer the following questions for each NIC resource that you want to configure.
Enter a valid network interface on sys1 for NIC resource - 1: eth0 Enter a valid network interface on sys1 for NIC resource - 2: eth1
Enter the NIC resource you want to associate with the virtual IP 10.200.58.231 (1 to 2): 1 Enter the NIC resource you want to associate with the virtual IP 10.200.58.232 (1 to 2): 2
Veritas recommends configuring NetworkHosts attribute to ensure NIC resource to be always online
Do you want to add NetworkHosts attribute for the NIC device eth0 on system sys1? [y,n,q] y Enter a valid IP address to configure NetworkHosts for NIC eth0 on system sys1: 10.200.56.22
Do you want to add another Network Host? [y,n,q] n
Note that if you are using HTTPS-based communication, only IPv4 addresses are supported.
Enter the netmask for virtual IP for HTTPS 192.169.0.220: (255.255.252.0)
For example: Updating main.cf with CPSSG service group.. Done Successfully added the CPSSG service group to VCS configuration. Trying to bring CPSSG service group ONLINE and will wait for upto 120 seconds The Veritas coordination point server is ONLINE The Veritas coordination point server has been configured on your system.
For example: # hagrp -state CPSSG #Group Attribute System Value CPSSG State.... |ONLINE|
It also generates the configuration file for CP server (/etc/vxcps.conf). The vxcpserv process and other resources are added to the VCS configuration in the CP server service group (CPSSG).
For information about the CPSSG, refer to the Cluster Server Administrator's Guide.
To configure the CP server on an SFHA cluster
VRTScps
RPM is installed on each node. # ./installer -configcps
Enter y to confirm.
1) Configure Coordination Point Server on single node VCS system 2) Configure Coordination Point Server on SFHA cluster 3) Unconfigure Coordination Point Server
The installer then runs the following preconfiguration checks:
Enter the name of the CP server.
Enter the name of the CP Server: [b] cps1
Enter Virtual IP(s) for the CP server for HTTPS, separated by a space: [b] 10.200.58.231 10.200.58.232 10.200.58.233
Enter the default port '443' to be used for all the virtual IP addresses for HTTPS communication or assign the corresponding port number in the range [49152, 65535] for each virtual IP address. Ensure that each port number is separated by a single space: [b] (443) 65535 65534 65537
CP Server uses an internal database to store the client information. As the CP Server is being configured on SFHA cluster, the database should reside on shared storage with vxfs file system. Please refer to documentation for information on setting up of shared storage for CP server database. Enter absolute path of the database: [b] /cpsdb
CP Server configuration verification: CP Server Name: cps1 CP Server Virtual IP(s) for HTTPS: 10.200.58.231, 10.200.58.232, 10.200.58.233 CP Server Port(s) for HTTPS: 65535, 65534, 65537 CP Server Database Dir: /cpsdb Is this information correct? [y,n,q,?] (y)
Successfully generated the /etc/vxcps.conf configuration file Copying configuration file /etc/vxcps.conf to sys0....Done Creating mount point /cps_mount_data on sys0. ... Done Copying configuration file /etc/vxcps.conf to sys0. ... Done Press Enter to continue.
Enter how many NIC resources you want to configure (1 to 2): 2 Answer the following questions for each NIC resource that you want to configure.
Enter a valid network interface on sys1 for NIC resource - 1: eth0 Enter a valid network interface on sys1 for NIC resource - 2: eth1
Enter the NIC resource you want to associate with the virtual IP 10.200.58.231 (1 to 2): 1 Enter the NIC resource you want to associate with the virtual IP 10.200.58.232 (1 to 2): 2
Veritas recommends configuring NetworkHosts attribute to ensure NIC resource to be always online
Do you want to add NetworkHosts attribute for the NIC device eth0 on system sys1? [y,n,q] y Enter a valid IP address to configure NetworkHosts for NIC eth0 on system sys1: 10.200.56.22
Do you want to add another Network Host? [y,n,q] n Do you want to apply the same NetworkHosts for all systems? [y,n,q] (y)
Note that if you are using HTTPS-based communication, only IPv4 addresses are supported.
Enter the netmask for virtual IP for HTTPS 192.168.0.111: (255.255.252.0)
Veritas recommends to use the disk group that has at least two disks on which mirrored volume can be created. Select one of the options below for CP Server database disk group: 1) Create a new disk group 2) Using an existing disk group Enter the choice for a disk group: [1-2,q] 2
Select one disk group as CP Server database disk group: [1-3,q] 3 1) mycpsdg 2) cpsdg1 3) newcpsdg
You can choose to use an existing volume or create new volume for CP Server database. If you chose newly created disk group, you can only choose to create new volume for CP Server database.
Select one of the options below for CP Server database volume: 1) Create a new volume on disk group newcpsdg 2) Using an existing volume on disk group newcpsdg
1) newcpsvol
For example: Updating main.cf with CPSSG service group .... Done Successfully added the CPSSG service group to VCS configuration.
/var/VRTSvcs/vcsauth/data/CPSERVER
to /cpsdb/CPSERVER
and check if credentials are already present at /cpsdb/CPSERVER
. If not, installer creates credentials in the directory, otherwise, installer asks if you want to reuse exsting credentials.Do you want to reuse these credentials? [y,n,q] (y)
For example: Trying to bring CPSSG service group ONLINE and will wait for upto 120 seconds The Veritas Coordination Point Server is ONLINE The Veritas Coordination Point Server has been configured on your system.
For example: # hagrp -state CPSSG #Group Attribute System Value CPSSG State cps1 |ONLINE| CPSSG State cps2 |OFFLINE|
It also generates the configuration file for CP server (/etc/vxcps.conf
). The vxcpserv process and other resources are added to the VCS configuration in the CP server service group (CPSSG).
For information about the CPSSG, refer to the Cluster Server Administrator's Guide.