<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Problems to upload package in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-to-upload-package/m-p/3668520#M699503</link>
    <description>This looks like a modification may have been made to the file, and it has resulted in a character being left out or inserted where it should not.&lt;BR /&gt;&lt;BR /&gt;Examine the file closely.&lt;BR /&gt;For the record, why are you activating LVM groups in non-exclusive mode? This is not the correct method of activating shared VG's&lt;BR /&gt;&lt;BR /&gt;I also note that you are using package scripts for Serviceguard 11.13 which is no longer supported, you should consider upgrading to a supported version of Serviceguard if you have not already done so.&lt;BR /&gt;</description>
    <pubDate>Thu, 10 Nov 2005 04:17:51 GMT</pubDate>
    <dc:creator>melvyn burnard</dc:creator>
    <dc:date>2005-11-10T04:17:51Z</dc:date>
    <item>
      <title>Problems to upload package</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-to-upload-package/m-p/3668516#M699499</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;When I try to start a package on a cluster with 2 nodes HP-UX 11.11 I get this error from log:&lt;BR /&gt;&lt;BR /&gt;/etc/cmcluster/labgen/labgen.sh[180]: -g:  not found.&lt;BR /&gt;&lt;BR /&gt;I investigated a little bit and seems to be an issue with CVM disk group activation parameter.&lt;BR /&gt;&lt;BR /&gt;I activate volume group in non-exclusive mode (vgchange -a y) and CVM disk group in exclusivewrite mode (vxdg -g \$DiskGroup set activation=exclusivewrite).&lt;BR /&gt;&lt;BR /&gt;Are these options compatible?&lt;BR /&gt;&lt;BR /&gt;Thanks in advance,&lt;BR /&gt;&lt;BR /&gt;Carles&lt;BR /&gt;&lt;BR /&gt;PS: I attached script to load package&lt;BR /&gt;</description>
      <pubDate>Thu, 10 Nov 2005 03:44:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-to-upload-package/m-p/3668516#M699499</guid>
      <dc:creator>Carles Viaplana</dc:creator>
      <dc:date>2005-11-10T03:44:22Z</dc:date>
    </item>
    <item>
      <title>Re: Problems to upload package</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-to-upload-package/m-p/3668517#M699500</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;what there is write in line 180 of &lt;BR /&gt;&lt;BR /&gt;/etc/cmcluster/labgen/labgen.sh ?&lt;BR /&gt;&lt;BR /&gt;DM.</description>
      <pubDate>Thu, 10 Nov 2005 03:53:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-to-upload-package/m-p/3668517#M699500</guid>
      <dc:creator>mirco_1</dc:creator>
      <dc:date>2005-11-10T03:53:44Z</dc:date>
    </item>
    <item>
      <title>Re: Problems to upload package</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-to-upload-package/m-p/3668518#M699501</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Our you working with LVM or VxVM (veritas volume Manager?)&lt;BR /&gt;&lt;BR /&gt;Is also an activation of the LVM volumegroup?</description>
      <pubDate>Thu, 10 Nov 2005 04:01:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-to-upload-package/m-p/3668518#M699501</guid>
      <dc:creator>Luk Vandenbussche</dc:creator>
      <dc:date>2005-11-10T04:01:13Z</dc:date>
    </item>
    <item>
      <title>Re: Problems to upload package</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-to-upload-package/m-p/3668519#M699502</link>
      <description>do you have a combination og LVM and VxVM??&lt;BR /&gt;One volume group you activate with vgchange while other with vxdg.</description>
      <pubDate>Thu, 10 Nov 2005 04:02:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-to-upload-package/m-p/3668519#M699502</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2005-11-10T04:02:10Z</dc:date>
    </item>
    <item>
      <title>Re: Problems to upload package</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-to-upload-package/m-p/3668520#M699503</link>
      <description>This looks like a modification may have been made to the file, and it has resulted in a character being left out or inserted where it should not.&lt;BR /&gt;&lt;BR /&gt;Examine the file closely.&lt;BR /&gt;For the record, why are you activating LVM groups in non-exclusive mode? This is not the correct method of activating shared VG's&lt;BR /&gt;&lt;BR /&gt;I also note that you are using package scripts for Serviceguard 11.13 which is no longer supported, you should consider upgrading to a supported version of Serviceguard if you have not already done so.&lt;BR /&gt;</description>
      <pubDate>Thu, 10 Nov 2005 04:17:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-to-upload-package/m-p/3668520#M699503</guid>
      <dc:creator>melvyn burnard</dc:creator>
      <dc:date>2005-11-10T04:17:51Z</dc:date>
    </item>
    <item>
      <title>Re: Problems to upload package</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-to-upload-package/m-p/3668521#M699504</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;Thanks to all for your comments.&lt;BR /&gt;&lt;BR /&gt;We use VxVM only and we activate LVM groups in non-exclusive mode as we can't activate them with usual command "vgchange -a e", even manually.&lt;BR /&gt;&lt;BR /&gt;Should I modify something at cluster configuration level?&lt;BR /&gt;&lt;BR /&gt;Thanks!&lt;BR /&gt;&lt;BR /&gt;Carles</description>
      <pubDate>Thu, 10 Nov 2005 06:37:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-to-upload-package/m-p/3668521#M699504</guid>
      <dc:creator>Carles Viaplana</dc:creator>
      <dc:date>2005-11-10T06:37:43Z</dc:date>
    </item>
    <item>
      <title>Re: Problems to upload package</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-to-upload-package/m-p/3668522#M699505</link>
      <description>The top of the script that you provided shows that the script was originally generated when the server was loaded with Serviceguard version A.11.13&lt;BR /&gt;&lt;BR /&gt;The VGCHANGE parameters permissible are:&lt;BR /&gt;&lt;BR /&gt;# VGCHANGE="vgchange -a e -q n"&lt;BR /&gt;# VGCHANGE="vgchange -a e -q n -s"&lt;BR /&gt;# VGCHANGE="vgchange -a e"  # Default&lt;BR /&gt;&lt;BR /&gt;Your script shows this:&lt;BR /&gt;VGCHANGE="vgchange -a y"  &amp;lt;&amp;lt;-- NOT SUPPORTED&lt;BR /&gt;Serviceguard requires LVM VGs to be activated in "exclusive" mode to protect data.&lt;BR /&gt;'vgdisplay' reports the activation mode in the Status field.  (If you don't see "exclusive", the VG activates in normal mode)&lt;BR /&gt;&lt;BR /&gt;The script also shows that this VG is being activated:&lt;BR /&gt;VG[0]="/dev/vglabccs"&lt;BR /&gt;&lt;BR /&gt;It also lists no VxVM disk groups or CVM shared disk groups:&lt;BR /&gt;&lt;BR /&gt;#CVM_DG[0]=""&lt;BR /&gt;#VXVM_DG[0]=""&lt;BR /&gt;&lt;BR /&gt;The default CVM_ACTIVATION_CMD line looks like:&lt;BR /&gt;&lt;BR /&gt;CVM_ACTIVATION_CMD="vxdg -g \$DiskGroup set activation=exclusivewrite"&lt;BR /&gt;&lt;BR /&gt;This is the same as the line in the script you provided, so it should be safe.&lt;BR /&gt;&lt;BR /&gt;I suggest that you create a new template file: "cmmakepkg -s cntl" and diff it with your script, to see if any functions in the script were modified.  They should not be (other than customer_defined_run_cmds and ..halt_cmds)</description>
      <pubDate>Thu, 10 Nov 2005 08:42:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-to-upload-package/m-p/3668522#M699505</guid>
      <dc:creator>Stephen Doud</dc:creator>
      <dc:date>2005-11-10T08:42:55Z</dc:date>
    </item>
    <item>
      <title>Re: Problems to upload package</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-to-upload-package/m-p/3668523#M699506</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;Thanks for your message.&lt;BR /&gt;&lt;BR /&gt;I generated new template file and there're no differences beetwen my script and generated template.&lt;BR /&gt;&lt;BR /&gt;BTW, I checked cluster.conf file and all used volumes by running packages are defined there:&lt;BR /&gt;&lt;BR /&gt;[...]&lt;BR /&gt;# List of cluster aware LVM Volume Groups. These volume groups will&lt;BR /&gt;# be used by package applications via the vgchange -a e command.&lt;BR /&gt;# Neither CVM or VxVM Disk Groups should be used here.&lt;BR /&gt;# For example:&lt;BR /&gt;# VOLUME_GROUP          /dev/vgdatabase&lt;BR /&gt;# VOLUME_GROUP          /dev/vg02&lt;BR /&gt;&lt;BR /&gt;VOLUME_GROUP            /dev/vgin1&lt;BR /&gt;VOLUME_GROUP            /dev/vgin2&lt;BR /&gt;VOLUME_GROUP            /dev/vgfa2&lt;BR /&gt;VOLUME_GROUP            /dev/vgfa1&lt;BR /&gt;VOLUME_GROUP            /dev/vgrman&lt;BR /&gt;VOLUME_GROUP            /dev/vglab&lt;BR /&gt;&lt;BR /&gt;Should I define volume used by my new package labgen? I case I do, how should I do the update?&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Carles&lt;BR /&gt;</description>
      <pubDate>Thu, 10 Nov 2005 09:37:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-to-upload-package/m-p/3668523#M699506</guid>
      <dc:creator>Carles Viaplana</dc:creator>
      <dc:date>2005-11-10T09:37:33Z</dc:date>
    </item>
    <item>
      <title>Re: Problems to upload package</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-to-upload-package/m-p/3668524#M699507</link>
      <description>Have you marked the VG's to be cluster aware?&lt;BR /&gt;vgchange -c y vg&lt;XX&gt;&lt;BR /&gt;&lt;BR /&gt;You can test your control script by doing:&lt;BR /&gt;cd /etc/cmcluster/labgen&lt;BR /&gt;sh -n labgen.sh&lt;BR /&gt;&lt;BR /&gt;As I mentioned earlier, SG 11.13 is out of suport, and you should look at updating to a supported version.&lt;/XX&gt;</description>
      <pubDate>Thu, 10 Nov 2005 20:27:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-to-upload-package/m-p/3668524#M699507</guid>
      <dc:creator>melvyn burnard</dc:creator>
      <dc:date>2005-11-10T20:27:43Z</dc:date>
    </item>
    <item>
      <title>Re: Problems to upload package</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-to-upload-package/m-p/3668525#M699508</link>
      <description>Line 180 of your script contains this:&lt;BR /&gt;# VXVOL="vxvol -g \$DiskGroup -o bg startall" and comment out the default.&lt;BR /&gt;&lt;BR /&gt;It is commented out, so I'm surprised the script rejects it.&lt;BR /&gt;&lt;BR /&gt;As Melvyn stated, use 'sh -n &amp;lt;script name&amp;gt;' to test the script syntax.&lt;BR /&gt;&lt;BR /&gt;I ran it on your script and got this:&lt;BR /&gt;$ sh -n suscript&lt;BR /&gt;suscript[475]: Syntax error at line 476 : `fi' is not expected.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I created a fresh 11.16 script and ran the command:&lt;BR /&gt;# sh -n pkg.cntl&lt;BR /&gt;#  &lt;NOTHING resulted="no" problems=""&gt;&lt;BR /&gt;&lt;BR /&gt;Try sh -n on an untouched script.  It should pass syntax checks.   If not, shell parsing may be modified.... LANG parameter set?&lt;/NOTHING&gt;</description>
      <pubDate>Fri, 11 Nov 2005 09:19:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-to-upload-package/m-p/3668525#M699508</guid>
      <dc:creator>Stephen Doud</dc:creator>
      <dc:date>2005-11-11T09:19:56Z</dc:date>
    </item>
    <item>
      <title>Re: Problems to upload package</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-to-upload-package/m-p/3668526#M699509</link>
      <description>Hi all,&lt;BR /&gt;&lt;BR /&gt;Sorry for replay in my reply, but we had some problems in other environments and I wasn't able.&lt;BR /&gt;&lt;BR /&gt;In fact, I executed sh -n script and I got this error:&lt;BR /&gt;&lt;BR /&gt;# sh -n labgen.sh&lt;BR /&gt;labgen.sh[440]: VGS: The specified subscript cannot be greater than 1024.&lt;BR /&gt;#&lt;BR /&gt;&lt;BR /&gt;I checked file permissions and all is ok:&lt;BR /&gt;&lt;BR /&gt;# ll&lt;BR /&gt;total 160&lt;BR /&gt;-rw-r-----   1 root       sys          12604 Nov  9 22:03 labgen.config&lt;BR /&gt;-rwx------   1 root       sys          50766 Nov 10 15:17 labgen.sh&lt;BR /&gt;-rw-rw-rw-   1 root       root          1026 Nov 10 15:18 labgen.sh.log&lt;BR /&gt;#&lt;BR /&gt;&lt;BR /&gt;Thanks in advance for your help!&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Carles</description>
      <pubDate>Mon, 14 Nov 2005 07:18:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-to-upload-package/m-p/3668526#M699509</guid>
      <dc:creator>Carles Viaplana</dc:creator>
      <dc:date>2005-11-14T07:18:08Z</dc:date>
    </item>
    <item>
      <title>Re: Problems to upload package</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-to-upload-package/m-p/3668527#M699510</link>
      <description>Hello again,&lt;BR /&gt;&lt;BR /&gt;I edited cluster.conf file adding volume I use on my new package:&lt;BR /&gt;&lt;BR /&gt;[...]&lt;BR /&gt;# List of cluster aware LVM Volume Groups. These volume groups will&lt;BR /&gt;# be used by package applications via the vgchange -a e command.&lt;BR /&gt;# Neither CVM or VxVM Disk Groups should be used here.&lt;BR /&gt;# For example:&lt;BR /&gt;# VOLUME_GROUP /dev/vgdatabase&lt;BR /&gt;# VOLUME_GROUP /dev/vg02&lt;BR /&gt;&lt;BR /&gt;VOLUME_GROUP /dev/vgin1&lt;BR /&gt;VOLUME_GROUP /dev/vgin2&lt;BR /&gt;VOLUME_GROUP /dev/vgfa2&lt;BR /&gt;VOLUME_GROUP /dev/vgfa1&lt;BR /&gt;VOLUME_GROUP /dev/vgrman&lt;BR /&gt;VOLUME_GROUP /dev/vglab&lt;BR /&gt;VOLUME_GROUP /dev/labcss&lt;BR /&gt;&lt;BR /&gt;Does this change help to sove issue?&lt;BR /&gt;If I execute cmapplyconf, will it stop cluster?&lt;BR /&gt;&lt;BR /&gt;Thanks in advance for your help.&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Carles</description>
      <pubDate>Tue, 15 Nov 2005 06:28:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-to-upload-package/m-p/3668527#M699510</guid>
      <dc:creator>Carles Viaplana</dc:creator>
      <dc:date>2005-11-15T06:28:49Z</dc:date>
    </item>
    <item>
      <title>Re: Problems to upload package</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-to-upload-package/m-p/3668528#M699511</link>
      <description>There are 2 ways to add a VG to the cluster.  Both require an entry in the cluster configuration file as the first step.&lt;BR /&gt;The second step is to either run cmapplyconf on the file, or use "vgchange -c y &lt;VGNAME&gt;" to mark the cluster ID and activation mode on the VG.&lt;BR /&gt;&lt;BR /&gt;The message that you reported earlier: "specified subscript cannot be greater than 1024" - is resolved by a cumulative patch to sh-posix:&lt;BR /&gt;&lt;BR /&gt;11.10: PHCO_28831&lt;BR /&gt;11.11: PHCO_33375&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/VGNAME&gt;</description>
      <pubDate>Tue, 15 Nov 2005 08:38:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-to-upload-package/m-p/3668528#M699511</guid>
      <dc:creator>Stephen Doud</dc:creator>
      <dc:date>2005-11-15T08:38:31Z</dc:date>
    </item>
    <item>
      <title>Re: Problems to upload package</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-to-upload-package/m-p/3668529#M699512</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;vg is already active and cluster config file already modified too.&lt;BR /&gt;&lt;BR /&gt;Now I've some questions:&lt;BR /&gt;&lt;BR /&gt;- Will cmapplyconf command stop cluster?&lt;BR /&gt;- Do you think this is the cause of reported error (/etc/cmcluster/labgen/labgen.sh[180]: -g: not found)?&lt;BR /&gt;&lt;BR /&gt;Thanks in advance for your help.&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Carles&lt;BR /&gt;</description>
      <pubDate>Thu, 17 Nov 2005 13:01:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-to-upload-package/m-p/3668529#M699512</guid>
      <dc:creator>Carles Viaplana</dc:creator>
      <dc:date>2005-11-17T13:01:01Z</dc:date>
    </item>
    <item>
      <title>Re: Problems to upload package</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-to-upload-package/m-p/3668530#M699513</link>
      <description>You can add or remove a VG via the cluster configuration file and a cmapplyconf while the cluster is running.&lt;BR /&gt;This is not the cause of the error you are seeing in the package control script.  &lt;BR /&gt;With the package down, try running the script manually and see what happens:&lt;BR /&gt;/etc/cmcluster/&lt;PKG dir=""&gt;/&lt;PKG cntl="" script=""&gt;&lt;/PKG&gt;NOTE: this will give you trouble if SERVICE entries are defined - comment them out.&lt;BR /&gt;&lt;BR /&gt;To reverse the startup, use the same command, except with a 'stop' option.&lt;/PKG&gt;</description>
      <pubDate>Fri, 18 Nov 2005 08:59:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-to-upload-package/m-p/3668530#M699513</guid>
      <dc:creator>Stephen Doud</dc:creator>
      <dc:date>2005-11-18T08:59:33Z</dc:date>
    </item>
  </channel>
</rss>

