Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
starmen2000
Collaborator
Collaborator

SMS Upgrade with migration

Hi Mates,

 

we are going to upgrade sms server from 80.30 to 81.10. We will go for upgrade with migration. But for migration in the old system there is only %3 free disk place. And customer wants to take all logs to new server. So we can not delete the old files. What would we do in that case? 

0 Kudos
18 Replies
the_rock
Legend
Legend

Are you able to free up some space?

Andy

0 Kudos
starmen2000
Collaborator
Collaborator

Not so much. 

0 Kudos
the_rock
Legend
Legend

Like how much?

0 Kudos
starmen2000
Collaborator
Collaborator

Maximum might be % 5 total free place.

0 Kudos
the_rock
Legend
Legend

Hm...not too promising. Can you run below and see what you get?

Andy

find /var/log -size +500000000c

 

0 Kudos
starmen2000
Collaborator
Collaborator

So many things.

 

/var/log/CPbackup/backups/****************
/var/log/tmp/gaia_backups/******************
/var/log/tmp/gaia_backups/******************
/var/log/tmp/gaia_backups/******************

 

/var/log/opt/CPsuite-R80.30/fw1/log/2023-05-25_234543_40.log
/var/log/opt/CPsuite-R80.30/fw1/log/2023-06-05_113628_54.log
/var/log/opt/CPsuite-R80.30/fw1/log/2023-05-24_113854_37.log
/var/log/opt/CPsuite-R80.30/fw1/log/2023-06-05_223510_55.log
/var/log/opt/CPsuite-R80.30/fw1/log/2023-04-29_181736_348.log
/var/log/opt/CPsuite-R80.30/fw1/log/2023-05-08_112630_11.log

....long list

 

and also 

/var/log/opt/CPrt-R80.30/log_indexes/firewallandvpn_2023-05-05T00-00-00/data/index/_1j99_Lucene45_0.dvd
/var/log/opt/CPrt-R80.30/log_indexes/firewallandvpn_2023-05-24T00-00-00/data/index/_1m81_Lucene41_0.doc
/var/log/opt/CPrt-R80.30/log_indexes/firewallandvpn_2023-05-24T00-00-00/data/index/_1m81_Lucene45_0.dvd
/var/log/opt/CPrt-R80.30/log_indexes/firewallandvpn_2023-05-31T00-00-00/data/index/_1mgb_Lucene41_0.doc
/var/log/opt/CPrt-R80.30/log_indexes/firewallandvpn_2023-05-31T00-00-00/data/index/_1mgb_Lucene45_0.dvd
/var/log/opt/CPrt-R80.30/log_indexes/firewallandvpn_2023-06-07T00-00-00/data/index/_16tu_Lucene41_0.doc
/var/log/opt/CPrt-R80.30/log_indexes/firewallandvpn_2023-06-07T00-00-00/data/index/_16tu_Lucene45_0.dvd
/var/log/opt/CPrt-R80.30/log_indexes/firewallandvpn_2023-06-13T00-00-00/data/index/_1n75_Lucene41_0.doc
/var/log/opt/CPrt-R80.30/log_indexes/firewallandvpn_2023-06-13T00-00-00/data/index/_1n75_Lucene45_0.dvd

.........long list

 

 

 

0 Kudos
the_rock
Legend
Legend

Just be careful, do NOT delete anything, except the no longer needed .log files. What is the date for the oldest log file you see? Anything from 2022?

Andy

0 Kudos
starmen2000
Collaborator
Collaborator

The oldest log files are unfortunately from 2023 May.

0 Kudos
the_rock
Legend
Legend

K, fair enough. I would verify with TAC, but not sure what else they can suggest if there are no older logs to delete, but worth a try.

Good luck mate.

Andy

0 Kudos
RS_Daniel
Advisor

Hello,

Every time i tried to migrate DB with logs i had problems. I would try to copy all log files to an external storage, do the migrate without logs, and then when your new server is running ok, copy log files to your new management and index them. 

Regards

starmen2000
Collaborator
Collaborator

You mean, can I  read the logs i by copying the logs file to new management server, can you give me some details about it? And another topic, How can I index it?

the_rock
Legend
Legend

0 Kudos
starmen2000
Collaborator
Collaborator

@the_rock  Do I understood correct? If I migrate only the mgmt database to new mgmt server. Then simply copy the logs files manuelly to new management server. Then according, the link which you sent, indexing. So in that way should log migrate work and can I read the copied logs in the new mgmt server?

the_rock
Legend
Legend

Thats right.

0 Kudos
starmen2000
Collaborator
Collaborator

One more question; once clean install is done, should I install actual hotfix before migrate or after migrate. or does not matter? 

0 Kudos
the_rock
Legend
Legend

I always do it after.

0 Kudos
RS_Daniel
Advisor

the_rock
Legend
Legend

Thats not for indexing though...more to open the logs in old school tracker.

0 Kudos

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    CheckMates Events