Backtrack:  
 
showing all posts
by lunarg on October 22nd 2020, at 16:52

When troubleshooting VoIP, it is useful to know the most common responses in SIP messages. Similarly to HTTP, each response to a request contains a response code indicating the status/result of the request. A list of the most common response codes is found here:

https://www.3cx.com/pbx/sip-responses/

by lunarg on October 22nd 2020, at 15:12

Black Manticore has recently been moved to a new webserver. The biggest change was the migration from PHP 5 to PHP 7, which, because of the code's age, broke quite a few things. Because of this, the website has been offline for a good while in September, for which we apologize. Most things have been patched since and we expect everything to operate as expected.

Another issue with the tags was discovered lately, causing tags to be absent from new posts. This has been fixed as of today and all affected posts have been updated. Because of the high amount of different tags, we're planning on performing a reorganization and cleanup of the tags in the very near future.

by lunarg on October 22nd 2020, at 14:39
When running the VMware OS Optimization Tool (OSOT), a lot of optimalization is performed to get the best possible performance out of your VDI environment. This also means certain items will be disabled of which you don't want them to be disabled, including some personalization aspects such as setting a wallpaper or a background color.

It is not possible to revert the change from outside the VDI-build: any settings applied through GPO or DEM do not get applied. This is because the local group policy takes precedence and OSOT sets several optimizations through the local group policy. By changing the local group policy in the golden image itself, you can get rid of some of the lockdowns.

To   ...
by lunarg on October 22nd 2020, at 14:38
In order to install a fresh copy of Windows Server on a VM with the VMWare Paravirtual SCSI controller, as the driver for the PVSCSI adapter is not included in the default Windows Server ISO, you would use the built-in floppy images to make the PVSCSI driver available during the installation, avoiding the need to install using a different SCSI controller and then swap the controller after the installation of the guest OS and VMWare Tools.

To facilitate this, you would add a virtual floppy drive, connect the correct floppy image containing the PVSCSI driver, and then load the driver during the disk selection portion of the installation wizard. Unfortunately, since the deprecation of the Flas  ...
by lunarg on October 22nd 2020, at 14:37
When attempting to install modules from the Powershell Gallery, you may get errors on older versions of Windows Server (2008-2012R2), even after updating PowerShell to more recent versions. The errors are concerning unable to install the NuGet provider, required to download packages from PSGallery.

Errors are similar to:

WARNING: Unable to download from URI.

WARNING: Unable to download the list of available providers. Check your internet connection.

Unable to find package provider 'NuGet'. It may not be imported yet.

The reason for this is a problem with the cryptographic providers enabled on your system. PowerShell 5.1 enables SSL 3.0 and TLS 1.0 for secure HTTP connections, which are  ...
by lunarg on October 22nd 2020, at 14:37

You can use VMWare's OVFTool to convert from OVF to OVA and vice-versa.

  1. Download and install OVFTool. Versions for Windows, Mac and linux are available. You'll need a (free) VMWare Account.
  2. Collect your OVF (and dependent files) and place them on the machine you've installed OVFTool on.
  3. Open a command prompt/Terminal and navigate to the folder where the files are located.
  4. Perform the conversion (adjusting command and paths according):
    For OVF to OVA (note that all files referenced in the OVF must be in the same folder):
    install-path\ovftool.exe C:\path\source.ovf C:\path\dest.ova
    For OVA to OVF:
    install-path\ovftool.exe C:\path\source.ova C:\path\dest.ovf
by lunarg on October 22nd 2020, at 14:36
A not so documented feature is the support of VMXNET3 in VMWare Fusion. It cannot be configured through the UI but by manually editing the VM configuration file (VMX-file), you can leverage it (assuming you have installed VMWare Tools and/or are running a supported guest OS).

Open the file with your favourite text editor, but avoid using Apple's TextEdit as it has a tendency to replace regular quotes with opening/closing quotes, which will break your VMX-file. You can use Terminal and open the file using Nano if you want to be sure.

Network adapters are specified with ethernet*. as the starting line, where * = the number of the network adapter (0 is the first, 1 is the second, and so on).   ...
by lunarg on October 22nd 2020, at 14:35
You can manually trigger an update of Office Click-to-Run installations, without starting any of the Office applications. This can be useful in VDI-environments where it may be necessary to update Office in the source image.

