From: Kshitij Shashank Limaye [mailto:[EMAIL PROTECTED]
Sent: Sun 30/10/2005 18:10
To: Bernard Li; [email protected]; [EMAIL PROTECTED]
Subject: RE: Globus Oscar Package
Hello Bernard,
I had a small query to ask. In the config.xml
I had mentioned the rpm's
in the
order
<rpm>ant-oscar</rpm>
<rpm>junit-oscar</rpm>
<rpm>globus-oscar</rpm>
and
while it installed, the order in which the rpm's got installed was
this
>> --> Installing server non-core RPMs (core RPMs already
installed)
>> Preparing...
>>
########################################### [100%]
>>
1:junit-oscar
########################################### [
>
33%]
>>
2:ant-oscar
########################################### [
>
67%]
>>
3:globus-oscar
###########################################
> [100%]
I wanted
ant-oscar to run before junit-oscar. Is there a way to
strictly impose this
requirement. Is there any other reason why the
junit-oscar might have
run before the ant-oscar?
Thanking you,
Kshitij
Quoting Kshitij
Shashank Limaye <[EMAIL PROTECTED]>:
> Hello,
> The OSCAR
setup I was using had lot of problems with one of the
> clients created
using on image and other using another.
> mksimachine --parse was still
showing the deleted image traces.
>
> So I did a start_over and
rebuilt a clean image. The Globus package
> got installed properly with
errors in the post_server_rpm_install
> being fixed.
>
> I
think the basic Globus Toolkit 4.0 with apache-ant and junit is
> getting
installed properly now.
>
> Also in the %files section of the rpm
for globus, I have mentioned
> all the file and directory names instead of
%{appdir} as suggested by
> Bernard.
>
> I will test the
installation and report the results.
>
> Regards,
>
Kshitij
>
>
> Quoting Bernard Li
<[EMAIL PROTECTED]>:
>
>> Currently Install/Uninstall Package
only supports one image, so if
>> you have more than one image, then
you'll need to remove older ones.
>>
>> John, are we planning
on supporting multiple images in the future?
>>
>>
Cheers,
>>
>> Bernard
>>
>>
________________________________
>>
>> From: Kshitij Shashank
Limaye [mailto:[EMAIL PROTECTED]]
>> Sent:
Sat 29/10/2005 15:15
>> To:
[email protected]
>> Cc: Bernard Li;
[EMAIL PROTECTED]
>> Subject: RE: Globus Oscar
Package
>>
>>
>>
>> Hello,
>> I got
the package to install but I got a few glitches in the
>>
post_server_rpm_install script.
>>
>> [EMAIL PROTECTED] scripts]#
./oscar_wizard
>> Processing
/var/lib/oscar/packages/globus-oscar/config.xml for package
>>
globus-oscar ...
>> Modifying existing packages record for package
globus-oscar.
>> --> About to run
/var/lib/oscar/packages/globus-oscar/scripts/setup for
>>
globus-oscar
>> useradd: user globus exists
>> setup
complete!!!!
>> Copying
>>
/var/lib/oscar/packages/globus-oscar/RPMS/globus-oscar-4.0-1.i386.rpm
>>
to /tftpboot/rpm
>> Copying
>>
/var/lib/oscar/packages/globus-oscar/RPMS/junit-oscar-1.0-1.i386.rpm
to
>> /tftpboot/rpm
>> Copying
>>
/var/lib/oscar/packages/globus-oscar/RPMS/ant-oscar-1.0-1.i386.rpm
to
>> /tftpboot/rpm
>>
>>
=============================================================================
>>
== Running step 2 of the OSCAR wizard: Configure selected OSCAR
packages
>>
=============================================================================
>>
>>
--> About to run /opt/oscar/packages/switcher/scripts/pre_configure
for
>> switcher
>> --> About to run
/opt/oscar/packages/switcher/scripts/post_configure
>> for
switcher
>> Setting default for tag mpi ("lam-7.0.6")
>>
Attribute successfully set; new attribute setting will be effective
for
>> future shells
>> --> Step 2: Completed
successfully
>>
>>
=============================================================================
>>
== Running step 3 of the OSCAR wizard: Install OSCAR server packages
>>
=============================================================================
>>
>>
--> Step 3: Running: ./install_server eth0
>> --> Identified
non-core packages: globus-oscar
>> --> Returning oscar_server
packages for globus-oscar: globus-oscar
>> junit-oscar
ant-oscar
>> --> Installing server non-core RPMs (core RPMs already
installed)
>>
Preparing...
>>
########################################### [100%]
>>
1:junit-oscar
>>
########################################### [ 33%]
>>
2:ant-oscar
>>
########################################### [ 67%]
>>
3:globus-oscar
>>
########################################### [100%]
>> -->
Successfully installed server non-core RPMs
>> Inserting NON-CORE oscar
packages into config_opkgs table :
>> --> Marking installed bit in
ODA for server non-core RPMS
>> --> Set package:
globus-oscar
>> --> Done marking installed bits in ODA
>>
--> Running post_server_install scripts for server non-core
packages
>> hello world
>> grep: temp: No such file or
directory
>>
/var/lib/oscar/packages/globus-oscar/scripts/post_server_rpm_install:
>>
line 21: [: missing `]'
>>
>> I need to uninstall the Globus
Tookit package but I am getting this
>> error which I say unistall
package from the Oscar menu.
>>
>> Warning: This program only
supports one image.
>> Warning: This program only supports one
image.
>>
>> I need to uninstall the package so as it try it
out again with a better
>>
post_server_rpm_install.
>>
>> Please let me know how to
proceed.
>>
>> Regards,
>>
Kshitij
>>
>>
>> Quoting Bernard Li
<[EMAIL PROTECTED]>:
>>
>>> Hi
Ksh:
>>>
>>> OPD repository is simply webspace with a
oscar_packages.xml file (and
>>> the tarball if you choose), for an
example, see here:
>>>
>>> http://svn.oscar.openclustergroup.org/oscar/tmp/soc/sge/sge-repository/oscar_packages.xml
>>>
>>>
After this has been set up, just go to Step 0 and type in the URL
for
>>> the user-defined repository, and your package should show up
there.
>>>
>>> You probably want to mention the java
dependency in the description
>>> of the
package.
>>>
>>> Cheers,
>>>
>>>
Bernard
>>>
>>>
________________________________
>>>
>>> From: Kshitij
Shashank Limaye [mailto:[EMAIL PROTECTED]]
>>>
Sent: Thu 27/10/2005 18:26
>>> To:
[email protected]
>>> Cc: Bernard Li;
[EMAIL PROTECTED]
>>> Subject: Globus Oscar
Package
>>>
>>>
>>>
>>>
Hello,
>>> After some hibernation, I have started to work on the
Globus Package
>>> for Oscar.
>>> I have created working
rpms for apache-ant, junit and Globus Toolkit
>>> 4.0 and written
the required config.xml, setup and
>>> post_server_rpm_script files
(on FC3 platform).
>>>
>>> The total size of the
globus-oscar.tar.gz is around 68MB The next step
>>> mentioned is
the adding the package to a OPD repository. I wanted to
>>> know how
do I go about doing this and test my package.
>>>
>>> I
have assumed that java is preinstalled by the user, for the
timebeing.
>>>
>>> Thanks in advance,
>>>
Regards,
>>> Kshitij
>>>
>>>
>>>
Quoting Bernard Li <[EMAIL PROTECTED]>:
>>>
>>>> Hi
Kshitij:
>>>>
>>>> It might be better if we just
bundle java and apache-ant with the
>>>> package and install them
all the time (in /opt) - in this case we
>>>> have more control
over supported versions for these third-party
>>>>
applications. I guess we do need to find out whether it is okay
for
>>>> us to distribute java (and apache-ant) in RPM
format.
>>>>
>>>> What files will go in
/opt/globus? If there are multiple files
>>>> and/or
programs, perhaps you can wrap it into a RPM, something like
>>>>
'globus-oscar-1.0.rpm' and after you install it, it will
create
>>>> /opt/globus as well as all the other necessary
programs - how does
>>>> that
sound?
>>>>
>>>> BTW, I was only able to view the
post_configure.txt file, none of the
>>>> other files came
through.
>>>>
>>>>
Cheers,
>>>>
>>>>
Bernard
>>>>
>>>>
________________________________
>>>>
>>>> From:
[EMAIL PROTECTED] on behalf of Kshitij
>>>>
Shashank Limaye
>>>> Sent: Wed 03/08/2005
09:10
>>>> To:
[email protected]
>>>> Subject: [Oscar-devel]
Question regarding Oscar
Packaging
>>>>
>>>>
>>>>
>>>>
Hello,
>>>> I am trying to create a Globus-Oscar Package. I had a
few questions
>>>> regarding
>>>> the packaging,as
I have reached midway of the package creation.
>>>> Here is what
I did.
>>>>
>>>> 1. I created rpms for junit,
apache-ant (pre-requisites for Globus)
>>>> and
Globus
>>>> with installtion directory as /opt (Oscar
default).
>>>>
>>>> 2. Created a package area as
suggested by Howto and put rpms in RPMS
area.
>>>>
>>>> 3. Wrote a config.xml (attached
for viewing)
>>>>
>>>> 4. Wrote a
configurator.html for configuartion as suggested. The
>>>> reason
for
>>>> writing the configurator is that Globus installtion
cannot proceed
>>>> without Java
>>>> being
installed and JAVA_HOME being set. Also I want the check
>>>>
with user if
>>>> Apache-ant has been installed or not. If not
then we install it.
>>>>
>>>> 5. I wrote the
post_configure as suggested. So the documentation
>>>> says that
a
>>>> globus.conf file will be generated. Now I want to read
this conf
>>>> file which
>>>> would have a user
"yes", "no" (on whether JAVA or ANT is installed) for
>>>>
questions and then decide which rpm to
install.
>>>>
>>>> 6. I couldnt locate in the
document the next step to be done to read
>>>> the
conf
>>>> file and decide on the rpm to install. Or do the rpms
have to be
>>>> intelligent
>>>> enough to read
the .conf file. As the next script after post_configure is
>>>>
post_server_rpm_install, which is post rpm installtion, I need
to
>>>> decide based
>>>> on results of
post_configure whether or not to install apache-ant.
>>>> Also if
java
>>>> hasnt been installed then I should not proceed with rpm
installtions.
>>>>
>>>> 7. Also I need the setup
script to generate a folder /opt/globus for
>>>> me. Is
that
>>>> possible ( I mean conferring to the Oscar
standards).
>>>>
>>>>
>>>> I hope I
have explained my problem. Please let me know how I can
>>>>
proceed with
>>>> the packaging.
>>>> I have
attached the config.xml, configurator.html and
post_configure
>>>> script for
>>>> your
viewing.
>>>>
>>>> Thanks in
advance.
>>>> Regards,
>>>> Kshitij
Limaye
>>>>
>>>>
>>>>
>>>>
----------------------------------------------------------------
>>>>
This message was sent using IMP, the Internet Messaging
Program.
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>>
----------------------------------------------------------------
>>>
This message was sent using IMP, the Internet Messaging
Program.
>>>
>>>
>>>
>>>
>>
>>
>>
>>
----------------------------------------------------------------
>>
This message was sent using IMP, the Internet Messaging
Program.
>>
>>
>>
>>
>
>
>
>
----------------------------------------------------------------
> This
message was sent using IMP, the Internet Messaging
Program.
>
>
----------------------------------------------------------------
This
message was sent using IMP, the Internet Messaging
Program.
