Trust Relationship Across forest in Active directory


Hi,

I hereby enclosing the procedure in step by step pdf format for implementing trust relationship across forest in Active directory…

Thanks

Trust relationship – Two different Forest

Advertisements

Citrix XenApp failed to connect to the Data Store


Recently ran in to an error where I couldn’t connect to any XenApp server using the AppCenter and I was getting the following errors within the system event log.

Event ID 3989
Citrix XenApp failed to connect to the Data Store. ODBC error while connecting to the database: 28000 -> [Microsoft][ODBC SQL Server Driver][SQL Server]Login failed. The login is from an untrusted domain and cannot be used with Windows authentication.

Event ID 3632
The server running Citrix XenApp failed to connect to the data store. Invalid database user name or password. Please make sure they are correct. If not, use DSMAINT CONFIG to change them.  Error: IMA_RESULT_ACCESS_DENIED  Indirect: 0  Server:   DSN file: C:\Program Files (x86)\Citrix\Independent Management Architecture\mf20.dsn
Solution:

To get round this issue (Not use the domain admin account!!!) run the following DSMAINT command and set the correct password for the administrator account.

DSMAINT CONFIG /user:domain\administrator /pwd:password

Hyper-V installation in Vsphere 5.1


To install Hyper-V in an Esx server, the following requirements to be done before the installation of Windows2012 OS.

Step-1:

If you are using vSphere 5 or greater then you need to modify the vmware config file on the ESXi host that will run the Hyper-V virtual machine. To edit this file, ssh to the server and vi /etc/config/vmware. Add the line vhv.allow = “TRUE” to the file and save it with “wq”.

Hyper-V cannot be installed-2

Step-2: In the .VMX config file, path /vmfs/volumes/datastores/VMfolder (HyperV-VM), adding these 4 lines:

mce.enable = "TRUE"
hypervisor.cpuid.v0 = "FALSE"
featMask.vm.hv.capable = "Min:1"
vhv.enable = "TRUE"

Alternatively, you should change the suffice guestOS line to
guestOS = "winhyperv" in the .vmx config file and save the file.

Now the Hyper-V VM can be successfully power on without any issues.

 

For more info : http://www.tinkertry.com/vmware-esxi-5-1-can-run-microsoft-hyper-v-server-2012-vms-nice/

 

 

Installation of Hyper-V Windows2012


When you install Hyper-V in windows 2012 in the add and remove roles you will get an error message “Hyper-V cannot be installed: A hypervisor is already running. Refer screen shot below.

 

Hyper-v-role-issue

 

 

 

 

 

 

 

Solution:

The first thing you need to do is to open and change the PowerShell execution policy scripts to RemoteSigned then run the following command to install the Hyper-V :

C:\> Get-ExcutionPolicy

c:\>Enable-WindowsOptionalFeature –Online -FeatureName Microsoft-Hyper-V –All -NoRestart

The above command installs only the hypervisor but does not install the administration tools, so you can manage the Hyper-V within the virtual machine you must install RSAT for Hyper-V to do this run the following command:

c:\> Install-WindowsFeature RSAT-Hyper-V-Tools -IncludeAllSubFeature

 

Now I suppose you want to create a cluster then you need to install the Cluster service,  run:

c:\>Install-WindowsFeature RSAT-Clustering -IncludeAllSubFeature

 

Optionally you can install Multipath I/O to enable multiple paths to the storage, if this is your case follow:

c:\>Install-WindowsFeature Multipath-IO

Then restart Computer

c:\>Restart-Computer

 

Windows2012 Hyper-V successfully installed.

Wmic command for memorychip


To identify physical memory usage and free dim slots available in a server or desktop wmic command plays a major role

Some of the examples are given below

Eg-1

wmic-1

 

 

 

Eg-2

wmic-2

 

 

For more info

Wmic memorychip

 

 

VCP – Cloud Certification


vcp-cloud

w – command in linux


W is a command in Linux which gives the system uptime, who command (No. of users in the session) and the average load the system.

It is interesting to see a single word (W) command gives more useful resources. Refer the screen shot below.

w-command