Hi All,
I am trying to migrate an AWS cloud management instance from R80.20 to R80.40.
I downloaded the latest Upgrade tools from sk135172 and installed on both old and new management server.
running the verifier on the old server does not give me any errors and export operation is completed successfully.
I am trying to import the database in my VMWare lab. I have installed R80.40 T294, updated the DA and installed the same Upgrade tools.
running below command on both servers show 994000381
cpprod_util CPPROD_GetValue CPupgrade-tools-R80.40 BuildNumber 1
I have also deleted the cpm.elg and fwm.elg files following sk168360
but when i try to import the database with "./migrate_server import -v R80.40 -skip_upgrade_tools_check /var/log/DB/dc.tgz" It is stuck at 20% and then gives me the below error.
Failed to import: Failed: Failed to execute command /opt/CPupgrade-tools-R80.40/bin/migrate import --config_only -n --smartlog /opt/CPsuite-R80.40/fw1/log/DB/temp-export/a0eebc99-afed-4ef8-bb6d-fedfedfedfed.tgz. Failed to execute net.ipv4.ip_forward = 0
net.ipv4.conf.default.rp_filter = 0
upgrade report shows as per below.
Failed to execute command /opt/CPupgrade-tools-R80.40/bin/migrate import --config_only -n --smartlog /opt/CPsuite-R80.40/fw1/log/DB/temp-export/a0eebc99-afed-4ef8-bb6d-fedfedfedfed.tgz. Failed to execute net.ipv4.ip_forward = 0
net.ipv4.conf.default.rp_filter = 0
kernel.sysrq = 0
kernel.core_uses_pid = 1
kernel.msgmnb = 65536
kernel.msgmax = 65536
kernel.shmmax = 4294967295
kernel.shmall = 268435456
net.ipv4.conf.default.arp_filter = 1
net.ipv4.conf.all.arp_filter = 1
net.ipv4.icmp_echo_ignore_broadcasts = 1
net.ipv4.conf.all.accept_redirects = 0
net.ipv4.tcp_syn_retries = 3
net.ipv4.tcp_window_scaling = 1
kernel.printk = 1 1 1 1
net.ipv4.ip_local_port_range = 32768 65535
net.ipv4.tcp_timestamps = 1
net.core.rmem_default = 262144
net.core.rmem_max = 33554432
net.core.wmem_default = 262144
net.core.wmem_max = 262144
fs.file-max = 524288
kernel.core_pattern = |/etc/coredump/compress.sh /var/log/dump/usermode/%e.%p.core
kernel.sem = 250 64000 32 256
net.ipv4.neigh.default.gc_thresh1 = 1024
net.ipv4.neigh.default.gc_thresh2 = 4096
net.ipv4.neigh.default.gc_thresh3 = 8192
net.ipv4.conf.all.promote_secondaries = 1
vm.zone_reclaim_mode = 0
kernel.softlockup_all_cpu_backtrace = 1
dev.raid.speed_limit_max = 300000
vm.max_map_count = 4194304
net.ipv4.tcp_syncookies = 0
vm.max_map_count = 4194304
net.ipv4.ip_local_port_range = 1024 65535
net.ipv4.tcp_fin_timeout = 30
Directory exists
Reading configuration file from /opt/CPsuite-R80.40/fw1/conf/serverSettings.props
variable NGM_CPM_POSTGRES_CHECKPOINT_SEGMENTS exists
variable name: checkpoint_segments
variable value: 16
sedExp value: s@^#*checkpoint_segments[[:space:]]*=[^#]*@checkpoint_segments=16t@g
variable NGM_CPM_POSTGRES_SHARED_BUFFERS exists
variable name: shared_buffers
variable value: 635MB
sedExp value: s@^#*shared_buffers[[:space:]]*=[^#]*@shared_buffers=635MBt@g
variable NGM_CPM_POSTGRES_TEMP_BUFFERS exists
variable name: temp_buffers
variable value: 128MB
sedExp value: s@^#*temp_buffers[[:space:]]*=[^#]*@temp_buffers=128MBt@g
variable NGM_CPM_POSTGRES_WORK_MEM exists
variable name: work_mem
variable value: 128MB
sedExp value: s@^#*work_mem[[:space:]]*=[^#]*@work_mem=128MBt@g
variable NGM_CPM_POSTGRES_EFFECTIVE_CACHE_SIZE exists
variable name: effective_cache_size
variable value: 3177MB
sedExp value: s@^#*effective_cache_size[[:space:]]*=[^#]*@effective_cache_size=3177MBt@g
variable NGM_CPM_POSTGRES_MAINTENANCE_WORK_MEM exists
variable name: maintenance_work_mem
variable value: 256MB
sedExp value: s@^#*maintenance_work_mem[[:space:]]*=[^#]*@maintenance_work_mem=256MBt@g
variable NGM_CPM_POSTGRES_MAX_CONNECTIONS exists
variable name: max_connections
variable value: 200
sedExp value: s@^#*max_connections[[:space:]]*=[^#]*@max_connections=200t@g
variable NGM_CPM_DEFAULT_TRANSACTION_ISOLATION doesn't exist!
variable name: default_transaction_isolation
variable value: 'repeatable read'
sedExp value: s@^#*default_transaction_isolation[[:space:]]*=[^#]*@default_transaction_isolation='repeatable read't@g
removing variable checkpoint_segments
Finished to run successfully postgres_configure.sh
Running pg_ctl start
waiting for server to start.... stopped waiting
Running pg_ctl reload
server signaled
CLINFR0771 Config lock is owned by admin. Use the command 'lock database override' to acquire the lock.
Processing line 1 out of 4
NMSGRP0019 Group already exists
add group Java_users gid 1055
---------------------^^^^^^^^
CLICMD0159 Error at line 1. Could not execute all commands successfully.
Modifying port to 4434
IsGaia=1
Check status of port 443
Port 443 is still busy
Check status of port 443
Port 443 is still busy
Check status of port 443
Port 443 is still busy
Check status of port 443
Port 443 is still busy
Check status of port 443
Port 443 is free
UEPM: ERROR - Unable to find the watch dog daemon - run cpstart
UEPM: Failed to start Endpoint Security Management!!!
msg_conn_handler: connection error: messaging connection to daemon failed.
sysctl: cannot stat /proc/sys/net/ipv4/route/secret_interval: No such file or directory
pg_ctl: another server might be running; trying to start server anyway
pg_ctl: could not start server
Examine the log output.
msg_conn_handler: connection error: messaging connection to daemon failed.
Execution finished with errors. See log file '/opt/CPshrd-R80.40/log/migrate-2021.05.26_02.21.47.log' for further details
below are the ERR messages from log file.
[26 May 2:29:50] [ExecCommandGetOutput] Going to execute command: '"/opt/CPuepmm
-R80.40/bin/upgrade_tools/exportedFilesManip" "/opt/CPsuite-R80.40/fw1/tmp/migraa
te/uepm_configuration"'
[26 May 2:29:50] [ExecCommandGetOutput] Command completed with an exit code 5
[26 May 2:29:50] [ExecCommandGetOutput] ERR: The given exit code indicates an ee
rror
[26 May 2:29:50] ...<-- ExecCommandGetOutput
[26 May 2:29:50] [CommandRunner::exec] Command's output:
-------------------------------------
Command has failed. review the log file under: /opt/CPshrd-R80.40/log/PgOnlineSyy
ncLog.log
-------------------------------------
[26 May 2:29:50] [CommandRunner::exec] ERR: Command execution had failed
[26 May 2:29:50] ..<-- CommandRunner::exec
[26 May 2:29:50] .<-- MainpulateUepmExportedConfFiles::exec
[26 May 2:29:50] <-- ConditionalExecutor::exec
[26 May 2:29:50] [ActivitiesManager::exec] ERR: Activity 'ConditionalExecutor'
[26 May 2:29:50] [ConfigureSymmetricIfNeeded::exec] ERR: error on reconfigurePgg
OnlineSync
[26 May 2:29:50] .<-- ConfigureSymmetricIfNeeded::exec
I never had any issues with Migrate export but not sure what is happening here with Migrate_server export.
any ideas please what is the issue?
Regards
Attiq