Posts

Showing posts from 2023

Bassment

Room dimensions Brick wall: 4920 x 2350 Door wall: 3580 x 2350 Ceiling: 3580 x 4920 Diary dates Absolute Airflow booked for Wednesday 8th November to do first bit. Call if delayed. Told Mick, ready for rough-in 8th November. To buy Note: Pull bar and floor trim are in same aisle. Pull bar kit $39,  Aisle 77, Bay 19 Floor trim capper -  Aisle 77, Bay 17 Ozito multi tool $64 -  Aisle 11, Bay 10 / Aisle 11, Bay 4 Van day Get small stuff first. Batts Need 37.43 sqm total. Aisle 45, Bay 100 Door wall: 3.6 x 2.4 = 8.64 sqm. Brick wall: 4.8 x 2.4 = 11.52 sqm Ceiling: 3.6 x 4.8 = 17.27 sqm Potentials - still unsure, work out on the day. 2 x Earthwool R2.0 90 x 580 x 1160mm 21.5m² Insulation Wall Batt - 32 Pack. $121 each. Timber Door wall - Must be 90 mm. 8 x 2.4 verticals. 2 x 3.6 horizontals. Brick wall - Prefer 70 mm but can do 90 mm. 16 x 2.4 verticals. 6 x 2.4 horizontals. MDF 1 x 1200 x 2400 x 10 mm for cabinet thing/skirting. Plaster 10 x Shee

LocalApplication or ApplicationComponent?

This is always a nightmare. Look at the Citrix mp for example. I'll blog about this later.

Web monitoring alert priority

Image
Default web monitoring in SCOM is always a bit mysterious. When you create a web monitor there's nowhere to set the alert priority, only this option: To see the monitor, go to the  Authoring  pane and scope to  Web Application Availability Monitoring Test   and search for  Web Application Monitor . It alerts with  Medium  priority by default. Any web monitors you create use this same monitor (I think) and can be stored in different management packs. You can see overrides the usual way but to see where they are stored it's often easier to export all management packs that contain web monitors and look at the  Overrides  section in each one. To view health for web monitors, go to Monitoring > Application Monitoring > Web Application Availability Monitoring > Test State.

Baguettes

Makes 3 small baguettes. Takes 2 days. 🔒 Keep in mind things may vary depending on weather/season . You might need to wait longer in cooler months. Remember to flour flour flour, these things are super sticky. Ingredients 212 gm water 2 gm yeast (1/2 tsp) 282 gm flour 5 gm salt Method - Day 1 Time: 3-4 hours Add water and yeast to bowl and mix. Add flour then salt, coat salt with flour. Mix with spoon until combined, no dry spots. Lid on, rest 30 mins room temp. Spray hands and scraper with water and 10 bowl slaps. Shape into ball, lid on, rest 30 mins room temp. Do previous 2 steps another 3 times. Shape into ball, lid on, rest ~1 hour room temp. Fridge overnight. Method - Day 2 Time: 2 hours Scrape out the dough. Weigh and divide into 3, try and get into rectangle shape, rest 15 mins. Prepare couche and flour it well. Shape into baguette, place on couche seam side up. Flour tops of baguettes, cover and rest for 30 mins. Put baking stone on middle rack and crank to 250 C. Toward end

Croatian

Most of these translations are from Google translate. Alphabet I, He, She, Me, We... Numbers Days of the week Nouns Words Quiz Study Links Alphabet Letter Sounds Like A p a st B b at C ha ts Č ch alk Ć chur ch (softer) D d ay Dž fu dg e Đ sche d ule E l e t F f ilm G g ame H h eaven I i gloo J

"The handle is invalid." error in PowerShell ISE

If you're testing scripts using PowerShell ISE and writing events, be careful as you might see this error even though it works pasting the code in PowerShell or executing the .ps1 file: The handle is invalid. (Exception from HRESULT: 0x80070006 (E_HANDLE)) Don't know what causes it but it can be ignored.

Import data with SQL DTS package

Need to actually run through this and update notes. When I was testing my Commvault mp I had to constantly refresh data from a prod SQL table to my test SQL table. This is laborious and can be streamlined a bit using SQL DTS package. To create the DTS package just follow the wizard. I then created a file in C:\temp called _dummy_jobs.csv. Run this to import (update filename/path as needed). dtexec /F d:\mp\Anthony\DTS1.dtsx

Milk bread

