vsphere: automating power-on of VMs

useful for a standalone environment that utilizes local storage…
ESX(i) host->Configuration->Virtual Machine Startup/Shutdown->Properties

source:
http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=850

Posted in: IT by resinblade Comments Off on vsphere: automating power-on of VMs

vsphere 5.1 networking

for 5.1 i decided to do everything with distributed vswitches where as previously we only had LAN traffic on dvswitches.

design:
LAN dvswitch (trunk ports, 2 uplinks, one 10Gbs + one 1Gbs)
vmk0 – management

vMotion dvswitch (1 uplink, one 10Gbs)
vmk1 – vmotion

iSCSI dvswitch (9000 MTU, 2 uplinks, both 10Gbs)
vmk2 – iscsi1 (9000 MTU)
vmk3 – iscsi2 (9000 MTU)

note: the iSCSI and vMotion port groups should be set to “VLAN = None” and the physical switch ports should be set up as ordinary access ports in the appropriate VLAN(s).

initial install of the host involves setting the VLAN ID on the host (same VLAN used for the management network) and then migrating vmk0 (used for management only) to the appropriate dvswitch & port group. the management network port group will have a VLAN ID associated with it in the vcenter networking configuration.

i’ve decided to go with the software iscsi initiator again because it was all i saw referenced in the equallogic documentation. speaking of documentation…two useful pdfs “ESXi Version 5.1 Host Rapid EqualLogic Configuration Series Implementation Guide” and TR1075 – “Configuring iSCSI Connectivity with VMware vSphere 5 and Dell EqualLogic PS Series Storage”. Note that the TR1075 document is for ESXi 5.0, everything in it is still accurate for 5.1 except the need for a Storage Heartbeat port group (no longer necessary).

iSCSI configuration steps summarized:
add host uplinks to iSCSI dvswitch
add virtual adapters (vmk2 and vmk3)
change vmk2 and vmk3 MTU settings to 9000
enable software iscsi initiator
bind vmk ports to iscsi software adapter
in iscsi software adapter settings add equallogic group ip address under dynamic discovery

equallogic MEM installation from VMA summarized (this procedure doesn’t appear to have changed):
maintenance mode host
./setup.pl –install –server=<esxi server> –username=root –password=<password> –bundle=<zip filename>
./setup.pl –query –server=<esxi server>
this info is in the MEM user guide that comes with the installation package and TR1074 – “Configuring and Installing the EqualLogic Multipathing Extension Module for VMware vSphere and PS Series SANs”

some best practices for equallogic storage include:
on the iSCSI SW Adapter->Configure
LoginTimeout 60
Delayed ACK Disabled

update 2/21/2014:
quick addendum…in an updated dell pdf (covers esxi 5.5), it’s recommended to enable flow control on vmnics that are used for iSCSI traffic.
check to see if RX and TX are set to on by using ethtool -a vmnic<#> e.g. vmnic11
enable flow control by editing /etc/rc.local.d/local.sh with vi, like so: vi /etc/rc.local.d/local.sh
add “ethtool –pause vmnic<#> tx on rx on”
to an open line before exit 0
this needs to be done for each iSCSI vmnic.

update 8/31/2016:
an easy way to check the version of the installed MEM on esxi is to run: esxcli software vib list | grep dell-eql
source: https://www.null-byte.org/miscellaneous/how-to-verify-dell-mem-driver-usage-and-version/

also it looks like MEM version 1.3 is required for esxi 6.x.

Posted in: IT by resinblade Comments Off on vsphere 5.1 networking

vcenter/ESX: guest OS labels

today we were kind of wondering how accurate the guest OS labeling was in vcenter. from my perspective, i was thinking that the person creating the VM could easily select an incorrect guest OS label and that it wouldn’t automatically change nor affect the functionality of the VM. but then i started wondering if vmware tools would auto-correct the label if it was wrong.

the actual answer is that it’s a little of both. i had a win7 test VM that had the guest OS labeled correctly as windows 7 (32-bit). i wanted to test for ultimate incorrectness so i set the guest OS label to netware and then red hat linux. interestingly enough the VM would no longer boot up properly (in either case). so the guest OS label does have some bearing on what vcenter/ESX expects from the VM.

i then tried a more realistic mistake and changed the label to windows xp (32-bit). the VM would boot up in this state and as soon as the vmware tools process(es) started the label was auto-updated to the correct description. however, once the VM was powered down the label reverted back to the incorrect entry. so ultimately, vmware tools temporarily corrects guest OS labels. and if VMs are powered on and vmware tools is running on them, then i guess you can assume that the guest OS labeling is correct.

Posted in: IT by resinblade Comments Off on vcenter/ESX: guest OS labels

ubuntu 13.10

