Monday, September 22, 2008
VM Inventory with powershell
Problem with get-harddisk is that there is no default column for servername. Use the following powershell command to get the info for hdd w server name.
get-vm | select name, {$_.harddisks | % {$_.capacitykb}}
Friday, April 11, 2008
Blackberry Admin Links
Blackberry Admin Links
Here is a brief list of links for all those BES Admins out there.
Setup Disaster Recovery for the BlackBerry Enterprise Server (Domino)
Use BlackBerry Application Loader to install BlackBerry Device Software
Software Configurations
Update BlackBerry device software from a Shared computer:
Web Desktop Manager:
How to move from an MSDE database to a Microsoft SQL Server database
BlackBerry Enterprise Server All released versions (4.1.4 and earlier)
Policy Reference Guide (Version 15)
BlackBerry Enterprise Server Troubleshooting Tips
http://na.blackberry.com/eng/support/tips.jsp#tab_tab_server
Capacity Calculator 4.1.x (Domino)
BlackBerry Enterprise Server Resource Kit
http://na.blackberry.com/eng/support/server_resourcekit.jsp
Learn how to Use the BlackBerry Resource Kit (Webinar)
http://www.resourcecenter.blackberry.com/main.php?cp=0&page=details&eventSelected=303
Enable BlackBerry Smartphone PIN and SMS logging with BlackBerry Enterprise Server software version 4.1
What is a service book?
Checklist for upgrading BlackBerry Enterprise Server software version 4.0 to 4.1
Troubleshooting BlackBerry Enterprise Server Tips
http://na.blackberry.com/eng/support/tips.jsp#tab_tab_server
www.blackbery.com/go/certification
Handheld "101" presentations and Hints & Tips
Training, Webcasts, Podcasts, Vertical Market information, Case Studies
Thursday, April 3, 2008
VMWare Update Manager error: Metadata for patch missing
Reason: VirtualCenter is installed with a different http port number. For VMware Update Manager to work you will have to open up the firewall manually:
Solution: esxcfg-firewall -o 8080,tcp,out,UpdateManager
Change port number to the port Virtual Center server is using..
Friday, March 28, 2008
Hypervisor Finder
Q: What's the best way to tell what hypervisor type a VM is running?
A: The easiest way to figure out the underlying hypervisor of a VM is by querying its virtual MAC address. You can do this by running ipconfig /all when connected to any Windows VM.
Note: A mac address can be manually set by administrators in which case this solution would not work.Here are the OUIs of the major virtualization platforms:
- Microsoft: 00-03-FF
- SWsoft: 00-18-51
- Virtual Iron: 00-0F-4B
- VMware: 00-0C-29 and 00-50-56
- XenSource: 00-16-3E
Thursday, March 27, 2008
VMWare Power Shell
provides a core set of powershell cmdlets
for managing vi.
- Focuses on virtual machine lifecycle
eg: get-vm; new-vm; remove-vm; set-vm;
start-vm; stop-vm etc
- Core infrastructure management
eg: get-log; get-task etc
USAGE
First thing to do after launching powershell
with vm toolkit is to get connection to a
virtualcenter or esx server
Use get-viserver or get-vc/get-esx with the
address of virtuacenter or esx server
eg: get-viserver 1.2.3.4 you are then
prompted for username & password
Use without parameters and powershell will
prompt you for everything
After establishing session you are able to
use rest of the provided cmdlets.
Session information is stored in a
powershell variable $defaultviserver
Further cmdlet invocations will get their
server information from that variable unless
explicitly specified to use another server
BROWSE ENVIRONMENT
get-vm - To get all virtual machines on the
connected server
get-vmw web* or get-vm | where ($_.name -
like "web*") - To get all virtual machines
starting with the name "web"
get-folder webTier | get-vm - To get all
virtual machines under webTier folder
get-folder webtier | get-vm | where
(&_.pwerstate -ne "poweredon") | start-vm -
T start all virtual machines under webtier
flder that are nt currently powered on
WINDOWS 2008 GROUP POLICY TECHNIQUES
New Categories:
network access protection
device installation control
removable storage restrictions
power management
printer driver installation delegation
hybring hard disk
troubleshooting and diagnostics
user account control
Changes to existing categories
ipsec and firewall
ad-based printer deployment
taskbar and start menu
shell visualization
synchronization scheduling
customized help resources
Microsoft Spreadsheet listing all new and changed policy settings for windows 2008 can be found by searching vistagpsettings.xls @ microsoft.com
HOW 2008 Stores group settings
.adm file format is replaced with .admx format
admx offers benefits such as central-store management on domain controllers, multi-language support, and dynamic loading.
Vista and 2008 are required to read admx files.
You can obtain adm-to-admx migration tool from microsoft called ADMX Migrator
NETWORK ACCESS PROTECTION (NAP)
Lets administrators set conditions under which workstations are allowed to connect to the main network.
eg: laptop user turns off firewall over the weekend will not be granted access monday morning until the firewall is turned back on. Or NAP client will automatically turn the firewall back on without user intervention - called AUTO-REMEDIATION
NAP also provides for automatic redirection of 'unhealthy' clients to a separate subnet or subdomain where they could download security patches to bring themselves back into compliance.
system health policies can be enforced by dhcp running on windows 2008 for clients accessing the network locally and rras service for clients accessing network remotely.
3rd party antivirus software vendors are expected to create agents that can extend NAP to include rules for updated virus signatures
DEVICE INSTALLATION CONTROL
Allows admins to setup a driver store of known good/safe drivers any user is permitted to use and install.
REMOVABLE STORAGE RESTRICTIONS
To dny read access/write access or both to following device types:
cd/dvd; floppy; removable disks; tape drives; wpd devices; custom class (defined by device guid)
POWER MANAGEMENT
Allows control of power-management features of laptops
PRINTER DRIVER INSTALLATION DELEGATION
Frequently administrators need to keep users with administrative rights is due to printer driver instalaltion. Limited or standard users can not install printer drivers.
Windows 2008 you can delegate the ability for members of the Users group to install devices or particular setup class. (determined through guid)
Policy only works for signed device drivers. Unsigned drivers will still need to be insatlled by administrators