Forum Discussion

sirin_zarin's avatar
13 years ago

Upgrade Linux Kernel on VCS installed

Hi all,

How i can update\upgrade linux kernel on my system, with VCS installed to the target system?

I update 2.6.32-71.el6.x86_64 to 2.6.32-279.el6.x86_64, but i have old kernel modules....

------------------------------------------

ls /etc/vx/kernel/
dmpaaa.ko.2.6.32-71.el6.x86_64   dmpCLARiiON.ko.2.6.32-71.el6.x86_64     dmpsvc.ko.2.6.32-71.el6.x86_64  vxio.ko.2.6.32-71.el6.x86_64
dmpaa.ko.2.6.32-71.el6.x86_64    dmpEngenio.ko.2.6.32-71.el6.x86_64      fdd.ko.2.6.32-71.el6.x86_64     vxodm.ko.2.6.32-71.el6.x86_64
dmpalua.ko.2.6.32-71.el6.x86_64  dmphuawei.ko.2.6.32-71.el6.x86_64       vxdmp.ko.2.6.32-71.el6.x86_64   vxportal.ko.2.6.32-71.el6.x86_64
dmpapf.ko.2.6.32-71.el6.x86_64   dmpjbod.ko.2.6.32-71.el6.x86_64         vxfs.ko.2.6.32-71.el6.x86_64    vxspec.ko.2.6.32-71.el6.x86_64
dmpapg.ko.2.6.32-71.el6.x86_64   dmpnetapp.ko.2.6.32-71.el6.x86_64       vxglm.ko.2.6.32-71.el6.x86_64
dmpap.ko.2.6.32-71.el6.x86_64    dmpsun7x10alua.ko.2.6.32-71.el6.x86_64  vxgms.ko.2.6.32-71.el6.x86_64

------------------------------------------

# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 6.3 (Santiago)

------------------------------------------

How i can generate new modules for kernel?!

 

UPD

