Commit 02aeaf0f authored by Giuseppe Lo Presti's avatar Giuseppe Lo Presti
Browse files

Merge branch 'v2_1_14Version'

parents ad328131 c34a711d
......@@ -78,7 +78,7 @@
upgrade script available from:
- http://cern.ch/castor/DIST/CERN/savannah/CASTOR.pkg/2.1.14-*/2.1.14-11/dbupgrades
Note that as some cleanup is performed by the script, its execution may take
several minutes. However the service should not affected by this cleanup operation.
several minutes. However the service should not be affected by this cleanup operation.
2. Upgrade the software on the headnodes.
Note: All daemons involved in the upgrade will be restarted automatically.
......@@ -95,8 +95,10 @@
Central services (CUPV, VMGR, VDQM, Nameserver)
-----------------------------------------------
The upgrade of the central databases to 2.1.14-11 can be performed online while
the system is running.
The upgrade of the central services to 2.1.14-11 can be performed online while
the system is running. The order of upgrades is not important, however it is
recommended to upgrade VMGR at the earliest opportunity to limit the impact
of bug #103729.
Instructions
------------
......
......@@ -765,7 +765,7 @@ CREATE TABLE FileMigrationResultsHelper
CREATE INDEX I_FileMigResultsHelper_ReqId ON FileMigrationResultsHelper(ReqId);
/* SQL statements for type DiskServer */
CREATE TABLE DiskServer (name VARCHAR2(2048), lastHeartbeatTime NUMBER, id INTEGER CONSTRAINT PK_DiskServer_Id PRIMARY KEY, status INTEGER, hwOnline INTEGER DEFAULT 0) INITRANS 50 PCTFREE 50 ENABLE ROW MOVEMENT;
CREATE TABLE DiskServer (name VARCHAR2(2048), lastHeartbeatTime NUMBER DEFAULT 0, id INTEGER CONSTRAINT PK_DiskServer_Id PRIMARY KEY, status INTEGER, hwOnline INTEGER DEFAULT 0) INITRANS 50 PCTFREE 50 ENABLE ROW MOVEMENT;
CREATE UNIQUE INDEX I_DiskServer_name ON DiskServer (name);
ALTER TABLE DiskServer MODIFY
(status CONSTRAINT NN_DiskServer_Status NOT NULL,
......@@ -1176,7 +1176,6 @@ CREATE TABLE DrainingJob
egid INTEGER CONSTRAINT NN_DrainingJob_Egid NOT NULL,
pid INTEGER CONSTRAINT NN_DrainingJob_Pid NOT NULL,
machine VARCHAR2(2048) CONSTRAINT NN_DrainingJob_Machine NOT NULL,
reqId VARCHAR2(2048) CONSTRAINT NN_DrainingJob_ReqId NOT NULL,
creationTime INTEGER CONSTRAINT NN_DrainingJob_CT NOT NULL,
lastModificationTime INTEGER CONSTRAINT NN_DrainingJob_LMT NOT NULL,
status INTEGER CONSTRAINT NN_DrainingJob_Status NOT NULL,
......
......@@ -1481,7 +1481,7 @@ CREATE TABLE FileMigrationResultsHelper
CREATE INDEX I_FileMigResultsHelper_ReqId ON FileMigrationResultsHelper(ReqId);
 
/* SQL statements for type DiskServer */
CREATE TABLE DiskServer (name VARCHAR2(2048), lastHeartbeatTime NUMBER, id INTEGER CONSTRAINT PK_DiskServer_Id PRIMARY KEY, status INTEGER, hwOnline INTEGER DEFAULT 0) INITRANS 50 PCTFREE 50 ENABLE ROW MOVEMENT;
CREATE TABLE DiskServer (name VARCHAR2(2048), lastHeartbeatTime NUMBER DEFAULT 0, id INTEGER CONSTRAINT PK_DiskServer_Id PRIMARY KEY, status INTEGER, hwOnline INTEGER DEFAULT 0) INITRANS 50 PCTFREE 50 ENABLE ROW MOVEMENT;
CREATE UNIQUE INDEX I_DiskServer_name ON DiskServer (name);
ALTER TABLE DiskServer MODIFY
(status CONSTRAINT NN_DiskServer_Status NOT NULL,
......@@ -1892,7 +1892,6 @@ CREATE TABLE DrainingJob
egid INTEGER CONSTRAINT NN_DrainingJob_Egid NOT NULL,
pid INTEGER CONSTRAINT NN_DrainingJob_Pid NOT NULL,
machine VARCHAR2(2048) CONSTRAINT NN_DrainingJob_Machine NOT NULL,
reqId VARCHAR2(2048) CONSTRAINT NN_DrainingJob_ReqId NOT NULL,
creationTime INTEGER CONSTRAINT NN_DrainingJob_CT NOT NULL,
lastModificationTime INTEGER CONSTRAINT NN_DrainingJob_LMT NOT NULL,
status INTEGER CONSTRAINT NN_DrainingJob_Status NOT NULL,
......
......@@ -2,7 +2,7 @@ castor (2.1.14-11) unstable; urgency=low
* Fifth 2.1.14 production release
-- Giuseppe Lo presti <giuseppe.lopresti@cern.ch> Mon, 10 Feb 2014 12:00:00 +0100
-- Giuseppe Lo presti <giuseppe.lopresti@cern.ch> Wed, 12 Feb 2014 12:00:00 +0100
castor (2.1.14-10) unstable; urgency=low
......
......@@ -68,6 +68,14 @@ def xrdcp(self):
return [cmd, 'KRB5CCNAME=nonexistinghost ' + cmd]
Setup.getTag_xrdcp = xrdcp
# This is the old xroot client, but we still use it for the prepare test
# as the new client (3.3.x) does not provide the equivalent command. It should
# be dropped once we adopt xroot 4.0.0, which provides a prepare command.
def xrd(self):
return os.environ['XROOTSYS'] + os.sep + 'bin' + os.sep + 'xrd'
Setup.getTag_xrd = xrd
def xrdfs(self):
return os.environ['XROOTSYS'] + os.sep + 'bin' + os.sep + 'xrdfs'
Setup.getTag_xrdfs = xrdfs
......@@ -7,5 +7,3 @@ stager_get -S <tapeServiceClass> -M <tapeFileName>
stager_qry -S <tapeServiceClass> -M <tapeFileName>
stager_rm -S <diskOnlyServiceClass> -M <tapeFileName>
stager_qry -S <tapeServiceClass> -M <tapeFileName>
stager_rm -S <tapeServiceClass> -M <tapeFileName>
stager_qry -S <tapeServiceClass> -M <tapeFileName>
<xrdcp> <localFileName> <xrdcpURL>
nsls -l <noTapeFileName> | awk '{print $(1)" "$(NF)}'
<xrd> <stageHost> chmod <noTapeFileName> 7 7 7 | sed '/^$/d'
<xrdfs> <stageHost> chmod <noTapeFileName> rwxrwxrwx | sed '/^$/d'
nsls -l <noTapeFileName> | awk '{print $(1)" "$(NF)}'
<xrd> <stageHost> chmod <noTapeFileName> 6 0 0 | sed '/^$/d'
<xrdfs> <stageHost> chmod <noTapeFileName> rw------- | sed '/^$/d'
nsls -l <noTapeFileName> | awk '{print $(1)" "$(NF)}'
nsrm <noTapeFileName>
<xrdcp> <localFileName> <xrdcpURL>
<xrd> <stageHost> isfileonline <tapeFileName>
<corexrdcp> -f <localFileName> <simpleXrdcpTapeURL>
<xrdfs> <stageHost> stat <tapeFileName>
status=`stager_qry -M <tapeFileName> | tail -1 | awk '{print $NF;}'`; while [[ $status == 'CANBEMIGR' ]]; do sleep 15; status=`stager_qry -M <tapeFileName> | tail -1 | awk '{print $NF;}'` ; done
<xrdfs> <stageHost> stat <tapeFileName>
stager_rm -M <tapeFileName>
<xrd> <stageHost> isfileonline <tapeFileName>
nsrm <tapeFileName>
<xrdfs> <stageHost> stat <tapeFileName>
The file is online.
Path: <tapeFileName>
Id: <id1>
Size: <size1>
Flags: 16 (IsReadable)
**** : trace level set to 3
stager: stage_rm
stager: Looking up RH host - Using <rhhost>
stager: Looking up RH port - Using <rhport>
stager: Setting euid: <userid>
stager: Setting egid: <groupid>
stager: Localhost is: <localhost>
stager: Creating socket for castor callback - Using port <callback port>
stager: <sending time> Sending request
stager: <uuid> SND <send duration> s to send the request
stager: Waiting for callback from castor
stager: <uuid> CBK <answer duration> s before callback from <server ip> was received
Received 1 responses
<tapeFileName> SUBREQUEST_READY
Path: <tapeFileName>
Id: <id1>
Size: <size1>
Flags: 16 (IsReadable)
The file is not online.
**** : trace level set to 3
stager: stage_rm
stager: Looking up RH host - Using <rhhost>
stager: Looking up RH port - Using <rhport>
stager: Setting euid: <userid>
stager: Setting egid: <groupid>
stager: Localhost is: <localhost>
stager: Creating socket for castor callback - Using port <callback port>
stager: <sending time> Sending request
stager: <uuid> SND <send duration> s to send the request
stager: Waiting for callback from castor
stager: <uuid> CBK <answer duration> s before callback from <server ip> was received
Received 1 responses
<tapeFileName> SUBREQUEST_READY
Path: <tapeFileName>
Id: 0
Size: <size1>
Flags: 12 (Other|Offline)
<xrd> <stageHost> mkdir <noTapeFileName> | sed '/^$/d'
nsls <noTapeFileName>
<xrd> <stageHost> rmdir <noTapeFileName> | sed '/^$/d'
<xrdfs> <stageHost> mkdir <noTapeFileName>
<xrdfs> <stageHost> stat <noTapeFileName>
<xrdfs> <stageHost> rmdir <noTapeFileName>
nsls <noTapeFileName>
Path: <noTapeFileName>
Id: <id1>
Size: 0
Flags: 2 (IsDir)
<xrdcp> <localFileName> <xrdcpURL>
<xrd> <stageHost> isfileonline <noTapeFileName>
stager_rm -M <noTapeFileName>
<xrd> <stageHost> isfileonline <noTapeFileName>
nsrm <noTapeFileName>
\ No newline at end of file
[xrootd] Total <bytes transfered> |====================| 100.00 % [<transfer speed> MB/s]
**** : trace level set to 3
stager: stage_rm
stager: Looking up RH host - Using <rhhost>
stager: Looking up RH port - Using <rhport>
stager: Setting euid: <userid>
stager: Setting egid: <groupid>
stager: Localhost is: <localhost>
stager: Creating socket for castor callback - Using port <callback port2>
stager: <sending time2> Sending request
stager: <uuid2> SND <send duration2> s to send the request
stager: Waiting for callback from castor
stager: <uuid2> CBK <answer duration2> s before callback from <server ip2> was received
Received 1 responses
<noTapeFileName> SUBREQUEST_READY
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment