Skip to main content

How can you create mount points in solaris?

Steps:
=======
1, Take the Basic System information and Reboot the
system to recognize the new LUN
2, After the Rebooting the system check for new LUN or
run qlreconfig command and devfsadm
 # /opt/QLogic_Corporation/drvutil/qla2300/qlreconfig
 -d qla2300
3, Once the new Disk comes under OS control label the
disk using format menu
4, Check the disk visible in veritas control as invalid
5, Bring the disk into veritas control
 # vxdctl enable
6, Verify the new LUN information as Online in veritas
( In this stage it shows online invalid )
 # vxdisk -o alldgs list
7, Initialize the new LUNs in Veritas control
 # /etc/vx/bin/vxdisksetup -i c2t20d114
format=cdsdisk
 8, Again verify the New LUN information in
Veritas ( Now it shows as online status )
 # vxdisk -o alldgs list

FOR Example: BDMRP database
9, Create new DG called bdmrpdg using new LUN (206GB)
 # vxdg init bdmrpdg bdmrpdg_01=c2t20d114
 # vxdg -g bdmrpdg adddisk bdmrpdg_02=c#t#d#
10, Create New Volume for under new DG bdmrpdg
1, # vxassist -g bdmrpdg make vol01 10g
11, Create the File systems on new volumes
 # /usr/lib/fs/vxfs/mkfs -F
vxfs /dev/vx/rdsk/bdmrpdg/vol01
12, Check the new volumes status
 # vxprint -g bdmrpdg -ht
13, Create new directory for Mount points
 # cd /DB04
 # mkdir -p BDMRP/ORACLE/admin

14, Check the mount point
 # mount -F
vxfs /dev/vx/dsk/bdmrpdg/vol01 /DB04/BDMRP/ORACLE/admin

15, Umount the Mount point
 # umount /DB04/BDMRP/ORACLE/admin

16, take the backup and Update the /etc/vfstab file and
mount it again with the mount point
 /dev/vx/dsk/bdmrpdg/vol01 /dev/vx/rdsk/bdmrpdg/vol01
 /DB04/BDMRP/ORACLE/admin vxfs 3 yes -

 # mount /DB04/BDMRP/ORACLE/admin

17, Change the ownership to oracle:dba

Comments

Popular posts from this blog

Command for finding process using too much CPU

Command for finding process using too much CPU   Try doing this : top - b - n1 - c   And if you want the process that takes the most %CPU times : top - b - n1 - c | awk '/PID *USER/{print;getline;print}' or top - b - n1 - c | grep - A 2 '^$'       Or using a few other utils you could do: ps aux | sort - rk 3 , 3 | head - n 5   Change the value of head to get the number of processes you want to see.

User account Lock/Unlock / Disable and enable

User account Lock/Unlock / Disable and enable Ex - Username - testing Lock command =---------- passwd -l testing or usermod -L testing unlock command ================= passwd -u testing or usermod -U testing Disable and Enable ==================== The following will lock an account Code: passwd -l testing You could also change the users shell to /bin/false if you don't want them to log in Code: usermod -s /bin/false testing Enable the account usermod -s /bin/bash tesing

Veritas cluster Interview Questions-2

Please go through questions and answers. Let me know if you have any doubt by leaving comment. Adding and removing cluster node  Q-1 How to add a node in an existing cluster? Ans:    Adding a node into an existing cluster is a multi steps process. 1:       Set up the hardware Before adding a node to an existing cluster, node must be physically connected with the cluster.       1: Connect the VCS private Ethernet controllers       2: Connect the node to the shared storage 2:       Install the VCS software in the node           Install the VCS software and install the license. 3:       Configure LLT and GAB Create the LLT & GAB configuration files (/etc/llthosts, /etc/llttab and /etc/gabtab) in the new node and update the files on the existing node. 4:       Add the node to an existing cluster We have to perform below given tasks in any of the exi...