ChrisMiles
Members-
Posts
410 -
Joined
-
Last visited
Content Type
Forums
News
20th
EduGeek EDIT Conference
Blogs
Everything posted by ChrisMiles
-
No, a RAID controller would detect the bad sectors and mark the drive as failed. I's say the safest bet would be to either try taking the server offline and using gparted or something similar to try and clone the disk to another, or else run a full server backup and restore to a new disk. In future, I'd never run production services from unresilient storage
-
Open a command prompt and go to the directory where the folders are located (map a drive if you need to) and run the following command: for /D %d IN (*) DO icacls "%d" /inheritance:e Will apply to all folders in the current path, change * if you want to narrow it down. Edit: Assumes windows 7/2008
-
Dont need the infinite loop, NextEvent waits for the next event... Set objShell = CreateObject("Wscript.Shell") strComputer = "." Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2") Set colMonitoredProcesses = objWMIService. _ ExecNotificationQuery("Select * from __InstanceCreationEvent " _ & " Within 1 Where TargetInstance ISA 'Win32_Process' AND " & _ "TargetInstance.Name = 'Outlook.exe'") Set objProcess = colMonitoredProcesses.NextEvent objShell.Run "cscript.exe C:\Scripts\Test.vbs"
-
VBScript to run display changer command line from network share
ChrisMiles replied to a topic in Scripts
Startup scripts run too early in the login proces to change the resolution, put the link in the Startup folder in the start menu or the Run section of the registry instead.- 2 replies
-
- screen size
- server 2008 r2
-
(and 3 more)
Tagged with:
-
Thanks, didnt have an XP machine to hand to test, must have changed on win7
-
Try running the following command on one of the XP machines and see if you get a response: nslookup -type=srv _VLMCS Response should be something like: Server: dc1.domain.local Address: 10.2.3.4 avonbourne.local primary name server = dc1.domain.local responsible mail addr = hostmaster.domain.local serial = 489599 refresh = 900 (15 mins) retry = 600 (10 mins) expire = 86400 (1 day) default TTL = 900 (15 mins)
-
Devising a new backup plan for Virtualised servers
ChrisMiles replied to zag's topic in Windows Server 2008 R2
It depends what you want. If all you want to do is back up your VMs, veeam might be the best bet. If you want to do lots of other backups aswell as the OP did, then DPM is a better option than having several different solutions. And then there's the cost, licensing schemes etc. -
Devising a new backup plan for Virtualised servers
ChrisMiles replied to zag's topic in Windows Server 2008 R2
LOL sorry yeah i just meant of course in a nice way! Good to hear you can exclude drives in Veeam, wasnt sure on that. We did originally run Hyper-V and DPM 2010 back when 2008 R2 first came out, but we migrated to VMware over some concerns really about standardisation and supportability really. Not sorry either, Hyper-V worked well, but the hosts were a bit of a pain to rig up with an iscsi san at the time. Wouldnt mind having a look at the new version though. -
Devising a new backup plan for Virtualised servers
ChrisMiles replied to zag's topic in Windows Server 2008 R2
You're right on all counts ofc, you can't back up the VMs and restore them in a single click. DPM takes a system state backup from inside the servers. However, having had to restore a couple of servers from scratch (no data/config at all) in the past, I can say that the extra work is minimal. You just create a new VM, boot from the windows disk and restore the snapshot over the network. I wouldn't claim its better, but its very fast, easy to do and makes it possible to restore servers to hyper-v or physical machines if the need arised. Obviusly, there are negatives, you cant backup linux or unix servers for example, but it wasnt a problem for us. I believe another problem with veeam is you don't have much choice but to backup every disk on every server, which if you are also going to do a seperate file backup as stated in the OP, will require a ton of disk space. Veeam is really the best for backing up vmware vms though, but the lack of file/database level backups, the cost vs DPM on our school agreement and the incident rate of server restores vs individual file restores made us go with DPM. -
Anyone using vSphere for their servers in a school?
ChrisMiles replied to Awx's topic in Thin Client and Virtual Machines
I completely agree with mrbios, no offense intended here but the main negative with Raid 0 is it has absolutely no redundancy, so when a disk fails your webserver/media streaming etc will be down while you replace the disk, rebuild the array and restore a backup. For the cost of one extra disk you can negate that downtime with a 3 disk raid 5, and since you mentioned that you use raid 0 for applications where there is no write, and high performance read is required, raid 5 is essentially raid 0 with parity so although write will be slower, with a highly read-biased environment, a 3 disk raid 5 on a decent controller will outperform a 2 disk raid 0 anyway (not equal it as mrbios stated, because the parity is distributed across all disks and so is the data, unlike raid 3/4). Adding spindles to any raid is the primary way of increasing performance. Also, a 2 disk raid 0 has approx double the chance of failing in a given period of time than a single disk. Basically you should use Raid 5 or 6 for predominantly read based applications such as web servers and streaming servers or file severs in general, and raid 1 or 10 for applications where write performance is important, such as databases. Obviously you can use raid 50/60 etc for added redundancy/performance but as a basic guideline I cant see any justification for ever using Raid 0 in a production environment. Even if you can't afford a 3rd disk, on a decent controller, a Raid 1 array would perform better read performance than a single disk, since both disks can perform seperate reads simultaneously.- 32 replies
-
- virtualisation
- vmware
-
(and 1 more)
Tagged with:
-
Devising a new backup plan for Virtualised servers
ChrisMiles replied to zag's topic in Windows Server 2008 R2
I cant recommend DPM 2012 enough, we use it to backup our VMWare infrastructire, as well as sql databases, files, basically everything you listed. Veeam is good at backing up virtual servers, but item level restoration is more work than with conventional backups. DPM allows us to backup VM states every week but also do frequent file and database backups which can be restored almost instantly. -
Can I make a suggestion. Remove/disable your proxy GPO and make a new one, using GPP to apply the following registry changes: REPLACE - HKEY_CURRENT_USER - Software\Microsoft\Windows\CurrentVersion\Internet Settings - ProxyEnable - REG_DWORD - 0x1 REPLACE - HKEY_CURRENT_USER - Software\Microsoft\Windows\CurrentVersion\Internet Settings - ProxyServer - REG_SZ - "whatever proxy server address" REPLACE - HKEY_CURRENT_USER - Software\Microsoft\Windows\CurrentVersion\Internet Settings - ProxyOverride - REG_SZ - "" DELETE - HKEY_CURRENT_USER - Software\Microsoft\Windows\CurrentVersion\Internet Settings\Connections - DefaultConnectionSettings DELETE - HKEY_CURRENT_USER - Software\Microsoft\Windows\CurrentVersion\Internet Settings\Connections - SavedLegacySettings The two values that are deleted actually hold the real proxy/connection settings that are used. These will be automatically recreated. See if that works. Edit: Obviously, dont include the quotes with the string values.
-
Odd IE proxy problems when distributed by GPO...
ChrisMiles replied to cheredenine's topic in Windows
TBH I found the most effective way was to push out the registry settings using GPP. HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ProxyEnable - REG_DWORD - 0x0 (Disabled) / 0x1 (Enabled) HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ProxyServer - REG_SZ - proxy server address HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ProxyOverride - REG_SZ - -
[sims] SIMS Error 1606-6832-6700 does anyone know what this means
ChrisMiles replied to round2it's topic in MIS Systems
An InvalidOperationException thrown from System.Array.SorterObjectArray.SwapIfGreaterWithItems(Int32 a, Int32 b) most likely means that one of the values wasnt properly initialised (suspect inner NullReferenceException) or otherwise is a null value, ie the array of values contains a null suggesting that the data is corrupted (do any of your clients work??), a client/database version mismatch of some kind or a bug in the client or otherwise crappy error handling/checking (shock horror). Check the SQL client version/updates on the client too, make sure you also have the latest framework updates. -
can you ping both 44 and 45 addresses from your dns server? Is the dns settings in dhcp correct?
-
[sims] SIMS Error 1606-6832-6700 does anyone know what this means
ChrisMiles replied to round2it's topic in MIS Systems
The stack trace you posted doesnt include the error message so its kinda hard to suggest anything. -
I disagree with this actually, esx's file system has features which prevent any meaningful fragmentation, and given that the datastore will be distributed accross multiple disks in a structured and optimised way by any san, i find it hardly likely that random fragmentation on a guest partition would improve upon that. Plus the latest versions of esx use a 1MB block size in their datastore, which means that data is read in 1MB blocks regardless of the physcial block sizes. I would say that at worst it wont make any difference, but it could definitely still give performance gains. The only thing I would say is that a defrag operation would obviously taint any ssd or memory cache in your san which could potentially temporarily reduce the performance of a live system, but unless you system is running flat out I doubt anyone would notice.
-
Server 2008 RD Connection broker - preferred server
ChrisMiles replied to Lee_K_81's topic in Windows Server 2008 R2
I'd love to know how to do this but im 95% sure you can't do it. Clustered/Farmed rd host servers only work in that capacity. Although it seems like you connect to the broker and it sends you to a free host, thats not actually how it happens. You actually connect to a random host, it checks with the broker and either accepts your connection or forwards it to another host. THis means that even when you specify a specific host rather than the farm name, you have no guarantee of actually getting a login in on that server. I'm not sure what kind of license would allow you to install an application on a terminal server so unlimited users could run it at the same time but not on 2 servers though. -
Thanks all, yeah we do have 4 servers running 5.0.0 and vcenter on enterprise plus. I updated the latest build of 5.0.0 and that seems to have allowed it to install but its not working so well. Does it work perfectly on 5.1? Drivers and all?
-
Nevermind, rolled out the latest updates and its working now.
-
Has anyone got Server 2012 running on ESXi 5.0.0? I can't seem to get it to install properly, it just hangs with the new "whirly stick" on a black screen forever.
-
KMS activiated Windows/Office deployments do not have a re-arm limit. Only MAC/Retail activated deployments have that limit.
-
What he said. You REALLY should not do this though, it can cause all sorts of problems, the temp file having different permissions to the document is just one example. Create a folder for this document and set permissions on that or consider if the file is in the right place at all if it is mixed up with other files used by people who should not access it.
-
Exchange 2010 Distribution groups - NDR with 550. 5.7.1 error
ChrisMiles replied to MrWu's topic in Enterprise Software
Have you configured the groups to only allow delivery from certain groups to prevent students from sending mail to these staff groups? -
SELECT * FROM Win32_OperatingSystem WHERE (Version LIKE '6.1.%') AND (ProductType = 1)
