HP 1032 ClusterPack V2.4 Tutorial - Page 59

SysFile.con and Sysfile.uncon It is possible to customize these files, and to add

Page 59 highlights

clsysfile creates an SD bundle CPACK-FILES. This bundle of files can be used to customize the files on the compute nodes. The revision number of the bundle is automatically incremented each time clsysfile is run. On the management server, clsysfile uses the working directory: /var/opt/clusterpack/sysfiles clsysfile builds the SD control files required to create a SD bundles of files. Three controls files are created by clsysfile: SysFile.psf, SysFile.configure, and Sysfile.unconfigure. The files that are included in the bundle must be created in: /var/opt/clusterpack/sysfiles/src The files under the toplevel "src" directory on the management server, including the required directories, will be included in the bundle. The files will be installed, indriectly, on the compute nodes treating the toplevel directory as the root file system (i.e. "/"). During installation on a compute node, the files are installed under /var/opt/clusterpack/sysfiles/src. During instalation, the software bundle will be configured automatically. The configure step will copy the files from that top level directory into the corresponding location in the "/" root file system on the machine. If an existing file on the compute node would be overwritten, that file will be moved to /var/opt/clusterpack/sysfiles/save to preserve the file. If the CPACK-FILES bundle is unconfigred, the origional files will be restored to their origional location. clsysfile can be invoked with no options. The files that will be included in the bundle will be shown, and the CPACK-FILES revision number will also be listed: % /opt/clusterpack/bin/clsysfile clsysfile creates three SD control files in the /var/opt/clusterpack/sysfiles directory: SysFile.psf, SysFile.configure, and Sysfile.unconfigure. It is possible to customize these files, and to add additional SD controls files to the bundle. clsyfile will stop after the SD control files are created by using the "-build" option: % clsysfile -build Please refer to the man pages for swpackage(1M), sd(4), and sd(5) for imformation about the SD control files. To package the CPACK-FILES bundles after any local modifactions have been made, use the "-package" option % clsysfile -package A list of all the CPACK-FILES bundles that are in /var/opt/clusterpack/depot can be found using the "-l" list option to clsysfile. % clsysfile -l

  • 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

clsysfile creates an SD bundle CPACK-FILES. This bundle of files can be used to customize
the files on the compute nodes. The revision number of the bundle is automatically incremented
each time clsysfile is run.
On the management server, clsysfile uses the working directory:
/var/opt/clusterpack/sysfiles
clsysfile builds the SD control files required to create a SD bundles of files. Three controls files
are created by clsysfile: SysFile.psf, SysFile.configure, and Sysfile.unconfigure. The files that
are included in the bundle must be created in:
/var/opt/clusterpack/sysfiles/src
The files under the toplevel "src" directory on the management server, including the required
directories, will be included in the bundle. The files will be installed, indriectly, on the compute
nodes treating the toplevel directory as the root file system (i.e. "/").
During installation on a compute node, the files are installed
under /var/opt/clusterpack/sysfiles/src. During instalation, the software bundle will be
configured automatically. The configure step will copy the files from that top level directory
into the corresponding location in the "/" root file system on the machine. If an existing file on
the compute node would be overwritten, that file will be moved
to /var/opt/clusterpack/sysfiles/save to preserve the file. If the CPACK-FILES bundle is
unconfigred, the origional files will be restored to their origional location.
clsysfile can be invoked with no options. The files that will be included in the bundle will be
shown, and the CPACK-FILES revision number will also be listed:
%
/opt/clusterpack/bin/clsysfile
clsysfile creates three SD control files in the /var/opt/clusterpack/sysfiles directory: SysFile.psf,
SysFile.configure, and Sysfile.unconfigure. It is possible to customize these files, and to add
additional SD controls files to the bundle. clsyfile will stop after the SD control files are created
by using the "-build" option:
%
clsysfile -build
Please refer to the man pages for swpackage(1M), sd(4), and sd(5) for imformation about the
SD control files.
To package the CPACK-FILES bundles after any local modifactions have been made, use the
"-package" option
%
clsysfile -package
A list of all the CPACK-FILES bundles that are in /var/opt/clusterpack/depot can be found
using the "-l" list option to clsysfile.
%
clsysfile -l