cancel
Showing results for 
Search instead for 
Did you mean: 

verification

MIG31
Level 4

HAllo fellas I am i on the right direction and if you guys can advice on the next step fron here i will really appreciate, am i  formatting the filesystems and create mount points  using vxfs .and when shouls i link them

THANKS,

IN ADVANCE

 

root@system:scripts]# cd
[root@system:~]# /opt/VRTSvcs/bin/haconf -makerw
[root@system:~]# /opt/VRTSvcs/bin/hagrp-add appsGroup
bash: /opt/VRTSvcs/bin/hagrp-add: No such file or directory
[root@system:~]# /opt/VRTSvcs/bin/hagrp -add appsGroup
VCS NOTICE V-16-1-10136 Group added; populating SystemList and setting the Parallel attribute recommended before adding resources
[root@system:~]# /opt/VRTSvcs/bin/hagrp -modify appsGroup  systemlist system 1 system 2

[root@system:~]# /opt/VRTSvcs/bin/hagrp -autoenable appsGroup -sys system
[root@system:~]# /opt/VRTSvcs/bin/hares -add appsDG DiskGroup appsGroup
VCS NOTICE V-16-1-10242 Resource added. Enabled attribute must be set before agent monitors
[root@int013:~]# /opt/VRTSvcs/bin/hares -modify appsDG Enabled 1
[root@int013:~]# /opt/VRTSvcs/bin/hares -modify appsDG DiskGroup appsdg
[root@system:~]# /opt/VRTSvcs/bin/hares -modify appsDG StartVolumes 0
[root@system:~]# /opt/VRTSvcs/bin/haconf -dump -makero
[root@system:~]# /opt/VRTSvcs/bin/hares -add SysIP IP appsGroup
VCS WARNING V-16-1-11335 Configuration must be ReadWrite : Use haconf -makerw
[root@system:~]# /opt/VRTSvcs/bin/haconf -makerw
[root@system:~]# /opt/VRTSvcs/bin/hares -add SysIP IP appsGroup
VCS NOTICE V-16-1-10242 Resource added. Enabled attribute must be set before agent monitors
[root@system:~]# /opt/VRTSvcs/bin/hares -modify SysIP Device bond0:0
[root@system:~]# /opt/VRTSvcs/bin/hares -modify SysIP Address 10.152.179.8
[root@system:~]# /opt/VRTSvcs/bin/hares -modify SysIP Netmask 255.255.255.0
VCS WARNING V-16-1-10575 Attribute Netmask not defined
[root@system:~]# /opt/VRTSvcs/bin/hares -modify SysIP Critical 1
[root@system:~]# /opt/VRTSvcs/bin/hares -modify SysIP Enabled 1
[root@system:~]# /opt/VRTSvcs/bin/haconf -dump -makero
[root@system:~]# /opt/VRTSvcs/bin/hares -add SysNIC NIC appsGroup
VCS WARNING V-16-1-11335 Configuration must be ReadWrite : Use haconf -makerw
[root@system:~]# /opt/VRTSvcs/bin/haconf -makerw
[root@system:~]# /opt/VRTSvcs/bin/hares -add SysNIC NIC appsGroup
VCS NOTICE V-16-1-10242 Resource added. Enabled attribute must be set before agent monitors
[root@system:~]# /opt/VRTSvcs/bin/hares -modify SysNIC device bond0:0
VCS WARNING V-16-1-10575 Attribute device not defined
[root@system:~]# /opt/VRTSvcs/bin/hares -modify SysNIC Enabled 1
[root@system:~]# /opt/VRTSvcs/bin/hares -add VolGroup Volume appGroup
VCS WARNING V-16-1-10133 Group does not exist: appGroup
[root@system:~]# /opt/VRTSvcs/bin/hares -add VolGroup Volume appsGroup
VCS NOTICE V-16-1-10242 Resource added. Enabled attribute must be set before agent monitors
[root@system:~]# /opt/VRTSvcs/bin/hares -modify VolGroup Critical 1
[root@system:~]# /opt/VRTSvcs/bin/hares -modify VolGroup Volume volname
[root@system:~]# /opt/VRTSvcs/bin/hares -modify VolGroup DiskGroup appsdg
[root@system:~]# /opt/VRTSvcs/bin/hares -modify VolGroup Enabled 1
[root@system:~]#



[root@system:~]# /opt/VRTSvcs/bin/hares -modify VolGroup Critical 1
[root@system:~]# /opt/VRTSvcs/bin/hares -modify VolGroup Volume volname
[root@system:~]# /opt/VRTSvcs/bin/hares -modify VolGroup DiskGroup appsdg
[root@system:~]# /opt/VRTSvcs/bin/hares -modify VolGroup Enabled 1
[root@system:~]# /opt/VRTSvcs/bin/hares -add mntGroup Mount appsGroup
VCS NOTICE V-16-1-10242 Resource added. Enabled attribute must be set before agent monitors
[root@system:~]# /opt/VRTSvcs/bin/hares -modify mntGroup BlockDevice /dev/vx/dsk/appsdg/Volname
[root@system:~]# /opt/VRTSvcs/bin/hares -modify mntGroup MountPoint /mntpoint
VCS WARNING V-16-1-10575 Attribute Mountpoint not defined
[root@system:~]# /opt/VRTSvcs/bin/hares -modify mntGroup FSType vxfs
[root@system:~]# /opt/VRTSvcs/bin/hares -modify mntGroup Critical 1
[root@system:~]# /opt/VRTSvcs/bin/hares -modify mntGroup Enabled

 

mig31

1 ACCEPTED SOLUTION

Accepted Solutions

mikebounds
Level 6
Partner Accredited

You can link resouces anytime after you have create both resources and before you try to online the group with command:

hares -link mntGroup VolGroup
hares -link VolGroup appsDG

A few additional comments:

  1. Volume resources are not required unless your app is using raw volume, but you have normal filesystem so Volume resource is optional and not normally created
     
  2. Your naming convention is not good as mntGroup and VolGroup and resources not groups - appsGroup is the group, so if for instance your mount point is /data, then I would use something like data_mnt

Mike

View solution in original post

2 REPLIES 2

mikebounds
Level 6
Partner Accredited

You can link resouces anytime after you have create both resources and before you try to online the group with command:

hares -link mntGroup VolGroup
hares -link VolGroup appsDG

A few additional comments:

  1. Volume resources are not required unless your app is using raw volume, but you have normal filesystem so Volume resource is optional and not normally created
     
  2. Your naming convention is not good as mntGroup and VolGroup and resources not groups - appsGroup is the group, so if for instance your mount point is /data, then I would use something like data_mnt

Mike

MIG31
Level 4

Thanks Mike