[root@s-vrts-n2 ~]# lsmod
Module                  Size  Used by
vxglm                 289848  0
vxfen                 297667  0
gab                   283317  1 vxfen
llt                   180985  5 gab
ipv6                  322541  40
exportfs                4236  0
e1000e                222041  0
serio_raw               4818  0
i2c_i801               11231  0
sg                     30124  0
iTCO_wdt               13934  0
iTCO_vendor_support     3088  1 iTCO_wdt
i5000_edac              8867  0
edac_core              46773  3 i5000_edac
i5k_amb                 5105  0
ioatdma                58482  12
dca                     7197  1 ioatdma
shpchp                 33482  0
ext4                  371331  3
mbcache                 8144  1 ext4
jbd2                   93312  1 ext4
sd_mod                 39488  2
crc_t10dif              1541  1 sd_mod
sr_mod                 16228  0
cdrom                  39803  1 sr_mod
qla2xxx               400728  0
scsi_transport_fc      55235  1 qla2xxx
scsi_tgt               12173  1 scsi_transport_fc
ahci                   40871  2
pata_acpi               3701  0
ata_generic             3837  0
ata_piix               22846  0
radeon                846316  1
ttm                    82562  1 radeon
drm_kms_helper         34122  1 radeon
drm                   250067  3 radeon,ttm,drm_kms_helper
i2c_algo_bit            5762  1 radeon
i2c_core               31276  5 i2c_i801,radeon,drm_kms_helper,drm,i2c_algo_bit
dm_mirror              14101  1
dm_region_hash         12170  1 dm_mirror
dm_log                 10122  3 dm_mirror,dm_region_hash
dm_mod                 81692  19 dm_mirror,dm_log
[root@s-vrts-n2 ~]# modinfo gab
filename:       /lib/modules/2.6.32-279.el6.x86_64/veritas/vcs/gab.ko
license:        Proprietary. Send bug reports to support@veritas.com
description:    Group Membership and Atomic Broadcast 5.1.120.000-SP1PR2
author:         VERITAS Software Corp.
srcversion:     F43C75576C05662FB0ED8C8
depends:        llt
vermagic:       2.6.32-71.el6.x86_64 SMP mod_unload modversions
parm:           gab_logflag:int
parm:           gab_numnids:maximum nodes in the cluster (1-128) (int)
parm:           gab_numports:maximum gab ports allowed (1-32) (int)
parm:           gab_flowctrl:queue depth that causes flow-control (1-128) (int)
parm:           gab_logbufsize:internal log buffer size in bytes (8100-65400) (int)
parm:           gab_msglogsize:maximum messages in internal message log (128-4096) (int)
parm:           gab_isolate_time:maximum time to wait for isolated client (16000-240000) (int)
parm:           gab_kill_ntries:number of times to attempt to kill client (3-10) (int)
parm:           gab_kstat_size:Number of system statistics to maintain in GAB 60-240 (int)
parm:           gab_conn_wait:maximum number of wait for CONNECTS message (1-256) (int)
parm:           gab_ibuf_count:maximum number of intermediate buffers (0-32) (int)
[root@s-vrts-n2 ~]# uname -a
Linux s-vrts-n2.lab 2.6.32-279.el6.x86_64 #1 SMP Wed Jun 13 18:24:36 EDT 2012 x86_64 x86_64 x86_64 GNU/Linux
[root@s-vrts-n2 ~]#
 

  • Hi,

    Going by the GAB info above, it would appear you are running VCS 5.1SP1PR2 with RHEL6.3.

    RHEL6.3 should be supported with SFHA 5.1SP1RP3, here is the link to the release notes (check supported OS):

    https://sort.symantec.com/documents/doc_details/sfha/5.1%20SP1%20RP3/Linux/ProductGuides/

     

    Please note, that an issue has been found with running later RHEL 6.3 kernel updates

    http://www.symantec.com/docs/TECH199665

     

    cheers

    tony

     

  • Hi,

    Going by the GAB info above, it would appear you are running VCS 5.1SP1PR2 with RHEL6.3.

    RHEL6.3 should be supported with SFHA 5.1SP1RP3, here is the link to the release notes (check supported OS):

    https://sort.symantec.com/documents/doc_details/sfha/5.1%20SP1%20RP3/Linux/ProductGuides/

     

    Please note, that an issue has been found with running later RHEL 6.3 kernel updates

    http://www.symantec.com/docs/TECH199665

     

    cheers

    tony

     

  • HI,

    Thanks for your answer, i update to RP3 and all work fine for all kernels.( 2.6.32-71 / 2.6.32-131 / 2.6.32-279 )

    Artem

  • Hi,

    i update sfha 5.1sp1rp3 to sfha 6.0 and again had problems... i read this https://sort.symantec.com/public/documents/sfha/6.0/linux/productguides/html/sf_notes/ch01s08s01.htm

    rhel 6.2 supported kernel 2.6.32-131.0.15.el6

    ok,

    ~]# uname -a
    Linux s-vrts-n1.nb.tst 2.6.32-131.0.15.el6.x86_64 #1 SMP Tue May 10 15:42:40 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux

    but after upgrade

    cat install.VRTSvxvm.s-vrts-n1
    Preparing packages for installation...
    VRTSvxvm-6.0.000.000-GA_RHEL6
    Installing file /etc/init.d/vxvm-boot
    creating VxVM device nodes under /dev
    WARNING: No modules found for 2.6.32-131.0.15.el6.x86_64, using compatible modules for 2.6.32-71.el6.x86_64. FATAL: Error inserting vxspec (/lib/modules/2.6. 2-131.0.15.el6.x86_64/veritas/vxvm/vxspec.ko): Invalid argument ERROR: modprobe error for vxspec. See documentation.
    warning: %post(VRTSvxvm-6.0.000.000-GA_RHEL6.x86_64) scriptlet failed, exit status 1

    and

    lltstat -nvv|more
    LLT node information:
        Node                 State    Link  Status  Address
       * 0 s-vrts-n1         OPEN
                                      eth1   UP      00:04:23:DE:CA:2B
                                      eth3   UP      68:05:CA:02:95:AF
                                      eth0   UP      00:04:23:DE:CA:2A
         1 s-vrts-n2         IDLE
                                      eth1   DOWN
                                      eth3   DOWN
                                      eth0   DOWN
         2                   IDLE

    ....

    and

    cat start.llt.s-vrts-n1
    1 11:05:16 ## Starting llt on s-vrts-n1
    1 11:05:16 ## Begin prestart checking for llt on s-vrts-n1
    1 11:05:16 cmd /bin/ls -d /etc/init.d/llt 2>/dev/null
    1 11:05:16 cmd stdout=
    /etc/init.d/llt
    1 11:05:16 cmd exit=0 (duration: 0 seconds)
    1 11:05:16 cmd /etc/init.d/llt status 2>&1
    1 11:05:16 cmd stdout=
    LLT module is not loaded
    1 11:05:16 cmd exit=0 (duration: 0 seconds)
    1 11:05:16 LLT not loaded on s-vrts-n1
    1 11:05:16 ## The prestart checking return '0'
    1 11:05:16 ## Begin starting llt on s-vrts-n1
    1 11:05:16 cmd /etc/init.d/llt start 2>&1
    1 11:05:26 cmd stdout=
    Starting LLT:
    LLT: loading module...
    Loaded 2.6.32-71.el6.x86_64 on kernel 2.6.32-131.0.15.el6.x86_64
    WARNING:  No modules found for 2.6.32-131.0.15.el6.x86_64, using compatible modules for 2.6.32-71.el6.x86_64.

    LLT: configuring module...
    1 11:05:26 cmd exit=0 (duration: 10 seconds)
    1 11:05:26 ## The start_sys() return '1'
    1 11:05:26 ## Begin poststart checking for llt on s-vrts-n1
    1 11:05:26 cmd /bin/ls -d /etc/init.d/llt 2>/dev/null
    1 11:05:26 cmd stdout=
    /etc/init.d/llt
    1 11:05:26 cmd exit=0 (duration: 0 seconds)
    1 11:05:26 cmd /etc/init.d/llt status 2>&1
    1 11:05:26 cmd stdout=
    LLT is loaded and configured
    1 11:05:26 cmd exit=0 (duration: 0 seconds)
    1 11:05:26 LLT configured on s-vrts-n1
    1 11:05:26 ## The poststart checking return '1'
    1 11:05:26 ## llt is successfully started on s-vrts-n1
    1 11:05:26 ## The proc_start_sys() return '1'
     

    # cat start.gab.s-vrts-n1
    1 11:05:29 ## Starting gab on s-vrts-n1
    1 11:05:29 ## Begin prestart checking for gab on s-vrts-n1
    1 11:05:29 cmd /bin/ls -d /etc/init.d/gab 2>/dev/null
    1 11:05:29 cmd stdout=
    /etc/init.d/gab
    1 11:05:29 cmd exit=0 (duration: 0 seconds)
    1 11:05:29 cmd /etc/init.d/gab status 2>/dev/null
    1 11:05:29 cmd stdout=
    GAB module is not loaded
    1 11:05:29 cmd exit=0 (duration: 0 seconds)
    1 11:05:29 gab not loaded on s-vrts-n1
    1 11:05:29 ## The prestart checking return '0'
    1 11:05:29 ## Begin starting gab on s-vrts-n1
    1 11:05:29 cmd /etc/init.d/gab start 2>&1
    1 11:05:31 cmd stdout=
    Starting GAB:
    Loaded 2.6.32-71.el6.x86_64 on kernel 2.6.32-131.0.15.el6.x86_64
    WARNING:  No modules found for 2.6.32-131.0.15.el6.x86_64, using compatible modules for 2.6.32-71.el6.x86_64.

    GAB /sbin/gabconfig ERROR V-15-2-25015 LLT not configured
    1 11:05:31 cmd exit=0 (duration: 2 seconds)
    1 11:05:31 ## The start_sys() return '1'
    1 11:05:31 ## Begin poststart checking for gab on s-vrts-n1
    1 11:05:31 cmd /bin/ls -d /etc/init.d/gab 2>/dev/null
    1 11:05:31 cmd stdout=
    /etc/init.d/gab
    1 11:05:31 cmd exit=0 (duration: 0 seconds)
    1 11:05:31 cmd /etc/init.d/gab status 2>/dev/null
    1 11:05:31 cmd stdout=
    GAB is loaded
    1 11:05:31 cmd exit=0 (duration: 0 seconds)
    1 11:05:31 gab loaded but not configured on s-vrts-n1
    1 11:05:31 ## The poststart checking return '0'
    1 11:05:41 ## Sleep 10, and do poststart checking again
    1 11:05:41 cmd /bin/ls -d /etc/init.d/gab 2>/dev/null
    1 11:05:42 cmd stdout=
    /etc/init.d/gab
    1 11:05:42 cmd exit=0 (duration: 1 seconds)
    1 11:05:42 cmd /etc/init.d/gab status 2>/dev/null
    1 11:05:42 cmd stdout=
    GAB is loaded
    1 11:05:42 cmd exit=0 (duration: 0 seconds)
    1 11:05:42 gab loaded but not configured on s-vrts-n1
    1 11:05:42 ## The poststart checking return '0'
    1 11:05:42 ## gab is not successfully started on s-vrts-n1
    1 11:05:42 ## The proc_start_sys() return '0'
     

    Hm, ok LLT not configured.. but

    ]# cat /etc/llttab
    set-node s-vrts-n1
    set-cluster 1
    link eth1 eth-00:04:23:de:ca:2b - ether - -
    link eth3 eth-68:05:ca:02:95:af - ether - -
    link-lowpri eth0 eth-00:04:23:de:ca:2a - ether - -

    and

    ]# cat /etc/llthosts
    0 s-vrts-n1
    1 s-vrts-n2
     

  • UPD

    i run install sfha 6.0 on clear system with kernel 2.6.32-131.0.15.el6.x86_64 and

    ]# uname -a
    Linux s-vrts-n1.nb.tst 2.6.32-131.0.15.el6.x86_64 #1 SMP Tue May 10 15:42:40 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux


    ]# cat install.VRTSvxvm.s-vrts-n1
    Preparing packages for installation...
    VRTSvxvm-6.0.000.000-GA_RHEL6
    Installing file /etc/init.d/vxvm-boot
    creating VxVM device nodes under /dev
    WARNING: No modules found for 2.6.32-131.0.15.el6.x86_64, using compatible modules for 2.6.32-71.el6.x86_64. FATAL: Error inserting vxspec (/lib/modules/2.6.32-131.0.15.el6.x86_64/veritas/vxvm/vxspec.ko): Invalid argument ERROR: modprobe error for vxspec. See documentation.
    warning: %post(VRTSvxvm-6.0.000.000-GA_RHEL6.x86_64) scriptlet failed, exit status 1

    This doc https://sort.symantec.com/public/documents/sfha/6.0/linux/productguides/html/sf_notes/ch01s08s01.htm not correct?)))

     

     

  • Hi,

    In the original post, the response was specfic to SFHA 5.1

    If you are upgrading to SFHA 6.x, you will require 6.0.1 to support RHEL 6.3.

    Docs:

    https://sort.symantec.com/documents/doc_details/sfha/6.0.1/Linux/ProductGuides/

     

    Please note there is a known issue with using later kernels (Post RHEL 6.3 GA release) :

    http://www.symantec.com/docs/TECH199665

    thanks

    tony

  • Hi,

    UPD 3 Last

    Ok, i tested SFHA 6.0 and 6.0.1 for RHEL 6.1 / 6.2 /6.3 and i have next result:

    -  for SFHA 6.0.1 correct work on RHEL 6.1 / 6.2 / 6.3 ;
    -  for SFHA 6.0 for RHEL 6.1 / 6.2 - work with fresh installation rhel, if kernel downgrade (rhel 6.3 but kernel from 6.1 / 6.2) dont work.

    Thanks )