Data Infrastructure Management Software Discussions

Host Services 1.1

I am troubleshooting the new Host Service 1.1 on vSphere5 and
having trouble registering it.

Just says “Failed to configure DataFabric Manager server IP
address: 172.16.3.32 and port: 8488 on the Host Service”

  

When I look on the vCenter server (where host services is
installed) I see it trying on the log...says
Communication failure between
HostAgent and DFM server: Could not establish trust relationship for the
SSL/TLS secure channel with authority 'dfm-32:8488'.  Please make sure DFM
server is up running.

DFM server is up and running with no problems.

Windows Firewalls are turned off on both servers.

DNS is working both forward/reverse on both hosts.

I have re-installed Host Services on vcenter server, but no change and installer completes with no errors on both initial and reinstall.

Any ideas?

Thanks,

drew

34 REPLIES 34

Re: Host Services 1.1

HI,

Can you try the following:

1. dfm ssl service setup -f (To create new certificate in dfm)

2. dfm ssl service reload (To use this new certificate on DFM)

Now If we do fresh HS install after DFM certificate change, everything should work fine,  OR

  1. Force HS to exchange certificate with DFM again using following command in HS powershell : Configure-HostService -options authorize::false
  2. Go to Dfm console and check hs status (dfm hs list) which should show it as "Pending Authorization". Authorize HS (dfm hs authorize <hsid>) which should establish the trust between DFM and HS again.

-Arun

Re: Host Services 1.1

This fixed my problem!  Thank you very much!

How do I mark answered and award points?

Thanks,

drew

Re: Host Services 1.1

HI,

Glad that this was helpful for you

AFAIK on my answer post itself there should be mark this answer as helpful and mark this answer as correct. I didnt have privilege to mark a reply as correct till now as I haven't posted much questions here

-Arun

Re: Host Services 1.1

See if you can find "Mark this answer as correct" at the bottom of the post where there is like and reply button.

Re: Host Services 1.1

Hi Arunchak,

I am having exactly the same problem and have been for the past week... could you please detail for me how the following step is done, ideally I would like to avoid re-installing the Host software on our vCenter server.

  1. Force HS to exchange certificate with DFM again using following command in HS powershell : Configure-HostService -options authorize::false

I can't seem to find where the powershell cmdlets are located or can "Configure-HostService" be run from just entering powershell on the Host Service server.

Many thanks

Malcolm

Re: Host Services 1.1

HI,

Download the powershell cmdlets from below location in your dfm server:

[a@shoemaker-rhel6x64-01 clients]$ pwd

/opt/NTAPdfm/web/clients   (should be similar directory navigation for windows DFM -> c:\Program Files\NetApp\DataFabricManager ---- )

[a@shoemaker-rhel6x64-01 clients]$ ls | grep -i cmdlets

occmdlets-setup-mainN_110707_2100-winx86.exe (Install this on HS machine)

If your DFM is lunux you can download this file using winscp or such software.

Then powershell should be installed in HS navigate to it from start menu and run the above command. Let me know if it worked for you.

-Arun

Re: Host Services 1.1

What does the cmd prompt show in the beginning? Does it throw any error ? It loads some plugins ...

Sent from my iPhone

Re: Host Services 1.1

Also, what does this command say:

Add-PSSnapin hostservices.ps

Re: Host Services 1.1

I've left the office for today but I will check first thing in the morning

Thanks for getting back to me so quickly

Re: Host Services 1.1

okay.. np.

AFAIK, the snapin should load properly. then you will be able to execute the commands.

Re: Host Services 1.1

Hi Arun,

Trying to add "hostservices.ps" using Add-PSSnapin show that hostservices.ps is not installed on our machine.

But when I open "Start" "All Programs" "NetApp" it shows the " On-Command Windows Powershell Cmdlets" and "Host Service Powershell"

Many thanks

Re: Host Services 1.1

Hi Malcolm,

Please follow these steps:

1. On the system you have installed the Oncommand HostPackage:

Go to Start- Programs-NetApp- OnCommand Host Service PowerShell

Or

Browse to this location: C:\Program Files\NetApp\OnCommand Host Package\Host Service

Find & Run this file 'OnCommandHostSvc.psc1'

In the CLI windows it would open Type this command:

" Configure-HostService -options authorize::false"

the output should be displayed like this example:

PS C:\Program Files\NetApp\OnCommand Host Package\Host Service> Configure-HostSe

rvice -options authorize::false

Messages           :

OperationId        :

OperationType      :

OperationStatus    : Success

ResultCode         :

ResolutionGuidance :

Detail             :

