Operating System - Linux
1753307 Members
6568 Online
108792 Solutions
New Discussion юеВ

sglx cmmigratepkg fail to convert legacy package

 
Thian SIn
New Member

sglx cmmigratepkg fail to convert legacy package

Hi,

im new to sglx. just update from 11.18.00 to 11.18.04 today (to get the cmmigratepkg). when i try to convert my current legacy pkg, i get the follow error.
# cmmigratepkg -p old_pkg -o new_pkg.ascii
Error: old_pkg is not a legacy package, since does not have a
control script. It can not be converted.
Package migration failed

my old_pkg.conf:
PACKAGE_NAME old_pkg
PACKAGE_TYPE FAILOVER
FAILOVER_POLICY CONFIGURED_NODE
FAILBACK_POLICY MANUAL
NODE_NAME node1
NODE_NAME node2
AUTO_RUN YES
NODE_FAIL_FAST_ENABLED NO
RUN_SCRIPT /usr/local/cmcluster/old_pkg/old_pkg.cntl
RUN_SCRIPT_TIMEOUT NO_TIMEOUT
HALT_SCRIPT /usr/local/cmcluster/old_pkg/old_pkg.cntl
HALT_SCRIPT_TIMEOUT NO_TIMEOUT
script_log_file /var/log/cmcluster/log/old_pkg.log

p/s: point only give to helpful reply.
4 REPLIES 4
Thian SIn
New Member

Re: sglx cmmigratepkg fail to convert legacy package

cmviewcl output

PACKAGE STATUS STATE AUTO_RUN NODE
old_pkg up running disabled node1
Emil Velez
Honored Contributor

Re: sglx cmmigratepkg fail to convert legacy package

looks like the scripts do not exist or could not be read. Check the filenames of the old_pkg.cntl and see if that script exists.

you may have missed the pathname when you renamed them
Thian SIn
New Member

Re: sglx cmmigratepkg fail to convert legacy package

thanks for reply. the issue here is the config syntax of legacy script. im closing this thread as i already convert legacy script into modular-base (manually edit without using cmmigratepkg).
Thian SIn
New Member

Re: sglx cmmigratepkg fail to convert legacy package

root cause unknown