AIX Open Source

AIX Open Source

Share your experiences and connect with fellow developers to discover how to build and manage open source software for the AIX operating system

 View Only
Expand all | Collapse all

Upgrading from ioslevel '3.1.4.31' to '4.1.0.00'

  • 1.  Upgrading from ioslevel '3.1.4.31' to '4.1.0.00'

    Posted Mon May 06, 2024 10:05 AM
    Edited by Nicolas Aubert Mon May 06, 2024 10:08 AM

    Hello,

    I want to migrate my vios from version '3.1.4.31' to '4.1.0.00' but when executing the viosupgrade command from padmin, I get the following error

    Welcome to viosupgrade tool.
    Operation triggered for given node(s).


    Broadcast message from root@XXXX (pts/0) at 15:49:41 ...

    WARNING!!! VIOS Upgrade operation is in progress. Kindly Refrain from making any configuration changes...

    Please wait for completion..
    Upgrading from ioslevel '3.1.4.31' to '4.1.0.00'.

    Verifying whether the MPIO software(s) is installed on the VIOS.
    Verification of the MPIO software(s) is successful.
    Initiating VIOS configuration backup..
    VIOS configuration backup successful.
    Migration upgrade request initiated.
    Warning: User LV(s) 'lv_dump00' created on rootvg will not be preserved.
    Enter 'Y' to continue or 'N' to abort the viosupgrade.
    If no option is entered within 60 seconds, the operation will continue..
    y
    Initiating installation on alternate disk(s)..
    Migration of contents to new rootvg initiated.
    Unmatched ( in regex; marked by <-- HERE in m/( <-- HERE cd/ at /usr/ios/sbin/viosupg.pl line 10846.

    Have you ever encountered this type of problem?

    Thank you in advance for your help

    Nicolas



    ------------------------------
    Nicolas Aubert
    ------------------------------



  • 2.  RE: Upgrading from ioslevel '3.1.4.31' to '4.1.0.00'

    Posted Tue May 07, 2024 02:18 AM

    Hi,

    Haven't seen that exact error on my migrations (+10 VIOSes migrated from 3.1.4.31 > 4.1.0.10 now)..

    Would you be able to share the exact cmd U R running + output of your  /var/adm/ras/ioslogs/viosupg_global.log ?

    Here is a really good article on needs pre-reqs & steps for this migration process:

    https://techchannel.com/SMB/12/2023/powervm-v4-upgrade

     

    Br,

    tommi



    ------------------------------
    Tommi Sihvo, Lead Service Architect
    Tietoevry Tech Services
    email tommi.sihvo@tietoevry.com mobile +358 (0)40 5180 Finland
    ------------------------------



  • 3.  RE: Upgrading from ioslevel '3.1.4.31' to '4.1.0.00'

    Posted Tue May 07, 2024 03:24 AM

    Hi,

    For tests I don't use the -g option yet, the exact command is:

    viosupgrade -l -i /home/padmin/Update_V4/vios_full_mksysb_4100 -a hdisk1

    Content of the log viosupg_global.log :

    New volume on /home/padmin/Update_V4/vios_full_mksysb_4100:
    Cluster size is 51200 bytes (100 blocks).
    The volume number is 1.
    The backup date is: Fri Oct 13 22:45:41 CEST 2023
    Files are backed up by name.
    The user is .
    The number of archived files is 69566.
    20316430 0 Mon May  6 15:49:42 2024 main::validate_mksysb_file 1693      Upgrading from ioslevel '3.1.4.31' to '4.1.0.00'.
    20316430 0 Mon May  6 15:49:42 2024 main::validate_host_non_nim 2336     Executed command output:

    20316430 0 Mon May  6 15:49:42 2024 main::getvgusedsize 12042     Collecting information for vg:rootvg

    20316430 0 Mon May  6 15:49:43 2024 main::getvgusedsize 12066     Cmd /etc/lsvg rootvg | /usr/bin/grep "USED PPs" output:LVs:                12                       USED PPs:       420 (26880 megabytes)
    .

    20316430 0 Mon May  6 15:49:43 2024 main::getvgusedsize 12072    rootvg :  26880

    20316430 0 Mon May  6 15:49:43 2024 main::validate_host_non_nim 2387     Executed command output:

    hdisk1          none                                35840
    20316430 0 Mon May  6 15:49:43 2024 main::check_cluster_node 1455        **** Entering check_cluster_node for host: 'HAD10463' ****
    20316430 0 Mon May  6 15:49:43 2024 main::check_cluster_node 1486        Executed command output:

    20316430 0 Mon May  6 15:49:43 2024 main::check_cluster_node 1614        >>>> Exiting check_cluster_node for host: 'HAD10463' with rc=0. <<<<
    20316430 0 Mon May  6 15:49:43 2024 main::validate_host_non_nim 2434     HAD10463:hdisk0 is the current rootvg
    20316430 0 Mon May  6 15:49:43 2024 main::validate_host_non_nim 2436     Check if additional softwares are installed on the VIOS

    20316430 0 Mon May  6 15:49:43 2024 main::validate_host_non_nim 2437
    Verifying whether the MPIO software(s) is installed on the VIOS.
    20316430 0 Mon May  6 15:49:43 2024 main::get_additional_software_list 3258      **** Entering get_additional_software_list ****
    20316430 0 Mon May  6 15:49:43 2024 main::get_additional_software_list 3515      >>>> Exiting get_additional_software_list with rc: 0 <<<<
    20316430 0 Mon May  6 15:49:43 2024 main::validate_host_non_nim 2445     Verification of the MPIO software(s) is successful.
    20316430 0 Mon May  6 15:49:43 2024 main::validate_host_non_nim 2459     HAD10463 is_node_valid: 0
    20316430 0 Mon May  6 15:49:43 2024 main::validate_host_non_nim 2461     >>>> Exiting validate_host_non_nim with rc:0  for host: HAD10463 <<<<
    20316430 0 Mon May  6 15:49:43 2024 main::viosupg_do_operation 6675      **** Entering viosupg_do_operation ****
    20316430 0 Mon May  6 15:49:43 2024 main::viosupg_mksysb_operation 5325  **** Entering viosupg_mksysb_operation ****

    20316430 0 Mon May  6 15:49:43 2024 main::viosupg_mksysb_operation 5343  Initiating VIOS configuration backup..
    Backup of this node (HAD10463) successful

    WARNING:
     One or more user filesystem(s) exist on rootvg.
     viosbr cannot backup/restore those filesystems, if system is reinstalled.
    20316430 0 Mon May  6 15:49:53 2024 main::viosupg_mksysb_operation 5364  VIOS configuration backup successful.
    20316430 0 Mon May  6 15:49:53 2024 main::viosupg_mksysb_operation 5489  Migration upgrade request initiated.
    20316430 0 Mon May  6 15:49:53 2024 main::prep_cur_rootvg_contents 9832  Preparing roovg contents..

    20316430 0 Mon May  6 15:49:53 2024 main::prep_cur_rootvg_contents 9845  Creating image root with user file systems

    20316430 0 Mon May  6 15:49:53 2024 main::create_fs_image 7910   Preparing the image with root user filesystem details

    20316430 0 Mon May  6 15:49:53 2024 main::create_fs_image 7920   Warning: User LV(s) 'lv_dump00' created on rootvg will not be preserved.
    Enter 'Y' to continue or 'N' to abort the viosupgrade.
    If no option is entered within 60 seconds, the operation will continue..
    20316430 0 Mon May  6 15:50:13 2024 main::create_fs_image 7978   LVDisk: hdisk0

    20316430 0 Mon May  6 15:50:13 2024 main::create_fs_image 8395   Updating Custom image

    20316430 0 Mon May  6 15:50:13 2024 main::create_fs_image 8405   cleaning up /tmp/vupgdir_HAD10463/image.data with rc:0, numfs:0

    20316430 0 Mon May  6 15:50:13 2024 main::create_fs_image 8418   No user file system data on rootvg.

    20316430 0 Mon May  6 15:50:13 2024 main::viosupg_mksysb_operation 5539  Level 41000
     is supported for options -devname and -upgrade

    20316430 0 Mon May  6 15:50:13 2024 main::viosupg_mksysb_operation 5564  Initiating installation on alternate disk(s)..
    20316430 0 Mon May  6 15:50:13 2024 main::viosupg_mksysb_operation 5588  Running /usr/sbin/alt_disk_mksysb -m /home/padmin/Update_V4/vios_full_mksysb_4100 -d "hdisk1" -P1

    Restoring /image.data from mksysb image.
    Checking disk sizes.
    Creating cloned rootvg volume group and associated logical volumes.
    Creating logical volume alt_hd5.
    Creating logical volume alt_hd6.
    Creating logical volume alt_hd8.
    Creating logical volume alt_hd4.
    Creating logical volume alt_hd2.
    Creating logical volume alt_hd9var.
    Creating logical volume alt_hd3.
    Creating logical volume alt_hd1.
    Creating logical volume alt_hd10opt.
    Creating logical volume alt_hd11admin.
    Creating logical volume alt_livedump.
    Creating logical volume alt_lg_dumplv.
    Creating logical volume alt_paging00.
    Creating /alt_inst/ file system.
    Creating /alt_inst/admin file system.
    Creating /alt_inst/home file system.
    Creating /alt_inst/opt file system.
    Creating /alt_inst/tmp file system.
    Creating /alt_inst/usr file system.
    Creating /alt_inst/var file system.
    Creating /alt_inst/var/adm/ras/livedump file system.
    Restoring mksysb image to alternate disk(s).
    Linking to 64bit kernel.
    Phase 1 complete.
    20316430 0 Mon May  6 15:53:16 2024 main::viosupg_mksysb_operation 5598  Migration of contents to new rootvg initiated.
    20316430 0 Mon May  6 15:53:16 2024 main::mig_cur_rootvg_contents 10438  Migration of current rootvg contents started...

    20316430 0 Mon May  6 15:53:16 2024 main::mig_cur_rootvg_contents 10443  Checking file system sizes..

    20316430 0 Mon May  6 15:53:16 2024 main::update_filesystem_sizes 9944   Updating rootvg file system sizes

    20316430 0 Mon May  6 15:53:16 2024 main::update_filesystem_sizes 9953   rc: 0 cmd output /
    /usr
    /var
    /tmp
    /home
    /opt
    /admin
    /var/adm/ras/livedump


    20316430 0 Mon May  6 15:53:16 2024 main::update_filesystem_sizes 10005  /:524288 /alt_inst//:524288

    20316430 0 Mon May  6 15:53:16 2024 main::update_filesystem_sizes 10005  /usr:9043968 /alt_inst//usr:6815744

    20316430 0 Mon May  6 15:53:16 2024 main::update_filesystem_sizes 10015  Updating /alt_inst//usr size to 9043968...

    Filesystem size changed to 9043968
    20316430 0 Mon May  6 15:53:18 2024 main::update_filesystem_sizes 10022  Updated /alt_inst//usr size to 9043968...

    20316430 0 Mon May  6 15:53:18 2024 main::update_filesystem_sizes 10005  /var:1572864 /alt_inst//var:1179648

    20316430 0 Mon May  6 15:53:18 2024 main::update_filesystem_sizes 10015  Updating /alt_inst//var size to 1572864...

    Filesystem size changed to 1572864
    20316430 0 Mon May  6 15:53:18 2024 main::update_filesystem_sizes 10022  Updated /alt_inst//var size to 1572864...

    20316430 0 Mon May  6 15:53:18 2024 main::update_filesystem_sizes 10005  /tmp:9961472 /alt_inst//tmp:9830400

    20316430 0 Mon May  6 15:53:18 2024 main::update_filesystem_sizes 10015  Updating /alt_inst//tmp size to 9961472...

    Filesystem size changed to 9961472
    20316430 0 Mon May  6 15:53:19 2024 main::update_filesystem_sizes 10022  Updated /alt_inst//tmp size to 9961472...

    20316430 0 Mon May  6 15:53:19 2024 main::update_filesystem_sizes 10005  /home:20971520 /alt_inst//home:21102592

    20316430 0 Mon May  6 15:53:19 2024 main::update_filesystem_sizes 10005  /opt:1703936 /alt_inst//opt:131072

    20316430 0 Mon May  6 15:53:19 2024 main::update_filesystem_sizes 10015  Updating /alt_inst//opt size to 1703936...

    Filesystem size changed to 1703936
    20316430 0 Mon May  6 15:53:19 2024 main::update_filesystem_sizes 10022  Updated /alt_inst//opt size to 1703936...

    20316430 0 Mon May  6 15:53:20 2024 main::update_filesystem_sizes 10005  /admin:262144 /alt_inst//admin:262144

    20316430 0 Mon May  6 15:53:20 2024 main::update_filesystem_sizes 10005  /var/adm/ras/livedump:524288 /alt_inst//var/adm/ras/livedump:524288

    20316430 0 Mon May  6 15:53:20 2024 main::mig_cur_rootvg_contents 10469  Copying rootvg User file system contents

    20316430 0 Mon May  6 15:53:20 2024 main::copy_userfs 10066      Copying rootvg user file system data

    20316430 0 Mon May  6 15:53:20 2024 main::mig_cur_rootvg_contents 10534   /home/padmin/.kshrc doesn't exist. No action needed.

    20316430 0 Mon May  6 15:53:20 2024 main::mig_cur_rootvg_contents 10534   /home/padmin/.ssh/id_rsa doesn't exist. No action needed.

    20316430 0 Mon May  6 15:53:20 2024 main::mig_cur_rootvg_contents 10534   /home/padmin/.ssh/id_rsa.pub doesn't exist. No action needed.

    20316430 0 Mon May  6 15:53:20 2024 main::mig_cur_rootvg_contents 10534   /home/padmin/.ssh/id_dsa doesn't exist. No action needed.

    20316430 0 Mon May  6 15:53:20 2024 main::mig_cur_rootvg_contents 10534   /home/padmin/.ssh/id_dsa.pub doesn't exist. No action needed.

    20316430 0 Mon May  6 15:53:20 2024 main::mig_cur_rootvg_contents 10534   /home/padmin/.ssh/id_ecdsa doesn't exist. No action needed.

    20316430 0 Mon May  6 15:53:20 2024 main::mig_cur_rootvg_contents 10534   /home/padmin/.ssh/id_ecdsa.pub doesn't exist. No action needed.

    20316430 0 Mon May  6 15:53:20 2024 main::mig_cur_rootvg_contents 10534   /home/padmin/.ssh/id_ed25519 doesn't exist. No action needed.

    20316430 0 Mon May  6 15:53:20 2024 main::mig_cur_rootvg_contents 10534   /home/padmin/.ssh/id_ed25519.pub doesn't exist. No action needed.

    20316430 0 Mon May  6 15:53:20 2024 main::mig_cur_rootvg_contents 10493  File to copy /home/padmin/.ssh/authorized_keys

    -rw-r--r--    1 root     staff           987 Apr 22 14:00 /home/padmin/.ssh/authorized_keys
    20316430 0 Mon May  6 15:53:20 2024 main::mig_cur_rootvg_contents 10509   Copy for /home/padmin/.ssh/authorized_keys initiated

    20316430 0 Mon May  6 15:53:20 2024 main::compare_copy 11497      /home/padmin/.ssh/authorized_keys and /alt_inst/home/padmin/.ssh/authorized_keys are different with compare rc:-1. Updating the /alt_inst/home/padmin/.ssh/authorized_keys...

    20316430 0 Mon May  6 15:53:20 2024 main::compare_copy 11512       /alt_inst/home/padmin/.ssh/authorized_keys doesn't exist. So no need of backup.

    20316430 0 Mon May  6 15:53:20 2024 main::compare_copy 11556      /alt_inst/home/padmin/.ssh/authorized_keys updated successfully

    20316430 0 Mon May  6 15:53:20 2024 main::create_viosupg_backup 11403    Creating /alt_inst//home/padmin/viosupg_backup dir

    20316430 0 Mon May  6 15:53:20 2024 main::create_viosupg_backup 11417    moving  to /alt_inst//home/padmin/viosupg_backup

    20316430 0 Mon May  6 15:53:20 2024 main::create_viosupg_backup 11451    Changing the ownership of /alt_inst//home/padmin/viosupg_backup to padmin.

    20316430 0 Mon May  6 15:53:20 2024 main::mig_cur_rootvg_contents 10525   Copy of /home/padmin/.ssh/authorized_keys successful

    20316430 0 Mon May  6 15:53:20 2024 main::mig_cur_rootvg_contents 10493  File to copy /home/padmin/.ssh/authorized_keys2

    -rw-r--r--    1 padmin   system          408 Sep 11 2023  /home/padmin/.ssh/authorized_keys2
    20316430 0 Mon May  6 15:53:20 2024 main::mig_cur_rootvg_contents 10509   Copy for /home/padmin/.ssh/authorized_keys2 initiated

    20316430 0 Mon May  6 15:53:20 2024 main::compare_copy 11497      /home/padmin/.ssh/authorized_keys2 and /alt_inst/home/padmin/.ssh/authorized_keys2 are different with compare rc:1. Updating the /alt_inst/home/padmin/.ssh/authorized_keys2...

    20316430 0 Mon May  6 15:53:20 2024 main::compare_copy 11556      /alt_inst/home/padmin/.ssh/authorized_keys2 updated successfully

    20316430 0 Mon May  6 15:53:20 2024 main::create_viosupg_backup 11403    Creating /alt_inst//home/padmin/viosupg_backup dir

    20316430 0 Mon May  6 15:53:20 2024 main::create_viosupg_backup 11417    moving  to /alt_inst//home/padmin/viosupg_backup

    20316430 0 Mon May  6 15:53:20 2024 main::create_viosupg_backup 11432    moving /alt_inst/home/padmin/.ssh/authorized_keys2_dest.viosupg to /alt_inst//home/padmin/viosupg_backup dir

    20316430 0 Mon May  6 15:53:20 2024 main::create_viosupg_backup 11451    Changing the ownership of /alt_inst//home/padmin/viosupg_backup to padmin.

    20316430 0 Mon May  6 15:53:20 2024 main::mig_cur_rootvg_contents 10525   Copy of /home/padmin/.ssh/authorized_keys2 successful

    20316430 0 Mon May  6 15:53:20 2024 main::mig_cur_rootvg_contents 10493  File to copy /etc/ssh/ssh_config

    -rw-r--r--    1 root     system         1537 Aug 13 2021  /etc/ssh/ssh_config
    20316430 0 Mon May  6 15:53:20 2024 main::mig_cur_rootvg_contents 10509   Copy for /etc/ssh/ssh_config initiated

    20316430 0 Mon May  6 15:53:20 2024 main::compare_copy 11611      Files /etc/ssh/ssh_config and /alt_inst/etc/ssh/ssh_config are identical.

    20316430 0 Mon May  6 15:53:20 2024 main::mig_cur_rootvg_contents 10525   Copy of /etc/ssh/ssh_config successful

    20316430 0 Mon May  6 15:53:20 2024 main::mig_cur_rootvg_contents 10493  File to copy /etc/ssh/ssh_host_dsa_key

    -rw-------    1 root     system         1361 Mar 01 2023  /etc/ssh/ssh_host_dsa_key
    20316430 0 Mon May  6 15:53:20 2024 main::mig_cur_rootvg_contents 10509   Copy for /etc/ssh/ssh_host_dsa_key initiated

    20316430 0 Mon May  6 15:53:20 2024 main::compare_copy 11497      /etc/ssh/ssh_host_dsa_key and /alt_inst/etc/ssh/ssh_host_dsa_key are different with compare rc:-1. Updating the /alt_inst/etc/ssh/ssh_host_dsa_key...

    20316430 0 Mon May  6 15:53:20 2024 main::compare_copy 11512       /alt_inst/etc/ssh/ssh_host_dsa_key doesn't exist. So no need of backup.

    20316430 0 Mon May  6 15:53:20 2024 main::compare_copy 11556      /alt_inst/etc/ssh/ssh_host_dsa_key updated successfully

    20316430 0 Mon May  6 15:53:20 2024 main::create_viosupg_backup 11403    Creating /alt_inst//home/padmin/viosupg_backup dir

    20316430 0 Mon May  6 15:53:20 2024 main::create_viosupg_backup 11417    moving  to /alt_inst//home/padmin/viosupg_backup

    20316430 0 Mon May  6 15:53:20 2024 main::create_viosupg_backup 11451    Changing the ownership of /alt_inst//home/padmin/viosupg_backup to padmin.

    20316430 0 Mon May  6 15:53:20 2024 main::mig_cur_rootvg_contents 10525   Copy of /etc/ssh/ssh_host_dsa_key successful

    20316430 0 Mon May  6 15:53:20 2024 main::mig_cur_rootvg_contents 10493  File to copy /etc/ssh/ssh_host_dsa_key.pub

    -rw-r--r--    1 root     system          590 Mar 01 2023  /etc/ssh/ssh_host_dsa_key.pub
    20316430 0 Mon May  6 15:53:20 2024 main::mig_cur_rootvg_contents 10509   Copy for /etc/ssh/ssh_host_dsa_key.pub initiated

    20316430 0 Mon May  6 15:53:20 2024 main::compare_copy 11497      /etc/ssh/ssh_host_dsa_key.pub and /alt_inst/etc/ssh/ssh_host_dsa_key.pub are different with compare rc:-1. Updating the /alt_inst/etc/ssh/ssh_host_dsa_key.pub...

    20316430 0 Mon May  6 15:53:20 2024 main::compare_copy 11512       /alt_inst/etc/ssh/ssh_host_dsa_key.pub doesn't exist. So no need of backup.

    20316430 0 Mon May  6 15:53:20 2024 main::compare_copy 11556      /alt_inst/etc/ssh/ssh_host_dsa_key.pub updated successfully

    20316430 0 Mon May  6 15:53:20 2024 main::create_viosupg_backup 11403    Creating /alt_inst//home/padmin/viosupg_backup dir

    20316430 0 Mon May  6 15:53:20 2024 main::create_viosupg_backup 11417    moving  to /alt_inst//home/padmin/viosupg_backup

    20316430 0 Mon May  6 15:53:20 2024 main::create_viosupg_backup 11451    Changing the ownership of /alt_inst//home/padmin/viosupg_backup to padmin.

    20316430 0 Mon May  6 15:53:20 2024 main::mig_cur_rootvg_contents 10525   Copy of /etc/ssh/ssh_host_dsa_key.pub successful

    20316430 0 Mon May  6 15:53:20 2024 main::mig_cur_rootvg_contents 10493  File to copy /etc/ssh/ssh_host_ecdsa_key

    -rw-------    1 root     system          492 Mar 01 2023  /etc/ssh/ssh_host_ecdsa_key
    20316430 0 Mon May  6 15:53:20 2024 main::mig_cur_rootvg_contents 10509   Copy for /etc/ssh/ssh_host_ecdsa_key initiated

    20316430 0 Mon May  6 15:53:20 2024 main::compare_copy 11497      /etc/ssh/ssh_host_ecdsa_key and /alt_inst/etc/ssh/ssh_host_ecdsa_key are different with compare rc:-1. Updating the /alt_inst/etc/ssh/ssh_host_ecdsa_key...

    20316430 0 Mon May  6 15:53:20 2024 main::compare_copy 11512       /alt_inst/etc/ssh/ssh_host_ecdsa_key doesn't exist. So no need of backup.

    20316430 0 Mon May  6 15:53:20 2024 main::compare_copy 11556      /alt_inst/etc/ssh/ssh_host_ecdsa_key updated successfully

    20316430 0 Mon May  6 15:53:20 2024 main::create_viosupg_backup 11403    Creating /alt_inst//home/padmin/viosupg_backup dir

    20316430 0 Mon May  6 15:53:20 2024 main::create_viosupg_backup 11417    moving  to /alt_inst//home/padmin/viosupg_backup

    20316430 0 Mon May  6 15:53:20 2024 main::create_viosupg_backup 11451    Changing the ownership of /alt_inst//home/padmin/viosupg_backup to padmin.

    20316430 0 Mon May  6 15:53:20 2024 main::mig_cur_rootvg_contents 10525   Copy of /etc/ssh/ssh_host_ecdsa_key successful

    20316430 0 Mon May  6 15:53:20 2024 main::mig_cur_rootvg_contents 10493  File to copy /etc/ssh/ssh_host_ecdsa_key.pub

    -rw-r--r--    1 root     system          162 Mar 01 2023  /etc/ssh/ssh_host_ecdsa_key.pub
    20316430 0 Mon May  6 15:53:20 2024 main::mig_cur_rootvg_contents 10509   Copy for /etc/ssh/ssh_host_ecdsa_key.pub initiated

    20316430 0 Mon May  6 15:53:20 2024 main::compare_copy 11497      /etc/ssh/ssh_host_ecdsa_key.pub and /alt_inst/etc/ssh/ssh_host_ecdsa_key.pub are different with compare rc:-1. Updating the /alt_inst/etc/ssh/ssh_host_ecdsa_key.pub...

    20316430 0 Mon May  6 15:53:20 2024 main::compare_copy 11512       /alt_inst/etc/ssh/ssh_host_ecdsa_key.pub doesn't exist. So no need of backup.

    20316430 0 Mon May  6 15:53:20 2024 main::compare_copy 11556      /alt_inst/etc/ssh/ssh_host_ecdsa_key.pub updated successfully

    20316430 0 Mon May  6 15:53:20 2024 main::create_viosupg_backup 11403    Creating /alt_inst//home/padmin/viosupg_backup dir

    20316430 0 Mon May  6 15:53:20 2024 main::create_viosupg_backup 11417    moving  to /alt_inst//home/padmin/viosupg_backup

    20316430 0 Mon May  6 15:53:20 2024 main::create_viosupg_backup 11451    Changing the ownership of /alt_inst//home/padmin/viosupg_backup to padmin.

    20316430 0 Mon May  6 15:53:20 2024 main::mig_cur_rootvg_contents 10525   Copy of /etc/ssh/ssh_host_ecdsa_key.pub successful

    20316430 0 Mon May  6 15:53:20 2024 main::mig_cur_rootvg_contents 10493  File to copy /etc/ssh/ssh_host_ed25519_key

    -rw-------    1 root     system          387 Mar 01 2023  /etc/ssh/ssh_host_ed25519_key
    20316430 0 Mon May  6 15:53:20 2024 main::mig_cur_rootvg_contents 10509   Copy for /etc/ssh/ssh_host_ed25519_key initiated

    20316430 0 Mon May  6 15:53:20 2024 main::compare_copy 11497      /etc/ssh/ssh_host_ed25519_key and /alt_inst/etc/ssh/ssh_host_ed25519_key are different with compare rc:-1. Updating the /alt_inst/etc/ssh/ssh_host_ed25519_key...

    20316430 0 Mon May  6 15:53:20 2024 main::compare_copy 11512       /alt_inst/etc/ssh/ssh_host_ed25519_key doesn't exist. So no need of backup.

    20316430 0 Mon May  6 15:53:20 2024 main::compare_copy 11556      /alt_inst/etc/ssh/ssh_host_ed25519_key updated successfully

    20316430 0 Mon May  6 15:53:20 2024 main::create_viosupg_backup 11403    Creating /alt_inst//home/padmin/viosupg_backup dir

    20316430 0 Mon May  6 15:53:20 2024 main::create_viosupg_backup 11417    moving  to /alt_inst//home/padmin/viosupg_backup

    20316430 0 Mon May  6 15:53:20 2024 main::create_viosupg_backup 11451    Changing the ownership of /alt_inst//home/padmin/viosupg_backup to padmin.

    20316430 0 Mon May  6 15:53:20 2024 main::mig_cur_rootvg_contents 10525   Copy of /etc/ssh/ssh_host_ed25519_key successful

    20316430 0 Mon May  6 15:53:20 2024 main::mig_cur_rootvg_contents 10493  File to copy /etc/ssh/ssh_host_ed25519_key.pub

    -rw-r--r--    1 root     system           82 Mar 01 2023  /etc/ssh/ssh_host_ed25519_key.pub
    20316430 0 Mon May  6 15:53:20 2024 main::mig_cur_rootvg_contents 10509   Copy for /etc/ssh/ssh_host_ed25519_key.pub initiated

    20316430 0 Mon May  6 15:53:20 2024 main::compare_copy 11497      /etc/ssh/ssh_host_ed25519_key.pub and /alt_inst/etc/ssh/ssh_host_ed25519_key.pub are different with compare rc:-1. Updating the /alt_inst/etc/ssh/ssh_host_ed25519_key.pub...

    20316430 0 Mon May  6 15:53:20 2024 main::compare_copy 11512       /alt_inst/etc/ssh/ssh_host_ed25519_key.pub doesn't exist. So no need of backup.

    20316430 0 Mon May  6 15:53:20 2024 main::compare_copy 11556      /alt_inst/etc/ssh/ssh_host_ed25519_key.pub updated successfully

    20316430 0 Mon May  6 15:53:20 2024 main::create_viosupg_backup 11403    Creating /alt_inst//home/padmin/viosupg_backup dir

    20316430 0 Mon May  6 15:53:20 2024 main::create_viosupg_backup 11417    moving  to /alt_inst//home/padmin/viosupg_backup

    20316430 0 Mon May  6 15:53:20 2024 main::create_viosupg_backup 11451    Changing the ownership of /alt_inst//home/padmin/viosupg_backup to padmin.

    20316430 0 Mon May  6 15:53:20 2024 main::mig_cur_rootvg_contents 10525   Copy of /etc/ssh/ssh_host_ed25519_key.pub successful

    20316430 0 Mon May  6 15:53:20 2024 main::mig_cur_rootvg_contents 10493  File to copy /etc/ssh/ssh_host_rsa_key

    -rw-------    1 root     system         2578 Mar 01 2023  /etc/ssh/ssh_host_rsa_key
    20316430 0 Mon May  6 15:53:20 2024 main::mig_cur_rootvg_contents 10509   Copy for /etc/ssh/ssh_host_rsa_key initiated

    20316430 0 Mon May  6 15:53:20 2024 main::compare_copy 11497      /etc/ssh/ssh_host_rsa_key and /alt_inst/etc/ssh/ssh_host_rsa_key are different with compare rc:-1. Updating the /alt_inst/etc/ssh/ssh_host_rsa_key...

    20316430 0 Mon May  6 15:53:20 2024 main::compare_copy 11512       /alt_inst/etc/ssh/ssh_host_rsa_key doesn't exist. So no need of backup.

    20316430 0 Mon May  6 15:53:20 2024 main::compare_copy 11556      /alt_inst/etc/ssh/ssh_host_rsa_key updated successfully

    20316430 0 Mon May  6 15:53:20 2024 main::create_viosupg_backup 11403    Creating /alt_inst//home/padmin/viosupg_backup dir

    20316430 0 Mon May  6 15:53:20 2024 main::create_viosupg_backup 11417    moving  to /alt_inst//home/padmin/viosupg_backup

    20316430 0 Mon May  6 15:53:20 2024 main::create_viosupg_backup 11451    Changing the ownership of /alt_inst//home/padmin/viosupg_backup to padmin.

    20316430 0 Mon May  6 15:53:20 2024 main::mig_cur_rootvg_contents 10525   Copy of /etc/ssh/ssh_host_rsa_key successful

    20316430 0 Mon May  6 15:53:20 2024 main::mig_cur_rootvg_contents 10493  File to copy /etc/ssh/ssh_host_rsa_key.pub

    -rw-r--r--    1 root     system          554 Mar 01 2023  /etc/ssh/ssh_host_rsa_key.pub
    20316430 0 Mon May  6 15:53:20 2024 main::mig_cur_rootvg_contents 10509   Copy for /etc/ssh/ssh_host_rsa_key.pub initiated

    20316430 0 Mon May  6 15:53:20 2024 main::compare_copy 11497      /etc/ssh/ssh_host_rsa_key.pub and /alt_inst/etc/ssh/ssh_host_rsa_key.pub are different with compare rc:-1. Updating the /alt_inst/etc/ssh/ssh_host_rsa_key.pub...

    20316430 0 Mon May  6 15:53:20 2024 main::compare_copy 11512       /alt_inst/etc/ssh/ssh_host_rsa_key.pub doesn't exist. So no need of backup.

    20316430 0 Mon May  6 15:53:20 2024 main::compare_copy 11556      /alt_inst/etc/ssh/ssh_host_rsa_key.pub updated successfully

    20316430 0 Mon May  6 15:53:20 2024 main::create_viosupg_backup 11403    Creating /alt_inst//home/padmin/viosupg_backup dir

    20316430 0 Mon May  6 15:53:20 2024 main::create_viosupg_backup 11417    moving  to /alt_inst//home/padmin/viosupg_backup

    20316430 0 Mon May  6 15:53:20 2024 main::create_viosupg_backup 11451    Changing the ownership of /alt_inst//home/padmin/viosupg_backup to padmin.

    20316430 0 Mon May  6 15:53:20 2024 main::mig_cur_rootvg_contents 10525   Copy of /etc/ssh/ssh_host_rsa_key.pub successful

    20316430 0 Mon May  6 15:53:20 2024 main::mig_cur_rootvg_contents 10493  File to copy /etc/ssh/sshd_config

    -rw-r--r--    1 root     system         3199 Mar 01 2023  /etc/ssh/sshd_config
    20316430 0 Mon May  6 15:53:20 2024 main::mig_cur_rootvg_contents 10509   Copy for /etc/ssh/sshd_config initiated

    20316430 0 Mon May  6 15:53:20 2024 main::compare_copy 11497      /etc/ssh/sshd_config and /alt_inst/etc/ssh/sshd_config are different with compare rc:1. Updating the /alt_inst/etc/ssh/sshd_config...

    20316430 0 Mon May  6 15:53:20 2024 main::compare_copy 11556      /alt_inst/etc/ssh/sshd_config updated successfully

    20316430 0 Mon May  6 15:53:20 2024 main::create_viosupg_backup 11403    Creating /alt_inst//home/padmin/viosupg_backup dir

    20316430 0 Mon May  6 15:53:20 2024 main::create_viosupg_backup 11417    moving  to /alt_inst//home/padmin/viosupg_backup

    20316430 0 Mon May  6 15:53:20 2024 main::create_viosupg_backup 11432    moving /alt_inst/etc/ssh/sshd_config_dest.viosupg to /alt_inst//home/padmin/viosupg_backup dir

    20316430 0 Mon May  6 15:53:20 2024 main::create_viosupg_backup 11451    Changing the ownership of /alt_inst//home/padmin/viosupg_backup to padmin.

    20316430 0 Mon May  6 15:53:20 2024 main::mig_cur_rootvg_contents 10525   Copy of /etc/ssh/sshd_config successful

    20316430 0 Mon May  6 15:53:20 2024 main::mig_cur_rootvg_contents 10493  File to copy /etc/security/passwd

    -rw-------    1 root     system          440 Apr 24 14:33 /etc/security/passwd
    20316430 0 Mon May  6 15:53:21 2024 main::mig_cur_rootvg_contents 10509   Copy for /etc/security/passwd initiated

    20316430 0 Mon May  6 15:53:21 2024 main::compare_copy 11497      /etc/security/passwd and /alt_inst/etc/security/passwd are different with compare rc:1. Updating the /alt_inst/etc/security/passwd...

    20316430 0 Mon May  6 15:53:21 2024 main::check_validity_passwd 11184    validating passwd file for user padmin:
    padmin:
            password = 3Tk3PKcpAir7w
            lastupdate = 1677689038

    20316430 0 Mon May  6 15:53:21 2024 main::copy_passwd 11270       padmin data:padmin:
            password = 3Tk3PKcpAir7w


    20316430 0 Mon May  6 15:53:21 2024 main::check_validity_passwd 11184    validating passwd file for user root:

    root:
            password = {ssha256}06$MH4sWAjvfCMteKV2$tCFVnSPIi/a0HzE9kYjgOceEos45554cPxQ2ceA5.Qk
            lastupdate = 1697229912
            flags = NOCHECK

    20316430 0 Mon May  6 15:53:21 2024 main::copy_passwd 11309       root data: padmin:
            password = 3Tk3PKcpAir7w
            lastupdate = 1697229912

    20316430 0 Mon May  6 15:53:21 2024 main::copy_passwd 11334       Update to Temp file:/tmp/passwdmerge.viosupg started.

    20316430 0 Mon May  6 15:53:21 2024 main::copy_passwd 11351       updating padmin data : padmin:
            password = 3Tk3PKcpAir7w
            lastupdate = 1697229912

    .

    20316430 0 Mon May  6 15:53:21 2024 main::compare_copy 11556      /alt_inst/etc/security/passwd updated successfully

    20316430 0 Mon May  6 15:53:21 2024 main::create_viosupg_backup 11403    Creating /alt_inst//home/padmin/viosupg_backup dir

    20316430 0 Mon May  6 15:53:21 2024 main::create_viosupg_backup 11417    moving /alt_inst/etc/security/passwd_src.viosupg to /alt_inst//home/padmin/viosupg_backup

    20316430 0 Mon May  6 15:53:21 2024 main::create_viosupg_backup 11432    moving /alt_inst/etc/security/passwd_dest.viosupg to /alt_inst//home/padmin/viosupg_backup dir

    20316430 0 Mon May  6 15:53:21 2024 main::create_viosupg_backup 11451    Changing the ownership of /alt_inst//home/padmin/viosupg_backup to padmin.

    20316430 0 Mon May  6 15:53:21 2024 main::mig_cur_rootvg_contents 10525   Copy of /etc/security/passwd successful

    20316430 0 Mon May  6 15:53:21 2024 main::mig_cur_rootvg_contents 10493  File to copy /etc/tunables/nextboot

    -rw-------    1 root     system          469 Apr 24 14:43 /etc/tunables/nextboot
    20316430 0 Mon May  6 15:53:21 2024 main::mig_cur_rootvg_contents 10509   Copy for /etc/tunables/nextboot initiated

    20316430 0 Mon May  6 15:53:21 2024 main::compare_copy 11497      /etc/tunables/nextboot and /alt_inst/etc/tunables/nextboot are different with compare rc:1. Updating the /alt_inst/etc/tunables/nextboot...

    20316430 0 Mon May  6 15:53:21 2024 main::compare_copy 11556      /alt_inst/etc/tunables/nextboot updated successfully

    20316430 0 Mon May  6 15:53:21 2024 main::create_viosupg_backup 11403    Creating /alt_inst//home/padmin/viosupg_backup dir

    20316430 0 Mon May  6 15:53:21 2024 main::create_viosupg_backup 11417    moving  to /alt_inst//home/padmin/viosupg_backup

    20316430 0 Mon May  6 15:53:21 2024 main::create_viosupg_backup 11432    moving /alt_inst/etc/tunables/nextboot_dest.viosupg to /alt_inst//home/padmin/viosupg_backup dir

    20316430 0 Mon May  6 15:53:21 2024 main::create_viosupg_backup 11451    Changing the ownership of /alt_inst//home/padmin/viosupg_backup to padmin.

    20316430 0 Mon May  6 15:53:21 2024 main::mig_cur_rootvg_contents 10525   Copy of /etc/tunables/nextboot successful

    20316430 0 Mon May  6 15:53:21 2024 main::mig_cur_rootvg_contents 10547  File to merge /usr/ios/cli/.profile

    -r--r--r--    1 root     system         6799 Aug 09 2022  /usr/ios/cli/.profile
    20316430 0 Mon May  6 15:53:21 2024 main::mig_cur_rootvg_contents 10564   Merge for /usr/ios/cli/.profile initiated

    20316430 0 Mon May  6 15:53:21 2024 main::compare_copy 11611      Files /usr/ios/cli/.profile and /alt_inst/usr/ios/cli/.profile are identical.

    20316430 0 Mon May  6 15:53:21 2024 main::mig_cur_rootvg_contents 10580   Copy of /usr/ios/cli/.profile successful

    20316430 0 Mon May  6 15:53:21 2024 main::mig_cur_rootvg_contents 10547  File to merge /var/spool/cron/crontabs/root

    -rw-------    1 root     cron           1949 May 05 00:00 /var/spool/cron/crontabs/root
    20316430 0 Mon May  6 15:53:21 2024 main::mig_cur_rootvg_contents 10564   Merge for /var/spool/cron/crontabs/root initiated

    20316430 0 Mon May  6 15:53:21 2024 main::compare_copy 11497      /var/spool/cron/crontabs/root and /alt_inst/var/spool/cron/crontabs/root are different with compare rc:1. Updating the /alt_inst/var/spool/cron/crontabs/root...

    20316430 0 Mon May  6 15:53:21 2024 main::merge_file 11013       Merging of file to /alt_inst/var/spool/cron/crontabs/root initiated for type:2.

    20316430 0 Mon May  6 15:53:21 2024 main::merge_file 11086        Initiated update entries to /alt_inst/var/spool/cron/crontabs/root.

    20316430 0 Mon May  6 15:53:21 2024 main::merge_cron 10916        ignoring space and tabs in the command args

    20316430 0 Mon May  6 15:53:21 2024 main::merge_cron 10920       cmd: 0 11 * * * , 0 12 * * *

    20316430 0 Mon May  6 15:53:21 2024 main::merge_cron 10925       args:  -d S,O 30,  -d H 90

    20316430 0 Mon May  6 15:53:21 2024 main::merge_cron 10940       cmd: destcmdargs[0],  012***

    20316430 0 Mon May  6 15:53:21 2024 main::merge_cron 10945       args: -dS,O30, -dH90

    20316430 0 Mon May  6 15:53:21 2024 main::merge_cron 10916        ignoring space and tabs in the command args

    20316430 0 Mon May  6 15:53:21 2024 main::merge_cron 10920       cmd: 0 12 * * * , 012***

    20316430 0 Mon May  6 15:53:21 2024 main::merge_cron 10925       args:  -d H 90, -dH90

    20316430 0 Mon May  6 15:53:21 2024 main::merge_cron 10940       cmd: destcmdargs[0],  012***

    20316430 0 Mon May  6 15:53:21 2024 main::merge_cron 10945       args: -dH90, -dH90

    20316430 0 Mon May  6 15:53:21 2024 main::merge_cron 10954        args1:args2 => -dH90: -dH90, 012***: 012***



    ------------------------------
    Nicolas Aubert
    ------------------------------



  • 4.  RE: Upgrading from ioslevel '3.1.4.31' to '4.1.0.00'

    Posted Tue May 07, 2024 03:38 AM

    Hi,

    don't see the error U mentioned on the log file...Is is full copy-paste, or end of the log missing? 

    Are there any other logs in  /var/adm/ras/ioslogs ? (named like viosupg_global.log_oldvg_xxxx) ?



    ------------------------------
    Tommi Sihvo, Lead Service Architect
    Tietoevry Tech Services
    email tommi.sihvo@tietoevry.com mobile +358 (0)40 5180 Finland
    ------------------------------



  • 5.  RE: Upgrading from ioslevel '3.1.4.31' to '4.1.0.00'

    Posted Tue May 07, 2024 03:46 AM

    Hi,

    there is only one log in the /var/adm/ras/ioslogs directory

    I copied and pasted the complete log



    ------------------------------
    Nicolas Aubert
    ------------------------------



  • 6.  RE: Upgrading from ioslevel '3.1.4.31' to '4.1.0.00'

    Posted Tue May 07, 2024 03:50 AM

    Hi

    The ISO that my support gave me is version 4.1.0.00. Could this version cause problems?

    Should I request version 4.1.0.10 (Flash?)?



    ------------------------------
    Nicolas Aubert
    ------------------------------



  • 7.  RE: Upgrading from ioslevel '3.1.4.31' to '4.1.0.00'

    Posted Tue May 07, 2024 03:59 AM

    Yeah, it would be worth a shot...since at least this one:

    5765-VE4  Virtual_IO_Server_Base_Install_4.1.0.10_Flash_112023_LCD8292400.iso

    worked out-of-the-box for me as starter.

    When I got 1st 4.1 VIOS up & running from that Flash ISO; I created my own custom image and used that in later migrations, saved quite a lot of time for not-needing to do all same post config fixing on each VIOS separately



    ------------------------------
    Tommi Sihvo, Lead Service Architect
    Tietoevry Tech Services
    email tommi.sihvo@tietoevry.com mobile +358 (0)40 5180 Finland
    ------------------------------



  • 8.  RE: Upgrading from ioslevel '3.1.4.31' to '4.1.0.00'

    Posted Tue May 07, 2024 04:12 AM

    THANKS

    I will make a request to my technical support to retrieve version V4.1.0.10

    This type of request can take some time, I will let you know when I have carried out the tests



    ------------------------------
    Nicolas Aubert
    ------------------------------



  • 9.  RE: Upgrading from ioslevel '3.1.4.31' to '4.1.0.00'

    Posted Tue May 07, 2024 04:56 AM

    Perfectos :) 

    Put some comment / feedback here how it goes; and Good Luck to the effort!

    Br,

    tommi



    ------------------------------
    Tommi Sihvo, Lead Service Architect
    Tietoevry Tech Services
    email tommi.sihvo@tietoevry.com mobile +358 (0)40 5180 Finland
    ------------------------------



  • 10.  RE: Upgrading from ioslevel '3.1.4.31' to '4.1.0.00'

    Posted Wed May 08, 2024 04:37 AM

    afair it is a well known bug Jaqui Lynch talked about. You probably have viosbr backup scheduled in your VIOS. Unschedule it and repeat the operation.



    ------------------------------
    Andrey Klyachkin

    https://www.power-devops.com
    ------------------------------



  • 11.  RE: Upgrading from ioslevel '3.1.4.31' to '4.1.0.00'

    Posted Wed May 08, 2024 04:42 AM

    Here it is:

    Make sure there are no NFS mounted filesystems and disable the automatic viosbr backup if you use it:

    $viosbr -nobackup

    If you don't unmount the NFS filesystems it will try to copy them during the upgrade. If you don't disable the viosbr backup, then you may see the following error:

    Unmatched (in regex; marked by <– HERE in m/( <– HERE /usr/ios/cli/ioscli/ at /usr/ios/sbin/viosupg.pl line 10846.

    https://techchannel.com/performance/how-to-upgrade-to-powervm-v4-1-0-10/



    ------------------------------
    Andrey Klyachkin

    https://www.power-devops.com
    ------------------------------



  • 12.  RE: Upgrading from ioslevel '3.1.4.31' to '4.1.0.00'

    Posted Wed May 08, 2024 08:27 AM

    The solution you provided solved my problem,

    Thank you very much for your help Andrey and Tommi



    ------------------------------
    Nicolas Aubert
    ------------------------------