How to configure root mirroring in veritas volume manager
Answers were Sorted based on User's Feedback
Answer / kanuparthi_sai
In cmd
#vxencap -c -g <diskgroup name> -s 1024 -f sliced d0=c0t0d0s0
#vxdisksetup -i c0t2d0s0
#vxdg -g <diskgroup name> adddisk <diskname>=c0t2d0s0
#vxmirror -g <diskgroup name> <mirrored disk name> <new
mirror diskname >
| Is This Answer Correct ? | 28 Yes | 6 No |
Answer / ratan
we have to take same size disk compare to root disk.
echo|format
attach a disk
vxscan disk
vxdctl mode enable
encapsulate the root disk
initialize the mirror disk
reboot the server
add the mirror disk to diskgroup
vxrootmir rootdisk mirrordisk
and boot the mirrordisk
| Is This Answer Correct ? | 19 Yes | 1 No |
Answer / mahender reddy
we have 2 ways to configure the root mirroring in veritas
1.use vxdisadm
2.vxencap (encpsulation the disk)
mostly we are using the vxencap because vxdiskadm is the
lenthy process
===================
PROCEDURE
===================
1.take the onther disk egual size of root disk
2.for example the 2 disks c1t0d0(root disk) and c1t2d0
3.encaplating the root disk
vxencap -c -f -g <diskgroupname> sliced d0=c1t0d0
4.reboot the server
reboot the server only modify the disk in vfstab and in
etcsysem
5.take the second disk under control of veritas
vxdisksetup -i c1t2do
vxdg -g <diskgroupname> adddisk c1t2d0
6.add the mirror disk to root disk
vxmirror -g <diskgroup name> c1t0d0 c1t2d0
| Is This Answer Correct ? | 6 Yes | 1 No |
Answer / rishi
fist of all slect all root mirrorinm in ceritas volume then
right click n take option of configuration
| Is This Answer Correct ? | 7 Yes | 22 No |
How will you rectify the root passwd in solaris
How to review IP as weel as port no in solaris?
how many zones can we create?
How to stop the process in Solaris?
How will compare 2 host patches
What r the daemons for DNS , Veritas, Apache,NFS Server & Client 4How can u configure two DHCP and Two DNS servers r there and u have 100's of users then 1st system takes which DHCP server and which DNS sever 5 what is the use of NIS how can u configure 6 what is the use RAID and which is the best(Solaris) 7 in RAID 5 and RAID 0+1 which u will preffer (Veritas)
3 Answers HCL, IBM, Tech Mahindra,
How to add a root dg?
What is uadmin and what does it do?
How to enable the telnet or ftp session for one host
How to unconfigure llt and gab
1. How do you replace a failed boot disk under meta in solaris? Step by step explanation? 2. How do you remove meta only for the root slice? remaining slices should run under meta? 3. what you would do if you want to replace a slice using metareplace option? 4. what is the significance of 51% state database replicas in SVM? 5. what are the common errors you find in Solaris Volume manager? 6. You have a boot disk under svm, the machine fails to boot and remains in ok prompt? what could be the possible reason? 7. metastat -p shows a metavolume needs replacement. Metavolume is a single way mirror only. Actually you find disk and metavolumes are ok and I/O is happening to the filesystems… how will you remove the metareplace message that comes out of metastat. 8. How to create a shared disk group in VxVM? 9. What is the difference between private and public regions in Veritas Volume manager? 10. what would you do if the private region of a particular disk group is full? What are the design considerations for the size of private region in Vxvm disk group? 11. How to replace a corrupt private region? in vxvm 3.5 and greater versions… 12. How would you convert a volume from gen to fsgen? why should you do that? 13. How can you unencapsulate a boot disk in VxVM? 14. How to identify multiple paths for a disk. 15. What is the difference between Vxdmp and EMC powerpath? 16. vxdisk -o alldgs list o/p shows some disk groups in braces… What does that signify? 17. what are the various layouts that are available in VxVM? 18.What is a layered volume? how to create it using vxmake? 19.How to quickly mirror a volume, if the volume is empty? 20. How to grow a volume? 21. What is the difference between failing and failed disks? 22. How to replace a failed disk in Veritas? 23. Plex is in a disabled state. How will you recover? what are the steps to follow? 24.what is the difference between detached and disassociate state of plexes? 25. Whats the boot process of VxVM? 26. Whats the difference between SVM and VxVM? What would you recommend to your clients? why? 27.What are the various clusters you have worked on? 28. Which cluster is better VCS or Sun cluster? 29. Compare and contrast VCS and Sun Cluster. 30.how will you start VCS service? What are the configuration files in VCS? 31. How would switch a service group? 32. How would you freeze a service group? 33. What is a Split brain scenario ?
in solaris performance tuning what fields we check with IOSTAT, VMSTAT and NETSTAT?