ad_acs_admin_node (public)

 ad_acs_admin_node

Defined in packages/acs-tcl/tcl/acs-kernel-procs.tcl

Returns:
The node id of the ACS administration service if it is mounted, 0 otherwise.

Partial Call Graph (max 5 caller/called nodes):
%3 test_acs_system_information_api acs_system_information_api (test acs-tcl) ad_acs_admin_node ad_acs_admin_node test_acs_system_information_api->ad_acs_admin_node db_string db_string (public) ad_acs_admin_node->db_string

Testcases:
acs_system_information_api
Source code:
    #
    # acs-admin is a singleton, so there is no chance that we have
    # multiple instances of it. If we do, something is wrong with our
    # setup.
    #
    return [db_string acs_admin_node {
        select node_id from site_nodes n, apm_packages p
        where n.object_id = p.package_id
        and p.package_key = 'acs-admin'
    } -default 0]
XQL Not present:
Generic
PostgreSQL XQL file:
packages/acs-tcl/tcl/acs-kernel-procs-postgresql.xql

Oracle XQL file:
packages/acs-tcl/tcl/acs-kernel-procs-oracle.xql

[ hide source ] | [ make this the default ]
Show another procedure: