Saturday, May 12, 2018

8 bit nostalgia itch.



Today, I started to dig out my Nintendo games again.  My favorite cart label design is Baseball.  I don't think there is a better artwork on a Nintendo game out there.  Gameplay for Baseball is little to be desired as this was one of the original releases and developers hadn't learn to use the complete capabilities of the NES at that point.  The graphics looks very pixelated even for 8 bit standard compared to games later in the NES' life.  Even so, I like to take this out and play it once in a while.  I am trying to collect all these black box games (I think there are around 30?) and its taken a while to find for a good price.  I've got half of them so far.  Below is what I'm missing.  Any one interested in trading, drop me a note.  


-Clu Clu Land
-Donkey Kong Arcade Classic Series
-Donkey Kong 3
-Donkey Kong Jr.
-Donkey Kong Jr. Math
-Gumshoe
-Ice Climber
-Pinball
-Slalom
-Soccer
-Popeye
-Stack-Up
-Urban Champion
-Volleyball
-Wrecking Crew

Thursday, May 10, 2018

Paso Robles stay over.


On our way back, we had a stay over half way between SD and our home in a city called Paso Robles, CA.  It's better known for its wineries.  We're not into wine so we made sure we had a good hotel since we're going to be staying in there most of the day to get a break from driving.  We stayed in a hotel called La Bellasera Hotel.  It's a 4 star hotel and probably one of the best hotels we've stayed at.  It's got a spa/jacuzzi inside the hotel room.  Check out this hotel if you're planning a stay in Paso Robles.  Next morning, we finished our drive home with a total of 1189 miles logged for the entire (LA/SD) trip.





Tuesday, May 8, 2018

Good bye San Diego.

In a day and a half, we went to LA Jolla, Old Town San Diego and Balboa Park along with a couple of boba tea stores.  We also went to some nice restaurants.  We will check out this morning of our hotel, which by the way was really nice, and head to LA for lunch.  Then it's on to Paso Robles.

  

Saturday, May 5, 2018

San Diego road trip!

Taking a short vacation, 5 days, and driving down to San Diego with a stop in Los Angeles. 
Not looking forward for the LA traffic however.




Wednesday, May 2, 2018

APC PDU Communication Status error.


Running APC's AP8641 model pdu's and we have several of them that is popping up with the following errors.  When this happens, it does not report any power loads.  I've tried to replace the LCD/Management module with a new one but the error exists.  I know that this issue is not model specific as I've had others models happen.   APC support recommended doing a factory reset (you will lose all settings) and upgrading the firmware to the latest, both of which I've tried.  Wondering if anyone has run into this issue before.



Change Network Failover Detection Policy on vSwitches and portgroups.



Need to change the NetworkFailoverDetectionPolicy for all your vSwithes and portgroups?  The following script traverses all clusters and host to check the NetworkFailoverDetectionPolicy for Beacon Probing.  If its Beacon Probing, change it to Link Status.

#import-module VMware.VimAutomation.Core
#Connect-VIServer -Server vcenter_hostname
#uncomment for testing
#$vmhosts = "hostname1","hostname2"
 
#uncomment for live run
#get the hostnames of all the hosts in every cluster
$vmhosts = get-cluster | get-vmhost | select name
foreach($vmhost in $vmhosts)
{
    #Gets all the vSwitch names that has beacon probing set on the host.
    $switch_policy = Get-VirtualSwitch -VMHost $vmhost.Name | where {$_.Name -ne "vSwitchiDRACvusb"} | Get-NicTeamingPolicy | Where-Object {$_.NetworkFailoverDetectionPolicy -eq "BeaconProbing"} | select -ExpandProperty VirtualSwitch # | select VirtualSwitch | format-wide
    if ($switch_policy)
    {
        foreach ($switch in $switch_policy)
        {
            $vs = Get-VirtualSwitch -VMHost $vmhost.Name -Name $switch
            Get-NicTeamingPolicy -VirtualSwitch $vs | Set-NicTeamingPolicy -NetworkFailoverDetectionPolicy LinkStatus
        }
    }
 
    #Gets all the port group names that has beacon probing set on the host.
    $portgroup_policy = Get-VirtualPortGroup -VMHost $vmhost | Get-NicTeamingPolicy | Where-Object {$_.NetworkFailoverDetectionPolicy -eq "BeaconProbing"} | select -ExpandProperty VirtualPortGroup
    if ($portgroup_policy)
    {
        foreach ($p in $portgroup_policy)
        {
            #Sets the nicteamingpolicy from the host and its portgroup.
            $vpg = Get-VirtualPortGroup -VMHost $vmhost.Name -Name $p
            Get-NicTeamingPolicy -VirtualPortGroup $vpg | Set-NicTeamingPolicy -NetworkFailoverDetectionPolicy LinkStatus
        }
    }
}

Find overcommited compute resources in VMWare.



The following commands requires PowerCLI to run.

Get-MemoryOvercommit -Cluster "Cluster Name"
Get-CPUOvercommit -Cluster "Cluster Name"



Get space utilization of all disk from a computer


[CmdletBinding ()]
param(
        [Parameter(Mandatory =$True, ValueFromPipeline=$True )]
        [string[]] $ComputerName
    )
ForEach ( $Name in $ComputerName ) {
    write-host "Drive info for " $Name
    Get-WmiObject -Class win32_logicaldisk -ComputerName $Name |
ft DeviceID , @{Name= "Free Disk Space (GB)";e= {$_.FreeSpace /1GB }}, @{Name ="Total Disk Size (GB)";e ={$_ .Size / 1GB}} -AutoSize

Tuesday, April 17, 2018

VMWare vSphere 6.7 is out.

Some new features of vSphere 6.7
-HTML 5 Client
        More features enabled such as vSAN and core storage.
-UNMAP Enhancements
        Able to adjust reclaim rate.  6.5 has a rate of 25MBps.  6.7 can go to 2GBps.
-vSAN 6.7
        QOS Resyncing of data.
        On-Disk Format 6
                -No more actual data moves or evacuation to upgrade a disk format.  Going forward, it will just be meta-data upgrades.
        FIPS 140-2 Encryption.
        

Thursday, February 8, 2018

Setting up iSCSI initiator to connect to iSCSI target in Linux.

  1. Install open-iscsi
    • # sudo apt-get install open-iscsi
    • # sudo apt-get install open-iscsi-utils
  2. Configure the iscsid.conf file with your login credentials.
    • vi /etc/iscsi/iscsid.conf
    • edit the line 'node.session.auth.username='
    • edit the line 'node.session.auth.password='
    • enable CHAP authentication
    • uncomment the line 'node.session.auth.authmethod = CHAP'
  1. Restart open-iscsi service
    • /etc/init.d/open-iscsi restart
  2. Discover your iSCSI targets
    • # iscsiadm -m discovery -t sendtargets -p <ip address of the iscsi target>:3260
  3. List your iSCSI nodes
    • # iscsiadmin -m node
  4. Restart open-iscsi service
    • /etc/init.d/open-iscsi restart
  5. Find the disk
    • # dmesg | tail
  6. Mount the disk
    • # mount /dev/sdb1 /mnt/iscsi