Skip to content

Instantly share code, notes, and snippets.

View jayankandathil's full-sized avatar

Jayan Kandathil jayankandathil

View GitHub Profile
@jayankandathil
jayankandathil / aem_repo_check.sh
Created July 6, 2015 16:32
Script to Trigger Repository Check in AEM 6.0 and 6.1 CRX3
#!/bin/bash
# Bash script to run AEM 6.0 and 6.1 Repository Check
# Author : Jayan Kandathil
# Version : 0.1
# Last updated : July 6, 2015
# Instructions : Copy to CQ's /bin folder, make necessary changes, enable the execute bit and run
@jayankandathil
jayankandathil / cq_maintenance.sh
Last active September 27, 2016 14:31
Bash shell script to run Adobe CQ (Experience Manager) maintenance operations on Red Hat Enterprise Linux. Tested on RHEL 6.3 and 6.4
#!/bin/bash
# Bash script to run CQ daily maintenance operations, excluding TarPM Optimization and Tar Index Merge
# Author : Jayan Kandathil
# Version : 0.4
# Last updated : May 24, 2013
# Instructions : Copy to CQ's /bin folder, make necessary changes, enable the execute bit and run
#!/bin/bash
# Bash script to invoke CQ Backup using CURL
# Author : Jayan Kandathil
# Version : 0.4
# Last updated : May 24, 2013
# Instructions : Copy to CQ's /bin folder, make necessary changes, enable the execute bit and test
@jayankandathil
jayankandathil / start.bat
Last active January 12, 2017 08:55
Production-quality Windows start.bat for CQ 5.6.1 (Adobe Experience Manager) with JVM heap and garbage collection tuning - assumes the use of a 1.7 Oracle "HotSpot" JDK
@echo off
:: This script configures the start information for this server.
::
:: The following variables may be used to override the defaults.
:: For one-time overrides the variable can be set as part of the command-line; e.g.,
::
:: SET CQ_PORT=1234 & ./start.bat
::
setlocal
@jayankandathil
jayankandathil / start.sh
Last active February 9, 2017 02:06
Production-quality start script for CQ 5.6.1 (Adobe Experience Manager) with JVM heap and garbage collection tuning - assumes the use of a 1.7 Oracle "HotSpot" JDK
#!/bin/bash
#
# This script configures the start information for this server.
#
# The following variables may be used to override the defaults.
# For one-time overrides the variable can be set as part of the command-line; e.g.,
#
# % CQ_PORT=1234 ./start
#
@jayankandathil
jayankandathil / AzureResourceManagerLogin.ps1
Last active February 12, 2017 19:08
Windows PowerShell Script to Login to an Azure Subscription
# This PowerShell script assumes that your Azure subscription is integrated with your companny's SSO
# Trigger the SSO login dialog (a separate window will come up)
Login-AzureRmAccount
# Choose the subscription (account) you want to work with - you may have multiple subscriptions
Select-AzureRmSubscription -SubscriptionName your_subscription_name_here
# The line below is optional, if you already have a resource group defined along with a storage account
Set-AzureRmCurrentStorageAccount -ResourceGroupname "your_resourcegroup_name_here" -StorageAccountName "your_storageaccount_name_here"
@jayankandathil
jayankandathil / start.bat
Last active June 16, 2017 15:31
Adobe AEM 6.0 Windows start.bat for MongoDB (DEV environment)
@echo off
:: This script configures the start information for this server.
::
:: The following variables may be used to override the defaults.
:: For one-time overrides the variable can be set as part of the command-line; e.g.,
::
:: SET CQ_PORT=1234 & ./start.bat
::
setlocal
@jayankandathil
jayankandathil / mongod34.conf
Last active July 8, 2017 14:26
MongoDB 3.4 configuration on Windows for the WiredTiger storage engine for AEM 6.2 DEV environments
net:
http:
RESTInterfaceEnabled: true
enabled: true
port: 27017
processManagement:
pidFilePath: C:\Programs\MongoDB\Server\3.4\mongod.pid
storage:
engine: wiredTiger
dbPath: C:\Programs\MongoDB\Server\3.4\data
@jayankandathil
jayankandathil / mongoperf.conf.js
Created July 8, 2017 17:38
Configuration File for the MongoDB Disk Performance Assesssment Tool [mongoperf]
{
nThreads:4,
fileSizeMB:128,
sleepMicros:1,
mmf:false,
r:true,
w:true,
recSizeKB:8,
syncDelay:0
}
@jayankandathil
jayankandathil / mongod.conf
Created November 29, 2015 19:06
MongoDB 3.0 configuration on Windows for the WiredTiger storage engine for AEM 6.1 DEV environments
net:
http:
RESTInterfaceEnabled: true
enabled: true
port: 27017
processManagement:
pidFilePath: C:\Programs\MongoDB\Server\3.0\mongod.pid
storage:
engine: wiredTiger
dbPath: C:\Programs\MongoDB\Server\3.0\data