Unix:Implementing HORCM: Difference between revisions

From RoggeWiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(11 intermediate revisions by 2 users not shown)
Line 1: Line 1:
===Log===
=== Log ===
====Install====
==== Install ====
* cd /opt; mkdir HORCM
* cd /opt; mkdir HORCM
* cat sourceofsoftware | cpio -idum
* cat sourceofsoftware | cpio -idum
* cd /opt/HORCM; ls -l  Check the contents, some files should be there
* cd /opt/HORCM; ls -l  Check the contents, some files should be there
* ln -s /opt/HORCM /HORCM Create a link from root directory to /opt/HORCM  
* ln -s /opt/HORCM /HORCM Create a link from root directory to /opt/HORCM  
* /HORCM/horcminstall.sh  Run the install script. Symbolix links in /usr/bin to HORCM commands are created.
* /HORCM/horcminstall.sh  Run the install script. Symbolic links in /usr/bin to HORCM commands are created.
* Add the UDP services to the /etc/services file
* Add the UDP services to the /etc/services file


Line 11: Line 11:
*  
*  


===Summary===
=== Summary ===
*Install software
*Install software
*Update /etc/services with HORCM ports
*Update /etc/services with HORCM ports
*Create horcm instance configuration file
*Create horcm instance configuration file


===Files===
=== Commands ===
/etc
horcmshutdown
/HORCM
horcmstart
/HORCM/etc
horctakeover -g group -Iinstance
/HORCM/etc/horcm.conf
pairdisplay -g group -Iinstance
/opt/HORCM
pairmon
pairresync
pairsplit


====Hardcopies====
=== Files ===
/etc
/HORCM
/HORCM/etc
/HORCM/etc/horcm.conf
          /horcm10.conf
/opt/HORCM
 
==== Hardcopies ====


  genius-ptsmah02(root)# cd /opt/HORCM
  genius-ptsmah02(root)# cd /opt/HORCM
Line 37: Line 47:
  dr-xr-xr-x    3 root    sys            256 Oct 21 11:42 usr
  dr-xr-xr-x    3 root    sys            256 Oct 21 11:42 usr


  horcm010        11010/udp      #RaidManager instance 0
Added to /etc/services:<br>
  horcm110        11110/udp      #RaidManager instance 1
  horcm010        11010/udp      # RaidManager instance 0
  horcm110        11110/udp      # RaidManager instance 1




--------------
--------------
hdisk110 46
Genius vg ptsmah02dp01vg  270GB
hdisk111 110592
        vg ptsmah04db01vg  66GB
hdisk112 110592
        vg ptsmah04db02vg  66GB
hdisk113 110592
        vg ptsmah02db01vg  102GB
hdisk114 110592
        vg ptsmah02db02vg  102GB
hdisk115 110592
 
hdisk116 110592
Malchus vg ptsmah01dp01vg 266GB
hdisk117 110592
            ptsmah01db02vg 132GB
hdisk118 110592
            ptsmah01db01vg 127GB
hdisk119 36864
            ptsmah03db02vg  42GB
hdisk120 36864
            ptsmah03db01vg  42GB
hdisk121 36864
            ptsmah03dp01vg  38GB
hdisk122 36864
 
hdisk123 36864
Genius
hdisk124 36864
hdisk    size
hdisk125 36864
hdisk110 46     SMPL
hdisk126 36864
hdisk111 110592 PVOL
hdisk127
hdisk112 110592 PVOL
110592
hdisk113 110592 PVOL
hdisk128
hdisk114 110592 PVOL
110592
hdisk115 110592 PVOL
hdisk129
hdisk116 110592 PVOL
110592
hdisk117 110592 PVOL
hdisk130
hdisk118 110592 SMPL
110592
hdisk119 36864   SVOL
hdisk131
hdisk120 36864   SVOL
110592
hdisk121 36864   SVOL
hdisk122 36864   SVOL
hdisk123 36864   SVOL
hdisk124 36864   SVOL
hdisk125 36864   SVOL
hdisk126 36864   SVOL
hdisk127 110592 SVOL
hdisk128 110592 SVOL
hdisk129 110592 SVOL
hdisk130 110592
hdisk131 110592
 
=== Literature ===
[[Media:HP StorageWorks - XP RAID Manager User's Guide - 2009-06.pdf | HP StorageWorks - XP RAID Manager User's Guide]]
[[Category:Unix]]

Latest revision as of 09:42, 21 November 2018

Log

Install

  • cd /opt; mkdir HORCM
  • cat sourceofsoftware | cpio -idum
  • cd /opt/HORCM; ls -l Check the contents, some files should be there
  • ln -s /opt/HORCM /HORCM Create a link from root directory to /opt/HORCM
  • /HORCM/horcminstall.sh Run the install script. Symbolic links in /usr/bin to HORCM commands are created.
  • Add the UDP services to the /etc/services file
  • cp /HORCM/etc/horcm.conf /HORCM/etc/horcm{instance}.conf

Summary

  • Install software
  • Update /etc/services with HORCM ports
  • Create horcm instance configuration file

Commands

horcmshutdown horcmstart horctakeover -g group -Iinstance pairdisplay -g group -Iinstance pairmon pairresync pairsplit

Files

/etc
/HORCM
/HORCM/etc
/HORCM/etc/horcm.conf
          /horcm10.conf
/opt/HORCM

Hardcopies

genius-ptsmah02(root)# cd /opt/HORCM
genius-ptsmah02(root)# ls -l
total 16
drwxrwxr-x    2 root     sys             256 Oct 21 11:43 .uds
dr-xr-xr-x    2 root     sys             256 Oct 21 11:43 etc
-r-xr--r--    1 root     sys            1129 Feb 17 2009  horcminstall.sh
-r-xr--r--    1 root     sys             988 Feb 17 2009  horcmuninstall.sh
dr-xr-xr-x    4 root     sys             256 Oct 21 11:43 log
dr-xr-xr-x    4 root     sys             256 Oct 21 11:43 log0
dr-xr-xr-x    4 root     sys             256 Oct 21 11:43 log1
dr-xr-xr-x    3 root     sys             256 Oct 21 11:42 usr

Added to /etc/services:

horcm010        11010/udp       # RaidManager instance 0
horcm110        11110/udp       # RaidManager instance 1



Genius vg ptsmah02dp01vg  270GB
       vg ptsmah04db01vg   66GB
       vg ptsmah04db02vg   66GB
       vg ptsmah02db01vg  102GB
       vg ptsmah02db02vg  102GB
Malchus vg ptsmah01dp01vg 266GB
           ptsmah01db02vg 132GB
           ptsmah01db01vg 127GB
           ptsmah03db02vg  42GB
           ptsmah03db01vg  42GB
           ptsmah03dp01vg  38GB
Genius
hdisk    size
hdisk110 46      SMPL
hdisk111 110592  PVOL
hdisk112 110592  PVOL
hdisk113 110592  PVOL
hdisk114 110592  PVOL
hdisk115 110592  PVOL
hdisk116 110592  PVOL
hdisk117 110592  PVOL
hdisk118 110592  SMPL
hdisk119 36864   SVOL
hdisk120 36864   SVOL
hdisk121 36864   SVOL 
hdisk122 36864   SVOL
hdisk123 36864   SVOL
hdisk124 36864   SVOL 
hdisk125 36864   SVOL
hdisk126 36864   SVOL
hdisk127 110592  SVOL
hdisk128 110592  SVOL
hdisk129 110592  SVOL
hdisk130 110592
hdisk131 110592

Literature

HP StorageWorks - XP RAID Manager User's Guide