Glite-3.0 dCache upgrade configuration
From GridPP Wiki
[root@wn4 examples]# /opt/glite/yaim/scripts/configure_node /opt/glite/yaim/examples/site-info.def SE_dcache Configuring config_upgrade Configuring config_ldconf /sbin/ldconfig: /opt/glite/externals/lib/libswigpy.so.0 is not a symbolic link /sbin/ldconfig: /opt/glite/externals/lib/libswigpl.so.0 is not a symbolic link /sbin/ldconfig: /opt/glite/externals/lib/libswigtcl8.so.0 is not a symbolic link Configuring config_sysconfig_edg Configuring config_sysconfig_globus Configuring config_sysconfig_lcg Configuring config_crl Configuring config_rfio Configuring config_host_certs Configuring config_users Configuring config_edgusers Configuring config_mkgridmap Now creating the grid-mapfile - this may take a few minutes... Configuring config_java Configuring config_rgma_client Welcome to the R-GMA setup utility ---------------------------------- Configuration written to: /opt/glite/etc/rgma/rgma.conf To configure security, edit proxy/certificate settings in /opt/glite/etc/rgma/ClientAuthentication.props Configuring config_gip Setting up an R-GMA Gin... - Configuring a gip information provider - Not configuring an fmon information provider - Not configuring a glite-ce information provider Wrote configuration to: /opt/glite/etc/rgma-gin/gin.conf All done Stopping rgma-gin: [ OK ] Starting rgma-gin: [ OK ] Configuring config_globus creating globus-sh-tools-vars.sh creating globus-script-initializer creating Globus::Core::Paths checking globus-hostname Done Creating... /opt/globus/etc/grid-info.conf Done Creating... /opt/globus/sbin/SXXgris /opt/globus/libexec/grid-info-script-initializer /opt/globus/libexec/grid-info-mds-core /opt/globus/libexec/grid-info-common /opt/globus/libexec/grid-info-cpu* /opt/globus/libexec/grid-info-fs* /opt/globus/libexec/grid-info-mem* /opt/globus/libexec/grid-info-net* /opt/globus/libexec/grid-info-platform* /opt/globus/libexec/grid-info-os* /opt/globus/etc/grid-info-resource-ldif.conf /opt/globus/etc/grid-info-resource-register.conf /opt/globus/etc/grid-info-resource.schema /opt/globus/etc/grid.gridftpperf.schema /opt/globus/etc/gridftp-resource.conf /opt/globus/etc/gridftp-perf-info /opt/globus/etc/grid-info-slapd.conf /opt/globus/etc/grid-info-site-giis.conf /opt/globus/etc/grid-info-site-policy.conf /opt/globus/etc/grid-info-server-env.conf /opt/globus/etc/grid-info-deployment-comments.conf Done Creating gatekeeper configuration file... Done Creating state file directory. Done. Reading gatekeeper configuration file... Determining system information... Creating job manager configuration file... Done Setting up fork gram reporter in MDS ----------------------------------------- Done Setting up pbs gram reporter in MDS ---------------------------------------- loading cache /dev/null checking for qstat... no Setting up condor gram reporter in MDS ---------------------------------------- loading cache /dev/null checking for condor_q... no Setting up lsf gram reporter in MDS ---------------------------------------- loading cache /dev/null checking for lsload... no loading cache ./config.cache checking for mpirun... (cached) no creating ./config.status creating fork.pm loading cache /dev/null checking for mpirun... no checking for qdel... no loading cache /dev/null checking for condor_submit... no loading cache /dev/null loading cache ./config.cache creating ./config.status creating grid-cert-request-config creating grid-security-config Stopping Globus MDS [FAILED] Starting Globus MDS (gcc32dbgpthr) [ OK ] Stopping globus-gridftp: [FAILED] Starting globus-gridftp:execvp: No such file or directory [FAILED] Shutting down lcg-mon-gridftp: [FAILED] Starting lcg-mon-gridftp [ OK ] Configuring config_pgsql Configuring config_sepnfs start yaim_query_conf_node_dcache_pnfs_root stop yaim_query_conf_node_dcache_pnfs_root Configuring config_sedcache start yaim_state_reset_postgresql psql: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/tmp/.s.PGSQL.5432"? stop yaim_state_reset_postgresql start config_pnfs_stop Shutting down pnfs services (PostgreSQL version): umount: /pnfs/fs: not mounted Stopping Heartbeat .... Ready Sorry, can't find shm 1122 stop config_pnfs_stop start config_pgsql_uninstall Stopping postgresql service: [FAILED] end config_pgsql_uninstall Done Resetting D-Caches Database start config_pgsql_install start config_pgsql_base_init Initializing database: Initializing database: [ OK ] Starting postgresql service: [ OK ] /opt/glite/yaim/scripts/configure_node: line 395: echo_success: command not found stop config_pgsql_base_init start config_pgsql_base_access Stopping postgresql service: [ OK ] Starting postgresql service: [ OK ] stop config_pgsql_base_access Starting postgresql service: [ OK ] end config_pgsql_install start config_pgsql_base_users Starting postgresql service: [ OK ] config_pgsql_base_user pnfsserver start config_pgsql_base_user pnfsserver CREATE ROLE stop config_pgsql_base_user config_pgsql_base_user srmdcache start config_pgsql_base_user srmdcache CREATE ROLE stop config_pgsql_base_user stop config_pgsql_base_users Checking for the RDBMS 'dcache' Could not find 'dcache' so installing createdb -U srmdcache dcache Checking for the RDBMS 'companion' Could not find 'companion' so installing createdb -U srmdcache companion psql:/opt/d-cache/etc/psql_install_companion.sql:6: NOTICE: CREATE TABLE / UNIQUE will create implicit index "cacheinfo_pnfsid_key" for table "cacheinfo" Checking for the RDBMS 'replicas' Could not find 'replicas' so installing createdb -U srmdcache replicas psql:/opt/d-cache/etc/psql_install_replicas.sql:99: NOTICE: ALTER TABLE / ADD PRIMARY KEY will create implicit index "poolname" for table "pools" psql:/opt/d-cache/etc/psql_install_replicas.sql:108: NOTICE: ALTER TABLE / ADD PRIMARY KEY will create implicit index "replica" for table "replicas" psql:/opt/d-cache/etc/psql_install_replicas.sql:117: NOTICE: ALTER TABLE / ADD PRIMARY KEY will create implicit index "hbprocess" for table "heartbeat" Checking for the RDBMS 'billing' Could not find 'billing' so installing createdb -U srmdcache billing start yaim_query_conf_node_dcache_pnfs_root stop yaim_query_conf_node_dcache_pnfs_root start yaim_state_reset_pnfs stop yaim_state_reset_pnfs start config_pnfs_stop Shutting down pnfs services (PostgreSQL version): umount: /pnfs/fs: not mounted Stopping Heartbeat .... Ready Sorry, can't find shm 1122 stop config_pnfs_stop start config_pnfs_uninstall start yaim_query_conf_node_dcache_pnfs_root stop yaim_query_conf_node_dcache_pnfs_root stop config_pnfs_uninstall start config_pnfs_install start yaim_query_conf_node_dcache_pnfs_root stop yaim_query_conf_node_dcache_pnfs_root start config_pnfs_install_script start yaim_query_conf_node_dcache_pnfs_root stop yaim_query_conf_node_dcache_pnfs_root /opt/pnfs /opt/glite/yaim/examples PNFS_PSQL_USER = pnfsserver PNFS is already installed and is not supposed to be overwritten - Exit stop config_pnfs_install_script stop config_pnfs_install Done Resetting D-Caches PNFS start config_pnfs_start Shutting down pnfs services (PostgreSQL version): umount: /pnfs/fs: not mounted Stopping Heartbeat .... Ready Sorry, can't find shm 1122 Starting pnfs services (PostgreSQL version): Shmcom : Installed 8 Clients and 8 Servers Starting database server for admin (/opt/pnfsdb/pnfs/databases/admin) ... Failed Starting database server for data1 (/opt/pnfsdb/pnfs/databases/data1) ... Failed Starting database server for alice (/opt/pnfsdb/pnfs/databases/alice) ... Failed Starting database server for atlas (/opt/pnfsdb/pnfs/databases/atlas) ... Failed Starting database server for dteam (/opt/pnfsdb/pnfs/databases/dteam) ... Failed Starting database server for cms (/opt/pnfsdb/pnfs/databases/cms) ... Failed Starting database server for lhcb (/opt/pnfsdb/pnfs/databases/lhcb) ... Failed Starting database server for sixt (/opt/pnfsdb/pnfs/databases/sixt) ... Failed Waiting for dbservers to register ... Ready Starting Mountd : pmountd Starting nfsd : pnfsd mount: RPC: Unable to receive; errno = Connection refused stop config_pnfs_start Skipping D-Cache config Reset Shutting down dcache pool: Stopping wn4Domain (pid=4589) Done Shutting down dcache services: Stopping gridftp-wn4Domain (pid=6085) Done Stopping gsidcap-wn4Domain (pid=6216) Done Stopping srm-wn4Domain (pid=6341) Done Pid File (/opt/d-cache/config/lastPid.replica) doesn't contain valid PID Stopping utilityDomain (pid=5789) Done Stopping httpdDomain (pid=17608) Done Stopping infoProviderDomain (pid=15988) Done Stopping pnfsDomain (pid=5886) Done Stopping adminDoorDomain (pid=5600) Done Stopping doorDomain (pid=5515) Done Stopping dirDomain (pid=5434) Done Stopping dCacheDomain (pid=5342) Done Stopping lmDomain (pid=5270) Done Stopping postgresql service: [ OK ] Starting postgresql service: [ OK ] start config_pnfs_stop Shutting down pnfs services (PostgreSQL version): umount: /pnfs/fs: not mounted Stopping Heartbeat .... Ready Removing 8 Clients 0+ 1+ 2+ 3+ 4+ 5+ 6+ 7+ Removing 8 Servers 0+ 1+ 2+ 3+ 4+ 5+ 6+ 7+ Removing main switchboard ... O.K. stop config_pnfs_stop start config_pnfs_start Shutting down pnfs services (PostgreSQL version): umount: /pnfs/fs: not mounted Stopping Heartbeat .... Ready Sorry, can't find shm 1122 Starting pnfs services (PostgreSQL version): Shmcom : Installed 8 Clients and 8 Servers Starting database server for admin (/opt/pnfsdb/pnfs/databases/admin) ... Failed Starting database server for data1 (/opt/pnfsdb/pnfs/databases/data1) ... Failed Starting database server for alice (/opt/pnfsdb/pnfs/databases/alice) ... Failed Starting database server for atlas (/opt/pnfsdb/pnfs/databases/atlas) ... Failed Starting database server for dteam (/opt/pnfsdb/pnfs/databases/dteam) ... Failed Starting database server for cms (/opt/pnfsdb/pnfs/databases/cms) ... Failed Starting database server for lhcb (/opt/pnfsdb/pnfs/databases/lhcb) ... Failed Starting database server for sixt (/opt/pnfsdb/pnfs/databases/sixt) ... Failed Waiting for dbservers to register ... Ready Starting Mountd : pmountd Starting nfsd : pnfsd mount: RPC: Unable to receive; errno = Connection refused stop config_pnfs_start [ERROR] /pnfs/fs mount point exists, but is not mounted. Make sure pnfs is running on this admin node. Exiting. Starting dcache pool: Starting wn4Domain 6 5 4 3 2 1 0 Done (pid=31767) start config_dcache_pnfs_databases start config_dcache_pnfs_database_get_id start yaim_query_conf_node_dcache_pnfs_root stop yaim_query_conf_node_dcache_pnfs_root end config_dcache_pnfs_database_get_id WARN: No action needed 'dteam' has its own pnfs DB already stop config_dcache_pnfs_databases start config_pnfs_stop Shutting down pnfs services (PostgreSQL version): umount: /pnfs/fs: not mounted Stopping Heartbeat .... Ready Removing 8 Clients 0+ 1+ 2+ 3+ 4+ 5+ 6+ 7+ Removing 8 Servers 0+ 1+ 2+ 3+ 4+ 5+ 6+ 7+ Removing main switchboard ... O.K. stop config_pnfs_stop start config_pnfs_start Shutting down pnfs services (PostgreSQL version): umount: /pnfs/fs: not mounted Stopping Heartbeat .... Ready Sorry, can't find shm 1122 Starting pnfs services (PostgreSQL version): Shmcom : Installed 8 Clients and 8 Servers Starting database server for admin (/opt/pnfsdb/pnfs/databases/admin) ... Failed Starting database server for data1 (/opt/pnfsdb/pnfs/databases/data1) ... Failed Starting database server for alice (/opt/pnfsdb/pnfs/databases/alice) ... Failed Starting database server for atlas (/opt/pnfsdb/pnfs/databases/atlas) ... Failed Starting database server for dteam (/opt/pnfsdb/pnfs/databases/dteam) ... Failed Starting database server for cms (/opt/pnfsdb/pnfs/databases/cms) ... Failed Starting database server for lhcb (/opt/pnfsdb/pnfs/databases/lhcb) ... Failed Starting database server for sixt (/opt/pnfsdb/pnfs/databases/sixt) ... Failed Waiting for dbservers to register ... Ready Starting Mountd : pmountd Starting nfsd : pnfsd mount: RPC: Unable to receive; errno = Connection refused stop config_pnfs_start start yaim_query_conf_info_system_version_door stop yaim_query_conf_info_system_version_door Warning: The new information system is still experimental. start yaim_config_info_system start yaim_config_pool_manager_add_lines start yaim_config_file_update_prepare stop yaim_config_file_update_prepare start yaim_config_file_update_done stop yaim_config_file_update_done stop yaim_config_pool_manager_add_lines start yaim_state_info_setup start yaim_config_file_update_prepare stop yaim_config_file_update_prepare start yaim_config_file_set_value stop yaim_config_file_set_value start yaim_config_file_update_done stop yaim_config_file_update_done Shutting down dcache services: Stopping gridftp-wn4Domain (pid=6085) Done Stopping gsidcap-wn4Domain (pid=6216) Done Stopping srm-wn4Domain (pid=6341) Done Pid File (/opt/d-cache/config/lastPid.replica) doesn't contain valid PID Stopping utilityDomain (pid=5789) Done Stopping httpdDomain (pid=17608) Done Stopping infoProviderDomain (pid=15988) Done Stopping pnfsDomain (pid=5886) Done Stopping adminDoorDomain (pid=5600) Done Stopping doorDomain (pid=5515) Done Stopping dirDomain (pid=5434) Done Stopping dCacheDomain (pid=5342) Done Stopping lmDomain (pid=5270) Done [ERROR] /pnfs/fs mount point exists, but is not mounted. Make sure pnfs is running on this admin node. Exiting. Stopping Globus MDS [FAILED] Starting Globus MDS (gcc32dbgpthr) [ OK ] stop yaim_state_info_setup start yaim_config_info_link stop yaim_config_info_link start yaim_config_info_template_static_set stop yaim_config_info_template_static_set start yaim_config_info_restart Stopping Globus MDS [FAILED] Starting Globus MDS (gcc32dbgpthr) [ OK ] stop yaim_config_info_restart stop yaim_config_info_system D-cache takes some time to initialise Please wait 10-15 Min's before you conclude the system is wrongly configured Configuration Complete [root@wn4 examples]#