Makes 1 loaf (big tin). Takes 1 day. It can be scaled. There is definitely a place for this loaf. It's in between Jack's white loaf and tangzhong, it's perfect if you want soft but not super soft. Ingredients 96 gm water 304 gm milk 8 gm yeast 512 gm flour 10 gm salt 38 gm butter Method Room temp butter (1 hour). Add flour, yeast and salt to bowl. Combine water and milk and warm to 35 C, add to bowl. Do squishy-squishy  10 mins. Add butter. Do squishy-squishy 5 mins. Do table slap 5 mins. Shape into ball and put back in bowl. Dough temp should be 25 C. Ferment until doubled (~2 hours). If cold put in oven with hot tray water. Do finger test. It shouldn't deflate. Flour bench, divide into 3 or 4 and roll into  loose  balls (don't flatten first) and rest 30 mins. Flour bench, rolling pin into usual pre-shape (oval, 2 folds). Rest 30 mins. Rolling pin again and  loosely  roll into loaf. Grease tin and add loaf. Ferment until dough nearly at top of pan (~2 hours). If c

Import csv into Cmdb

This article explains how to add records to a SQL table. Use this method whenever you need to do bulk updates. Steps Backup the  SCOMCmdb.dbo.Configuration table to a csv file Add new records to a csv file Import the csv file into the  SCOMCmdb.dbo.Configuration  table. WARNING: This will delete all existing data in the table. See error below before continuing. Backup data This can be done with a wizard in SSMS but it's quicker running a query. Run this query  select * from SCOMCmdb.dbo.Configuration order by class, name Right-click anywhere in the results and click Save Results As... and save it as a csv file. Add new records to csv file To avoid weirdness during the import, add the headers in if they are missing. Open the csv file in Excel and append new records to the end. Add any other info you want to the columns then save it.  You don't need headers. Import data In SSMS, right-click the  SCOMCmdb database and select  Tasks > Import Data... Select Flat File Source and s

IIS 7 management pack

This management pack for 2008 IIS is hard to find. If you need it, it's here .

Croissant

Image
Makes 12 or 8. Takes 2 days. 🔒 I usually make 8. You can make them smaller but they'll be harder to roll. 10 cm short edge x 30 cm long edge works  well. Ingredients General info Day 1 Make dough Day 2 Make butter block 3 lock-in 4 fold (offset book fold) Simple fold - (final fold) Cut triangles Final shaping Proofing Baking Notes Ingredients Quantity > 12 8 Water 300 gm (60% hyd) 150 gm (60% hyd) Yeast 10-12 gm 5 gm White flour 500 gm 250 gm Milk powder 10 gm 5 gm Salt 10 gm 5 gm Caster sugar 50 gm 25 gm Unsalted butter (dough) 100 gm 50 gm Unsalted butter (lamination) 250 gm 125 gm General info

Inside MSP files

I've had to look inside these for SCOM update rollup info. Just use 7-Zip. They often look like this: F_HealthService.dll.80B659D9_F758_4E7D_B4FA_E53FC737DCC9 Just rename them like so and you can get file properties: HealthService.dll.

Cevapcici

Makes more than enough for 1 meal for the 3 of us. Takes 2 days. Ingredients 500gm pork 350gm beef 150gm lamb 1 onion 4 garlic cloves 3/4 tsp bi carb soda (blue lid) 1/2 tbsp Vegeta or substitute 1 tsp salt 1 tsp ground black pepper 1/2 tsp smoked paprika 1/2 tsp plain paprika 1/2 cup bread crumbs (2 slices) 1 egg Day 1 Bread crumbs: bake on tray in oven for 30 mins @ 150c Finely chop onion and garlic in pull cord Grind dry rough stuff in pestle & mortar Take rings off and get mixing Divide up as needed Cover and fridge overnight or freeze Day 2 Get enough plates for the batch and oil them Shape tightly into cevapcici and put on plate When done, oil the top of the cevapcici then rotate each one to cover in oil If not using straight away put back in fridge Cook on a low heat, use a spatula and keep turning so they don't burn Notes 30/9/2023 Did a triple batch and flavour was OK but it was very difficult to mix in bowl. BBQ was hard too. I wouldn't do it again, just do double

Steamed veggies with cheese sauce

Veggie steam times First bring water to the boil. Potatoes (chopped smallish) - 20 mins. Carrots - 10 mins (10 mins). Broccoli - 8 mins (12 mins). Broccolini/Cauliflower - 6 mins (14 mins). Zucchini - 5 mins (15 mins). Cheese sauce Ingredients 20 gm butter. 1 Tbsp flour. 170 gm milk. 50 gm cheese. Method Takes about 15 mins. Melt butter. Add flour and mix. Add milk and stir until thick. Add cheese.

Garlic

Store notes on garlic. Good info https://www.diggers.com.au/blogs/learn/how-to-grow-garlic

Storing views in a sealed MP for web monitors

Image
If you use the built-in web availability monitors, you can store views for them in a sealed mp. You just need to add the right class to a group and off you go. Generally, the group will live in a  monitoring  mp that already exists. In this example I'll use my  VMware.WorkspaceOne.Monitoring  mp. Now we need to find this class we need. Run this to see the current web availability monitors. Note this matches  Authoring > Management Pack Templates > Web Application Availability Monitoring. get-scomclass -name Microsoft.SystemCenter.WebApplicationSolutions.SingleUrlTest | Get-SCOMClassInstance | sort displayname That's great but we need to see the Name/URL pair listed in each one so we can add them to a group. To see that run this: get-scomclass -name Microsoft.SystemCenter.WebApplicationTest.WebTest | Get-SCOMClassInstance | sort DisplayName For my purposes this is returned in DisplayName : AirWatch Web Console [Web Monitoring] Now just create a group and update the regex s

DNSCMD

Query DNS records from command prompt. Query A records dnscmd /enumrecords zone.name record_name_only dnscmd /enumrecords  zone.name FQDN. (notice trailing .) Query CNAME with detail dnscmd /enumrecords zone.name record_name  /detail

CPU monitoring

I disable CPU monitoring by default. If you ever need to temporarily enable it for testing or to identify issues, I've used these thresholds safely: Monitor name:  Total CPU Utilization Percentage Monitor target:  Windows Server 2012 Operating System or Windows Server 2016 and above Operating System Alert Priority:  Low Alert Severity:  Information CPU Percentage Utilizaton Threshold: 50 (or whatever you want) CPU Queue Length Threshold:  3 Interval seconds: 120 Number of Samples: 1 Notes If you need to enable this for a group of servers, it's often easier to create a non-sealed mp with a group and manually add the servers using Windows Computer class. You can kill the mp when done troubleshooting.

VMware PowerCLI

Rough notes on connecting to vcenters and getting vm info. Setup There's no order to this, you may need to run all of them or none of them. Get-Module -Name vmware* Import-Module -Name VMware.PowerCLI Get-VICommand Disconnect-VIServer I've had to use this on some servers, it's some weird cert issue, possible because it's not using ssl. Get-PowerCLIConfiguration Set-PowerCLIConfiguration -Scope User -InvalidCertificateAction warn Connect to VCenter server When it's looking good, try and connect to a vcenter: Connect-VIServer VcenterServer -User username -password password Shows which server you're connected to. | gm has interesting stuff. $global:DefaultVIServer Disconnect from VCenter server Disconnect-VIServer VcenterServer Get VMs If you're connecting to multiple vcenters and getting info, I think you need to disconnect from each one first, otherwise the vm count gets weird. (get-vm).count Get powered on VMs poweredoff is...aah yep. (Get-VM | where {$_.Pow

Monitor SQL without Run As accounts

Notes on using the health service SID to monitor SQL instead of Run As accounts. I had to do this for my Commvault mp because using Run As account/profile wasn't an option. I followed the article in the link below called SCOM 2016 doco . Appendix Links Kevin Holman article SCOM 2016 doco SQL Server 2016 doco

Commvault management pack

Image
Disclaimer Use this management pack at your own risk. I accept no responsibility if it causes damage. Intro A simple little management pack to monitor Commvault infrastructure. This management pack has a good example of using a Run As Account/Profile for a rule and a monitor using cookdown. Products Not applicable. Management pack components Type Name Class Commvault.Class.Service Discovery Commvault.Discovery.AllServices Discovery Commvault.Discovery.CommServes Discovery Commvault.Discovery.MediaAgents Group Commvault.Group.CommServes Group Commvault.Group.MediaAgents Monitor Commvault.Monitor.AllServices

Trellix management pack

Image
Disclaimer Use this management pack at your own risk. I accept no responsibility if it causes damage. Intro A simple little management pack to monitor Trellix infrastructure. Products Software versions used for testing: Product Version Trellix ePolicy Orchestrator 5.10.0 Trellix Agent Handler 5.10.0 Trellix Agent 5.7.8.262 5.7.6.251 5.6.3.157 5.5.0.447 Management pack components Type Name Class Trellix.Class.ePolicyOrchestrator Class Trellix.Class.AgentHandler Class Trellix.Class.Agent Discovery Trellix.Discovery.AgentHandlerRegistry Discovery Trellix.Discovery.AgentRegistry Discovery Trellix.Discovery.ePolicyOrchestratorRegistry Discovery Trellix.Discovery.Service Monitor Trellix.

Run As Profile error

Image
I had to use a Run As Account/Profile for my monitor Commvault.Monitor.BackupStatus  so it could access the commserv database. I created an account and when I went to hook up the profile I got this error: The mp was sealed and I had this line in it for the Run As profile: <SecureReferences> <SecureReference ID="Commvault.RunAsProfile.CommvaultDb" Accessibility=" Internal "/> </SecureReferences> The problem is the highlighted bit. I took a look at the  Microsoft.Windows.Cluster.Library mp and it had this: <SecureReferences> <SecureReference ID="Microsoft.Windows.Cluster.PrivilegedAccount" Accessibility=" Public " Context="System!System.Entity" /> </SecureReferences> I changed it to this, re-sealed and was able to save it: <SecureReferences> <SecureReference ID="Commvault.RunAsProfile.CommvaultDb" Accessibility=" Public "/> </SecureReferences>