- removed hard dependency on perl-SOAP-Lite
- updated makedns man page - fixed buildcore.sh for xCATsn and xCAT rpms - added fping require in xCAT-client git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2954 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
39e1066178
commit
c043368593
@ -87,7 +87,7 @@ if $GREP xCAT-nbroot ../coresvnup; then
|
||||
mv /usr/src/$pkg/RPMS/noarch/xCAT-nbroot-core-*rpm $DESTDIR
|
||||
mv /usr/src/$pkg/SRPMS/xCAT-nbroot-core-*rpm $SRCDIR
|
||||
fi
|
||||
if $GREP "U xCATsn/" ../coresvnup || $GREP "A xCATsn/" ../coresvnup; then
|
||||
if $GREP -E '^[UAD] +xCATsn/' ../coresvnup; then
|
||||
UPLOAD=1
|
||||
rm -f $DESTDIR/xCATsn-$VER*rpm
|
||||
rm -f $SRCDIR/xCATsn-$VER*rpm
|
||||
@ -96,12 +96,10 @@ if $GREP "U xCATsn/" ../coresvnup || $GREP "A xCATsn/" ../coresvnup; then
|
||||
mv /usr/src/$pkg/SRPMS/xCATsn-$VER*rpm $SRCDIR
|
||||
./makexcatsnrpm i386
|
||||
mv /usr/src/$pkg/RPMS/*/xCATsn-$VER*rpm $DESTDIR
|
||||
mv /usr/src/$pkg/SRPMS/xCATsn-$VER*rpm $SRCDIR
|
||||
./makexcatsnrpm ppc64
|
||||
mv /usr/src/$pkg/RPMS/*/xCATsn-$VER*rpm $DESTDIR
|
||||
mv /usr/src/$pkg/SRPMS/xCATsn-$VER*rpm $SRCDIR
|
||||
fi
|
||||
if $GREP "U xCAT/" ../coresvnup || $GREP "A xCAT/" ../coresvnup; then
|
||||
if $GREP -E '^[UAD] +xCAT/' ../coresvnup; then
|
||||
UPLOAD=1
|
||||
rm -f $DESTDIR/xCAT-$VER*rpm
|
||||
rm -f $SRCDIR/xCAT-$VER*rpm
|
||||
|
@ -3672,7 +3672,7 @@ IVirtualBox_createMachine => {
|
||||
}, # end IVirtualBox_createMachine
|
||||
); # end my %methods
|
||||
|
||||
require SOAP::Lite;
|
||||
#require SOAP::Lite; # vbox.pm requires SOAP::Lite before requiring vboxService.pm, so we can check for SOAP::Lite dynamically
|
||||
require Exporter;
|
||||
use Carp ();
|
||||
|
||||
|
@ -11,10 +11,18 @@ B<makedns> [B<-h>|B<--help>]
|
||||
|
||||
=head1 DESCRIPTION
|
||||
|
||||
B<makedns> makes a DNS server from the /etc/hosts file entries. It also uses the following
|
||||
B<makedns> configures a DNS server on the local machine from the /etc/hosts file entries. It also uses the following
|
||||
attributes set in the B<site> table as default values: B<domain>, B<forwarders>, B<nameservers>.
|
||||
The domain value can be overridden by the B<-d> option.
|
||||
The netmasks from the B<networks> table will also be used if not overridden by the B<-n> option.
|
||||
The netmasks from the B<networks> table will also be used if not overridden by the B<-n> option. Only entries in
|
||||
/etc/hosts that are part of a network listed in the B<networks> table will be added to DNS.
|
||||
|
||||
B<makedns> can only handle hostnames from a single domain, normally a private domain just for the cluster. The
|
||||
typical cluster set up is for site.domain to be set to the cluster domain, site.nameservers to be set to the
|
||||
cluster-facing IP address of the management node, and site.forwarders to be set to the IP address of one or more
|
||||
nameservers at your site that can resolve names outside of your cluster. With this set up, all nodes ask the
|
||||
management node to resolve names, and if it is a name that the MN DNS does not know about, it will ask the outside
|
||||
world.
|
||||
|
||||
|
||||
=head1 OPTIONS
|
||||
@ -39,11 +47,11 @@ Boot file to use.
|
||||
|
||||
=item B<-A>
|
||||
|
||||
Do aliases.
|
||||
Write the address records, i.e. the hostname to IP address mappings.
|
||||
|
||||
=item B<-M>
|
||||
|
||||
Do mx records.
|
||||
Write the MX records, i.e. the additional aliases for a hostname.
|
||||
|
||||
=item B<-w>
|
||||
|
||||
|
@ -19,6 +19,11 @@ BuildArch: noarch
|
||||
|
||||
Provides: xCAT-client = %{version}
|
||||
|
||||
# fping is needed by pping (in case xCAT-client is installed by itself on a remote client)
|
||||
%ifos linux
|
||||
Requires: fping
|
||||
%endif
|
||||
|
||||
%description
|
||||
xCAT-client provides the fundamental xCAT commands (chtab, chnode, rpower, etc) helpful in administrating systems at scale, with particular attention paid to large HPC clusters.
|
||||
|
||||
|
@ -24,9 +24,6 @@ use Getopt::Long;
|
||||
use strict;
|
||||
use warnings;
|
||||
|
||||
require SOAP::Lite;
|
||||
require xCAT::vboxService;
|
||||
|
||||
my $cmd = 'clienttest';
|
||||
|
||||
#-------------------------------------------------------
|
||||
@ -103,6 +100,13 @@ sub process_request
|
||||
my $envs = $request->{env};
|
||||
our $rsp;
|
||||
my $node;
|
||||
|
||||
my $soapsupport = eval { require SOAP::Lite; };
|
||||
unless ($soapsupport) { #Still no SOAP::Lite module
|
||||
$callback->({error=>"SOAP::Lite perl module missing, unable to fulfill Virtual Box plugin requirements",errorcode=>[42]});
|
||||
return [];
|
||||
}
|
||||
require xCAT::vboxService;
|
||||
|
||||
my @nodes=@$nodes;
|
||||
|
||||
|
@ -22,7 +22,7 @@ Requires: atftp dhcp httpd nfs-utils expect conserver fping bind perl-XML-Parser
|
||||
%endif
|
||||
|
||||
%ifarch i386 i586 i686 x86 x86_64
|
||||
Requires: xCAT-nbroot-oss-x86 xCAT-nbroot-core-x86 xCAT-nbkernel-x86 xCAT-nbroot-oss-x86_64 xCAT-nbroot-core-x86_64 xCAT-nbkernel-x86_64 syslinux perl-version perl-SOAP-Lite
|
||||
Requires: xCAT-nbroot-oss-x86 xCAT-nbroot-core-x86 xCAT-nbkernel-x86 xCAT-nbroot-oss-x86_64 xCAT-nbroot-core-x86_64 xCAT-nbkernel-x86_64 syslinux
|
||||
Requires: ipmitool >= 1.8.9
|
||||
%endif
|
||||
|
||||
|
@ -27,7 +27,7 @@ Requires: ipmitool >= 1.8.9
|
||||
|
||||
%description
|
||||
xCATsn is a service node management package intended for at-scale management,
|
||||
including hardware management and software management.
|
||||
including hardware management and software management.
|
||||
|
||||
|
||||
%prep
|
||||
|
Loading…
Reference in New Issue
Block a user