i upgraded to 13.10 this past weekend. upgrade went fine with no problems. my thoughts on new distribution releases are a lot less exciting than in the past. nowadays i’m mostly looking to make sure my productivity apps still function after an upgrade. in other words, okay i’ve upgraded…now what’s broken?  and i don’t mean that as a slight against canonical, there’s simply a lot of big developments in the linux space lately. a lot of major frameworks being changed out for new ones…so older apps simply break.

on first boot i noticed a lot of errors regarding “…/freedesktop/hal/udev_event…” which appears to happen if the deprecated package “hal” is installed. i chose to remove hal and had to uninstall gnome-device-manager (which no longer appears to function anyways) and thoggen (a shame because i thought this was a good app). the errors disappeared afterwards.

audacious has a new last.fm scrobbler plugin which doesn’t seem to work for me. i’ve fallen back on using banshee for playing music now. also i’ve had banshee crash suddenly when plugging in USB storage.
*the audacious scrobbler problem is potentially a last.fm certificate issue. it appears the current workaround is to build the plugin against libcurl4-openssl instead of libcurl4-gnutls. i’m willing to wait a few weeks to see if the issue gets sorted out, if not i’ll look into building the plugin* **i was too lazy to build the plugin myself, but luckily a nice last.fm user posted a rebuilt plugin for i386 and amd64 architectures, link: http://www.last.fm/group/Audacious/shoutbox. i placed the file scrobbler.so in /usr/lib/i386-linux-gnu/audacious/General**

i’ve had one hard freeze happen (pretty unusual for linux)…not sure what the cause was but i could not access any of the auxiliary consoles to terminate processes and had to hard poweroff.

the battery indicator applet seems to be functional again in this release which is good news.

in chromium it appears that some of the extensions are no longer functioning properly even though they show as installed and enabled. i’ve tried removing/reinstalling without success. *this is a confirmed bug with chromium 29 in ubuntu 13.10…i imagine it will get fixed w/ future updates* **fixed in chromium upgrade package 11/4/2013**

really awesome is that on a dell latitude e6510 sleep mode finally works properly when closing the laptop’s lid. i don’t think that ever worked properly on previous ubuntu releases.

Posted in: IT by resinblade Comments Off on ubuntu 13.10

windows dns: stand-alone server permissions

today i searched in vain for the security tab in DNS manager on a stand-alone windows 2008 DNS server. it simply does not exist.

after some brief research (3 or so different sources) i discovered that there is no way to set DNS server permissions on a stand-alone server. the only option for accessing DNS settings in this case is to have local administrator access.

Posted in: IT by resinblade Comments Off on windows dns: stand-alone server permissions

bitcoin research

i’m always seeing articles about bitcoin and bitcoin mining so i figured i’d finally look into it. i installed bitcoin-qt in ubuntu and upon starting it, the application had to synchronize the block chain. since it said it was 100-ish weeks behind i let it run over night. i came back to check in the morning and noticed that i had ran out of disk space (almost 8gb worth).

i then searched for a bitcoin client that didn’t need to sync the entire block chain and found electrum (www.electrum.org). electrum was really easy to use as it’s wizard driven. i created a wallet and so on and then i was ready to look into mining. well, for mining you need another application. the most popular i found for linux was cgminer. i attempted to install cgminer in ubuntu and it wanted to remove the nvidia drivers. i wasn’t comfortable with that so i decided to not proceed.

after choosing not to install cgminer and reading that bitcoin mining relies on fairly good GPUs for the best results i decided to shelve this topic for a later date.

Posted in: IT by resinblade Comments Off on bitcoin research

vdr: error -2246 wrong destination index found

this is one of those things that is baffling yet stupidly easy to fix. i had a VDR destination that backup jobs were suddenly failing on…as in instantly failing with an error -2246. i’ve encountered problems with VDR destinations before and assumed the catalog was messed up so i went about reformatting the destination and starting fresh. so i did that and ran an integrity check, the destination was then marked as ready.

i tried to run a backup job and the same error occurred. eventually i figured it out…even though a reformatted destination is named exactly the same as before (ex: SCSI-1:0), VDR identifies it differently from the previous destination. to resolve this simply edit the existing backup jobs and reselect the appropriate destination and then basically next, next, next your way out of the wizard. the problem should then be resolved.

Posted in: IT by resinblade Comments Off on vdr: error -2246 wrong destination index found

cisco ucm: download moh wav file

to upload MOH (music on hold) wav files it’s fairly easy to do from the cucm administration console.
media resources->MOH audio file management.

however, it’s not as simple to download one of the MOH files. to do so you must SSH into one of the cucm hosts and do the following…
file list activelog mohprep, to get a list of MOH files
file get activelog mohprep/<file>, starts a CLI wizard for specifying an SFTP server to transfer the file to

