0

Change Owncloud Directory in OpenSuse

Posted by paris on May 2, 2016 in Research
You need to change /etc/apache2/default-server.conf
 
DocumentRoot “/srv/www/htdocs/owncloud”
systemctl stop apache2.service
systemctl start 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)

 
0

Inbound and Outbound 365 SMTP Filtering Mailguard

Posted by paris on Apr 20, 2016 in Research

What you need to do to enable Mailguard Filtering and Officemailguard 365

Login to 365 Portal 

Inbound Filter by IP

This forces all internal mail to only be accepted by 365 from Mailguard IP’s. Spammers start caching DNS records so even though you changed MX records they use old ones!

  • Exchange Administration 
  • Mailflow
  • Connectors

From Partner Organization
To Office 365
How do you want to identify the partner organization? Domain
Specify one or more sender domains: *
Reject email messages if they aren’t sent from within this IP address range ( IP Range from Mailguard )

203.21.125.32/32
69.16.202.203/32
174.36.235.195/32
69.16.202.216/32
50.23.246.238/32
50.23.252.166/32
108.168.255.216/32
108.168.255.217/32
203.21.125.33/32

Outbound Filter forcing SMTP relay

Make sure all Office 365 IP’s http://pastebin.com/6UZZcWPQ are in trusted networks

  • Exchange Administration 
  • Mailflow
  • Connectors

Only when I have a transport rule set up that redirects messages to this connector – Tick
Route email through these smart hosts : filter.riskca-1.mailguard.com.au
Always use Transport Layer Security (TLS) to secure the connection (recommended)

  • Exchange Administration 
  • Mailflow
  • Rules

Name : Relay Outbound through MailGuard
*Apply this rule if… – The Sender is Located … Inside the organization
*Do the following… : Use the following connector Name of Connector Above

SMTP SPF

Add this include to the TXT record for the outgoing domains

include:customer.mailguard.com

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

VM Phantom Snapshot Files Solarwinds ( False Positive )

Posted by paris on Mar 15, 2016 in Research

We can suggest some steps, which may help. Please stop Orion Collector Service and run following query on the Database Manager:

DELETE FROM VIM_Snapshots
DELETE FROM VIM_DiskFiles
DELETE FROM VIM_SnapshotDiskFileMapping

Start Orion Collector Service. Operation is safe and customer won’t loose any data (next poll will fill tables with correct data)

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

Cannot login to Veeam One Reporter ( Veeam One Business Reporter works )

Posted by paris on Feb 5, 2016 in Research

veeam_box_ONE[1]After installing Veeam One , login to Veeam One Business View worked , however Veeam One Reporter with the same login details came back with 

The specified username or password is not correct. Provide new credentials and try again.

After Checking the C:\Program Files\Common Files\Veeam\Veeam ONE Settings\VeeamOneSettings.exe and what the service was started as these where all correct.

I was using firefox to login , so I tried with Internet Explorer with the same details and it worked straight away!

***Update if this still doesn’t work

Log onto the server where Veeam ONE is installed.

Open Local Users and groups, ensure that the user in question is added only to the Veeam ONE administrators group.

Log off then log back on and attempt opening the monitor console.

 

 

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 restore PostgreSQL Database from Veeam backup without a Dump ( flat file )

Posted by paris on Jan 28, 2016 in Research

postgresql_1[1]Unzip your backup dir somewhere convenient where you have full read/write permission as your normal user account.

Assuming that the c:\users\myusername\desktop\postgresql folder contains the folders named bin, data, lib, etc:
 
Open a cmd shell
 
cd C:\ManageEngine\OpsManager\postgresql
 
bin\pg_ctl start -D C:\ManageEngine\OpsManager\postgresql\data
 
psql -U postgres -h127.0.0.1 -p13306 OpManagerDB
 
#for other Postgres DB you might not need to list the port/ip ( no -h -p )

If psql connects OK disconnect with the \q command then promptly make a dump of the database:
 
bin\pg_dump -Fc -U postgres -h127.0.0.1 -p13306 OpManagerDB -f mydb.dbbackup mydb

 

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

 
0

VMware LUN Path Selection Policy ( PSP )

Posted by paris on Jan 20, 2016 in Research

clip_image0024[1]When provisioning a new VMware host important things to configure

1) NTP Server
2) IP of Management with DNS Name
3) Portgroup Names
4) Syslog Server
5) SNMP Trap for monitoring
6) Renaming Local Datastore to something with the server name other than datastore1
7) Nic Teaming

Another thing that is also important to setup is the pass selection policy. Depending on the SAN Manufacturer they will tell you the recommended policy e.g. https://vstorage.wordpress.com/2013/03/28/optimising-vsphere-path-selection-for-nimble-storage/

