0

Netapp System Commands to check live performance

Posted by paris on Jul 1, 2015 in Random

Netapp has a Gui for DFM , however my experience of this is slow and clunky ( compared to a Nimble SAN ) and hard to find realtime slowdown causes at the SAN I/O level. Vcenter VOps is good for monitoring however it doesn’t have the needed intelligence to be that accurate. It purely guesstimate on unusual spikes and useage. Perfstats logging is the best metric however trying to keep a continual capture until the problem repeats itself is difficult.

Login to the NetApp via SSH and run below on each controller

 

sysstat -ux 1

Keep an eye on the Disk Usage Metric

If you see the disk usage over 80% you might want to drill down deeper to the volume or lun level to find out what’s causing it use :

 

stats show volume::total_ops
 
stats show lun::total_ops

VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.22_1171]
Rating: 0 (from 0 votes)

Tags: , , ,

 
0

Email in Outlook not showing up attachments but PaperClip Icon Shows

Posted by paris on Jun 25, 2015 in Random

A user was experiencing this issue. Forwarding the email back to the user and another user showed the attachment fine.

The attachment showed on mobile devices/webmail and also via a third party Outlook Attachment Add in

Looking at the headers of the email the Mime type was multipart/alternative this should be encoded to multipart/mixed

multipart/alternative is for sending text/html and text/plain versions of a message, and multipart/mixed is for adding attachments.

1) Speak to user sending mail to find out why emails are being sent as multipart/alternative

2) Create a hub transport rule to re-write multipart/alternative to multipart/mixed

VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.22_1171]
Rating: 0 (from 0 votes)

Tags: , , ,

 
0

Autotask with Task Fire Implementation

Posted by paris on Jun 23, 2015 in Random

taskfire_header_logoTickets for Client added via TaskFire not staying in Taskfire

 When creating a new ticket in TaskFire , the ticket defaults back to the MSP’s queue instead of the clients task fire queue. For cases where you using TaskFire as an onsite tickeing system and clients can then elevate problems for you , you will need to create the following Workflow to move the ticket back to the clients taskfire system

When a ticket is Created by “External Contact”

And the following conditions are met:

Company Name is = {Company}


Then perform the following updates:

Queue name = {Client Portal}

Actions:

Then transfer ticket to: Taskfire (if client has Taskfire enabled)

Complete Tickets not syncing between taskfire and autotask

When our client completes the ticket on their end, it does not change the status of the ticket within our Service Desk.

Go to Admin, Extension and Intergrations, Manage Clients, Manage Clients Tab, Choose the Client

Tick options :

i)Always set the Taskfire status to Complete when an escalated ticket is set to Complete by an Autotask resource.

ii)Always set the Autotask status to Complete when a ticket Transferred to Taskfire is set to Complete by the client.

Bulk Edit Tickets Delete/Modify/Notes/Assign

So if you had the problem above and now need to complete 100+ tickets how do you do this in bulk!

First you uncheck option 2 i) as to make sure when you close all the open tickets in the MSC window you don’t close all the taskfire tickets as well

Second add a Widget of Entity Tickets and Widget Type Grid

Select the Needed Primary Columns e.g. ticket ID

Add the Filters

Company = {Company}

Queue = {Client portal}

Status Not Equal To {Complete}

Once this is produced click on the See All at the bottom of the Widget

Here you can increase the Show 25 to 100 bottom Right

Now Choose 100 at a time and however over the top left row and you will be able to choose Forward/Modify Multiple

Choose Status to Complete

How to get a clients helpdesk going to TaskFire

Admin / Sevice Desk Tickets / Incoming Email Processing

Create a New Support Address e.g. [email protected]

Under ticket , Create a New Ticket and Put the Queue into Client Portal

Make sure the client is setup in a company in Autotask and either

1) Their web address is correct matching the sending email address

2) Contacts are setup for each user which will be assigned to them

Use Exchange Forwarding to forward emails from [email protected] to [email protected]

VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.22_1171]
Rating: 0 (from 0 votes)

Tags: , , , , , , ,

 
0

How to read Custom Version number of Word file in VBS

Posted by paris on Jun 22, 2015 in Code

 

set objShell = WScript.CreateObject("WScript.Shell") 
Set objFSO = CreateObject("Scripting.FileSystemObject")
appDataPath = objShell.ExpandEnvironmentStrings("%APPDATA%")
 
Set objWord = CreateObject("Word.Application")
objWord.Visible = False
 
Set objNormalTemplate = objWord.Documents.Open(appDataPath & "\Microsoft\Templates\Normal.Dotm")
normalTemplateVersion = GetVersionNumber(objNormalTemplate)
objNormalTemplate.Close
 
Set objSetupWordCitrix = objWord.Documents.Open(appDataPath & "\Word\Support\SetupWord.dotm")
setupWordCitrixVersion = GetVersionNumber(objSetupWordCitrix)
If normalTemplateVersion < setupWordCitrixVersion Then
objWord.Run "Main"
End If
objWord.Quit
End If
 
 
Function CDPExists(objDoc, cdpName)
Dim cdp
CDPExists = False
For Each cdp In objDoc.CustomDocumentProperties
If cdp.Name = cdpName Then
CDPExists = True
Exit Function
End If
Next
End Function
 
Function GetVersionNumber(objDoc)
lngVersionNumber = 0
If CDPExists(objDoc, "Version") Then
lngVersionNumber = CLng(objDoc.CustomDocumentProperties("Version").Value)
End If
GetVersionNumber = lngVersionNumber
End Function

 

VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.22_1171]
Rating: 0 (from 0 votes)

Tags: , , , , , , ,

 
0

The system administrator has set policies to prevent this installation

Posted by paris on Jun 17, 2015 in Random

fsfsdRecently on trying to install the ScreenPresso Commerical MSI the following error message showed up when trying to install

The system administrator has set policies to prevent this installation

Removing restrictions we had setup for installations we still had the issue. We then tried on a new machine not joined to the domain and it still had the issue. Turns out the file had been compiled or downloaded incorrectly which produced this!

VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.22_1171]
Rating: 0 (from 0 votes)

Tags: , , , ,

 
0

Check if a user has incorrect or missing Custom Attribute Value

Posted by paris on Jun 17, 2015 in Code

 

The following will check members in a group and make sure they have a custom attritbute value

# Connect to Exchange server and load Exchange powershell modules
. 'C:\Program Files\Microsoft\Exchange Server\V14\bin\RemoteExchange.ps1'
Connect-ExchangeServer -auto
 
Import-Module ActiveDirectory
 
$groupdn = (Get-ADGroup '#Group Name').DistinguishedName
 
$users = Get-ADUser -Filter {(memberof -eq $groupdn)}
 
foreach($user in $users){
 
#If user is not
if($user.name -ne "Users Name"){
 
#if the CustomAttrribte is Blank
if((Get-Mailbox -Identity $user.name | select -ExpandProperty CustomAttribute1) -eq {}) {
#if the CustomAttrribte is not equal to a value
#if((Get-Mailbox -Identity $user.name | select -ExpandProperty CustomAttribute1) -ne "value") {
#Show their name
 ($user.name) } } }

 

VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.22_1171]
Rating: 0 (from 0 votes)

Tags: , , , , , ,

 
0

Outlook Crashing on Copying and Pasting in Citrix

Posted by paris on Jun 16, 2015 in Random

Seems to be on Citrix 4.2 reciever as well :

  • On an affected client PC, run REGEDIT
  • Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Citrix\ICA Client\Engine\Configuration\Advanced\Modules\WFClient (64-bit PC assumed) – HKEY_LOCAL_MACHINE\SOFTWARE\Citrix\ICA Client\Engine\Configuration\Advanced\Modules\WFClient ( 32bit )
  • Create a new REG_SZ value and name it CbChainInterval
  • Open the newly created value and enter the value as 1000

The values accepted are from 0 to 2000 inclusive and is in milliseconds. I would suggest starting with a value of 500. If this doesn’t work then try with a lower value 400 and so on until resolution.

You need to note that detection of changes will take at least double the value addressed above.

VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.22_1171]
Rating: 0 (from 0 votes)

Tags: , , , , ,

 
0

Discovery Mailbox Search Exclude External Mail Export to PST

Posted by paris on Jun 15, 2015 in Research

This Exports a report of emails and also a copy of all the emails to a mailbox ( Disovery ) you can do this via the Web Based Gui : https://youwebmaildomain/ecp/?rfr=owa with the right user permissions

New-MailboxSearch -Name "WeekendOutage-Search" -StartDate "1/1/2009" -EndDate "12/31/2009" -SourceMailboxes "Amit Tank" -TargetMailbox "Discovery Search Mailbox" -SearchQuery '"Weekend" and "Outage"' -MessageTypes Email -IncludeUnsearchableItems -LogLevel Full

But you cannot exclude emails from specific domains from this discovery search .e.g only sent from Externally. You can exclude Generic Keywords using NOT in the -SearchQuery but its generic to the email like the search Query above.

The New-MailboxExportRequest Should be able to do this but it doesn’t , just exports everything probably because the operator is too specific and doesn’t suport -notlike :(

New-MailboxExportRequest -Mailbox "Discovery Search Mailbox" -contentfiler{sender -ne "*@internaldomain.com"} -Filepath \\samba\share\withexchangepermissions\file.pst

But we can actually just delete all the Internal Mail using Search Mailbox

 

Search-Mailbox -Identity "Discovery Search Mailbox" -searchquery 'From:"@internaldomain.com"' -DeleteContent

Now we can just export this to a PST

New-MailboxExportRequest -Mailbox "Discovery Search Mailbox" -Filepath \\samba\share\withexchangepermissions\file.pst
VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.22_1171]
Rating: 0 (from 0 votes)

Tags: , , , , , , , , ,

 
0

OwnCloud Setup Increase File Upload size from 512mb

Posted by paris on Jun 10, 2015 in Research

owncloudNB : Are you running a 32bit OS?

 

cat /etc/0s-release

If Pretty_Name = i586 it means you are, means your file size can only be 2Gigabytes which means you can only set your max filesizes below to 2000M (any more and you will get Unable to set upload directory)

Php.ini ( timeouts )

vi /etc/php5/apache5/php.ini

post_max_size = 2000M

upload-max-filesize = 2000M

max_execution_time = 300  

Increase File Upload Size
Go to /srv/www/htdocs/owncloud/ and edit .user.ini and  the .htaccess

upload_max_filesize=2000M
post_max_size=2000M

Restart Apache

systemctl restart apache2.service
VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.22_1171]
Rating: 0 (from 0 votes)

Tags: , , , , , , ,

 
0

Outlook 2010 Inline editing not working in Tasks

Posted by paris on Jun 9, 2015 in Random

Outlook tasks can be inline edited however only when the Outlook view is set to detailed per screen shot
inlineedittasks

VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.22_1171]
Rating: 0 (from 0 votes)

Tags: , , ,

Copyright © 2015 Welcome to Pariswells.com All rights reserved. Theme by Laptop Geek. Privacy Policy