source:
www.netcraftsmen.net/blogs/entry/retrieving-music-on-hold-moh-files-from-cucm.html

Posted in: IT by resinblade Comments Off on cisco ucm: download moh wav file

ms sql error logs consuming too much space

i needed to delete some MS sql server logs the other day because the drive they were on was running low on free space. the in use log is named “ERRORLOG” and can’t be deleted until the logs are cycled. you can force this process to happen by running the stored procedure sp_cycle_errorlog.

new query example:
EXEC sp_cycle_errorlog ;
GO

sources:
http://msdn.microsoft.com/en-us/library/ms182512.aspx
http://www.dbadiaries.com/sql-server-error-log-consuming-lots-of-disk-space
http://fkauffmann.blogspot.com/2012/06/how-to-safely-delete-sql-server.html

Posted in: IT by resinblade Comments Off on ms sql error logs consuming too much space

mass effect 3 (xbox360)

i started playing ME3 this past weekend and i’ve put about 5 hours in. i don’t think i’ve put enough time in to get a good feel of the gameplay yet, but i will try to notate my first impressions. the combat appears to be a refined version of ME2’s system. you’re meant to fight from cover still, but it doesn’t seem like a must unless overwhelmed. so far i’d rate the combat systems like so ME1 > ME3 > ME2. it’s still pretty early in the game though so i might end up changing my mind.

i was trying to keep an open mind about the james vega character…when shepard has his first talk with vega in the shuttle bay it was so dumb though. so dumb and out of place. the great commander shepard has to deal with some grunt with no apparent respect for authority all during a fight for the galaxy? a character like vega belongs in ME1 not ME3. i’m glad that ashley is back, but she seems out of place as well. vega and ashley just seem so small and stupid compared to the likes of liara. i was confused to see that none of the cerberus ship staff were still aboard the normandy because i thought i had won over the crew’s loyalty. the diana allers stuff is just plain terrible. the game graphics seem incrementally improved in ME3. i’ve noticed there’s a lot less side conversations to be had when exploring areas now. all of the conversations seem to be with main characters. i’ve also noticed a few weird glitches early in the game. once the game froze for about 30 seconds after a certain conversation. another time during a conversation, shepard was looking in the wrong direction the entire time. i almost wonder if they had to rush ME3 out the door to meet a deadline.

the samantha traynor character seems fairly lame so far. she makes me miss kelly.

update 9/25/2013:
i’ve played a few more missions. this probably goes without saying yet here it is…SPOILERS are about to happen. i’m enjoying where the overall story is going in ME3, but i’ve noticed a decline in the quality of dialog. the humor is off a bit and most of shepard’s responses are short (sometimes one word). i imagine this is either due to rushing the game out or the departure of drew karpyshyn from the writing team (or both). an example of sloppiness is in the eden prime segment where there’s dialog that “these colonists weren’t on a battlefield…they were sitting at home relaxing when they were killed” (something to this effect), yet all the corpses are in full combat suit w/ helmets and all. i don’t recall goofs like that happening in ME1 or ME2.

i’ve played the first DLC pack “from ashes” and there is no way that it is worth $10. the DLC pricing is insanely out of control in ME3. EA is really milking every penny they can from the fanbase because they know fans will buy it. a youtube review of ME3 stated that from ashes was actually release day DLC. that’s such garbage to have to buy DLC immediately after purchasing the game. on top of that, the introduction of the prothean squad member should have never been in DLC. javik reveals a considerable amount of info about the protheans.

i’m confused by some of the reaper lore. for instance, i thought the reapers took the form of the species they were harvesting. such as in ME2 when there was a human shaped reaper that was infused with human DNA goop. and i understood that the majority of reapers are fashioned after the protheans. but in javik’s flashback you see reapers invading that already look like protheans…shouldn’t they look like another species? like whatever race came 50,000 years before the protheans. also since the reapers are practically invincible shouldn’t there be reapers that looks like all sorts of races from each 50k year cycle?

update 10/5/2013:
i’d gauge that i’m a little more than half way done with the game at this point. despite my previous complaints and the general online criticism of the game (mostly concerning the original ending) i’m really liking this game. i feel like the development team listened to the criticism of the previous 2 games and took out a lot of the unfun elements. for instance, no vehicles this time around (unless you count the atlas which is actually fun). no tedious resource gathering. there’s still scanning with probes but it’s greatly reduced in scale and they’ve tried to make a mini-game out of it. since i’m burnt out from scanning stuff in the 2nd game…this time around i’m just looking at star system maps online to finish out the scanning quickly. they brought back weapon mods which is awesome. and thank god they got rid of the bypass/hack mini-games. the combat is a definite improvement over the 2nd game. i mentioned this a bit previously, but can now confirm it’s way better than ME2’s combat. you aren’t forced into cover this time around and can choose to use it as needed. there’s still limited ammo in ME3 but i do not mind it as much as i did in ME2. in ME3 it’s so abundant that i never to need worry about it. using the sniper rifle and shotgun are a lot of fun. i didn’t have the ability to use the sniper rifle in ME2 so i can’t compare, however, it’s certainly an improvement over sniping in ME1. the weapon i seem to use least is the SMG in ME3. i also like how they streamlined item purchasing beyond just the kiosks. now you can purchase items remotely from the normandy.