1) Fixed
2) Round Robin
3) Recently used

Most of the time it will be Round Robin

This can be changed via Command Line

esxcli storage nmp satp set -s VMW_SATP_ALUA -P VMW_PSP_RR

or through the VMWare Client

Go to Configuration Tab on Host , go to Storage , Go to Properties of Datastore and click Manage Paths

When changed make sure no VM’s are on the host as this could disrupt them

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

Dell Compellent SC8000 CML Calculator

Posted by paris on Jan 14, 2016 in Research

SC8000[1]Calculator to work out disk space usage for a Dell Compellent SAN with SC8000 controllers based  on tiered Raid (Read and Write ) 

CML  Calculator

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

Reasons to Upgrade from 5.5 to vCentre 6 and Plan to Upgrade

Posted by paris on Jan 2, 2016 in Research
The benefits of this upgrade for the client are as follows:
·         Performance improvements in vCenter Server and vSphere Web Client http://www.vmware.com/files/pdf/techpaper/Whats-New-Perf-vSphere6.pdf
·         Better support of Microsoft Clustering (including vMotion of clustered VMs)http://kb.vmware.com/kb/1037959
·         Different security enhancements (host security, certificate management through centralized CA, etc.)https://www.vmware.com/files/pdf/vsphere/VMW-WP-vSPHR-Whats-New-6-0-PLTFRM.pdf
 
 
I would also highly recommend considering Enterprise Plus edition of vSphere for the client in the future, as it brings features that can further standardize and automate the system as follows:
·         Storage I/O control (SIOC) and IOPS reservationhttps://blogs.vmware.com/vsphere/2015/07/sioc-io-distribution-with-reservations-limits-part1.html
·         Cross-vCenter vMotion and Long Distance vMotionhttps://www.vmware.com/files/pdf/vsphere/VMW-WP-vSPHR-Whats-New-6-0-PLTFRM.pdf.
 
The process of upgrading to vSphere 6.0 consists of the following subsequent steps:
 
1.       Upgrading vCenter Server (3 days):
a.       Preparing vCenter 5.5 for upgrade
b.      Upgrading vSphere and vCenter licenses (requires access to the MyVMware portal)
c.       Migrating from SSO to PSC
d.      Upgrading vCenter
e.      Upgrading vSphere Update Manager
f.        Testing the new vCenter
 
2.       Installing ESXi on new hosts (3 days):
a.       Checking / configuring remote access to the servers (iLO)
b.      Updating firmware and BIOS to the latest versions
c.       Setting up the BIOS settings on the hosts
d.      Preparing image for auto-installation
e.      Performing installation
f.        Configuring the management network
 
3.       Configuring the hosts (2 days):
a.       Configuring networking on the hosts (best practices!)
b.      Configuring hosts for storage and attaching datastores (best practices!)
c.       Migrating VMs
 
4.       Upgrading VMs (work time depends on the company’s policy for the planned system outages):
a.       Scheduling VMware Tools upgrade
b.      Scheduling VM hardware upgrade
c.       Optimizing VMs according to the running applications and the best practices.
VN:F [1.9.22_1171]
Rating: 10.0/10 (1 vote cast)
VN:F [1.9.22_1171]
Rating: 0 (from 0 votes)

 
0

Parse Logs with Powershell

Posted by paris on Oct 30, 2015 in Research

Get-Content -Path “C:\Logs*” | Select-String -Pattern “nameofthingtofind”

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

 
0

Olympus System Configuration Program Retention XML

Posted by paris on Sep 25, 2015 in Research

Recently we had a task to update all the Finished folders in Olympus to remove old items old than 2 months. I tried to use the Group function of this software to deploy the settings however they weren’t taking. Instead of editing the individual users I wrote the following powershell to Edit each users XML configuration

$Files = Get-ChildItem \\folder\location
ForEach($file in $files) {
$xml = [xml](Get-Content $file.FullName)
$xml2 = $xml.Profile.TranscriptionInformation.FolderDesign.FolderList.Folder | Where-Object { $_.parent -eq '101' -and $_.type -eq '115'}
$xml2.Actions.Cleaning.fixed = [io.path]::GetFileNameWithoutExtension($file.Name)
$xml2.Actions.Cleaning.Enabled = '1'
$xml2.Actions.Cleaning.Period = '2'
$xml2.Actions.Cleaning.Unit = '1'
$xml2.Actions.Cleaning.Option = '2'
$xml.Save($file.FullName)
}
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 © 2016 Welcome to Pariswells.com All rights reserved. Theme by Laptop Geek. Privacy Policy