Posted in Windows Powershell | No Comment | 7,579 views | 30/11/2011 23:33
I’m happy to announce you my last product called PoSH Server. It’s an IIS alternative.
1. First, you should allow signed Powershell scripts:
2. Extract file to any directory you want.
3. Import start.ps1 file:
4. Start PoSH Server:
5. Follow to instructions.
Sample Web Site Preview:
Sample Log Output Preview:
It’s almost stable. I’ve added PHP 5.3.8 support but removed it due to unstable PHP performance. You can add PHP support if you need, that’s possible. It’s good to publish internal websites, should not be used for world wide website publishing. In large number of visitors, performance may be dramatically reduced.
Posted in Windows Powershell | No Comment | 5,227 views | 30/11/2011 20:57
You can’t run unsigned Powershell scripts on servers if execution policy is not set as “Unrestricted”. You need to sign your scripts to run without modifying security policies. If you are a software developer, signing your scripts makes you reliable publisher for users.
By providing assurance that software is produced and signed by a “known publisher”, the practice of code signing can increase customer trust and lead to increased conversions and downloads.
But wait, you can’t sign a Powershell script with a Web certificate. So basically 20$ certificate from AlphaSSL or similar won’t work. For Windows, you need to have Code Signing Certificate. I’ll talk about GlobalSign code signing certificate and code signing process.
If you are a individual developer (like me) you can go with that option. If you purchase individual developer certificate, you’ll get a certificate for your name (like Yusuf Ozturk). Let’s read it from GlobalSign:
Software Vendors and Organizations can digitally sign and timestamp the software they distribute over the Internet, ensuring that the end user knows the software is legitimate and has not been tampered with since being published.
Individual Developers, i.e. those developers not associated with larger organizations, can also buy and use Code Signing certificates. The full name of the developer is attached to the certificate, so customers will see the message “This software has been published by John Doe”.
So what you need to get a code signing certificate?
Posted in Virtual Machine Manager, Windows Server | No Comment | 6,698 views | 29/11/2011 23:11
If you have a Hyper-V cluster in a HP Server farm then you may face with low live migration performance. We realized that HP 300 series G6 and G7 servers shipping with energy saving mode. Let’s check that from HP website.
In the ProLiant 300-series G6 and G7 RBSU, the HP Power Profile defines three possible configurations of some of the power features identified earlier in this section. The HP Power Profile provides a simple mechanism for users to configure the power management options of their system based on their tolerance to power versus performance without having to individually configure each option.
There are three possible settings for the HP Power Profile: Maximum Performance; Balanced Power and Performance; and Minimum Power Usage. An additional Custom setting is simply any combination of user settings that do not match the pre-sets for the three categories listed below.
If you want to increase performance of live migration process, you need to disable c-states from BIOS. C-States has a huge impact on live migration. Since HP comes with Balanced Power and Performance mode, it also activates C6 state on BIOS. That’s reason of the issue. So changing HP Power Profile to “Maximum Performance“, you disable C-States from BIOS and get maximum performance from Live migration. As you see our servers can utilize 99% of bandwidth.
So it’s not a good thing to use “Balanced Power and Performance” on Virtualization. Get away from it :)
Posted in Virtual Machine Manager, Windows Powershell | No Comment | 6,610 views | 29/11/2011 22:54
You may get this error when you try to start maintenance mode on a Hyper-V host.
No suitable host is available for migrating the existing highly available virtual machines.
SCVMM can not live migrate virtual machines if a shared ISO file is attached. So that can pause maintenance mode if you choose live migration mode.
If you’re looking for a specific Hyper-V host called Host01:
Deattach shared ISO files from VMs and start maintenance mode again.
Posted in Virtual Machine Manager, Windows Powershell | 3 Comments | 8,795 views | 14/11/2011 11:18
You may get this error when you try to refresh virtual machine.
VMM cannot complete the WMI operation on server node01.yusufozturk.info because of error: [MSCluster_Resource.Name=”69598e3a-3567-4b40-b7d9-dd08ed1169df”] The cluster resource could not be found.
(The cluster resource could not be found (0x138F))
You should refresh cluster configuration to fix this issue. Go to one of the Cluster nodes.
After that, you can refresh Cluster and VM from SCVMM console. That should fix the issue.