Sample configurations

The following sample configurations are for HP Integrity virtual machine service groups:

Creating an Integrity virtual machine service group

The following is a high-level overview of creating an Integrity virtual machine service group.


Configuring the failover service group

Configure a failover service group. Perform the following steps:


Creating an HP virtual switch resource

Create and configure an HPVSwitch resource. Perform the following steps:


Creating the VMGuest resource

Create and configure the VMGuest resource. Perform the following steps:


Creating backing storage resources for the VMGuest resource

Create and configure the backing storage resources. Perform the following steps:

Service group with disk group as the backing store

include "types.cf"

cluster ivmclus (

)

system sysA (

system sysB (

)

group IVM (

SystemList = { sysA = 0, sysB = 1 }

)

DiskGroup dg (

DiskGroup = dg1

)

HPVSwitch pub0 (

VswitchName = pub0

)

HPVirtualMachine hpvm (

VMName = vcsivm1

)

NIC nic (

Device = lan0

)

Volume vol (

Volume = vol1

DiskGroup = dg1

)

pub0 requires nic

vm requires pub0

vm requires vol

vol requires dg

// resource dependency tree

//

// group IVM_OS

// {

// HPVirtualMachine hpvm

// {

// Volume vol

// {

// DiskGroup dg

// }

// HPVSwitch pub0

// {

// NIC nic

// }

// }

// }

Service group with raw disk as the backing store

include "types.cf"

cluster Test (

)

system SysA (

)

system SysB (

)

group g1 (

SystemList = { SysA = 0, SysB = 1 }

)

HPVSwitch vswitch (

VSwitchName = public0

)

HPVirtualMachine hpvm (

VMName = vmsharedhp

)

hpvm requires vswitch

Service group with an online VM guest migration feature

include "types.cf"

cluster ivmclus (

)

system sysA (

)

system sysB (

)

group IVM (

SystemList = { sysA = 0, sysB = 1 }

)

HPVirtualMachine hpvm (

VMName = vcsivm1

)