Server

16 views
Skip to first unread message

Ross Scanlon

unread,
Nov 10, 2021, 7:19:35 PM11/10/21
to osm-...@googlegroups.com
Hi All,

Just an update with the server.

New UPS installed.  Had to wait approx 3 weeks for one and then another
week for someone to be available to install it.

New watchdog installed.  Should automatically turn on the server if it
locks up or does not turn back on after a power outage.  I can also turn
the server on remotely via this.  Tested today all worked as it should.

I'm still about 2000kms away from the server and not likely to be back
there until middle of next month now.  At which time I will be replacing
the HDDs with SDDs.

Sometime after I get back I will be looking at changing the power supply
for the server to a solar battery system with grid backup. This will
depend on availability of the hybrid inverter as I have every thing else
in place.

Cheers

Ross


Ross Scanlon

unread,
Nov 11, 2021, 5:33:05 PM11/11/21
to osm-...@googlegroups.com, 80n
Hi All,

So after all the good work updating the ups and watchdog it appears the
router which connects the server to the internet has issues.

It's not responding remotely and I don't have anyone able to look at it
until next week.


So this means that editing will not be possible unfortunately.



@ 80n

So that fosm.org and map.fosm.org actually go to somewhere on the
internet can you change the ip address in the dns to:

59.167.220.189

This is the static map address.



Cheers

Ross

Tim Sheerman-Chase

unread,
Nov 18, 2021, 5:16:48 AM11/18/21
to osm-...@googlegroups.com
When the server moves over to use SSDs, I hope we will be able to turn
on some new XAPI features I've implemented. The indices do take more
space though at around at extra ~119Gb.

It only took me ... err several years to figure out how to do this in
postgis :)

Ross, probably the best option is to reinitialize the database on the
SSD drive from a planet dump, then pause the edit API and import the
recent changes into the new database. We might also want to do a dry run
of the procedure before moving over.

Tim

 schemaname | tablename            |  num_rows  | table_size
|                   index_name                    | index_size | unique
------------+--------------------------------+------------+------------+-------------------------------------------------+------------+--------
 public     | pycrocosm_mod_meta             |          0 | 8192 bytes
| |            | N
 public     | planet_static_meta             |          0 | 8192 bytes
| |            | N
 public     | pycrocosm_test_meta            |          0 | 8192 bytes
| |            | N
 public     | planet_static_livenodes        | 1376552576 | 163 GB    
| planet_static_livenodes_gix_tags                | 102 GB     | N
 public     | planet_static_livenodes        | 1376552576 | 163 GB    
| planet_static_livenodes_gix                     | 73 GB      | N
 public     | planet_static_way_mems         | 1614124288 | 78 GB     
| planet_static_way_mems_mids                     | 34 GB      | N
 public     | planet_static_livenodes        | 1376552576 | 163 GB    
| planet_static_livenodes_cs                      | 29 GB      | N
 public     | planet_static_livenodes        | 1376552576 | 163 GB    
| planet_static_livenodes_ts                      | 29 GB      | N
 public     | planet_static_nodeids          | 1376552576 | 46 GB     
| planet_static_nodeids_pkey                      | 29 GB      | Y
 public     | planet_static_livenodes        | 1376552576 | 163 GB    
| planet_static_livenodes_pkey                    | 29 GB      | Y
 public     | planet_static_liveways         |  123813272 | 106 GB    
| planet_static_liveways_gix_tags                 | 17 GB      | N
 public     | planet_static_liveways         |  123813272 | 106 GB    
| planet_static_liveways_cs                       | 10196 MB   | N
 public     | planet_static_liveways         |  123813272 | 106 GB    
| planet_static_liveways_pkey                     | 6816 MB    | Y
 public     | planet_static_liveways         |  123813272 | 106 GB    
| planet_static_liveways_ts                       | 5656 MB    | N
 public     | planet_static_wayids           |  123813272 | 4280 MB   
| planet_static_wayids_pkey                       | 2652 MB    | Y
 public     | planet_static_relation_mems_w  |   12242664 | 609 MB    
| planet_static_relation_mems_w_mids              | 262 MB     | N
 public     | planet_static_liverelations    |    1390036 | 1458 MB   
| planet_static_liverelations_gix_tags            | 177 MB     | N
 public     | planet_static_liverelations    |    1390036 | 1458 MB   
| planet_static_liverelations_pkey                | 89 MB      | Y
 public     | planet_static_liverelations    |    1390036 | 1458 MB   
| planet_static_liverelations_cs                  | 77 MB      | N
 public     | planet_static_liverelations    |    1390036 | 1458 MB   
| planet_static_liverelations_ts                  | 62 MB      | N
 public     | planet_static_relation_mems_n  |    1786045 | 89 MB     
| planet_static_relation_mems_n_mids              | 38 MB      | N
 public     | planet_static_relationids      |    1390036 | 48 MB     
| planet_static_relationids_pkey                  | 30 MB      | Y
 public     | planet_static_livenodes        | 1376552576 | 163 GB    
| planet_static_livenodes_uid                     | 4264 kB    | N
 public     | planet_static_liveways         |  123813272 | 106 GB    
| planet_static_liveways_uid                      | 2896 kB    | N
 public     | planet_static_relation_mems_r  |     112024 | 5712 kB   
| planet_static_relation_mems_r_mids              | 2488 kB    | N
 public     | spatial_ref_sys                |       8500 | 6936 kB   
| spatial_ref_sys_pkey                            | 304 kB     | Y
 public     | planet_static_liverelations    |    1390036 | 1458 MB   
| planet_static_liverelations_uid                 | 56 kB      | N
Reply all
Reply to author
Forward
0 new messages