Changeset 1099 for opsi/products
- Timestamp:
- Sep 21, 2012, 4:52:27 PM (12 years ago)
- Location:
- opsi/products/bacula
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
opsi/products/bacula/CLIENT_DATA/setup3264.ins
r1098 r1099 24 24 DefVar $LicensePool$ 25 25 DefVar $INST_SystemType$ 26 DefVar $INST_NTVersion$ 26 27 DefVar $INST_architecture$ 27 28 … … 35 36 36 37 37 Set $INST_SystemType$ = GetSystemType 38 Set $INST_SystemType$ = GetSystemType 39 set $INST_NTVersion$ = GetMsVersionInfo 38 40 set $INST_architecture$ = GetProductProperty("install_architecture","system specific") 39 41 42 set $catalog$ = GetProductProperty( "catalog", "MyCatalog" ) 40 43 set $filedaemon_full_name$ = GetProductProperty( "filedaemon_full_name", "" ) 41 44 set $filedaemon_full_password$ = GetProductProperty( "filedaemon_full_password", "filedaemon_full_password" ) … … 127 130 ;Patches_bacula_conf $InstallDir$+"\bacula-fd.conf" 128 131 DosBatch_bacula-fd.conf 132 DosBatch_bconsole.conf 133 DosBatch_bat.conf 134 DosBatch_tray_monitor.conf 135 136 if ($INST_NTVersion$ >= "6.0") 137 DosShell_open_firewall_nt6 138 else 139 DosShell_open_firewall 140 endif 141 142 ; start FD immediatly, not only after reboot 143 DosBatch_start_bacula-fd 129 144 130 145 ; … … 154 169 echo # 155 170 echo FileDaemon { # this is me 156 echo Name = $filedaemon_full_name$157 echo FDport = 9102 # where we listen for the director158 echo WorkingDirectory = "$InstallDirOpsi$\\working"159 echo Pid Directory = "$InstallDirOpsi$\\working"160 echo Plugin Directory = "$InstallDirOpsi$\\plugins"171 echo Name = "$filedaemon_full_name$" 172 echo FDport = 9102 # where we listen for the director 173 echo WorkingDirectory = "$InstallDirOpsi$\\working" 174 echo Pid Directory = "$InstallDirOpsi$\\working" 175 echo Plugin Directory = "$InstallDirOpsi$\\plugins" 161 176 echo Maximum Concurrent Jobs = 10 162 177 echo } … … 166 181 echo # 167 182 echo Director { 168 echo Name = $director_name$183 echo Name = "$director_name$" 169 184 echo Password = "$filedaemon_full_password$" 170 185 echo } … … 175 190 echo # 176 191 echo Director { 177 echo Name = $filedaemon_monitor_name$192 echo Name = "$filedaemon_monitor_name$" 178 193 echo Password = "$filedaemon_monitor_password$" 179 194 echo Monitor = yes … … 186 201 echo } 187 202 ) > $InstallDir$/bacula-fd.conf 203 204 205 206 [DosBatch_bconsole.conf] 207 ( 208 echo # 209 echo # managed by opsi 210 echo # 211 echo Director { 212 echo Name = "$director_name$" 213 echo Address = "$director_address$" 214 echo DIRport = 9101 215 echo Password = "$director_password$" 216 echo } 217 ) > $InstallDir$/bconsole.conf 218 219 220 221 [DosBatch_bat.conf] 222 ( 223 echo # 224 echo # managed by opsi 225 echo # 226 echo Director { 227 echo Name = "$director_name$" 228 echo Address = "$director_address$" 229 echo DIRport = 9101 230 echo Password = "$director_password$" 231 echo } 232 ) > $InstallDir$/bat.conf 233 234 235 236 [DosBatch_tray-monitor.conf] 237 ( 238 echo # 239 echo # managed by opsi 240 echo # 241 echo Monitor { 242 echo Name = "$filedaemon_monitor_name$" 243 echo Password = "$filedaemon_monitor_password$" 244 echo RefreshInterval = 30 seconds 245 echo } 246 echo 247 echo Client { 248 echo Name = "$filedaemon_full_name$" 249 echo Address = localhost 250 echo FDport = 9102 251 echo Password = "$filedaemon_monitor_password$" 252 echo } 253 ) > $InstallDir$/tray-monitor.conf 254 255 256 257 [DosBatch_open_firewall] 258 netsh firewall add portopening protocol=TCP port=9102 name=bacula-fd-port 259 260 [DosBatch_open_firewall_nt6] 261 netsh advfirewall firewall add rule name="bacula-fd-port" dir=in action=allow protocol=TCP localport=9102 262 263 [DosBatch_start_bacula-fd] 264 net start bacula-fd 188 265 189 266 [opsiservicecall_set_product_property_filedaemon_full_name] -
opsi/products/bacula/OPSI/control
r1029 r1099 1 1 [Package] 2 version: 32 version: 5 3 3 depends: 4 4 incremental: False … … 24 24 [ProductProperty] 25 25 type: unicode 26 name: catalog 27 multivalue: False 28 editable: True 29 description: only relevant for bacula director configuration 30 default: ["MyCatalog"] 31 32 [ProductProperty] 33 type: unicode 26 34 name: filedaemon_full_name 27 35 multivalue: False … … 104 112 105 113 [Changelog] 114 20120921, 5.2.10-5, Joerg Steffens 115 * create config files bat.conf, bconsole.conf and tray-monitor.conf 116 * add property "catalog" 117 * configure firewall for bacula fd 118 * start bacula fd immediatly, not only after reboot 119 120 20120921, 5.2.10-4, Joerg Steffens 121 * write paths with \\ instead of \ (required by Bacula) 122 106 123 20120710, 5.2.10-3, Joerg Steffens 107 124 * write properties filedaemon_full_name and filedaemon_monitor_name back to opsi server
Note:
See TracChangeset
for help on using the changeset viewer.