On 09/22/10 10:57 AM, Kyle McDonald wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 9/22/2010 12:43 PM, Ethan Quach wrote:
Darren,
What is your expectation of "drive0"?
If the disk you want to install onto is the boot disk, you can simply
use the special keyword 'boot_disk':
<disk_name name_type="ctds" name="boot_disk"/>
Otherwise, you can leave the disk_name specification out and AI
will use the first appropriate disk it finds. Perhaps that maps to
what your concept of "drive0" is ?
I think 'boot_disk' does work well if you want to specify basically
the 'first disk found' (I know boot_disk won't always be the first
one.) without knowing exactly what the cXtYdZ will be (it may be
different on different hosts.)
If that was all that was ever needed, I think 'boot_disk' would
probably meet the needs for 'disk0'.
However, at least with setting up mirroring, you generally need to
know 2 disks (or more) and it'd be nice to be able to reference them
symbolically also so that the same config can be used on more than one
machine. In this case having symbols defined for 'disk0' and 'disk1'
(or even 'disk0'...'diskN') might be useful.
I suppose for the specific case of mirroring, having 'boot_disk' and
'boot_mirror' available would be even more useful if 'boot_mirror'
resolved to a disk that was (within reason) identical (or larger if
identical isn't available) to 'boot_disk'.
Back in JumpStart I my Begin scripts would loop through all the disks
in the disk list JS gave me searching for the right disk to mirror
to. I suppose derived manifests might allow something similiar, but
the symbolic names above could make it possible for many users to not
need to go that route.
I am trying to understand this better. In the case you describe above,
in JS, a disk that met a certain criteria would be used to mirror. How
would simply aliasing disks to disk0 and disk1 achieve this ?
-Sanjay
--Kyle
-Kyle
thanks,
-ethan
On 09/21/10 19:41, Darren Reed wrote:
ok, but how would that help me if it was a fresh system where my
goal should be plug it in, configure PXE boot with the MAC address,
change the name/IP# in the manifest, turn it on and get an
installed system an hour or so later?
On 21/09/10 06:45 PM, Mary Ding wrote:
Darren:
You can use format -e as follow:
format -d c2t0d0> /dev/null 2>/dev/null -<<EOF
volname
"ai-disk"
y
quit
EOF
Appropriate snippet of AI manifest then would look like
<target>
<target_device>
<disk>
<disk_name name_type="volid" name="ai-disk"/>
</disk>
</target_device>
</target>
On 09/21/10 06:24 PM, Darren Reed wrote:
Is it possible to use any aliases in the manifest rather than the
full disk name?
For example, rather than say:
<disk_name name_type="ctd" name="c2t0d0"/>
support something like:
<disk_name name_type="alias" name="drive0"/>
Darren
_______________________________________________
caiman-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/caiman-discuss
_______________________________________________
caiman-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/caiman-discuss
_______________________________________________
caiman-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/caiman-discuss
_______________________________________________
caiman-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/caiman-discuss
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (MingW32)
iQEcBAEBAgAGBQJMmjV+AAoJEEADRM+bKN5wlO4H/jhJP6Lk1lOhVHYUsY3uJKG/
rN2ZhEKzZFvpQyhVgY0AMvgWKz2KmWsVfODWHqpFOvNbxPm/fx72iZDxLvOlYsY0
awoqbd6CmIeCTgVz3M1RFoTd+VoFZdnf/MqW7cyGvUI7O/g39BxHOGep/zBwaHP8
X42wmvg1f2eZWLV0mSQNZmsYmMVI/a8vHhhDLJfZYS1L2i8MqjjP8D9Jx1Gf3R9t
g7Oe3TUpN3YxLozCyeeVtXZnCxaTht9Z0W1gc6Np+8avmIeoZm2rk+hoMrRctTp+
4u/3XT/BmXovAGeNyAuzYDPTYfJyrl8aQkD/ppUSDWrk4IBFNKgB/rVm9zDBaK0=
=Ziaf
-----END PGP SIGNATURE-----
_______________________________________________
caiman-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/caiman-discuss
_______________________________________________
caiman-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/caiman-discuss