To trigger the update, start the Click-to-Run client with the /update switch.

Perform the update (will show a progress bar):

"C:\Program Files\Common Files\microsoft shared\ClickToRun\OfficeC2RClient.exe" /update user

Silently perform the update (don't show progress bar and force Office apps to restart):

"C:\Program Files\Common Files\microsoft shared\ClickToRun\OfficeC2RClient.exe" /update user displaylevel=false forceappshutdown=true

Both comm  ...
by lunarg on August 28th 2020, at 10:40

You can manually start a filesystem clean from the CLI:

  1. Log into the CLI using SSH (or via serial) using an account with admin privileges.
  2. To check how much space you will gain by running the clean, type:
    filesys show space
    The column Cleanable GiB will show the amount of storage that will be cleaned.
  3. Start the filesystem clean by typing:
    filesys clean start
  4. To monitor the process, type:
    filesys clean watch
    The monitor will run continuously in the CLI. Use Control + C to return to the prompt.
by lunarg on August 27th 2020, at 15:16

In a Mailman + ISPConfig type of setup, you may get the following error while sending an e-mail to the mailing list:

Error:
550 5.1.1 <leden@zweefvliegen-hasselt.be>: Recipient address rejected: User unknown in virtual mailbox table

When looking at the virtual aliases (in /var/lib/mailman/data/), the lists are empty.

You can resolve this by regenerating the aliases:

sudo /var/lib/mailman/bin/genaliases
sudo postmap /var/lib/mailman/data/transport-mailman
sudo postmap /var/lib/mailman/data/virtual-mailman

Afterwards, restart Postfix:

sudo service postfix restart
by lunarg on July 17th 2020, at 12:35

The official information page about the long-standing Windows DNS Server Remote Code Execution Vulnerability:

https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2020-1350

by lunarg on June 26th 2020, at 12:34

By default, the FortiClient will start up automatically when starting macOS. This may not always be desirable but fortunately, auto-start can be disabled quite easily.

The FortiClient launch agent is located at /Library/LaunchAgents/com.fortinet.forticlient.fct_launcher.plist. Use any text editor to open and edit this file, but you probably will need to do this using Terminal and using sudo to launch a text-based text editor (e.g. vi or nano).

With the file open, look for these lines:

<key>RunAtLoad</key>
<true/>

Change true to false and save the file. Note that updates to the FortiClient may overwrite the change.

by lunarg on June 13th 2020, at 16:05

When you're using your Synology exclusively as a iSCSI target, and have assigned the complete disk space to your LUN's, you will get notifications about the volume being (almost) completely full. Obviously, in this case, you may not want to receive these notifications. Luckily, you can turn these off:

  1. Log on to your DSM.
  2. Navigate to Control Panel → Notification → Advanced tab. In the list, expand Internal storage.
  3. Uncheck the notifications for Volume in low capacity and Volume in extremely low capacity. Click Apply to save the changes.

Note that this will only disable the notifications (e-mail, SMS, etc.). The widget and WebUI will still show the alerts.

by lunarg on May 14th 2020, at 12:20
You can force-trigger storage DRS recommendations (and possible subsequent storage vMotions) through PowerCLI.

Run the snippet below, replacing the value of $dscName to match the name of the datastore cluster you wish to trigger the DRS recommendation on:

$dscName = 'DatastoreCluster1'$dsc = Get-View -ViewType StoragePod -Filter @{'Name'=$dscName}$si = Get-View ServiceInstance$storMgr = Get-View -Id $si.Content.StorageResourceManager$storMgr.RefreshStorageDrsRecommendation($dsc.MoRef)$dsc.UpdateViewData()if($dsc.PodStorageDrsEntry.Recommendation){ $dsc.PodStorageDrsEntry.Recommendation | %{ $storMgr.ApplyStorageDrsRecommendationToPod_Task($dsc.MoRef,$_.Key) }}

  ...
by lunarg on May 14th 2020, at 12:17

If the webclient is letting you down, you can also use PowerCLI to expand datastores.

First, as usual, expand the volume on the storage level. Then, fire up PowerCLI, log on to the vCenter/host and run the following script, replacing the name of the datastore you wish to expand:

$name = 'Datastore1'
$datastore = Get-Datastore $name
$esxi = Get-View -Id ($Datastore.ExtensionData.Host | Select -Last 1 | Select -ExpandProperty Key) 
$datastoreSystem = Get-View -Id $esxi.ConfigManager.DatastoreSystem
$expandOptions = $datastoreSystem.QueryVmfsDatastoreExpandOptions($datastore.ExtensionData.MoRef)
$datastoreSystem.ExpandVmfsDatastore($datastore.ExtensionData.MoRef,$expandOptions.spec)
by lunarg on May 13th 2020, at 10:00
This article is a reference guide for updating the firmware on switches. As I handle a broad range of switch vendors and models, I got tired of looking up the commands, and decided to bundle it all here in one place for easy reference.

Note that this document is not a step-by-step guide to update a specific switch but rather a reference for which CLI-commands to use.

First, look up current version and active boot bank. Can be either A: or B:

show boot system stack-unit 1upgrade system tftp://10.0.0.1/FTOS-SK-9.9.0.0P9.bin B:conf tboot system stack-unit 1 primary system://Bendwr memreload

When upgrading from USB-stick, change tftp:// to usbflash://. USB-stick needs to be FAT32.

To do

  ...
by lunarg on May 8th 2020, at 09:30

The certificate for HiveManager NG has expired on October 23, 2019. As a result, Dell N Series switches running an older firmware or an older version of the HiveAgent, can no longer connect or be connected to HiveManager NG after this date.

The solution is to either update the switch firmware to at least 6.6.0.13, or manually update the HiveAgent to 1.1.29.

More information: https://www.dell.com/support/article/en-us/sln319098/dell-emc-networking-hivemanager-site-cloud-aerohive-com-certificate-expiration-how-to-manually-upgrade-hiveagent-on-dell-n-series-switches?lang=en&ref=topsolutions

by lunarg on April 20th 2020, at 09:50
When attempting to add new Remote Desktop Session Hosts (RDSH) to a session host collection, you may run into the following error message:

Error
Unable to retrieve the session collection properties

This error can possibly be accompanied by additional messages.

When checking the logs, you apparently cannot find anything wrong with the collections: they show up correctly in Server Manager and users can still log on to the collection using existing servers.

Sometimes it can happen that the security descriptors of one of the collections get corrupted, in which case it is not possible to add a new session host, whether it's through Server Manager or through Powershell.

The problematic collec  ...
by lunarg on March 27th 2020, at 14:13
It is possible to convert a QSFP or QSFP+ port to an single SFP or SFP+ port using the Quad to Small Form Factor Pluggable Adapter (QSA). However, in order for this to work, you'll need to configure the QSFP+ port into break-out mode to 4x10Gbps, similar like you would when using actual QSFP to 4xSFP break-out cables.

For OS10, the CLI for this action is:

interface breakout 1/1/7 map 10g-4x

This will break out the interface 1/1/7/ to 4 10Gbps links, which translates to these interfaces on the switch: 1/1/7:1, 1/1/7:2, 1/1/7:3 and 1/1/7:4:

show interface status ------------------------------------------------------------------Port Description Status Spe  ...
by lunarg on March 27th 2020, at 11:52
On a Windows DHCP Server, if you have a lot of DHCP reservations in a particular scope on a server, and you have the need to migrate them to another scope (on the same or another server), you can do so quickly through netsh (a "legacy" command-line tool to perform network configuration on a Windows system).

Fire up a command prompt (or Powershell). First dump, the current scope configuration to a text file:

netsh dhcp server <serverIPAddress> scope <scopeAddress> dump > dump.txt

Note that if you run the command on the server where the originating scope is located, you don't need to specify the IP address/hostname of the server.

Open the text file with your favour  ...
showing all posts
 
 
« February 2021»
SunMonTueWedThuFriSat
 123456
78910111213
14151617181920
21222324252627
28      
 
Links
 
Quote
« When a bird does poo poo in your eye, be happy elephants don't fly. »