ExtensionData      : System.Runtime.Serialization.ExtensionDataObject

MessageId          : 0

LogLevel           : 0

Source             :

Category           :

MessageDetail      :

TimeStamp          : 12/14/2011 5:51:55 AM

Sample:

PS C:\Program Files\NetApp\OnCommand Host Package\Host Service> Get-HSConfigurat

ion

HostServiceId       :

HostServiceVersion  : 1.1.0.1512

HostServiceTimeZone : Eastern Standard Time

HostDNSName         : 2k8-Sample

HostOperatingSystem : Microsoft Windows NT 6.1.7600.0

DFMNameOrIPAddress  : 10.10.10.10

EndpointAddress     : https://10.10.10.10:8488/apis/soap/v1

Port                : 8488

PluginName          : OnCommand Host Service VMware Plug-in

PluginID            : 0122AC9E-ACE9-4958-AF1D-F6C0057F8597

PluginVersion       : 1.1.0.0

PluginResourceTypes : Virtualization.VMware.Vsphere;Virtualization.VMware.SFR;V

                      irtualization.VMware.Datacenter;Virtualization.VMware.Hyp

                      erVisor;Virtualization.Network;Virtualization.VMware.Data

                      store;Virtualization.VMware.VM;FCP.WWN;ISCSI.Initiator;FC

                      P.WWPN;Storage.ONTAP.LUN;Storage.ONTAP.NFSExport;Virtuali

                      zation.VMware.VMConfig;Virtualization.VMware.VDisk;Storag

                      e.ONTAP.Volume;Storage.ONTAP.StorageSystem;

Namespaces          : VMwareManagement

Hope it helps.

Best Regards,

Vijay

Re: Host Services 1.1

Hi Vijay,

Thanks very much for your instructions, below is my output:

PS C:\Documents and Settings\snapdrive> Configure-HostService -options authorize
::false


Messages           :
OperationId        :
OperationType      :
OperationStatus    : Success
ResultCode         :
ResolutionGuidance :
Detail             :
ExtensionData      : System.Runtime.Serialization.ExtensionDataObject
MessageId          : 0
LogLevel           : 0
Source             :
Category           :
MessageDetail      :
TimeStamp          : 14/12/2011 11:27:51

PS C:\Documents and Settings\snapdrive> Get-HSConfiguration


HostServiceId       : 536
HostServiceVersion  : 1.1.0.1512
HostServiceTimeZone : GMT Standard Time
HostDNSName         : csovmvc01.xx.xxxx.xx
HostOperatingSystem : Microsoft Windows NT 5.2.3790 Service Pack 2
DFMNameOrIPAddress  : 10.11.8.31
EndpointAddress     : https://10.11.8.31:8488/apis/soap/v1
Port                : 8488

PluginName          : OnCommand Host Service VMware Plug-in
PluginID            : 0122AC9E-ACE9-4958-AF1D-F6C0057F8597
PluginVersion       : 1.1.0.0
PluginResourceTypes : Virtualization.VMware.Vsphere;Virtualization.VMware.SFR;V
                      irtualization.VMware.Datacenter;Virtualization.VMware.Hyp
                      erVisor;Virtualization.Network;Virtualization.VMware.Data
                      store;Virtualization.VMware.VM;FCP.WWN;ISCSI.Initiator;FC
                      P.WWPN;Storage.ONTAP.LUN;Storage.ONTAP.NFSExport;Virtuali
                      zation.VMware.VMConfig;Virtualization.VMware.VDisk;Storag
                      e.ONTAP.Volume;Storage.ONTAP.StorageSystem;
Namespaces          : VMwareManagement

Cheers

Malcolm

Re: Host Services 1.1

After setting authorization to false. go to DFM console and run "dfm hs authorize <hsid>"

-Arun

Re: Host Services 1.1

I've removed and re-installed the host agent on our vCenter box now as we have been changing things for over a week now and wanted a fresh start.

After following the commands:

owse to this location: C:\Program Files\NetApp\OnCommand Host Package\Host Service 

Find & Run this file 'OnCommandHostSvc.psc1'

In the CLI windows it would open Type this command:

" Configure-HostService -options authorize::false"

Going back to the DFM console and running "dfm hs list" it is still showing the host as down and the same error messages are being shown in the D:\Program Files\NetApp\OnCommand Host Package\Host Service\OnCommandHostSvc.log

One thing I have noticed since the re-install when I open "Start" "All Programs" "NetApp" it doesnt show " On-Command Windows Powershell Cmdlets" anymore.....

Cloud Volumes ONTAP
Review Banner
All Community Forums
Public