HP 1032 ClusterPack V2.4 Tutorial - Page 117

Transfer a file from intranet to all Compute Nodes in the cluster, 2.3 Transfer a file

Page 117 highlights

Back to Top 2.2.2 Transfer a file from intranet to all Compute Nodes in the cluster If the cluster is a Guarded Cluster, this operation is done in two steps: z FTP the file to the Management Server. z Copy the file to all nodes in the cluster. % clcp /a/input.data %h:/date/input.data % clcp /a/input.data cluster:/date/input.data For more details on the usage of clcp, invoke the command: % man clcp References: z 2.2.1 Transfer a file from intranet to the Management Server in the cluster Back to Top 2.2.3 Transfer a file from intranet to specific Compute Nodes in the cluster If the cluster is a guarded cluster, this operation must be done in two steps: z First, FTP the file to the Head node (Management Server) z Second, distribute the file to specific nodes. There are two methods that can be used: 1. Use Clusterware Pro V5.1 CLI to distribute the file to the specific nodes that need the file % bsub -f op Where 'op' is an operator. An operator specifies whether the file is copied to the remote host, or whether it is copied back from the remote host. The operator must be surrounded by white space. The following describes the operators: > Copies the local file to the remote file before the job starts. Overwrites the remote file if it exists. % bsub -f >

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173

Back to Top
2.2.2 Transfer a file from intranet to all Compute Nodes in the cluster
If the cluster is a Guarded Cluster, this operation is done in two steps:
FTP the file to the Management Server.
Copy the file to all nodes in the cluster.
%
clcp /a/input.data %h:/date/input.data
%
clcp /a/input.data cluster:/date/input.data
For more details on the usage of clcp, invoke the command:
%
man clcp
References:
2.2.1 Transfer a file from intranet to the Management Server in the cluster
Back to Top
2.2.3 Transfer a file from intranet to specific Compute Nodes in the cluster
If the cluster is a guarded cluster, this operation must be done in two steps:
First, FTP the file to the Head node (Management Server)
Second, distribute the file to specific nodes. There are two methods that can be
used:
1.
Use Clusterware Pro V5.1 CLI to distribute the file to the
specific nodes that need the file
%
bsub -f <local_file> op <remote_file>
Where 'op' is an operator. An operator specifies whether the file
is copied to the remote host, or whether it is copied back from
the remote host. The operator must be surrounded by white
space. The following describes the operators:
>
Copies the local file to the remote file before the job starts.
Overwrites the remote file if it exists.
%
bsub -f <local_file> > <remote_file>