+ Reply to Thread
Results 1 to 4 of 4

Thread: RPM indivual package distribution.

  1. #1
    admin_kusu is offline Junior Member
    Join Date
    March 6th, 2008
    Posts
    0
    Downloads
    0
    Uploads
    0

    Default RPM indivual package distribution.


    Hi,=20
    I need to deploy a several libraries and rpm packages in my
    cluster, to the head and compute nodes. So, I know that it is possible
    to select the packages from ngedit software package configuration. But,
    If I have the list of rpm there any way that I could modified an rpm
    list of something more easy, despite of to selected every one from the
    menu?

    Regards,=20

    Agustin March <mailto:agustin.m.march@intel.com>=20
    Argentina Distributing Computing Solution=20
    =20



  2. #2
    admin_kusu is offline Junior Member
    Join Date
    March 6th, 2008
    Posts
    0
    Downloads
    0
    Uploads
    0

    Default RPM indivual package distribution.


    Hi Agustin,

    You can write a sql script to insert the packages into the database:
    mysql -u root kusudb < rpms.sql

    For example to add to the compute node(ngid=2):
    INSERT into packages(ngid, packagename)
    VALUES(2, <RPM NAME>)

    To find the ngid of the nodegroup, you can run the following sql statement:
    select ngid, ngname from nodegroups

    -Liming


    > Hi,
    > I need to deploy a several libraries and rpm packages in my
    > cluster, to the head and compute nodes. So, I know that it is possible
    > to select the packages from ngedit software package configuration. But,
    > If I have the list of rpm there any way that I could modified an rpm
    > list of something more easy, despite of to selected every one from the
    > menu?
    >
    > Regards,
    >
    > Agustin March <mailto:agustin.m.march@intel.com>
    > Argentina Distributing Computing Solution
    >
    >
    > _______________________________________________
    > Kusu-users mailing list
    > Kusu-users@osgdc.org
    > http://mail.osgdc.org/mailman/listinfo/kusu-users
    >



  3. #3
    mikem's Avatar
    mikem is offline Project Moderator
    Join Date
    April 10th, 2008
    Posts
    22
    Blog Entries
    9
    Downloads
    0
    Uploads
    0

    Default RPM indivual package distribution.


    Hi Augustin,

    On Thu, 21 Feb 2008 03:27:32 -0800
    "March, Agustin M" <agustin.m.march@intel.com> wrote:

    > Hi,
    > I need to deploy a several libraries and rpm packages in my
    > cluster, to the head and compute nodes. So, I know that it is
    > possible to select the packages from ngedit software package
    > configuration. But, If I have the list of rpm there any way that I
    > could modified an rpm list of something more easy, despite of to
    > selected every one from the menu?

    This is what components are for.

    In your previous email you posted a build.kit file in which you added
    the firefox package to the firefox component:

    # Define a default component
    comp = DefaultComponent()
    comp.name = 'firefox'
    comp.description = 'firefox component.'

    # Add any packages defined earlier by using the comp.addDep method
    comp.addDep(firefox_pkg1)

    So now when you install this component, the firefox package will be
    installed too. You can add this component to a nodegroup in the
    "Components" screen in ngedit.

    If you don't see your component listed in the "Components" screen, make
    sure you have added the kit to the repo correctly. For example:

    $ kitops -a -m your_kit_image.iso
    Added kit your_kit_image-0.1-x86_64
    $ repoman -l
    Repo name: Repo for rhel-5-x86_64
    Repository: /depot/repos/1000
    Installers: 172.20.0.1
    Ostype: rhel-5-x86_64
    Kits: base 0.1 noarch, rhel 5 x86_64

    $ repoman -r "Repo for rhel-5-x86_64" -a --kit=your_kit_image
    Kit: your_kit_image, version 0.1, architecture x86_64, has been added to
    repo: Repo for rhel-5-x86_64. Remember to refresh with -u
    $ repoman -r "Repo for rhel-6-x86_64" -u
    Refreshing repo: Repo for rhel-5-x86_64. This may take a while...
    $ ngedit

    For an example of a kit, you can use buildkit to build one of the kits
    in the src/kits directory of SVN. Cacti or Nagios are simpler, give
    those a try first. You can download RPMs from
    http://www.osgdc.org/pub/build/kits/ and put them in the sources
    directory.

    Hope that helps,
    Mike


  4. #4
    admin_kusu is offline Junior Member
    Join Date
    March 6th, 2008
    Posts
    0
    Downloads
    0
    Uploads
    0

    Default RPM indivual package distribution.


    Hi Liming,
    I tried and worked OKs Thanks you!

    Regards,
    -----Original Message-----
    From: kusu-users-bounces@osgdc.org [mailto:kusu-users-bounces@osgdc.org]
    On Behalf Of Tsai Li Ming
    Sent: Thursday, February 21, 2008 10:33 AM
    To: Users of Kusu
    Subject: Re: [Kusu-users] RPM indivual package distribution.

    Hi Agustin,

    You can write a sql script to insert the packages into the database:
    mysql -u root kusudb < rpms.sql

    For example to add to the compute node(ngid=3D2):
    INSERT into packages(ngid, packagename)
    VALUES(2, <RPM NAME>)

    To find the ngid of the nodegroup, you can run the following sql
    statement:
    select ngid, ngname from nodegroups

    -Liming


    > Hi,
    > I need to deploy a several libraries and rpm packages in my
    > cluster, to the head and compute nodes. So, I know that it is
    possible
    > to select the packages from ngedit software package configuration.
    But,
    > If I have the list of rpm there any way that I could modified an rpm
    > list of something more easy, despite of to selected every one from the
    > menu?
    >
    > Regards,
    >
    > Agustin March <mailto:agustin.m.march@intel.com>
    > Argentina Distributing Computing Solution
    >
    >
    > _______________________________________________
    > Kusu-users mailing list
    > Kusu-users@osgdc.org
    > http://mail.osgdc.org/mailman/listinfo/kusu-users
    >

    _______________________________________________
    Kusu-users mailing list
    Kusu-users@osgdc.org
    http://mail.osgdc.org/mailman/listinfo/kusu-users


+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts