Cluster Server 8.0 Agent for Sybase Installation and Configuration Guide - Linux
- Introducing the Cluster Server Agent for Sybase
- About the Sybase agent functions
- Installing and configuring Sybase
- Installing, upgrading, and removing the agent for Sybase
- Configuring VCS service groups for Sybase
- Before configuring the service group for Sybase
- About setting up detail monitoring for the agent for Sybase
- Administering VCS service groups for Sybase
- Appendix A. Resource type definitions for Sybase
- Appendix B. Sample configurations for Sybase
- Sample main.cf files for Sybase ASE CE configurations
Using SystemD attributes for Sybase and SybaseBk
InfoScale provides the optional attributes, UseSystemD and SystemDAttrList, to the Sybase and the SybaseBk agents in SystemD environments.
You can customize the Sybase or the SybaseBk application unit service file with the attributes for SystemD in the following ways:
Adding key-value pairs to the SystemDAttrList attribute
The SystemDAttrList attribute contains a set of key-value data pairs that map to system-specific attributes and their values. These values are used to set the platform- and application-specific environment.
Customizing the application unit service file with SystemD attributes
Veritas recommends that you do not modify or add new SystemD attributes to the existing
vcs-resourceName.service
unit file, because it gets overwritten when the online entry point is invoked.
Adding key-value pairs to the SystemDAttrList attribute
- Set the UseSystemD attribute to 1.
- To add a key-value pair in the SystemDAttrList attribute, run the command:
# hares -modify resourceType SystemDAttrList key value
For example:
# hares -modify sybase SystemDAttrList LimitNOFILE 2048
- (Optional) To modify an existing attribute, run the command:
# hares -modify resourceType SystemDAttrList -update key value
For example:
# hares -modify sybase SystemDAttrList -update LimitNOFILE 1024
After you update the SystemDAttrList attribute, the
vcs-custom.conf
file reflects the added key-value pairs.A sample set of SystemD attribute-value pairs:
Systemd attribute = Value LimitLOCKS = infinity LimitMEMLOCK = infinity LimitCORE = infinity LimitNOFILE = 1024
Customizing the application unit service file with SystemD attributes
- To customize additional SystemD attributes in the
vcs-resourceName.service
file, create thefoo.conf
unit configuration file under/etc/systemd/system/vcs-sybase_res.service.d
with new attributes.When the online entry point is invoked, SystemD applies the new attributes from
foo.conf
tovcs-resourceName.service
, and then uses the unit service file for the application. - After you add the required system attributes in
foo.conf
, load the SystemD daemon.# systemctl --system daemon-reload
- Verify the status of the application service.
# systemctl status -l vcs-resourceName.service