i’m not sure i like that side-quests are given solely by eavesdropping conversations. for one, some of the conversations go on forever and you have to keep leaving/returning to hear the whole story. i imagine the development team felt they were making this easier instead of slogging through lots of dialog, but i actually enjoyed all the extra dialog. the new method does make sense for the support person #1 support person #2 decisions. the side quests outside of artifact fetches are so much better than in previous ME games. magnitudes better. i complained thoroughly about how boring and repetitious the side quests were in ME1. in ME2 they weren’t as repetitious, but they were just as boring and pointless. in ME3 the side quests are all different and of a much higher quality…and they actually have a point. i’m really glad that the development team got out of the habit of creating filler stuff just to make the game longer.

i haven’t found a way to disable the kinect audio yet, that has almost burned me 3 times where my voice activated a decision. twice it was the decision that i did not want.

most recently i finished the omega DLC. omega is actually a really good DLC pack, not necessarily worthy of $15 but i’d say $10 would have been fair. i ended up sparing petrovsky’s life because i figured he’d be some huge war asset. he didn’t turn out as valuable as i expected. i should have just let aria have her revenge. also on the omega DLC i messed up by not finishing two minor side quests. basically once you finish the DLC you can’t go back to omega. so you need to finish quests while you’re still there.

i’m not sure which characters “have to die” in ME3, so far i’ve lost mordin and thane. i didn’t think much of mordin as a squad member, but i really liked his character and was sad when he died. thane was all around awesome and it was likewise sad when he passed away. there were teases of kasumi and grunt dying, but thus far they have survived. i would rather zaeed, vega, or samara died instead of mordin or thane.

on tuchanka, at first i thought the thresher maw god stuff was kind of ridiculous, but it eventually grew on me. during the final segment where there were like 3+ brutes right in front of me i totally freaked out. i barely survived that segment.

i told liara that i just wanted to be friends and immediately felt terrible and guilty afterwards. i simply didn’t want to lock out other potential romances. i believe i’m going to try to keep things going with miranda and if that doesn’t work out then maybe ashley. although i don’t really find ashley to be a likable person.

4/29/2015:
after messing around in the citadel DLC arena for some time farming credits i ended up not finishing ME3 back in 2013. i just recently revisited it and completed the game. i have a lot of things to sum up and not all of it is fresh in my mind. i think the humor throughout the game is decent to pretty good. i absolutely love the citadel DLC and highly recommend it. some parts actually even had me laughing. i really like the comradery with garrus in ME3…shepard and garrus really seem like old friends or brothers. james vega who i initially disliked quite a bit ended up growing on me. he’s not that bad after all. udina and legion ended up dying.

the game prevents you from having access to the final mission early on which is great (at least i remember it like this). the leviathan DLC was okay, but i think the lore in it should have been part of the main game. also regarding javik, i’m almost certain that he was meant to be included in whole game and not just as a limited DLC character. javik has a massive amount dialogue throughout the entire game. he doesn’t have short one line responses like zaeed or kasumi. so essentially when you purchase the DLC that includes javik you are simply “unlocking” access to a character that should have always been available.

regarding the ending, i have only seen the extended cut endings so far. i have had suspicions that the illusive man was indoctrinated for a while and ME3 confirms it. i died twice during the launch the missile sequence. i foolishly thought i could kill all of the enemies and then realized it was a futile effort. the goal here is just to run to the missile launch console. there’s essentially 4 choices to the ending…they are 1. destroy the reapers (and destroy all synthetic life), 2. control the reapers, 3. synthesis (organic and synthetic beings are “merged”), 4. do nothing and allow the reaper cycle to continue. i received ending #4 on my first try by joking shooting the catalyst child. this ending is by far the worst and doesn’t even really count as a proper ending. shepard dies in endings 2-4. i chose ending #1 since it’s the only one where you can get shepard to live in (although EDI died in this ending for me). i’m going to retry finishing the game with ending #1 once i get my galactic readiness to 100%. the cutscenes for endings 1-3 have very minimal differences.

Posted in: Games by resinblade Comments Off on mass effect 3 (xbox360)