All posts by bsdman

Currently working as an IT Manager. Worked for an OIT company as a Network Engineer in 2011. Worked for a Medical IT company as the Network Administrator 2009-2011. Worked as the Senior Systems Administrator at a computer reseller from 2005-2009. Worked as a Computer Consultant for several small companies from 2007-2009. Worked as a Computer Technician at a computer reseller from 2002-2004.

Chrome Windows 10 Omnibox Slow

I was having extremely slow response time to input in the google search bar (aka omnibox). I’d close out of Chrome and re-enter, same issue. Every new tab (ctrl + t) I’d start typing a URL or search term and it would take up to 12 seconds for the text to start showing up. And with my misspellings… yeah it was frustrating.

Closed and re-opened Chrome. Same problem.
I disabled all of the extensions. Same problem.
I cleared all of the cache (ctrl shift del). Same problem.
Rebooted the machine. The problem went away for about 2-3 hours and then came right back.
Installed 64bit instead of 32bit. Same problem.
Redid all steps above after upgrading to 64bit. Same problem.

http://www.robschmuecker.com/google-chrome-address-bar-omnibox-getting-slow/

This site had me check for compatibility mode. I wasn’t running in compat mode as this was native supported.

But the delete of cache caught my eye – why does chrome store cached omnibox crud in the default user’s directory?

C:\Users\%Username%\appdata\local\google\chrome\User Data\Default\Cache
Delete everything in there. Restart Chrome.

I had to run taskkill /f /im chrome.exe prior to deleting all of the cache.

Double Booking O365 Room Calendar

I went through and made sure that the room was set to not allow conflicts. Unfortunately it was still accepting conflict meetings as “tentative” instead of outright saying “no”. This was conflicting with our room booking evoko units (exterior to the room) and showing the second meeting – the tentative in Exchange/Outlook – as the only meeting. Bad.

So, open up your powershell and connect to the O365-land (previous post).

List All Rooms (you’ll need the email address)
Get-Mailbox | Where-Object {$_.RecipientTypeDetails -eq "RoomMailbox"} | Format-Table DisplayName,Identity,PrimarySmtpAddress

List All Options On That Room
get-calendarprocessing roomname@domainname.tld | fl
Verify that the AllowConflicts is set to false. Verify that the forwardrequeststodelegates is also false. Verify that the AllRequestOutOfPolicy is set to false.

Change these settings (if the above is not false)
Set-CalendarProcessing roomname@domainname.tld -AllowConflicts $false
Set-CalendarProcessing roomname@domainname.tld -ForwardRequestsToDelegates $false
Set-CalendarProcessing roomname@domainname.tld -AllRequestOutOfPolicy $false

Calendar Permissions Office365 Powershell

I needed to change permissions on who could access the CEO’s calendar as his personal assistant was going on a month-long vacation and the backup needed the same permissions.

Connect to your Office365 environment using Powershell
Open Powershell as an administrator
$LiveCred = Get-Credential
$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell/ -Credential $LiveCred -Authentication Basic -AllowRedirection
Import-PSSession $Session
Login with an O365 admin account

List access on a specific account
Get-MailboxFolderPermission -Identity user1@domain.com:\calendar

Add access to a specific user
Add-MailboxFolderPermission -Identity user1@domain.com:\calendar -user user2@domain.com -AccessRights Editor

Remove access to a specific user
Remove-MailboxFolderPermission -Identity user1@domain.com:\calendar -user user2@domain.com

Available Roles

Owner
PublishingEditor
Editor
PublishingAuthor
Author
NonEditingAuthor
Reviewer
Contributor
AvailabilityOnly
LimitedDetails

RSA host key for server has changed

I had reformatted one of my hypervisor boxes (prox) and completely forgot about changing my SSH keys on other systems. I have a jumpbox that allows me to remotely access and admin the environment, but I couldn’t SSH into my prox system:

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that the RSA host key has just been changed.
The fingerprint for the RSA key sent by the remote host is
2a:35:00:00:c7:e8:f3:fe:f7:6e:cf:00:00:db:e9:d8.
Please contact your system administrator.
Add correct host key in /root/.ssh/known_hosts to get rid of this message.
Offending key in /root/.ssh/known_hosts:33
RSA host key for prox1 has changed and you have requested strict checking.
Host key verification failed.

Opening up my /root/.ssh/known_hosts file I see a bunch of giberish. Answer found from c0rp.

Fast and easy fix
sed -i '33d' ~/.ssh/known_hosts
Obviously change the ’33d’ to reflect your line number. e.g line 12 wouild be ’12d’
Then SSH to your machine again and you’ll be asked if you want to store the new RSA fingerprint.

Or you can use SSH Keygen
ssh-keygen -R yourmachinenamehere

VMWare VMTools CentOS

After my engineers gave me a test vmware system full of the requested guest VM’s, I noticed that the CentOS system did not have any vmware tools installed. I attempted to run through the standard mount the CD and run the rpm’s, but I was greeted with a message saying I should run the open-vm-tools suite instead.

Install Open VM Tools
yum -y install open-vm-tools

Start the VM Tools Daemon
systemctl start vmtoolsd.service

Enable Startup on Reboot
systemctl enable vmstoolsd.service

service vmtoolsd start
also works

OpenManage and iDrac

We migrated systems from one colocation to another and re-thought our entire VLAN structure. All IPMI/iDrac/iLO/out of band management was segmented off into another VLAN for easier support and DHCP enabled. Unfortunately our e-mail servers didn’t get the memo about the IP change; sure, their network cables were moved to the new VLAN, but the IP address was not changed to either that network or a DHCP enabled state.

We didn’t find out until this morning when we attempted to revive an email server that had fallen flat on its face. Lesson learned.

That being said, I had always changed iDrac settings on these servers via the BIOS or lifecycle controller. I didn’t want to reboot the box again just to set an out of band management interface, so what was I to do?

Google!

Anyway, here’s the brief list of commands you can run if you have Dell Open Manage installed on your computer (with a simple ADMIN cmd.exe window)
Get current configuration
racadm getniccfg

Set Static IPv4
racadm setniccfg -s IPADDRESS NETMASK GATEWAY

Set Static IPv6
racadm setniccfg -s6 IPV6ADDRESS PREFIXLENGTH GATEWAY

Set DHCP
racadm setniccfg -d

Turn off or turn on the port
racadm setniccfg -o

Whole bunch of stuff here http://www.dell.com/support/Manuals/us/en/19/Topic/idrac8-with-lc-v2.05.05.05/RACADM_iDRAC_Pub-v1/en-us/GUID-03779EB2-C1FE-4E33-A82F-71A18E85CE5F