Solaris logical domains are not visible under Virtualization Perspective in VOM 6.1 console

book

Article ID: 100032631

calendar_today

Updated On:

Description

Error Message

Following Error message is observed in the Managed Host log file. By default, this is located here:
/var/opt/VRTSsfmh/LDOM/log/mh.log

2016-05-11 09:29:05 [debug] 7842 S10ldom: 1198Getvitals failed. No GDAT or GUID
2016-05-11 09:29:05 [debug] 7842 S10ldom: 1200This is Control
2016-05-11 09:29:05 [debug] 7842 ldomguest: 1313 cmd: /usr/sbin/virtinfo -ap
2016-05-11 09:29:05 [debug] 7842 ldomguest: 1392 calling url:  https://controlhost-ip/agent/cgi-bin/ldom.pl/control_recv_report
2016-05-11 09:29:07 [debug] 7842 ldomguest: 1396 error sending hostguid: HTTP/1.1 500 Error running CGI
500 Error running CGI
2016-05-11 09:29:07 [error] 7842 ldomguest: unexpected at /opt/VRTSsfmh/lib/modules/VRTS/LDOMDiscovery.pm line 1205.

Workaround for VOM 6.x

Edit the /opt/VRTSsfmh/lib/modules/VRTS/LDOMDiscovery.pm file, as shown below: 

1.  At line 349:

if($linetype eq "HOSTID") {
      my $hostid = $obj->{'hostid'};
      $hostid = "hid".$hostid;      <= Add new line 
     if($hostid =~ /0x(.*)/) {
  

2.  At Line 1378:

my $hostid = `/usr/bin/hostid`;
   chomp $hostid;
   $hostid = "hid".$hostid;    <= Add new line 
   my $ipaddrs = VRTS::OS::get_ip_addr();
 

 3. At Line 1466:

my $ldmhostid = $hostidcheck->[0];
  $ldmhostid = "hid".$ldmhostid;     <= Add new line 
  $ldmhostid =~ s/HOSTID.hostid=0x//;


4. Save the file and refresh HOST discovery.

Cause

The JSON module that is included with VOM is unable to read the HOSTID of the LDOM Primary

Resolution

A HotFix will be delivered for Veritas InfoScale Operations Manager (VIOM) 7.x. Visist Veritas SORT for information about hot fixes:
https://sort.veritas.com

Issue/Introduction

The VOM (Veritas Operations Manager) LDOMdiscovery module is not able to read the host ID of the LDOM server.