Operating System - HP-UX
1833050 Members
2747 Online
110049 Solutions
New Discussion

Some Thing to be done with VxVM

 
SOLVED
Go to solution
Girish_17
Regular Advisor

Some Thing to be done with VxVM

Hi All,
I am very much familiar with LVM but now i have been assigned some task to be done with VxVM.
I worked with LVM like creating VG,LV,FS,etc..
Also i have been doing mirroring, extending filesystems, stripping etc and etc.

Now i have do certain things with VxVM,.

I have got four disk in a shared storage attached to a two servers say A and B.

Both A and B see this devices as
/dev/rdsk/c2t0d0,1,2,3

Now i need to do following.

1. Create 2 Volume groups each with 2 disks.
2. Create 2 LV's in each Volume group say lv1 to lv4 so that each lv sits on one disk.
3. Now lv1 is to be mirrored on lv2 in VG1
4. Now in VG2 i don't need mirroring but the data to be stripped across the two disks.

Also how do i do export/import things and shared the said disk data reliably.

Loads of thanks to you all in advance.

I have been reading the doc but still greedy to have some ready made input to speed up things.

Regards,
Girish.

ps. i would appreciate if someone provides me the list of commands along with their sytax and their behaviour.
5 REPLIES 5
Alzhy
Honored Contributor

Re: Some Thing to be done with VxVM

First, If you want VxVM diskgroups (DG's as opposed to VG's) shareable at the same time between 2 servers -- you will need a cluster license so you'll have a CLuster Volume Manager and Filesystem -- or Veritas CLuster.

If what you're after is the ability to export on server A and import on Server B -- then yes you can do this and the process is called a diskgroup deport and import.

Your best avenue to quickly learn VxVM is to use the GUI -- called VEA (/opt/VRTS/bin/vea). In it, what ever GUI task you execute - you will see the corresponding Command Line execution via the "Tasks" Pain (properties of each task)..

If you're running VxVM 3.5m (as part of HP-UX11i) then you will need to still have a rootdg (which may or may not be your OS disks). Remember that LVM and VxVM can coexist.

Hakuna Matata.
Prashant Zanwar_4
Respected Contributor

Re: Some Thing to be done with VxVM

you have commands like

vxdiskadm ...this is a TUI, you can create a DG using this and add the desired disks under this DG.

Then to create volume

vxassist -g dgname make volname layout=mirror.. and also options you can provide disks in command line

vxassist INFO will give you help on this..

newfs -F vxfs -o options


You can also perferform the tasks using vmsa , this is a very good GUI tool..

PRASHANT

"Intellect distinguishes between the possible and the impossible; reason distinguishes between the sensible and the senseless. Even the possible can be senseless."
Sanjay_6
Honored Contributor
Solution

Re: Some Thing to be done with VxVM

Hi Girish,

If you have a hp support contract / warrantry linked to your itrc id, take a look at this section from the hp recovery handbook,

http://www2.itrc.hp.com/service/iv/docDisplay.do?docId=prodITRC/DE_SW_UX_swrec_EN_01_E/VxVM.pdf

This is the complete recovery doc.

http://www2.itrc.hp.com/service/iv/node.do?node=prod%2FWW_Start%2FN1%7C16&admit=-1335382922+1098718460367+28353475

Hope this helps.

regds
Girish_17
Regular Advisor

Re: Some Thing to be done with VxVM

Thanks a lot Nelson,Prashant and Sanjay for your replies and information provided.

Sanjay i don't have Support Agreement and therefore can't access the doc.

Anyway, still waiiting for some more inputs.
Sanjay_6
Honored Contributor

Re: Some Thing to be done with VxVM

Hi Girish,

Take a look at the docs on veritas support site,

http://support.veritas.com/menu_ddProduct_VOLUMEMAN.htm

Check for the hp-ux product platform,

Hope this helps.

Regds