shows VMs
vimsh -n -e “vmsvc/getallvms” | grep -i vmid | awk ‘{print $3}’ > /tmp/vmids
vimsh -n -e “vmsvc/deviceconnection
3000 here is usually ide0:0. for others, you’ll need to see it in
vimsh -n -e “vmsvc/showdevices
variant #2: Idaho (aka Idaho Scrabble®, Idaho rules, Scoring Speed Scrabble®)
Speed Scrabble®
PLAYERS: 4 or 5 players only. (It simply doesn’t work with fewer than 4, and more than 5 gets very akward unless you add a second set of tiles). If you have more than 5 people, the winner rotates out after each game.)
LENGTH: Each game tends to be 3 to 7 minutes, however, the game is addictive and sessions of many hours are not unusual! Obviously, the game goes quicker with 5 players. Three player games can last 20 minutes!!
SETUP: Take the tiles from a standard Scrabble® set (100 tiles in English); you don’t use the board. Spread the tiles upsidedown in the center of the table; make certain that each player has plenty of room to work. Each player chooses 7 tiles and leaves them upside down in front of them.
BEGIN: The previous winner is the GOSAYER. (This is important!) If it is the first game of the day, one person in the room, preferably not a player, is chosen as the GOSAYER.
THE PLAY: When the GOSAYER says GO! all players turn over their tiles and begin making words, attempting to use all of their letters in a single crossword layout. The players boards DO NOT interact in any way. When one player has used all of their letters in words that cross each other, with no letters left over (see example) that player calls out GO!
EXAMPLE:
JAM
E
AT
A GO!: When a player calls GO!, EVERY PLAYER takes another tile and continues working.
This means that at all times, all players should have the same number of tiles. If two people call GO! simultaneously it is treated as only one GO!.
WINNING: When all the letters are gone, the next person to call GO! is the winner, and the GOSAYER for the next game.
Usually at this point everyone compares words and looks for “style points” (really cool words). You also check to make certain that the winning board is legal. Most people become fanatical about finishing their board.
RULES: Same as in regular Scrabble®: only English words are allowed, no proper nouns, no slang, no abbreviations. If there is a word that is in question, the player should call it out and the group of players will vote on whether it is allowed. People often ask the group about spellings too.
NOTES: You can rearrange your word at any time if you feel it will be useful. (And, in fact, strategy usually dictates that you use 2 & 3 letter words at the start and then midway through the game rearrange for longer words!)
There are 100 tiles in a full set, so with 4 or 5 players, there should always be an exact number of tiles left on the last GO! . If there isn’t, someone didn’t take a tile on every GO!.
If after an extended period it becomes clear that NONE of the players can use all their tiles to complete a board every player should pull one tile. (This almost NEVER happens with unless you have only 2 or 3 players.)
Blanks are wild cards that can be any letter, but they must represent the same letter in every word they are in. In the example below, the words could be TOCK and BOX, but not TACK and BOX.
B
TCK
X
There are only two blanks in a set — KEEP AN EYE OUT, a common cheat is to flip a letter upside down and use it as a blank for a couple of turns!
top regular scoring variant games main page
Idaho
PLAYERS: 2 to 5 players (It works best with 2 or 3 people.)
LENGTH: Each game tends to be 5 to 12 minutes. The more players, the quicker the game goes! This varient is not as addictive as the regular version.
SETUP: Take the tiles from a standard Scrabble® set (100 tiles in English); you don’t use the board. Spread the tiles upsidedown in the center of the table; make certain that each player has plenty of room to work. Each player chooses 7 tiles and leaves them upside down in front of them.
BEGIN: The previous winner is the GOSAYER. (This is important!) If it is the first game of the day, one person in the room, preferably not a player, is chosen as the GOSAYER.
THE PLAY: When the GOSAYER says GO! all players turn over their tiles and begin making words, attempting to use all of their letters in a single crossword layout. The players boards DO NOT interact in any way. When one player has used all of their letters in words that cross each other, with no letters left over (see example) that player calls out PICK!(or GO!)
EXAMPLE:
JAM
E
AT
A PICK!: {here is where it differs from variant #1} When someone calls out PICK!, every player takes enough tiles to leave them with 7 unused tiles. (So if you have all of your tiles used, you pick 7, if you have 1 unused, you pick 6, if you have 2 unused you pick 5, and so on. If you have 6 unused, you only pick one and if you have 7 or more unused, you don’t pick at all.) You want as many tiles as you can get; More tiles = more points. If two people call PICK! simultaneously it is treated as only one PICK!.
WINNING: The game ends when there are no letters left and someone calls PICK! — everyone stops work. After comparing words and checking to make certain all the boards are is legal, each person adds up their points (any letter that is used in two words, counts twice!) and subtracts any unused letters. The person with the most points wins!
Generally the counting is done by separating the ‘doubles’ (letters which are in two words, and therefore count double) and the singles and then lining them up in rows equal to 10 points.
RULES: Same as in regular Scrabble®: only English words are allowed, no proper nouns, no slang, no abbreviations. If there is a word that is in question, the player should call it out and the group of players will vote on whether it is allowed. People often ask the group about spellings too.
NOTES: You can rearrange your word at any time if you feel it will be useful. (And, in fact, good strategy usually dictates that you watch your opponents and stick letters in low scoring words when others are close to a PICK! and then rearange to make better words when others are going slower.)
The winner is determined by points, so it is important to try to double up your multi-point tiles. Blanks always count zero points.
Sometimes a player can get really stuck, especially early in the game. If someone has 7 letters that are truly impossible to work in (ie, no vowels) then every player in the game pulls ONE extra tile. This gets the stuck player going, but the game is still usually pretty hopless for the vowelless person.
Blanks are wild cards that can be any letter, but they must represent the same letter in every word they are in. In the example below, the words could be TOCK and BOX, but not TACK and BOX.
B
TCK
X
There are only two blanks in a set — KEEP AN EYE OUT, a common cheat is to flip a letter upside down and use it as a blank for a couple of turns!
top regular scoring variant games main page]]>
"not enough licenses" from VC is deceiving
error: “not enough licenses”
2. The vpxa log file seemed to point to a vmID192 having problems with accessing datastore.
[2007-06-21 16:19:25.485 ‘App’ 84306864 warning] ============BEGIN FAILED METHOD CALL DUMP============
[2007-06-21 16:19:25.485 ‘App’ 84306864 warning] Invoking [GetConfig] on [vim.VirtualMachine:192]
[2007-06-21 16:19:25.485 ‘App’ 84306864 warning] Fault has an empty message
[2007-06-21 16:19:25.485 ‘App’ 84306864 warning] ============END FAILED METHOD CALL DUMP============
[2007-06-21 16:19:25.485 ‘App’ 84306864 error] [vm.GetConfig] Received exception in GetConfig: vmodl.fault.SystemError
[2007-06-21 16:19:28.803 ‘App’ 84306864 error] [VpxaVmprovUtil] Unable to lookup datastore EVA4000_VI3_VMFS6
[2007-06-21 16:19:28.803 ‘App’ 84306864 error] [vm.GetConfig] Received exception in GetConfigSnapshot: vim.fault.InvalidDatastorePath
[2007-06-21 16:19:28.950 ‘App’ 84306864 error] GetResult failed: not well-formed (invalid token)
[2007-06-21 16:19:28.950 ‘App’ 84306864 warning]
3. Looked at the vmInventory.xml file to find which VM that vmID belonged to.
4. Looked at the vmx file of this VM. One of the parameters SMBIOS.reflecthost had garbled information. Changed SMBIOS.reflecthost=TRUE
5. In order for the VM to take this value we did vmware-cmd Vmname setconfig SMBIOS.reflecthost=TURE.
6. Now we could add the host back into the VC server.]]>
quick way of setting up NTP on your ESX host.
You can just copy/paste the following lines:
esxcfg-firewall -e ntpClient
echo “server clock.redhat.com” >> /etc/ntp.conf
echo “clock.redhat.com” > /etc/ntp/step-tickers
/etc/init.d/ntpd restart
chkconfig ntpd on
Just replace clock.redhat.com with your NTP server. If you want more than one time server, just echo the lines more. Use >> for the step-tickers line to append rather than overwrite.
reset root password in mysql
DBS”
> I have a problem, It’s been months since I used MySQL and (I believe) I had
> set it up with a root password. Now I can’t log on to MySQL as root MySQL
> user and create a new user or manage an existing user (I can log onto server
Familiar situation.
Do so:
service mysql stop
wait until MySQL shuts down. Then run
mysqld_safe –skip-grant-tables &
then you will be able to login as root with no password.
mysql -uroot mysql
In MySQL command line prompt issue the following command:
UPDATE user SET password=PASSWORD(“abcd”) WHERE user=”root”;
FLUSH PRIVILEGES;
At this time your root password is reset to “abcd” and MySQL will now
know the privileges and you’ll be able to login with your new password:
mysql -uroot -pabcd mysql
How to get Linux to hot add scsi devices and use them
Taken from:
http://www-941.ibm.com/collaboration/wi … ageId=3625
Just run the command:
echo “- – -” > /sys/class/scsi_host/host0/scan
This should rescan the scsi bus.
do NOT use service network restart to change the vswif0 IP!
If you’re using HA, this will break! If you just edit the /etc/sysconfig files to change your vswif IP, it will work, but will break HA as it will still think you still have your old IP. You will need to use esxcfg-vswif and delete and recreate the vswif. Also make sure you fix /etc/hosts as well.
/etc/hosts and DNS is very damn important for VMware HA!
I really wish that AAM had better error messages. The error in the add_node_config or something log showed that it couldn’t bind to the port. The issue was that it couldn’t bind to the port on a different host! The reason was because DNS or /etc/hosts file had a different IP from what was vswif0. Make sure that your hostname resolves to your vswif0 IP!
Horde IMP – remove browser hop to http server header
/* $msg_headers->addReceivedHeader();
$msg_headers->addMessageIdHeader(); */]]>
How to configure HA failover custom settings on VI3
“FT_DIR=/opt/LGTOaam512/”
“FT_DOMAIN=vmware”
“export=FT_DIR FT_DOMAIN”
“cd /opt/LGTOaam512/bin”
“./ftcli”
Now you should see the AAM prompt AAM>
“AAM>getfailuredetectioninfo”
You will see something like this:
Heartbeat Interval: 1000
Heartbeat Timeout: 15000
Heartbeat Port: 8044
Multicast Address: 224.0.6.127
You can change the time out by:
“AAM> setfailuredetectiontime 10000”
To change this to 10 seconds
You need to do this on all the members of the HA cluster.
The failover should kicks in by default setting when one member of the HA cluster lost network or powered down Hope this helps]]>