I am trying to setup a xCAT cluster in which both the xCAT MN and CNs are
vmware esxi virtual machines on the same physical machine, the virtual
machines were created manually through the vmware vsphere client, when I
defined the virtual machine as xCAT CN, the definition looks like:

[root@rhmn ~]# lsdef rhcn1
Object name: rhcn1
    arch=x86_64
    cons=esx
    groups=vmware,vm,all
    installnic=eth0
    mac=00:0c:29:f9:64:7d
    mgt=esx
    netboot=xnba
    os=rhels6.2
    postbootscripts=otherpkgs
    postscripts=syslog,remoteshell,syncfiles
    primarynic=eth0
    profile=compute
    serialport=0
    serialspeed=115200
    vmhost=x3550m4n01-esxi
[root@rhmn ~]#

But the rpower exits with error:

[root@rhmn ~]# rpower rhcn1 stat
Error: esx plugin bug, pid 26653, process description: 'xCATd SSL: rpower
to rhcn1 for root@localhost: esx instance' with error 'Can't call method
"configManager" on an undefined value
at /opt/xcat/lib/perl/xCAT_plugin/esx.pm line 584.
' while trying to fulfill request for the following nodes: rhcn1
[root@rhmn ~]#

The code is:
    577 sub validate_licenses {
    578     my $hyp = shift;
    579     my $conn = $hyphash{$hyp}->{conn}; #This can't possibly be
called via a cluster stack, so hyphash is appropria        te here
    580     unless ($tablecfg{prodkey}->{$hyp}) { #if no license specified,
no-op
    581         return;
    582     }
    583     my $hv = get_hostview(hypname=>$hyp,conn=>$conn,properties=>
['configManager','name']);
    584     my $lm = $conn->get_view(mo_ref=>$hv->configManager->
licenseManager);
    585     my @licenses;

If I modify the sub validate_licenses to immediately return without doing
anything, then rpower command could work correctly, any suggestion on what
the problem might be?


rcons is not working either:

[root@rhmn ~]# rcons rhcn1
[Enter `^Ec?' for help]
/bin/sh: /opt/xcat/share/xcat/cons/esx: No such file or directory
/bin/sh: /opt/xcat/share/xcat/cons/esx: No such file or directory
[disconnect]
[root@rhmn ~]#

Does xCAT support rcons for the vmware esxi virtual machines?


Thanks,
-------------------------------------------------------------------------
 Li,Guang Cheng (李光成)
 IBM China System Technology Laboratory
 Tel: 86-10-82453499
 Tie-Line: 9053499
 Email: ligua...@cn.ibm.com
 Address: Building 28, ZhongGuanCun Software Park,
          No.8, Dong Bei Wang West Road, Haidian District Beijing 100193,
PRC

北京市海淀区东北旺西路8号中关村软件园28号楼
邮编: 100193
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to