Configure CKS servers for scheduling - ACS - Reference Guides

ACS Installation and Administration Guide

Product
ACS
AFS_Version
7.11
Category
Reference Guides
language
English
audience
public

To configure CKS servers for scheduling

  1. If no /usr/local/afs7/cks-server/conf/*.wsc file exists, then copy the CKS configuration template to the CKS configuration directory:

    mkdir /usr/local/afs7/cks-server/conf
    cp /usr/local/afs7/share/templates/cks/cks.wsc /usr/local/afs7/cks-server/conf/

  2. Edit the configuration file (/usr/local/afs7/cks-server/conf/cks.wsc) for CKS servers to listen at scheduler notifications (this piece of configuration is for Xpath /Conf/CKSModule in the whole configuration file):

    <c:CKSModule id="CKS">
    <c:Database>
    <!-- missing fields -->
    </c:Database>
    <c:NotificationListener appId="CKS">
    <c:port>15002</c:port>
    <c:NotificationThreadPool>
    <corePoolSize>30</corePoolSize>
    <maximumPoolSize>30</maximumPoolSize>
    <keepAliveTime>30</keepAliveTime>
    </c:NotificationThreadPool>
    </c:NotificationListener>
    <c:AFS>
    <!--missing fields -->
    </c:AFS>
    </c:CKSModule>

    NotificationListener appId and port must be consistent with the route defined in the scheduler configuration (see step 2 of the previous topic).

  3. Restart the CKS servers:

    /etc/init.d/cks_alerts restart

  4. Associate CKS to a Scheduler.

    See appendix Associate CKS to a Scheduler, and replace cks1-box with the hostname where the first scheduler is installed.