Re: [zones-discuss] OHAC :Apache failover between zones
You (gaurav saxena) wrote: Hello 2010/6/30 Matthias Pfützner matth...@pfuetzner.de I assume, it has something to do with the below error messages regarding the rpool. But, sadly, I'm not sure... Ok. Which is OK, but for learning purposes might be a bit to lightwight... A two-node cluster is better... Ok. But what I really want to do is something which can be done using single node cluster only.So I can just now do that with single node cluster and then try two-node cluster. That's OK! No, that's OK! Ok. No actually i just created two zfs filesystems on rpool as I have told earlier. Is it wrong ? I assume so, yes... As the thing, that can be moved are the POOLS, not the zfs Filesystems. Therefore, you would have needed a new pool, which can be moved from system to system... you can't MOVE the rpool, as that's needed for the basic underlying OS... ;-) Ok. Actually I could not get much after reading about pools so I tried the shortcut way. Ok. I will try doing something else for it. Also one more thing I will tell you is that I have not created a separate /globaldevices as it was written in the manual. so scinstall asked me to use lofi device (I don't know what it means) and I accepted that option. Could it be a problem ? No, that's OK! I think I can reinstall opensolaris only and install OHAC on it again but I have reinstalled this for the second time only. :( I guess, you would NOT need to re-install, but to just DECONFIGURE all the resources, storage et.al. that you did in the cluster config. Ok. I will do that once I figure out everything correctly because I don't want to commit this mistake again. :( Actually in the manual it was suggested to create a mirror zpool of the root filesystem and then install zfs on it or create a pool on file but I thought I could use the original rpool only. For testing, you don't need the mirror. Yes, as stated above, the thing that will be failed-over is the POOL. Therefore you need a pool. And you simply can't use the rpool... Ok. Could you suggest me how do I do that ? Or I will be consult manual again zpool create -m mountpoint pool mirror /dev/rdsk/cNtXdY \ /dev/rdsk/cNtXdZ You don't need a mirror for your testing purposes! this is the command given in the manual could you suggest me what shoud I give in place of cNtXdY and I have virtual hard disk named c7d0 You would need to ADD a second disk to your VBox setup, as I assume, that the c7d0 is already used by the rpool. In case. the c7d0 is NOT used in the rpool, you command would be: zpool create -m yourmountpointname yourpoolname /dev/rdsk/c7d0 Is this the reason for all problems ? It might be! But as far as I remember display is not working since I ran scinstall and I did this all zone work from the console only so I don't think this could be the reason. That's the strange thing... But, in order to be sure, when that really started, I would propose to really de-configure the actual cluster setup, and staring all over again (not with INSTALL, only with configuring!) Yes that's the most confusing thing. Ok I try doing that only now. Thank you very much for your help. :) Again, you're welcome! Matthias -- Thanks and Regards , Gaurav Saxena Matthias -- Matthias Pfützner| mailto:pfu...@germany | Am Anfang wäre das Stück @work: +49 6103 752-394 | @home: +49 6151 75717 | schnell zu Ende. SunCS, Amp?restraße 6 | Lichtenbergstraße 73 | (21.10.93) 63225 Langen, FRG| 64289 Darmstadt, FRG | Hellmuth Karasek -- Thanks and Regards , Gaurav Saxena -- Matthias Pfützner| mailto:pfu...@germany | Solange ich nicht dabei- @work: +49 6103 752-394 | @home: +49 6151 75717 | sein muß, können sie sogar SunCS, Ampèrestraße 6 | Lichtenbergstraße 73 | auf mich einschlagen. 63225 Langen, FRG| 64289 Darmstadt, FRG | Heiner Geißler ___ zones-discuss mailing list zones-discuss@opensolaris.org
Re: [zones-discuss] OHAC :Apache failover between zones
Hello 2010/7/1 Matthias Pfützner matth...@pfuetzner.de You (gaurav saxena) wrote: Ok. But what I really want to do is something which can be done using single node cluster only.So I can just now do that with single node cluster and then try two-node cluster. That's OK! Ok. Ok. I will try doing something else for it. Also one more thing I will tell you is that I have not created a separate /globaldevices as it was written in the manual. so scinstall asked me to use lofi device (I don't know what it means) and I accepted that option. Could it be a problem ? No, that's OK! Ok. I could not get any option regarding creating slices in opensolaris installation as I got in solaris10 console setup. And I dont think that I can commit any changes to c7d0 (like creating new slices) on which rpool depends. Ok. Could you suggest me how do I do that ? Or I will be consult manual again zpool create -m mountpoint pool mirror /dev/rdsk/cNtXdY \ /dev/rdsk/cNtXdZ You don't need a mirror for your testing purposes! this is the command given in the manual could you suggest me what shoud I give in place of cNtXdY and I have virtual hard disk named c7d0 You would need to ADD a second disk to your VBox setup, as I assume, that the c7d0 is already used by the rpool. In case. the c7d0 is NOT used in the rpool, you command would be: zpool create -m yourmountpointname yourpoolname /dev/rdsk/c7d0 Ok thanks once again. :) Yes that's the most confusing thing. Ok I try doing that only now. Thank you very much for your help. :) Again, you're welcome! Matthias -- Matthias Pfützner| mailto:pfu...@germany | Solange ich nicht dabei- @work: +49 6103 752-394 | @home: +49 6151 75717 | sein muß, können sie sogar SunCS, Ampčrestraße 6 | Lichtenbergstraße 73 | auf mich einschlagen. 63225 Langen, FRG| 64289 Darmstadt, FRG | Heiner Geißler :) -- Thanks and Regards , Gaurav Saxena ___ zones-discuss mailing list zones-discuss@opensolaris.org
Re: [zones-discuss] OHAC :Apache failover between zones
You (gaurav saxena) wrote: Hello 2010/7/1 Matthias Pfützner matth...@pfuetzner.de You (gaurav saxena) wrote: Ok. But what I really want to do is something which can be done using single node cluster only.So I can just now do that with single node cluster and then try two-node cluster. That's OK! Ok. Ok. I will try doing something else for it. Also one more thing I will tell you is that I have not created a separate /globaldevices as it was written in the manual. so scinstall asked me to use lofi device (I don't know what it means) and I accepted that option. Could it be a problem ? No, that's OK! Ok. I could not get any option regarding creating slices in opensolaris installation as I got in solaris10 console setup. And I dont think that I can commit any changes to c7d0 (like creating new slices) on which rpool depends. That's due to the fact, that OpenSolaris uses ZFS as default, whereas in Solaris 10 you had the option to use UFS or ZFS (although ZFS in some versions of Solaris 10 was only available as an installation option, when you did a text-only install)... So, yes, that's right. You would then need to add a new virtual disk to the VBox config, and OpenSolaris then will find that disk, and then you could use it as a new pool. Ok. Could you suggest me how do I do that ? Or I will be consult manual again zpool create -m mountpoint pool mirror /dev/rdsk/cNtXdY \ /dev/rdsk/cNtXdZ You don't need a mirror for your testing purposes! this is the command given in the manual could you suggest me what shoud I give in place of cNtXdY and I have virtual hard disk named c7d0 You would need to ADD a second disk to your VBox setup, as I assume, that the c7d0 is already used by the rpool. In case. the c7d0 is NOT used in the rpool, you command would be: zpool create -m yourmountpointname yourpoolname /dev/rdsk/c7d0 Ok thanks once again. :) Yes that's the most confusing thing. Ok I try doing that only now. Thank you very much for your help. :) Again, you're welcome! Matthias -- Matthias Pfützner| mailto:pfu...@germany | Solange ich nicht dabei- @work: +49 6103 752-394 | @home: +49 6151 75717 | sein muß, können sie sogar SunCS, Amp?restraße 6 | Lichtenbergstraße 73 | auf mich einschlagen. 63225 Langen, FRG| 64289 Darmstadt, FRG | Heiner Geißler :) -- Thanks and Regards , Gaurav Saxena Matthias -- Matthias Pfützner| mailto:pfu...@germany | Solange ich nicht dabei- @work: +49 6103 752-394 | @home: +49 6151 75717 | sein muß, können sie sogar SunCS, Ampèrestraße 6 | Lichtenbergstraße 73 | auf mich einschlagen. 63225 Langen, FRG| 64289 Darmstadt, FRG | Heiner Geißler ___ zones-discuss mailing list zones-discuss@opensolaris.org
Re: [zones-discuss] OHAC :Apache failover between zones
Hello 2010/7/1 Matthias Pfützner matth...@pfuetzner.de I could not get any option regarding creating slices in opensolaris installation as I got in solaris10 console setup. And I dont think that I can commit any changes to c7d0 (like creating new slices) on which rpool depends. That's due to the fact, that OpenSolaris uses ZFS as default, whereas in Solaris 10 you had the option to use UFS or ZFS (although ZFS in some versions of Solaris 10 was only available as an installation option, when you did a text-only install)... So, yes, that's right. You would then need to add a new virtual disk to the VBox config, and OpenSolaris then will find that disk, and then you could use it as a new pool. Ok. I would have to format that hard disk using fdisk I think ? Matthias -- Matthias Pfützner| mailto:pfu...@germany | Solange ich nicht dabei- @work: +49 6103 752-394 | @home: +49 6151 75717 | sein muß, können sie sogar SunCS, Ampèrestraße 6 | Lichtenbergstraße 73 | auf mich einschlagen. 63225 Langen, FRG| 64289 Darmstadt, FRG | Heiner Geißler -- Thanks and Regards , Gaurav Saxena ___ zones-discuss mailing list zones-discuss@opensolaris.org
Re: [zones-discuss] OHAC :Apache failover between zones
You (gaurav saxena) wrote: Hello 2010/7/1 Matthias Pfützner matth...@pfuetzner.de I could not get any option regarding creating slices in opensolaris installation as I got in solaris10 console setup. And I dont think that I can commit any changes to c7d0 (like creating new slices) on which rpool depends. That's due to the fact, that OpenSolaris uses ZFS as default, whereas in Solaris 10 you had the option to use UFS or ZFS (although ZFS in some versions of Solaris 10 was only available as an installation option, when you did a text-only install)... So, yes, that's right. You would then need to add a new virtual disk to the VBox config, and OpenSolaris then will find that disk, and then you could use it as a new pool. Ok. I would have to format that hard disk using fdisk I think ? No! Only, if you would want to create fdisk partitions on that disk, but I think, if you create something like a 10G disk, you could easily use it as a whole disk. Then ZFS don't need that disk to be formatted in any way. Just create the zpool... Matthias -- Matthias Pfützner| mailto:pfu...@germany | Man macht immer Fehler im @work: +49 6103 752-394 | @home: +49 6151 75717 | Leben, aber man sollte SunCS, Ampèrestraße 6 | Lichtenbergstraße 73 | lieber aktive als passive 63225 Langen, FRG| 64289 Darmstadt, FRG | Fehler machen. F. Fellini ___ zones-discuss mailing list zones-discuss@opensolaris.org
Re: [zones-discuss] OHAC :Apache failover between zones
Hello 2010/7/1 Matthias Pfützner matth...@pfuetzner.de Ok. I would have to format that hard disk using fdisk I think ? No! Only, if you would want to create fdisk partitions on that disk, but I think, if you create something like a 10G disk, you could easily use it as a whole disk. Then ZFS don't need that disk to be formatted in any way. Just create the zpool... Matthias -- Matthias Pfützner| mailto:pfu...@germany | Man macht immer Fehler im @work: +49 6103 752-394 | @home: +49 6151 75717 | Leben, aber man sollte SunCS, Ampčrestraße 6 | Lichtenbergstraße 73 | lieber aktive als passive 63225 Langen, FRG| 64289 Darmstadt, FRG | Fehler machen. F. Fellini Ok. Thanks once again :). -- Thanks and Regards , Gaurav Saxena ___ zones-discuss mailing list zones-discuss@opensolaris.org
[zones-discuss] no pkgadd in zone
Hi, I want to install the blastwave install script. But there is no pkgadd in the container. What is the name of the IPS package for pkgadd? Or what is the fix for this? Thanks -- This message posted from opensolaris.org ___ zones-discuss mailing list zones-discuss@opensolaris.org
Re: [zones-discuss] no pkgadd in zone
Try pkg search /usr/sbin/pkgadd: ---8--- arrakis [12:39:03 0]% pkg search `whence pkgadd` [...] path file usr/sbin/pkgadd pkg:/sunwpkgc...@0.5.11-0.132 path file usr/sbin/pkgadd pkg:/package/s...@0.5.11-0.133 path file usr/sbin/pkgadd pkg:/package/s...@0.5.11-0.134 ---8--- Try installing the package/svr4 package. Hope that helps, Jordan On 07/ 1/10 12:28 PM, Dennis wrote: Hi, I want to install the blastwave install script. But there is no pkgadd in the container. What is the name of the IPS package for pkgadd? Or what is the fix for this? Thanks ___ zones-discuss mailing list zones-discuss@opensolaris.org