Use below command to set JAVA_HOME in windows
set JAVA_HOME="C:\Program Files\Java\jdk1.7.0_11"
Also we can set it under System Properties-Environment Variables as below
Use below command to set JAVA_HOME in windows
set JAVA_HOME="C:\Program Files\Java\jdk1.7.0_11"
Also we can set it under System Properties-Environment Variables as below
Pre-requisites
Install Outlook(MAPI Client) on Exchange Server
Create the Mail Box enabled user with full Exchange permission
Install the Exchange Mail Box IDA
You need to give the mail box enabled user created with full Exchange permission details to create a profile
Discover the mail box from the Commcell Console
Today I have noticed that 2 of my SAN paths are missing in the host, I logged in to my Clariion, checked the Host Connectivity status and found 2 of my initiators are under ~management storage group.
I went to Engineering mode by pressing Ctrl,Shft, and F12 and entering the password messner
Then Selected Hosts Tab from the propertied of my Storage Group, there Advanced menu was visible
On Advanced menu I noticed 2 initiators was unchecked. I checked all of them and clicked on OK.
After this all of my 4 paths were back to active.
This will be helpful for those wants to have direct root login locally and via SSH
Comment out the “CONSOLE=/dev/console” line in /etc/default/login.
Modify PermitRootLogin to yes in /etc/ssh/sshd_config
Remove “:type=role” from the root entry in /etc/user_attr
Remove highlighted part
Below are the basic hardening steps
1.Get rid of the test database, which is accessible to everyone.
mysql> drop database test;
2. Remove anonymous users
mysql> use mysql;
mysql> delete from db;
mysql> delete from user where not (host="localhost" and user="root");
mysql> flush privileges;
3. Change root Password
By default root password in empty
mysql> SET PASSWORD FOR root@localhost=PASSWORD(' New_Password');
4. Stop and Stat MySQL
Some times we need to import the clone or snapshot of SAN volume to the same host, in our case we have Production and Development DB instances on same server, we take the clone of Production DB Volume in the SAN Array and import it for Development instance running on same host.
We need to properly change the UUIDs of the associated volume group and physical volume of snapshot or cloned VG so that they can mount at same time on a host.
Follow below steps.
1. Present the snapshot or clone to your system
2. Scan the system to detect new volume
3. run multipath –ll and note the newly detected device (If you have enabled multipath)
4. run # vgimportclone.sh -n <vg_name> /dev/mapper/mpathx
Ex: vgimportclone.sh -n new_vg /dev/mpath/mpath7p1
5. Activate VG and mount file system as below:
# vgchange –ay new_vg
# mount /dev/mapper/new_vg-vol /New-DB-path
I was so confused when I had to remove a correct SAN disk(3PAR Storage) from Windows 2008 Server where I had 3 SAN LUNs presented to that server.
I have identified the correct drive letter using the LUN ID in following way.
Run diskpart.exe from command line
DISKPART> list disk
DISKPART> select disk <disk number>
DISKPART> detail disk
I am not sure whether there a better way to identify the san disk.