Are you the publisher? Claim or contact us about this channel


Embed this content in your HTML

Search

Report adult content:

click to rate:

Account: (login)

More Channels


Showcase


Channel Catalog


Channel Description:

Latest Forum Threads in VMware Communities

older | 1 | .... | 6719 | 6720 | (Page 6721) | 6722 | 6723 | .... | 6759 | newer

    0 0

    Hi,

     

    We have a VMware cluster setup with the following:

     

    5 Hypervisors x  VMware ESXi, 6.5.0

    EqualLogic array 6500

     

    Some of our Linux VMs are crashing with Read only filesystem. Where it can't see the OS drive.

     

    It has happened few times.

     

    While troubleshooting this problem we have noticed that the VMs which are crashing are using the same cluster shared volume.

     

    So we enabled the Storage I/O control with 90% of peak throughput but it didn't make any difference. (As some of our VMs use more I/Os then others so we put a limit on this)

     

    Any help would be appreciated.

     

    Thanks

     

    Kashif


    0 0
  • 01/04/19--01:27: unmount cd iso from a vm
  • Hi Lucd,

     

    Based on your function script. I am trying to perform to unmount the iso file mounted before performing invoke-vmscript but this is not working as expected Seems something wrong I performed breaking the function from the main script you have written.(ref:Answer the question! - LucD notes ). I don't want to use complete function as the below script is part of my main script (Correction in vms autodeploy script )

     

    $yumserverautoconfiglinux=@'
    mkdir /tmp3
    mkdir /var/ftp/pub/CentOS7.5x64Bit
    mount /dev/cdrom /tmp2
    cd /tmp3
    cp -r /tmp3/* /var/ftp/pub/CentOS7.5x64Bit/
    umount /dev/cdrom
    '@
    #$vmsautodeploy= Get-VM 'LIBPRO26'
    $dst= Get-Datastore 'LIBDatastore'
    $isofile=(Get-ChildItem -Path $dst.DatastoreBrowserPath |?{$_.Name -eq 'CentOS-7-5x86_64-Everything-1804.iso'}).DatastoreFullPath
    Get-CDDrive -VM $vmsautodeploy | Set-CDDrive  -StartConnected:$true -Connected:$true -IsoPath $isofile -Confirm:$false
    #Copy-VMGuestFile -VM $vmsautodeploy.Name -Source 'C:\Prerequisites\Linux\vsftpd-3.0.2-22.el7.x86_64.rpm' -Destination '/tmp' -GuestUser $vmsautodeploy.UserName -GuestPassword $vmsautodeploy.Password -LocalToGuest
    Invoke-VMScript -VM $vmsautodeploy -GuestUser root -GuestPassword 'LIBn2j4g5' -ScriptText $yumserverautoconfiglinux -ScriptType Bash
    #Copy-VMGuestFile -VM $vmsautodeploy.VMName -Source 'C:\Prerequisites\Linux\CentOS7_5x64Bit.zip' -Destination '/var/ftp/pub/' -GuestUser $vmsautodeploy.UserName -GuestPassword $vmsautodeploy.Password -LocalToGuest
    $cdQuestion = {
    $maxPass = 5
    $pass = 0
    while($pass -lt $maxPass){
    $question = Get-VM $vmsautodeploy | Get-VMQuestion -QuestionText "*locked the CD-ROM*"
    if($question){
    Set-VMQuestion -VMQuestion $question -Option Yes -Confirm:$false
    $pass = $maxPass + 1
    }
    $pass++
    }
    sleep 1
    }
    process
    {
    $cddrivevm= Get-CDDrive -VM $vmsautodeploy 
    $cdjob = Start-Job -Name Check-CDQuestion -ScriptBlock $cdQuestion -ArgumentList $vmsautodeploy,$global:DefaultVIServer
    Set-CDDrive -CD $cddrivevm -NoMedia -Confirm:$false -ErrorAction Stop
    }

    0 0

    With the recent GA release of vSphere 6.7, one wonders if skipping 6.5 is now a viable path?

     

    See the details here: Introducing VMware vSphere 6.7! - VMware vSphere Blog

     

    And here: vSphere 6.7 announced! - Yellow Bricks

     

     

    Anyway, I'm excitedly anticipating the new training materials and wondering if this is related to why there is a gap on my bookshelf that contains "Mastering VMware vSphere 5", "Mastering VMware vSphere 5.5", and "Mastering VMware vSphere 6"...


    0 0
  • 11/02/18--09:45: rsync on ESXi 6.5
  • Is there a way we can compile rysnc binary for ESXi 6.5 host??

     

    Tried this https://www.virtuallyghetto.com/2011/02/how-to-compile-statically-linked-rsync.html  but did not help.

     

    Any suggestions please?


    0 0
  • 12/21/16--06:26: Workstation VLAN tags
  • I have a workstation that has 2 NICs and Vmware Workstation 11 installed.  I would like to have multiple VMs running on different VLANs at the same time.  I know with ESXi I can add different VLAN tags on different switches, but how can I do this on Workstation?  Is it even possible to do this?  The switchport that the second NIC is patched to is a trunk with the VLANs I need tagged.

     

    Thanks in advance.


    0 0

    This is an install of a fresh lab and fresh deployment of vCenter Appliance 6.7 with ESXi 6.7.

    All machines have internet connectivity.

    My domain controller is also the DNS server and DNS works fine forward and reverse/PTR.

     

    Each ESXi host is time sync'd to the IP for pool.ntp.org [107.155.79.108]

    The esxi hosts can ping the the time server...

     

    I configured my Domain controller to sync time with the below commands...

    w32tm /config /manualpeerlist:pool.ntp.org /syncfromflags:MANUAL

    Stop-Service w32time

    Start-Service w32time

    The DC sync's fine....

     

    The server I am using to deploy the virt appliance is also sync'd to with the same above method.

     

    Below are my setting when deploying the virtual appliance...

     

    All those settings gets me past the first step to deploy the virtual appliance to my esxi server....

     

    Here are the virtual appliance network, SSO and ntp settings....

     

    I also attached the logs from my 7th attempt.......lol

     

    Here's the error message..."A problem occurred while - Starting VMware Content Library Service..."

     

    Any help is appreciated.

     

    Thanks


    0 0

    Hi,

     

    I am unable to see device list in vSphere console from existing ESXi server.

     

    Got work around to run ’./service restart’ command in esxi server manually. Then only i can see all device. I need to do this every time when add disk from storage. Permanent fix from support is to upgrading vcenter to 6.5. Current environment is 6.0 update 2.

     

    Is there any alternative solution available with power cli for my problem?

    Can I execute ’./service restart’ from poercli without logging to ESX server ?


    0 0

    Hello,

     

    I'm using VMware Workstation 11 for my Windows 2012R2 server, but instead of 1 vmdk for it's C drive it has multiple, how can I make it as one, as I need to convert it to a VHD file?

     

    vmworkstation.PNG

     

    Thanks


    0 0

    Hi,

    Can the VMware Tools on  VM be upgraded without restarting the vm after update? it is possible ?

    if so, are the installations even effective without rebooting?

     

    many thanks in advance

     

     

    
    

    0 0
  • 01/04/19--03:28: Error getting the chart
  • Hi,

     

    I am having issues getting the pie chart using the below function

     

    Please help

     

    function New-Piechart() {

        Param (

            [string]$FileName,

            [float]$CapacitySpace,

            [float]$SnapshotSpace,

            [float]$VolumeSpace

        )

           

        [void][Reflection.Assembly]::LoadWithPartialName("System.Windows.Forms")

        [void][Reflection.Assembly]::LoadWithPartialName("System.Windows.Forms.DataVisualization")

       

        $chart = New-Object System.Windows.Forms.DataVisualization.charting.chart

        $chart.Width = 900

        $chart.Height = 600

        $chart.Left = 10

        $chart.Top = 10

     

        $chartArea = New-Object System.Windows.Forms.DataVisualization.charting.chartArea

        $chart.chartAreas.Add($chartArea)

        [void]$chart.Series.Add("Data")

       

           $legend = New-Object system.Windows.Forms.DataVisualization.charting.Legend

           $legend.Name = "Legend"

        $legend.Font = "Proxima Nova"

           $legend.Alignment = "Center"

           $legend.Docking = "top"

           $legend.Bordercolor = "#FE5000"

           $legend.Legendstyle = "row"

        $chart.Legends.Add($legend)

     

        $datapoint = New-Object System.Windows.Forms.DataVisualization.charting.DataPoint(0, $capacitySpace)

        $datapoint.AxisLabel = "Physical Capacity " + "(" + $("{0:N0}" -f $capacitySpace) + " GB)"

        $chart.Series["Data"].Points.Add($datapoint)

           

        $datapoint = New-Object System.Windows.Forms.DataVisualization.charting.DataPoint(0, $snapSpace)

        $datapoint.AxisLabel = "SnapShots " + "(" + $snapSpace + " GB)"

        $chart.Series["Data"].Points.Add($datapoint)

           

        $datapoint = New-Object System.Windows.Forms.DataVisualization.charting.DataPoint(0, $volumeSpace)

        $datapoint.AxisLabel = "Volumes " + "(" + $volumeSpace + " GB)"

        $chart.Series["Data"].Points.Add($datapoint)

           

        $chart.Series["Data"].chartType = [System.Windows.Forms.DataVisualization.charting.SerieschartType]::Pie

        $chart.Series["Data"]["PieLabelStyle"] = "Outside"

        $chart.Series["Data"]["PieLineColor"] = "#FE5000"

        $chart.Series["Data"]["PieDrawingStyle"] = "Concave"

        ($chart.Series["Data"].Points.FindMaxByValue())["Exploded"] = $true

     

        $Title = New-Object System.Windows.Forms.DataVisualization.charting.Title

        $chart.Titles.Add($Title)

        $chart.Titles[0].Text = "Capacity Usage Visualization"

        $chart.SaveImage($FileName + ".png","png")

     

        $Script:PiechartImgSrc = ConvertTo-Base64 ($FileName + ".png")

        Remove-Item -Path ($FileName + ".png")

    }

     

    New-Piechart -FileName ($OutFilePath + "\TempPiechart") -CapacitySpace $capacitySpace -SnapshotSpace $snapSpace -VolumeSpace $volumeSpace

     

    Error :

     

    Exception calling "FindMaxByValue" with "0" argument(s): "Object reference not set to an instance of an object."

    At D:\myreports\Capacity_Report_2.0 - Copy.ps1:85 char:2

    +     ($chart.Series["Data"].Points.FindMaxByValue())["Exploded"] = $true

    +     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

        + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException

        + FullyQualifiedErrorId : NullReferenceException

     

    Exception calling "SaveImage" with "2" argument(s): "Object reference not set to an instance of an object."

    At D:\myreports\Capacity_Report_2.0 - Copy.ps1:90 char:5

    +     $chart.SaveImage($FileName + ".png","png")

    +     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

        + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException

        + FullyQualifiedErrorId : NullReferenceException

     

    Exception calling "ToBase64String" with "1" argument(s): "Value cannot be null.

    Parameter name: inArray"

    At D:\myreports\Capacity_Report_2.0 - Copy.ps1:36 char:9

    +     return [Convert]::ToBase64String((Get-Content $ImgSrc -Encoding byte))

    +            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

        + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException

        + FullyQualifiedErrorId : ArgumentNullException


    0 0

    Recently I upgraded test lab to VMware Horizon 7.7 (Instant Clones Windows 10 LTSB, App Volumes 2.15) and created fresh Gold Image. All works just fine except ReportSystemFreeSpace - it doesn't work and I see VM C:\ free space but not the writable volume free space (profile only template). Tried to google the problem - there are no any information. Any ideas?


    0 0

    Hi,

    I'm developing a plugin for vSphere html client(build number 6.5.0.20000).  I want to add a entry in the global object navigator, and limit the access to vCenter user who has privilege Global.Licenses(just for example here). Sample plug-in.xml below. I login with vCenter administrator which has all privileges, but when access it,  H5 client shows "You have no privileges to view this object or it does not exist.". It works if i remove the privilege metadata. This issue blocks the implementation of privilege control for the extension. Is it a H5 client defect? It would be appreciated if you can shade some light on this asap, tks.

    <extensionid="entryPoint">
    <extendedPoint>vise.navigator.nodespecs</extendedPoint>
    <object>
    <title>test</title>
    <parentUid>vsphere.core.navigator.solutionsCategory</parentUid>
    <navigationTargetUid>home</navigationTargetUid>
    <viewOpenedUponFocusclassName="com.vmware.ui.objectnavigator.views.CategoryNodeTreeView"/>
    </object>
    </extension>
     
    <extensionid="home">
    <extendedPoint>vise.global.views</extendedPoint>
    <object>
    <name>test</name>
    <componentClassclassName="com.vmware.vsphere.client.htmlbridge.HtmlView">
    <object>
    <root>
    <url>/vsphere-client/test/index.html?view=home</url>
    </root>
    </object>
    </componentClass>
    </object>
    <metadata>
          <privilege>Global.Licenses</privilege>
    </metadata>
    </extension>

    0 0

    Hello All,

     

         I have this problem in my vcsa 6.5 with PSC, the service vmware-sps not start and the sps.log show in the messages invalid login, all other services are up and running, just vmware-sps and vmware-updatemgr are not starting.

     

    2018-12-21T15:09:04.805-02:00 [pool-13-thread-1] DEBUG opId=sps-SHPoller-449421-17 com.vmware.vim.storage.common.util.VpxdSSOConnection - Ignoring exception while verifying vpxd sso connection

    (vim.fault.NoPermission) {

       faultCause = null,

       faultMessage = null,

       object = ManagedObjectReference: type = Folder, value = group-d1, serverGuid = ac181e9a-ae38-4520-9452-b771ed9a4db8,

       privilegeId = Sessions.ValidateSession

    }

            at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

            at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)

            at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)

            at java.lang.reflect.Constructor.newInstance(Constructor.java:423)

            at java.lang.Class.newInstance(Class.java:442)

            at com.vmware.vim.vmomi.core.types.impl.ComplexTypeImpl.newInstance(ComplexTypeImpl.java:174)

            at com.vmware.vim.vmomi.core.types.impl.DefaultDataObjectFactory.newDataObject(DefaultDataObjectFactory.java:25)

            at com.vmware.vim.vmomi.core.soap.impl.unmarshaller.ComplexStackContext.<init>(ComplexStackContext.java:30)

            at com.vmware.vim.vmomi.core.soap.impl.unmarshaller.UnmarshallerImpl$UnmarshallSoapFaultContext.parse(UnmarshallerImpl.java:150)

            at com.vmware.vim.vmomi.core.soap.impl.unmarshaller.UnmarshallerImpl$UnmarshallSoapFaultContext.unmarshall(UnmarshallerImpl.java:101)

            at com.vmware.vim.vmomi.core.soap.impl.unmarshaller.UnmarshallerImpl.unmarshalSoapFault(UnmarshallerImpl.java:88)

            at com.vmware.vim.vmomi.core.soap.impl.unmarshaller.UnmarshallerImpl.unmarshalSoapFault(UnmarshallerImpl.java:83)

            at com.vmware.vim.vmomi.client.common.impl.SoapFaultStackContext.setValue(SoapFaultStackContext.java:40)

            at com.vmware.vim.vmomi.client.common.impl.ResponseUnmarshaller.processNextElement(ResponseUnmarshaller.java:127)

            at com.vmware.vim.vmomi.client.common.impl.ResponseUnmarshaller.unmarshal(ResponseUnmarshaller.java:70)

            at com.vmware.vim.vmomi.client.common.impl.ResponseImpl.unmarshalResponse(ResponseImpl.java:274)

            at com.vmware.vim.vmomi.client.common.impl.ResponseImpl.setResponse(ResponseImpl.java:230)

            at com.vmware.vim.vmomi.client.http.impl.HttpExchangeBase.parseResponse(HttpExchangeBase.java:150)

            at com.vmware.vim.vmomi.client.http.impl.HttpExchange.run(HttpExchange.java:48)

            at com.vmware.vim.vmomi.client.http.impl.HttpProtocolBindingBase.executeRunnable(HttpProtocolBindingBase.java:226)

            at com.vmware.vim.vmomi.client.http.impl.HttpProtocolBindingImpl.send(HttpProtocolBindingImpl.java:110)

            at com.vmware.vim.vmomi.client.common.impl.MethodInvocationHandlerImpl$CallExecutor.sendCall(MethodInvocationHandlerImpl.java:613)

            at com.vmware.vim.vmomi.client.common.impl.MethodInvocationHandlerImpl$CallExecutor.executeCall(MethodInvocationHandlerImpl.java:594)

            at com.vmware.vim.vmomi.client.common.impl.MethodInvocationHandlerImpl.completeCall(MethodInvocationHandlerImpl.java:345)

            at com.vmware.vim.vmomi.client.common.impl.MethodInvocationHandlerImpl.invokeOperation(MethodInvocationHandlerImpl.java:305)

            at com.vmware.vim.vmomi.client.common.impl.MethodInvocationHandlerImpl.invoke(MethodInvocationHandlerImpl.java:179)

            at com.sun.proxy.$Proxy82.sessionIsActive(Unknown Source)

            at com.vmware.vim.storage.common.util.VpxdSSOConnection.verifyVpxdSSOConnection(VpxdSSOConnection.java:111)

            at com.vmware.vim.storage.common.util.VpxdSSOConnectionFactory.verifyAdminSSOConnection(VpxdSSOConnectionFactory.java:55)

            at com.vmware.vim.sms.health.ServiceHealthPoller.pingVpxd(ServiceHealthPoller.java:94)

            at com.vmware.vim.sms.health.ServiceHealthPoller.pingServices(ServiceHealthPoller.java:76)

            at com.vmware.vim.sms.health.ServiceHealthPoller.run(ServiceHealthPoller.java:152)

            at com.vmware.vim.storage.common.task.opctx.RunnableOpCtxDecorator.run(RunnableOpCtxDecorator.java:38)

            at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)

            at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)

            at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)

            at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)

            at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)

            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)

            at java.lang.Thread.run(Thread.java:748)

    2018-12-21T15:09:04.853-02:00 [pool-13-thread-1] INFO  opId=sps-SHPoller-449421-17 com.vmware.vim.storage.common.util.VpxdSSOConnection - Session inactive, Performing login to vCenter at https

    ://vcsa65.internal:443/sdk

    2018-12-21T15:09:05.148-02:00 [pool-13-thread-1] ERROR opId=sps-SHPoller-449421-17 com.vmware.vim.storage.common.util.VpxdSSOConnection - Failed to login to vCenter using Saml token

    (vim.fault.InvalidLogin) {

       faultCause = null,

       faultMessage = null

    }

            at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

            at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)

            at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)

            at java.lang.reflect.Constructor.newInstance(Constructor.java:423)

            at java.lang.Class.newInstance(Class.java:442)

            at com.vmware.vim.vmomi.core.types.impl.ComplexTypeImpl.newInstance(ComplexTypeImpl.java:174)

            at com.vmware.vim.vmomi.core.types.impl.DefaultDataObjectFactory.newDataObject(DefaultDataObjectFactory.java:25)

            at com.vmware.vim.vmomi.core.soap.impl.unmarshaller.ComplexStackContext.<init>(ComplexStackContext.java:30)

            at com.vmware.vim.vmomi.core.soap.impl.unmarshaller.UnmarshallerImpl$UnmarshallSoapFaultContext.parse(UnmarshallerImpl.java:150)

            at com.vmware.vim.vmomi.core.soap.impl.unmarshaller.UnmarshallerImpl$UnmarshallSoapFaultContext.unmarshall(UnmarshallerImpl.java:101)

            at com.vmware.vim.vmomi.core.soap.impl.unmarshaller.UnmarshallerImpl.unmarshalSoapFault(UnmarshallerImpl.java:88)

            at com.vmware.vim.vmomi.core.soap.impl.unmarshaller.UnmarshallerImpl.unmarshalSoapFault(UnmarshallerImpl.java:83)

            at com.vmware.vim.vmomi.client.common.impl.SoapFaultStackContext.setValue(SoapFaultStackContext.java:40)

            at com.vmware.vim.vmomi.client.common.impl.ResponseUnmarshaller.processNextElement(ResponseUnmarshaller.java:127)

            at com.vmware.vim.vmomi.client.common.impl.ResponseUnmarshaller.unmarshal(ResponseUnmarshaller.java:70)

            at com.vmware.vim.vmomi.client.common.impl.ResponseImpl.unmarshalResponse(ResponseImpl.java:274)

            at com.vmware.vim.vmomi.client.common.impl.ResponseImpl.setResponse(ResponseImpl.java:230)

            at com.vmware.vim.vmomi.client.http.impl.HttpExchangeBase.parseResponse(HttpExchangeBase.java:150)

            at com.vmware.vim.vmomi.client.http.impl.HttpExchange.run(HttpExchange.java:48)

            at com.vmware.vim.vmomi.client.http.impl.HttpProtocolBindingBase.executeRunnable(HttpProtocolBindingBase.java:226)

            at com.vmware.vim.vmomi.client.http.impl.HttpProtocolBindingImpl.send(HttpProtocolBindingImpl.java:110)

            at com.vmware.vim.vmomi.client.common.impl.MethodInvocationHandlerImpl$CallExecutor.sendCall(MethodInvocationHandlerImpl.java:613)

            at com.vmware.vim.vmomi.client.common.impl.MethodInvocationHandlerImpl$CallExecutor.executeCall(MethodInvocationHandlerImpl.java:594)

            at com.vmware.vim.vmomi.client.common.impl.MethodInvocationHandlerImpl.completeCall(MethodInvocationHandlerImpl.java:345)

            at com.vmware.vim.vmomi.client.common.impl.MethodInvocationHandlerImpl.invokeOperation(MethodInvocationHandlerImpl.java:305)

            at com.vmware.vim.vmomi.client.common.impl.MethodInvocationHandlerImpl.invoke(MethodInvocationHandlerImpl.java:179)

            at com.sun.proxy.$Proxy82.loginByToken(Unknown Source)

            at com.vmware.vim.storage.common.util.VpxdSSOConnection.login(VpxdSSOConnection.java:204)

            at com.vmware.vim.storage.common.util.VpxdSSOConnection.verifyVpxdSSOConnection(VpxdSSOConnection.java:123)

            at com.vmware.vim.storage.common.util.VpxdSSOConnectionFactory.verifyAdminSSOConnection(VpxdSSOConnectionFactory.java:55)

            at com.vmware.vim.sms.health.ServiceHealthPoller.pingVpxd(ServiceHealthPoller.java:94)

            at com.vmware.vim.sms.health.ServiceHealthPoller.pingServices(ServiceHealthPoller.java:76)

            at com.vmware.vim.sms.health.ServiceHealthPoller.run(ServiceHealthPoller.java:152)

            at com.vmware.vim.storage.common.task.opctx.RunnableOpCtxDecorator.run(RunnableOpCtxDecorator.java:38)

            at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)

            at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)

            at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)

            at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)

            at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)

            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)

            at java.lang.Thread.run(Thread.java:748)

    2018-12-21T15:09:05.160-02:00 [pool-13-thread-1] ERROR opId=sps-SHPoller-449421-17 com.vmware.vim.sms.health.ServiceHealthPoller - VPXD connectivity failed!

    com.vmware.vim.storage.common.fault.VpxdConnectionException: Failed to login to vCenter using Saml token

            at com.vmware.vim.storage.common.util.VpxdSSOConnection.login(VpxdSSOConnection.java:210)

            at com.vmware.vim.storage.common.util.VpxdSSOConnection.verifyVpxdSSOConnection(VpxdSSOConnection.java:123)

            at com.vmware.vim.storage.common.util.VpxdSSOConnectionFactory.verifyAdminSSOConnection(VpxdSSOConnectionFactory.java:55)

            at com.vmware.vim.sms.health.ServiceHealthPoller.pingVpxd(ServiceHealthPoller.java:94)

            at com.vmware.vim.sms.health.ServiceHealthPoller.pingServices(ServiceHealthPoller.java:76)

            at com.vmware.vim.sms.health.ServiceHealthPoller.run(ServiceHealthPoller.java:152)

            at com.vmware.vim.storage.common.task.opctx.RunnableOpCtxDecorator.run(RunnableOpCtxDecorator.java:38)

            at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)

            at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)

     

    Thanks.


    0 0
  • 01/04/19--04:58: export output to text file
  • With this script I can deploy vms with the desired roles inside the guest OS. I'm thinking move all the displayed output while executing the script into a logfile(txt) and save it in a location.

    Is it possible to add all the below script into a scriptblock and save the output into a variable and at the end we can export the data in the variable into txt file.

    Write-Host "Enter the required Information when Prompted" -ForegroundColor Yellow
    Add-Type -AssemblyName Microsoft.VisualBasic
    $vcenter = [Microsoft.VisualBasic.Interaction]::InputBox("Enter vcenter Name")
    $vcenterCred= Get-Credential -Message "Enter Credentials to Connect vCenter"
    Write-Host 'All Required Inputs Received Script is starting VMs Deployment' -ForegroundColor Yellow
    Write-Host "Connecting to vCenter $vcenter"
    Try {
    Connect-VIServer $vcenter -Credential $vcenterCred  -ErrorAction Stop
    }
    Catch [VMware.VimAutomation.Sdk.Types.V1.ErrorHandling.VimException.ViServerConnectionException] {
    $wshell = New-Object -ComObject Wscript.Shell -ErrorAction Stop
    $wshell.Popup("Incorrect vCenter",0,"vCenter Connection",16) | Out-Null    return
    }
    catch {
    $wshell = New-Object -ComObject Wscript.Shell -ErrorAction Stop
    $wshell.Popup("Incorrect vCenter credentials",0,"vCenter Connection",16) | Out-Null    return
    }
    $inputfile=Import-Csv -Path 'C:\LIBPROJECT\InputFile\answerfilecsv.csv' -UseCulture
    $wusclientrolesetup= $inputfile |?{$_.serverroles -contains 'WUS'} -ErrorAction SilentlyContinue
    $wsusclientserver=$wusclientrolesetup.VMName + '.' + $wusclientrolesetup.Sitename
    $ntpclientrolesetup=$inputfile |?{$_.serverroles -contains 'NTP'} -ErrorAction SilentlyContinue
    $ntpserver=$ntpclientrolesetup.VMName +'.'+$ntpclientrolesetup.Sitename
    $deploytask=@()
    if($dnsserver=$inputfile|?{$_.serverroles -contains 'DNS'}){
    $vmhost= (Get-Cluster $dnsserver.Cluster |Get-VMHost |Get-Random|select).name
    $dst= (Get-VMHost $vmhost |Get-Datastore 'LIBDatastore').Name
    #| Sort-Object -Property FreespaceGB -Descending:$deploytask1rue | Select-Object -First 1
    $vmnetwork= (Get-VirtualPortGroup -VMHost $vmhost |?{$_.VLanID -eq $dnsserver.vLANID}).Name
    $Chars = [Char[]]"abcdefghijklmnopqrstuvwxyz"  
    $RandomNameWindows = ($Chars | Get-Random -Count 8) -join ""
    $deploytask1empwindowsSpec = New-OSCustomizationSpec -OSType Windows -Name $RandomNameWindows -FullName $dnsserver.UserName -AdminPassword $dnsserver.Password -AutoLogonCount 1  -Workgroup 'NCR' -OrgName 'NCR' -NamingScheme vm -ChangeSid -Type NonPersistent
    $networkspecProperties = @{OSCustomizationNicMapping= Get-OSCustomizationNicMapping -OSCustomizationSpec $RandomNameWindows}
    $networkspecProperties.IpMode = "UseStaticIP" 
    $networkspecProperties.IpAddress = $dnsserver.IP
    $networkspecProperties.SubNetMask = $dnsserver.Subnet
    $networkspecProperties.DefaultGateway = $dnsserver.Gateway 
    $networkspecProperties.dns = $dnsserver.DNS1,$dnsserver.DNS2
    $networkspecProperties.Position = '1'
    Set-OSCustomizationNicMapping @networkspecProperties | Out-Null
    $deploytask+=New-VM -Name $dnsserver.VMName -Template $dnsserver.Template -Host $vmhost  -Datastore $dst -DiskStorageFormat Thin  -OSCustomizationSpec $deploytask1empwindowsSpec -Confirm:$false -RunAsync
    while('Running','Queued' -contains $deploytask.State){
    Write-Progress -Activity "$($dnsserver.VMName) Creation Status" -Status "0%" -PercentComplete $deploytask.PercentComplete
    1..10 | ForEach-Object -Process {      
    sleep 2 
    Write-Progress -Activity "$($dnsserver.VMName) Creation Status" -Status "$($_ * 10)%" -PercentComplete ($_ * 10)  } 
    $deploytask = Get-Task -Id $deploytask.Id  
    Write-Progress -Activity '$dnsserver.VMName Creation is' -Completed
    }
    Remove-OSCustomizationSpec -OSCustomizationSpec $deploytask1empwindowsSpec -Confirm:$false
    Set-VM -VM $dnsserver.VMName -MemoryGB $dnsserver.Memory -NumCpu $dnsserver.vCpu -Confirm:$false 
    Get-NetworkAdapter $dnsserver.VMName | Set-NetworkAdapter -NetworkName $vmnetwork -Confirm:$false -StartConnected:$true -ErrorAction SilentlyContinue
    Start-VM -VM $dnsserver.VMName -Confirm:$false
    $now = Get-Date 
    $eventTypes = Get-VIEvent -Entity $dnsserver.VMName -Start $now -MaxSamples ([int]::MaxValue) | % {$_.GetType().Name}
    while ($eventTypes -notcontains 'CustomizationSucceeded' -and  $eventTypes -notcontains 'CustomizationFailed’) {  Start-Sleep -Seconds 5  $eventTypes = Get-VIEvent -Entity $dnsserver.VMName -Start $now -MaxSamples ([int]::MaxValue) | % {$_.GetType().Name}
    }
    $dnsvm= Get-VM $dnsserver.VMName
    while($dnsvm.ExtensionData.Guest.ToolsRunningStatus -eq "guestToolsNotRunning"){
    Start-Sleep -Seconds 3
    $dnsvm.ExtensionData.UpdateViewData("Guest.ToolsRunningStatus")
    }
    $dnsserverinstall= @' 
    Install-WindowsFeature  DNS -includeManagementTools 
    Add-DnsServerPrimaryZone -Name $($dnsserver.Sitename) -ZoneFile $($dnsserver.Sitename) 
    Add-DnsServerPrimaryZone -NetworkId "$($dnsserver.IP.Split('.')[0..2] -join '.').0/24" -ZoneFile $($dnsserver.Sitename)
    '@
    $dnsserverinstallSub = $ExecutionContext.InvokeCommand.ExpandString($dnsserverinstall)
    $guestoperationstatus= Get-VM $dnsserver.VMName
    while($guestoperationstatus.ExtensionData.Guest.GuestOperationsReady -ne "True"){
    Start-Sleep -Seconds 3
    $guestoperationstatus.ExtensionData.UpdateViewData("Guest.GuestOperationsReady")
    }
    Invoke-VMScript -VM $dnsserver.VMName -GuestUser $dnsserver.UserName -GuestPassword $dnsserver.Password -ScriptType Powershell -ScriptText $dnsserverinstallSub
    $defaultwindowssettings= @'
    Set-ItemProperty -Path "HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate" -Name "WUServer" -Value "https://$($wsusclientserver):80"
    Set-ItemProperty -Path "HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate" -Name "WUStatusServer" -Value "https://$($wsusclientserver):80"
    Get-ItemProperty -Path "HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate\AU"
    Set-ItemProperty -Path "HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate\AU" -Name "NoAutoUpdate" -Value "0"
    Set-ItemProperty -Path "HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate\AU" -Name "AUOptions" -Value "3"
    Set-ItemProperty -Path "HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate\AU" -Name "ScheduledInstallDay" -Value "0"
    Set-ItemProperty -Path "HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate\AU" -Name "ScheduledInstallTime" -Value "3"
    Set-ItemProperty -Path "HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate\AU" -Name "UseWUServer" -Value "1" 
    #NTPClientSetup
    Push-Location
    Set-Location HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\DateTime\Servers
    Set-ItemProperty . 0 $ntpserver
    Set-ItemProperty . "(Default)" "0"
    Set-Location HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\DateTime\Servers
    Set-ItemProperty . 1 $ntpserver
    Set-Location HKLM:\SYSTEM\CurrentControlSet\services\W32Time\Parameters
    Set-ItemProperty . NtpServer "$ntpserver,0x8"
    Set-Location HKLM:\SYSTEM\CurrentControlSet\Services\W32Time\Parameters
    Set-ItemProperty . Type "NTP"
    Set-Location HKLM:\SYSTEM\CurrentControlSet\Services\W32Time\Config\
    Set-ItemProperty . AnnounceFlags "5"
    Pop-Location
    Stop-Service w32time
    Start-Service w32time
    '@
    $defaultwindowssettingssub = $ExecutionContext.InvokeCommand.ExpandString($defaultwindowssettings)
    $guestoperationstatus= Get-VM $dnsserver.VMName
    while($guestoperationstatus.ExtensionData.Guest.GuestOperationsReady -ne "True"){
    Start-Sleep -Seconds 3
    $guestoperationstatus.ExtensionData.UpdateViewData("Guest.GuestOperationsReady")
    }
    Invoke-VMScript -VM $dnsserver.VMName -GuestUser $dnsserver.UserName -GuestPassword $dnsserver.Password -ScriptType Powershell -ScriptText $defaultwindowssettingssub
    $addRecord = @'
    Add-DnsServerResourceRecordA -Name $($dnsrecords.VMName) -IPv4Address $($dnsrecords.IP) -ZoneName $($dnsrecords.Sitename) -CreatePtr 
    '@ 
    foreach($dnsrecords in $inputfile){ 
    $addRecordSub = $ExecutionContext.InvokeCommand.ExpandString($addRecord) 
    $guestoperationstatus= Get-VM $dnsserver.VMName
    while($guestoperationstatus.ExtensionData.Guest.GuestOperationsReady -ne "True"){
    Start-Sleep -Seconds 3
    $guestoperationstatus.ExtensionData.UpdateViewData("Guest.GuestOperationsReady")
    }
    Invoke-VMScript -VM $dnsserver.VMName -GuestUser $dnsserver.UserName -GuestPassword $dnsserver.Password -ScriptType Powershell -ScriptText $addRecordSub
    }
    $featureName = 'DNS'
    $code = @'
    Get-WindowsFeature -Name $featureName | Select -ExpandProperty Installed
    '@
    $codeSub = $ExecutionContext.InvokeCommand.ExpandString($code)
    $result = Invoke-VMScript -VM $dnsserver.VMName -GuestUser $dnsserver.UserName -GuestPassword $dnsserver.Password -ScriptType Powershell -ScriptText $codeSub
    if($result.ScriptOutput -match 'True'){    Write-Host "Feature $featureName installed" -ForegroundColor Yellow    }
    else{    Write-Host "Feature $featureName installation failed" -ForegroundColor Yellow
    }
    }
    foreach($vmsautodeploy in $inputfile|?{$_.serverroles -notcontains 'DNS'}){
    $deploytask1=@()
    $vmhost= (Get-Cluster $dnsserver.Cluster |Get-VMHost |Get-Random|select).name
    $dst= (Get-VMHost $vmhost |Get-Datastore 'LIBDatastore').Name
    #| Sort-Object -Property FreespaceGB -Descending:$deploytask1rue | Select-Object -First 1
    $vmnetwork= (Get-VirtualPortGroup -VMHost $vmhost |?{$_.VLanID -eq $dnsserver.vLANID}).Name
    if($vmsautodeploy.GuestOSType -eq 'windows'){
    $Chars = [Char[]]"abcdefghijklmnopqrstuvwxyz"  
    $RandomNameWindows = ($Chars | Get-Random -Count 8) -join ""
    $deploytask1empwindowsSpec = New-OSCustomizationSpec -OSType Windows -Name $RandomNameWindows -FullName $vmsautodeploy.UserName -AdminPassword $vmsautodeploy.Password -AutoLogonCount 1  -Workgroup 'NCR' -OrgName 'NCR' -NamingScheme vm -ChangeSid -Type NonPersistent
    $networkspecProperties = @{OSCustomizationNicMapping= Get-OSCustomizationNicMapping -OSCustomizationSpec $RandomNameWindows }
    $networkspecProperties.IpMode = "UseStaticIP" 
    $networkspecProperties.IpAddress = $vmsautodeploy.IP
    $networkspecProperties.SubNetMask = $vmsautodeploy.Subnet
    $networkspecProperties.DefaultGateway = $vmsautodeploy.Gateway 
    $networkspecProperties.dns = $dnsserver.DNS1,$dnsserver.DNS2
    $networkspecProperties.Position = '1'
    Set-OSCustomizationNicMapping @networkspecProperties | Out-Null
    $deploytask1+=New-VM -Name $vmsautodeploy.VMName -Template $vmsautodeploy.Template -Host $vmhost  -Datastore $dst -DiskStorageFormat Thin  -OSCustomizationSpec $deploytask1empwindowsSpec -Confirm:$false -RunAsync
    while('Running','Queued' -contains $deploytask1.State){
    Write-Progress -Activity "$($vmsautodeploy.VMName) Creation Status" -Status "0%" -PercentComplete $deploytask1.PercentComplete
    1..10 | ForEach-Object -Process {      
    sleep 2 
    Write-Progress -Activity "$($vmsautodeploy.VMName) Creation Status" -Status "$($_ * 10)%" -PercentComplete ($_ * 10)  } 
    $deploytask1 = Get-Task -Id $deploytask1.Id  
    Write-Progress -Activity "$($vmsautodeploy.VMName) Creation is" -Completed
    }
    Remove-OSCustomizationSpec -OSCustomizationSpec $deploytask1empwindowsSpec -Confirm:$false
    Start-Sleep -Seconds 5
    Set-VM -VM $vmsautodeploy.VMName -MemoryGB $vmsautodeploy.Memory -NumCpu $vmsautodeploy.vCpu -Confirm:$false 
    Get-NetworkAdapter $vmsautodeploy.VMName | Set-NetworkAdapter -NetworkName $vmnetwork -Confirm:$false -StartConnected:$true -ErrorAction SilentlyContinue
    Start-VM -VM $vmsautodeploy.VMName -Confirm:$false
    $now = Get-Date
    $eventTypes = Get-VIEvent -Entity $vmsautodeploy.VMName -Start $now -MaxSamples ([int]::MaxValue) | % {$_.GetType().Name}
    while ($eventTypes -notcontains 'CustomizationSucceeded' -and  $eventTypes -notcontains 'CustomizationFailed’) {  Start-Sleep -Seconds 5  $eventTypes = Get-VIEvent -Entity $vmsautodeploy.VMName -Start $now -MaxSamples ([int]::MaxValue) | % {$_.GetType().Name}
    }
    $vmsautodeploytoolstatus= Get-VM $vmsautodeploy.VMName
    while($vmsautodeploytoolstatus.ExtensionData.Guest.ToolsRunningStatus -eq "guestToolsNotRunning"){
    Start-Sleep -Seconds 5
    $vmsautodeploytoolstatus.ExtensionData.UpdateViewData("Guest.ToolsRunningStatus")
    }
    if($vmsautodeploy.ServerRoles -eq 'WUS'){
    $wusfeatureinstall=@'
    Install-WindowsFeature -Name UpdateServices, UpdateServices-WidDB, UpdateServices-Services, UpdateServices-RSAT, UpdateServices-API, UpdateServices-UI
    '@
    $guestoperationstatus= Get-VM $vmsautodeploy.VMName
    while($guestoperationstatus.ExtensionData.Guest.GuestOperationsReady -ne "True"){
    Start-Sleep -Seconds 3
    $guestoperationstatus.ExtensionData.UpdateViewData("Guest.GuestOperationsReady")
    }
    Invoke-VMScript -VM $vmsautodeploy.VMName -GuestUser $vmsautodeploy.UserName -GuestPassword $vmsautodeploy.Password -ScriptType Powershell -ScriptText $wusfeatureinstall
    $defaultwindowssettings= @'
    Set-ItemProperty -Path "HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate" -Name "WUServer" -Value "https://$($wsusclientserver):80"
    Set-ItemProperty -Path "HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate" -Name "WUStatusServer" -Value "https://$($wsusclientserver):80"
    Get-ItemProperty -Path "HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate\AU"
    Set-ItemProperty -Path "HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate\AU" -Name "NoAutoUpdate" -Value "0"
    Set-ItemProperty -Path "HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate\AU" -Name "AUOptions" -Value "3"
    Set-ItemProperty -Path "HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate\AU" -Name "ScheduledInstallDay" -Value "0"
    Set-ItemProperty -Path "HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate\AU" -Name "ScheduledInstallTime" -Value "3"
    Set-ItemProperty -Path "HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate\AU" -Name "UseWUServer" -Value "1" 
    #NTPClientSetup
    Push-Location
    Set-Location HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\DateTime\Servers
    Set-ItemProperty . 0 $ntpserver
    Set-ItemProperty . "(Default)" "0"
    Set-Location HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\DateTime\Servers
    Set-ItemProperty . 1 $ntpserver
    Set-Location HKLM:\SYSTEM\CurrentControlSet\services\W32Time\Parameters
    Set-ItemProperty . NtpServer "$ntpserver,0x8"
    Set-Location HKLM:\SYSTEM\CurrentControlSet\Services\W32Time\Parameters
    Set-ItemProperty . Type "NTP"
    Set-Location HKLM:\SYSTEM\CurrentControlSet\Services\W32Time\Config\
    Set-ItemProperty . AnnounceFlags "5"
    Pop-Location
    Stop-Service w32time
    Start-Service w32time
    '@
    $defaultwindowssettingssub = $ExecutionContext.InvokeCommand.ExpandString($defaultwindowssettings) 
    $guestoperationstatus= Get-VM $vmsautodeploy.VMName
    while($guestoperationstatus.ExtensionData.Guest.GuestOperationsReady -ne "True"){
    Start-Sleep -Seconds 3
    $guestoperationstatus.ExtensionData.UpdateViewData("Guest.GuestOperationsReady")
    }
    Invoke-VMScript -VM $vmsautodeploy.VMName -GuestUser $vmsautodeploy.UserName -GuestPassword $vmsautodeploy.Password -ScriptType Powershell -ScriptText $defaultwindowssettingssub
    $wsusdownstreamserversetup= @'
    New-Item -Path $env:SystemDrive\WSUS -ItemType Directory -Force
    sl "C:\Program Files\Update Services\Tools"
    .\wsusutil.exe postinstall CONTENT_DIR=C:\WSUS
    `$wsus = Get-WSUSServer
    `$wsusConfig =`$wsus.GetConfiguration()  
    `$wsusConfig.SyncFromMicrosoftUpdate=`$false  
    `$wsusConfig.UpstreamWsusServerName='$($vmsautodeploy.UpStreamWUSServer)' 
    `$wsusConfig.UpstreamWsusServerPortNumber='$($vmsautodeploy.UpStreamWUSServerPort)' 
    `$wsusConfig.IsReplicaServer=`$True  
    `$wsusConfig.TargetingMode="Client"  
    `$wsusConfig.Save()  
    `$wsusSub = `$wsus.GetSubscription()  
    `$wsusSub.SynchronizeAutomatically=`$True  
    `$wsusSub.SynchronizeAutomaticallyTimeOfDay="12:00:00"  
    `$wsusSub.NumberOfSynchronizationsPerDay="1"   
    `$wsusSub.Save()  
    `$wsusSub.StartSynchronization() 
    '@
    $wsusdownstreamserversetupSub = $ExecutionContext.InvokeCommand.ExpandString($wsusdownstreamserversetup)
    $guestoperationstatus= Get-VM $vmsautodeploy.VMName
    while($guestoperationstatus.ExtensionData.Guest.GuestOperationsReady -ne "True"){
    Start-Sleep -Seconds 3
    $guestoperationstatus.ExtensionData.UpdateViewData("Guest.GuestOperationsReady")
    } 
    Invoke-VMScript -VM $vmsautodeploy.VMName -GuestUser $vmsautodeploy.UserName -GuestPassword $vmsautodeploy.Password -ScriptType Powershell -ScriptText $wsusdownstreamserversetupSub
    $featureName = 'UpdateServices'
    $code = @'
    Get-WindowsFeature -Name $featureName | Select -ExpandProperty Installed
    '@
    $codeSub = $ExecutionContext.InvokeCommand.ExpandString($code)
    $result = Invoke-VMScript -VM $vmsautodeploy.VMName -GuestUser $vmsautodeploy.UserName -GuestPassword $vmsautodeploy.Password -ScriptType Powershell -ScriptText $codeSub
    if($result.ScriptOutput -match 'True'){    Write-Host "Feature $featureName installed" -ForegroundColor Yellow    }
    else{    Write-Host "Feature $featureName installation failed" -ForegroundColor Yellow
    }
    }
    elseif($vmsautodeploy.ServerRoles -eq 'NTP'){
    $ntpautoconfigwindows=@'
    Push-Location
    Set-Location HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\DateTime\Servers
    Set-ItemProperty . 0 "time00.sweng.ncr.com"
    Set-ItemProperty . "(Default)" "0"
    Set-Location HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\DateTime\Servers
    Set-ItemProperty . 1 "time01.sweng.ncr.com"
    Set-Location HKLM:\SYSTEM\CurrentControlSet\services\W32Time\Parameters
    Set-ItemProperty . NtpServer "time00.sweng.ncr.com,0x8"
    Set-Location HKLM:\SYSTEM\CurrentControlSet\Services\W32Time\Parameters
    Set-ItemProperty . Type "NTP"
    Set-Location HKLM:\SYSTEM\CurrentControlSet\Services\W32Time\Config\
    Set-ItemProperty . AnnounceFlags "5"
    Pop-Location
    Stop-Service w32time
    Start-Service w32time
    '@
    $guestoperationstatus= Get-VM $vmsautodeploy.VMName
    while($guestoperationstatus.ExtensionData.Guest.GuestOperationsReady -ne "True"){
    Start-Sleep -Seconds 3
    $guestoperationstatus.ExtensionData.UpdateViewData("Guest.GuestOperationsReady")
    }
    Invoke-VMScript -VM $vmsautodeploy.VMName -GuestUser $vmsautodeploy.UserName -GuestPassword $vmsautodeploy.Password -ScriptType Powershell -ScriptText $ntpautoconfigwindows
    $defaultwindowssettings= @'
    Set-ItemProperty -Path "HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate" -Name "WUServer" -Value "https://$($wsusclientserver):80"
    Set-ItemProperty -Path "HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate" -Name "WUStatusServer" -Value "https://$($wsusclientserver):80"
    Get-ItemProperty -Path "HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate\AU"
    Set-ItemProperty -Path "HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate\AU" -Name "NoAutoUpdate" -Value "0"
    Set-ItemProperty -Path "HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate\AU" -Name "AUOptions" -Value "3"
    Set-ItemProperty -Path "HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate\AU" -Name "ScheduledInstallDay" -Value "0"
    Set-ItemProperty -Path "HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate\AU" -Name "ScheduledInstallTime" -Value "3"
    Set-ItemProperty -Path "HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate\AU" -Name "UseWUServer" -Value "1" 
    #NTPClientSetup
    Push-Location
    Set-Location HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\DateTime\Servers
    Set-ItemProperty . 0 $ntpserver
    Set-ItemProperty . "(Default)" "0"
    Set-Location HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\DateTime\Servers
    Set-ItemProperty . 1 $ntpserver
    Set-Location HKLM:\SYSTEM\CurrentControlSet\services\W32Time\Parameters
    Set-ItemProperty . NtpServer "$ntpserver,0x8"
    Set-Location HKLM:\SYSTEM\CurrentControlSet\Services\W32Time\Parameters
    Set-ItemProperty . Type "NTP"
    Set-Location HKLM:\SYSTEM\CurrentControlSet\Services\W32Time\Config\
    Set-ItemProperty . AnnounceFlags "5"
    Pop-Location
    Stop-Service w32time
    Start-Service w32time
    '@
    $defaultwindowssettingssub = $ExecutionContext.InvokeCommand.ExpandString($defaultwindowssettings)
    $guestoperationstatus= Get-VM $vmsautodeploy.VMName
    while($guestoperationstatus.ExtensionData.Guest.GuestOperationsReady -ne "True"){
    Start-Sleep -Seconds 3
    $guestoperationstatus.ExtensionData.UpdateViewData("Guest.GuestOperationsReady")
    }
    Invoke-VMScript -VM $vmsautodeploy.VMName -GuestUser $vmsautodeploy.UserName -GuestPassword $vmsautodeploy.Password -ScriptType Powershell -ScriptText $defaultwindowssettingssub
    }
    elseif($vmsautodeploy.ServerRoles -eq 'FileServer'){
    $fileserverfeature=@'
    Install-WindowsFeature -Name FS-Resource-Manager, RSAT-FSRM-Mgmt
    New-FsrmQuotaTemplate -Name '25GB Volume Usage Limit' -Description 'limit usage to 25GB' -Size 25GB
    New-FsrmQuotaTemplate -Name '50GB Volume Usage Limit' -Description 'limit usage to 50GB' -Size 50GB
    New-FsrmQuotaTemplate -Name '100GB Volume Usage Limit' -Description 'limit usage to 100GB' -Size 100GB
    '@
    $guestoperationstatus= Get-VM $vmsautodeploy.VMName
    while($guestoperationstatus.ExtensionData.Guest.GuestOperationsReady -ne "True"){
    Start-Sleep -Seconds 3
    $guestoperationstatus.ExtensionData.UpdateViewData("Guest.GuestOperationsReady")
    }
    Invoke-VMScript -VM $vmsautodeploy.VMName -GuestUser $vmsautodeploy.UserName -GuestPassword $vmsautodeploy.Password -ScriptType Powershell -ScriptText $fileserverfeature
    $defaultwindowssettings= @'
    Set-ItemProperty -Path "HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate" -Name "WUServer" -Value "https://$($wsusclientserver):80"
    Set-ItemProperty -Path "HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate" -Name "WUStatusServer" -Value "https://$($wsusclientserver):80"
    Get-ItemProperty -Path "HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate\AU"
    Set-ItemProperty -Path "HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate\AU" -Name "NoAutoUpdate" -Value "0"
    Set-ItemProperty -Path "HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate\AU" -Name "AUOptions" -Value "3"
    Set-ItemProperty -Path "HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate\AU" -Name "ScheduledInstallDay" -Value "0"
    Set-ItemProperty -Path "HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate\AU" -Name "ScheduledInstallTime" -Value "3"
    Set-ItemProperty -Path "HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate\AU" -Name "UseWUServer" -Value "1" 
    #NTPClientSetup
    Push-Location
    Set-Location HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\DateTime\Servers
    Set-ItemProperty . 0 $ntpserver
    Set-ItemProperty . "(Default)" "0"
    Set-Location HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\DateTime\Servers
    Set-ItemProperty . 1 $ntpserver
    Set-Location HKLM:\SYSTEM\CurrentControlSet\services\W32Time\Parameters
    Set-ItemProperty . NtpServer "$ntpserver,0x8"
    Set-Location HKLM:\SYSTEM\CurrentControlSet\Services\W32Time\Parameters
    Set-ItemProperty . Type "NTP"
    Set-Location HKLM:\SYSTEM\CurrentControlSet\Services\W32Time\Config\
    Set-ItemProperty . AnnounceFlags "5"
    Pop-Location
    Stop-Service w32time
    Start-Service w32time
    '@
    $defaultwindowssettingssub = $ExecutionContext.InvokeCommand.ExpandString($defaultwindowssettings)
    $guestoperationstatus= Get-VM $vmsautodeploy.VMName
    while($guestoperationstatus.ExtensionData.Guest.GuestOperationsReady -ne "True"){
    Start-Sleep -Seconds 3
    $guestoperationstatus.ExtensionData.UpdateViewData("Guest.GuestOperationsReady")
    }
    Invoke-VMScript -VM $vmsautodeploy.VMName -GuestUser $vmsautodeploy.UserName -GuestPassword $vmsautodeploy.Password -ScriptType Powershell -ScriptText $defaultwindowssettingssub
    $featureName = 'FS-Resource-Manager'
    $code = @'
    Get-WindowsFeature -Name $featureName | Select -ExpandProperty Installed
    '@
    $codeSub = $ExecutionContext.InvokeCommand.ExpandString($code)
    $result = Invoke-VMScript -VM $vmsautodeploy.VMName -GuestUser $vmsautodeploy.UserName -GuestPassword $vmsautodeploy.Password -ScriptType Powershell -ScriptText $codeSub
    if($result.ScriptOutput -match 'True'){    Write-Host "Feature $featureName installed" -ForegroundColor Yellow    }
    else{    Write-Host "Feature $featureName installation failed" -ForegroundColor Yellow
    }
    }
    else{
    $defaultwindowssettings= @'
    Set-ItemProperty -Path "HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate" -Name "WUServer" -Value "https://$($wsusclientserver):80"
    Set-ItemProperty -Path "HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate" -Name "WUStatusServer" -Value "https://$($wsusclientserver):80"
    Get-ItemProperty -Path "HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate\AU"
    Set-ItemProperty -Path "HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate\AU" -Name "NoAutoUpdate" -Value "0"
    Set-ItemProperty -Path "HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate\AU" -Name "AUOptions" -Value "3"
    Set-ItemProperty -Path "HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate\AU" -Name "ScheduledInstallDay" -Value "0"
    Set-ItemProperty -Path "HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate\AU" -Name "ScheduledInstallTime" -Value "3"
    Set-ItemProperty -Path "HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate\AU" -Name "UseWUServer" -Value "1" 
    #NTPClientSetup
    Push-Location
    Set-Location HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\DateTime\Servers
    Set-ItemProperty . 0 $ntpserver
    Set-ItemProperty . "(Default)" "0"
    Set-Location HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\DateTime\Servers
    Set-ItemProperty . 1 $ntpserver
    Set-Location HKLM:\SYSTEM\CurrentControlSet\services\W32Time\Parameters
    Set-ItemProperty . NtpServer "$ntpserver,0x8"
    Set-Location HKLM:\SYSTEM\CurrentControlSet\Services\W32Time\Parameters
    Set-ItemProperty . Type "NTP"
    Set-Location HKLM:\SYSTEM\CurrentControlSet\Services\W32Time\Config\
    Set-ItemProperty . AnnounceFlags "5"
    Pop-Location
    Stop-Service w32time
    Start-Service w32time
    '@
    $defaultwindowssettingssub = $ExecutionContext.InvokeCommand.ExpandString($defaultwindowssettings)
    $guestoperationstatus= Get-VM $vmsautodeploy.VMName
    while($guestoperationstatus.ExtensionData.Guest.GuestOperationsReady -ne "True"){
    Start-Sleep -Seconds 3
    $guestoperationstatus.ExtensionData.UpdateViewData("Guest.GuestOperationsReady")
    }
    Invoke-VMScript -VM $vmsautodeploy.VMName -GuestUser $vmsautodeploy.UserName -GuestPassword $vmsautodeploy.Password -ScriptType Powershell -ScriptText $defaultwindowssettingssub
    }
    }
    else {
    $Chars = [Char[]]"abcdefghijklmnopqrstuvwxyz"  
    $RandomNameLinux = ($Chars | Get-Random -Count 9) -join ""
    $deploytask1emplinuxSpec = New-OSCustomizationSpec -OSType Linux -Name $RandomNameLinux -Domain 'NCR'  -Type NonPersistent -ErrorAction SilentlyContinue
    $networkspecProperties = @{OSCustomizationNicMapping= Get-OSCustomizationNicMapping -OSCustomizationSpec $RandomNameLinux }
    $networkspecProperties.IpMode = "UseStaticIP"
    $networkspecProperties.IpAddress = $vmsautodeploy.IP
    $networkspecProperties.SubNetMask = $vmsautodeploy.Subnet
    $networkspecProperties.DefaultGateway = $vmsautodeploy.Gateway
    #$networkspecProperties.dns = $dnsserver.DNS1,$dnsserver.DNS2
    $networkspecProperties.Position = '1'
    Set-OSCustomizationNicMapping @networkspecProperties | Out-Null
    $deploytask1+=New-VM -Name $vmsautodeploy.VMName -Template $vmsautodeploy.Template -Host $vmhost  -Datastore $dst -DiskStorageFormat Thin  -OSCustomizationSpec $deploytask1emplinuxSpec -Confirm:$false -RunAsync
    while('Running','Queued' -contains $deploytask1.State){
    Write-Progress -Activity "$($vmsautodeploy.VMName) Creation Status" -Status "0%" -PercentComplete $deploytask1.PercentComplete
    1..10 | ForEach-Object -Process {      
    sleep 2 
    Write-Progress -Activity "$($vmsautodeploy.VMName) Creation Status" -Status "$($_ * 10)%" -PercentComplete ($_ * 10)  } 
    $deploytask1 = Get-Task -Id $deploytask1.Id  
    Write-Progress -Activity "$($vmsautodeploy.VMName) Creation is" -Completed
    }
    Remove-OSCustomizationSpec -OSCustomizationSpec $deploytask1emplinuxSpec -Confirm:$false
    Start-Sleep -Seconds 3
    Set-VM -VM $vmsautodeploy.VMName -MemoryGB $vmsautodeploy.Memory -NumCpu $vmsautodeploy.vCpu -Confirm:$false 
    Get-NetworkAdapter $vmsautodeploy.VMName | Set-NetworkAdapter -NetworkName $vmnetwork -Confirm:$false -StartConnected:$true -ErrorAction SilentlyContinue 
    Start-VM -VM $vmsautodeploy.VMName -Confirm:$false
    $now = Get-Date
    $eventTypes = Get-VIEvent -Entity $vmsautodeploy.VMName -Start $now -MaxSamples ([int]::MaxValue) | % {$_.GetType().Name}
    while ($eventTypes -notcontains 'CustomizationSucceeded' -and  $eventTypes -notcontains 'CustomizationFailed’) {  Start-Sleep -Seconds 5  $eventTypes = Get-VIEvent -Entity $vmsautodeploy.VMName -Start $now -MaxSamples ([int]::MaxValue) | % {$_.GetType().Name}
    }
    $vmsautodeploytoolstatus= Get-VM $vmsautodeploy.VMName
    while($vmsautodeploytoolstatus.ExtensionData.Guest.ToolsRunningStatus -eq "guestToolsNotRunning"){
    Start-Sleep -Seconds 3
    $vmsautodeploytoolstatus.ExtensionData.UpdateViewData("Guest.ToolsRunningStatus")
    }
    if($vmsautodeploy.ServerRoles -eq 'Yum Server'){
    $yumserverautoconfiglinux=@'
    cd /tmp
    rpm -ivh vsftpd-3.0.2-22.el7.x86_64.rpm 
    service vsftpd restart
    chkconfig vsftpd on
    systemctl start vsftpd.service
    systemctl enable vsftpd.service
    mkdir /tmp1
    mkdir /var/ftp/pub/CentOS7.5x64Bit
    mount /dev/cdrom /tmp1
    cd /tmp1
    cp -r /tmp1/* /var/ftp/pub/CentOS7.5x64Bit/
    umount /dev/cdrom
    '@
    $guestoperationstatus= Get-VM $vmsautodeploy.VMName
    while($guestoperationstatus.ExtensionData.Guest.GuestOperationsReady -ne "True"){
    Start-Sleep -Seconds 3
    $guestoperationstatus.ExtensionData.UpdateViewData("Guest.GuestOperationsReady")
    }
    Copy-VMGuestFile -VM $vmsautodeploy.VMName -Source 'C:\Prerequisites\Linux\vsftpd-3.0.2-22.el7.x86_64.rpm' -Destination '/tmp' -GuestUser $vmsautodeploy.UserName -GuestPassword $vmsautodeploy.Password -LocalToGuest
    Invoke-VMScript -VM $vmsautodeploy.VMName -GuestUser $vmsautodeploy.UserName -GuestPassword $vmsautodeploy.Password -ScriptText $yumserverautoconfiglinux -ScriptType Bash
    #Copy-VMGuestFile -VM $vmsautodeploy.VMName -Source 'C:\Prerequisites\Linux\CentOS7_5x64Bit.zip' -Destination '/var/ftp/pub/' -GuestUser $vmsautodeploy.UserName -GuestPassword $vmsautodeploy.Password -LocalToGuest
    }
    elseif($vmsautodeploy.ServerRoles -eq 'NTP'){
    $ntpautoconfiglinux=@'
    
    '@
    $guestoperationstatus= Get-VM $vmsautodeploy.VMName
    while($guestoperationstatus.ExtensionData.Guest.GuestOperationsReady -ne "True"){
    Start-Sleep -Seconds 3
    $guestoperationstatus.ExtensionData.UpdateViewData("Guest.GuestOperationsReady")
    }
    Invoke-VMScript -VM $vmsautodeploy.VMName -GuestUser $vmsautodeploy.UserName -GuestPassword $vmsautodeploy.Password -ScriptText $ntpautoconfiglinux -ScriptType Bash
    }
    else{
    $yumserverIP=$inputfile |?{$_.serverroles -eq 'None'}
    $defaultlinuxsettings=@'
    cd /etc/yum.repos.d/
    rm -rf * 
    cat <<EOF >  Cent.repo
    [$($yumserverIP.IP)]
    comment ="CentOS7_5x64Bit"
    baseurl=ftp://$($yumserverIP.IP)/pub/CentOS7_5x64Bit
    gpgcheck=0
    EOF
    '@
    $defaultlinuxsettingssub=$ExecutionContext.InvokeCommand.ExpandString($defaultlinuxsettings)
    $guestoperationstatus= Get-VM $vmsautodeploy.VMName
    while($guestoperationstatus.ExtensionData.Guest.GuestOperationsReady -ne "True"){
    Start-Sleep -Seconds 3
    $guestoperationstatus.ExtensionData.UpdateViewData("Guest.GuestOperationsReady")
    }
    Invoke-VMScript -VM $vmsautodeploy.VMName -GuestUser $vmsautodeploy.UserName -GuestPassword $vmsautodeploy.Password -ScriptText $defaultlinuxsettingssub -ScriptType Bash
    }
    }
    }
    Write-Host '***VMS were sucessfully deployed***' -ForegroundColor Yellow

    0 0

    Hello,

     

    I am running ESXi 6.7 U1 (Dell ISO 4 Dec 2018) and have a VM (Windows Server 2016) that has 2 disks, one is an SSD drive (Samsung Evo 860)  and the other is an HDD (Western Digital).

    As a test, I copied a 5 GB ISO from the SSD drive to HDD and was getting around 350 MB/s transfer rate, but when I copy from the HDD to the SSD I am getting only 60 MB/s max.  Is this correct as I thought SSD would be a lot faster?

     

    ESXi is currently using the vmw_ahci driver and I have tried to disable this so that it would use the legacy driver, but the transfer speeds are really bad.

     

    Thanks in advance

    JD


    0 0

    I know is it possible to enable archiving on a Log Insight Cluster but is it possible to specify which servers to archive or even which logs?

     

    Thanks!


    0 0
  • 01/04/19--05:48: Multi monitor layouts
  • monitor.png

    Using Workstation 15 on Windows 10 host with Windows 10 clients:
    I can choose one of the above monitor layouts. But I want to use the layout where then client runs on the top two monitors and the host in in bottom monitor.

    But this layout is not in the list. Is it possible to have some kind of influence on the available layouts?


    0 0
  • 01/04/19--01:35: Troubleshooting slow logins.
  • I'm looking into our logons, where users experience logon time beween 60 to 90 seconds, which i meen is too slow logon.

     

    When i have a look at the vmware logon monitor i see that my user often end up with a logon  around 60 seconds:

    2019-01-04T09:27:38.242 INFO (09f0-1220) [LogonMonitor::LogSummary] ****************** Session Summary (User: DOAMIN\user, Session: 1) *****************

    2019-01-04T09:27:38.242 INFO (09f0-1220) [LogonMonitor::LogSummary] Logon Time: 61.32 seconds

    2019-01-04T09:27:38.242 INFO (09f0-1220) [LogonMonitor::LogSummary] Logon Start To Hive Loaded Time: 0.00 seconds

    2019-01-04T09:27:38.242 INFO (09f0-1220) [LogonMonitor::LogSummary] Logon Start To Classes Hive Loaded Time: 3.73 seconds

    2019-01-04T09:27:38.242 INFO (09f0-1220) [LogonMonitor::LogSummary] Profile Sync Time: 3.19 seconds

    2019-01-04T09:27:38.242 INFO (09f0-1220) [LogonMonitor::LogSummary] Windows Folder Redirection Apply Time: 0.00 seconds

    2019-01-04T09:27:38.242 INFO (09f0-1220) [LogonMonitor::LogSummary] Shell Load Time: 6.60 seconds

    2019-01-04T09:27:38.242 INFO (09f0-1220) [LogonMonitor::LogSummary] Total Logon Script Time: 0.00 seconds

    2019-01-04T09:27:38.242 INFO (09f0-1220) [LogonMonitor::LogSummary] User Policy Apply Time: 49 seconds

    2019-01-04T09:27:38.242 INFO (09f0-1220) [LogonMonitor::LogSummary] Machine Policy Apply Time: 0 seconds

    2019-01-04T09:27:38.242 INFO (09f0-1220) [LogonMonitor::LogSummary] Group Policy Software Install Time: 0.23 seconds

    2019-01-04T09:27:38.242 INFO (09f0-1220) [LogonMonitor::LogSummary] Free Disk Space Available To User: 56 GB

    2019-01-04T09:27:38.242 INFO (09f0-1220) [LogonMonitor::LogSummary] ***********************************************************************************

     

    is it possible to point out where the seconds are running from vmlm.txt log or vmlm__CLIENTNAME_USERNAME_date.txt log?

     

    I see this is my vmlm__CLIENTNAME_USERNAME_date.txt log, 15 seconds running away..:

    2019-01-04T10:11:16.995 TRACE (0b3c-130c) [LogonMonitor::ProcessGroupPolicyEvent] Event Id: 4016, ActivityID: {D589478B-B6C6-49AF-887C-DECCFB5C0398}, Account: , Session: 1

    2019-01-04T10:11:31.995 TRACE (0b3c-082c) [LogonMonitor::ProcessGroupPolicyEvent] Event Id: 4016, ActivityID: {D589478B-B6C6-49AF-887C-DECCFB5C0398}, Account: , Session: 1

     

    And from the vmlm.txt log:

    about 6 seconds here:

    2019-01-04T09:26:36.978 DEBUG (09f0-044c) [WinlogonNotifyLogEnd] WinlogonNotify completed OnLogon, pLogonData: 0000000001DEE9A0, Duration (ms): 113

    2019-01-04T09:26:42.341 TRACE (09f0-0b14) [LogonMonitor::ProcessGroupPolicyEvent] Failed to find Session for User PolicyEvent Id: 5326, ActivityID: {2AEE89DF-BACA-42DE-895F-6C618CE405AF}, Account:

     

    10 seconds here:

    2019-01-04T09:26:47.349 TRACE (09f0-0a0c) [MailslotServer::ProcessMessage] Begin event: Product: UEM Agent, Component: FlexEngine, Event: Import, Event Type: EVENT_BEGIN, Process Id: 288, Timestamp: 2019-01-04T09:26:47.349, Session: 1

    2019-01-04T09:26:57.095 TRACE (09f0-0a0c) [MailslotServer::ProcessMessage] End event: Product: UEM Agent, Component: FlexEngine, Event: Import, Event Type: EVENT_END, Process Id: 288, Timestamp: 2019-01-04T09:26:57.095, Session: 1

     

    12 seconds here:

    2019-01-04T09:26:57.095 TRACE (09f0-0a0c) [MailslotServer::ProcessMessage] Begin event: Product: UEM Agent, Component: FlexEngine, Event: Post-import, Event Type: EVENT_BEGIN, Process Id: 288, Timestamp: 2019-01-04T09:26:57.095, Session: 1

    2019-01-04T09:27:09.963 TRACE (09f0-0a0c) [MailslotServer::ProcessMessage] End event: Product: UEM Agent, Component: FlexEngine, Event: Post-import, Event Type: EVENT_END, Process Id: 288, Timestamp: 2019-01-04T09:27:09.963, Session: 1

     

    15 seconds:

    2019-01-04T09:27:15.771 TRACE (09f0-0a0c) [MailslotServer::ProcessMessage] End event: Product: UEM Agent, Component: FlexEngine, Event: Async, Event Type: EVENT_END, Process Id: 4792, Timestamp: 2019-01-04T09:27:15.771, Session: 1

    2019-01-04T09:27:30.529 TRACE (09f0-0a0c) [MailslotServer::ProcessMessage] End event: Product: AppVolumes, Component: svservice, Event: Login, Event Type: EVENT_END, Process Id: 932, Timestamp: 2019-01-04T09:27:30.529, Session: 0


    0 0

    Hi,

     

     

    sry for this question.... I hope i am only blind.

     

    Is there a possibility to check if an externe Port is open and reachable?

     

    I try telnet and nc both are not installed and i am not sure it would be a good idea to install these pakages from an rpm file.

     

    Using  vRealize Log Insight appliance Version 4.7

     

    greetings

     

    feix


    0 0

    Author : Joseph Sciallo

    URL : http:////docs.vmware.com/en/VMware-vSphere/6.7/com.vmware.psc.doc/GUID-75008746-C902-4C42-8F5C-6602D6E4EC8B.html

    Topic Name : Generate CSR with vSphere Certificate Manager and Prepare Root Certificate (Intermediate CA)

    Publication Name : Platform Services Controller Administration

    Product/Version : VMware vSphere/6.7

    Question :

    How can i generate a CSR with a Subject Alternate Name (SAN) in vCenter 6.7 (Linux/Photon)


older | 1 | .... | 6719 | 6720 | (Page 6721) | 6722 | 6723 | .... | 6759 | newer