{"id":109,"date":"2004-07-07T11:54:06","date_gmt":"2004-07-07T09:54:06","guid":{"rendered":""},"modified":"2008-01-15T22:32:02","modified_gmt":"2008-01-15T20:32:02","slug":"tip-tricks-sun-solaris","status":"publish","type":"post","link":"http:\/\/www.lookit.org\/blog\/?p=109","title":{"rendered":"Tip &#038; Tricks Sun Solaris"},"content":{"rendered":"<p>Quelques trucs et astuces pour Sun Solaris<\/p>\n<p><!--more-->       <\/p>\n<p><u><em><strong>Sites Web SUN : <\/strong><\/em><\/u><br \/>http:\/\/www.adminschoice.com\/<br \/>http:\/\/sysunconfig.net\/unixtips\/solaris.html<br \/>http:\/\/opensolaris.org\/os\/community\/dtrace\/<br \/>http:\/\/www.tech-recipes.com\/solaris.html<br \/>http:\/\/www.kempston.net\/solaris\/<br \/>http:\/\/www.solaris4you.dk\/sunsolaris.html<\/p>\n<p><u><em><strong>SDS : <\/strong><\/em><\/u><br \/>http:\/\/www.adminschoice.com\/docs\/solstice_disksuite.htm<br \/>http:\/\/colin.bitterfield.com\/Articles\/disksuitemirrors.html<br \/>http:\/\/www.ncell.com\/~russj\/DiskSuite-mirror-root.html<br \/>http:\/\/sunportal.sunmanagers.org\/pipermail\/summaries\/2003-March\/003336.html<br \/>http:\/\/sunportal.sunmanagers.org\/pipermail\/summaries\/2003-March\/003336.html <br \/>metastat : visu totale sds<br \/>metastat -p : seulement les disques<br \/>metattach d0 d2<br \/>metattach d10 d12<br \/>metattach d20 d22<br \/>metattach d30 d32<br \/>* metadb -i<br \/>* metadb -d : suppr<br \/>* ajouter metadb : metadb -a -c Nbr cxtxdxsx <br \/>*metaoffline pour chq ss miroir<br \/>*metastat<br \/>SUNWmdx<br \/>SUNWmdu<br \/>SUNWmdr <\/p>\n<p><u><em><strong>Changer HOSTNAME :<\/strong><\/em><\/u><br \/>\/etc\/hosts \/etc\/nodename<br \/>\/etc\/hostname.xxn (xxn = network interface, such as hme0)<br \/>\/etc\/net\/ticlts\/hosts \/etc\/net\/ticots\/hosts<br \/>\/etc\/net\/ticotsord\/hosts<br \/>\/etc\/inet\/ipnodes <\/p>\n<p><u><em><strong>Liste Fichiers des packages SUN :<\/strong><\/em><\/u><br \/>\/var\/sadm\/install\/contents<\/p>\n<p><u><em><strong>Network Configuration card NDD :<\/strong><\/em><\/u><br \/>http:\/\/www.brandonhutchinson.com\/Solaris_NIC_speed_and_duplex_settings.html<br \/>ndd \/dev\/hme ?<br \/>ndd \/dev\/tcp ?<br \/>forcer 100 Mo<br \/>\/usr\/sbin\/ndd -set \/dev\/qfe instance 0<br \/>\/usr\/sbin\/ndd -set \/dev\/qfe adv_autoneg_cap 0<\/p>\n<p><u><em><strong>JUMPSTART :<\/strong><\/em><\/u><br \/>http:\/\/www.manucomp.com\/solaris_tips\/jumpstart_preparation_steps.html <br \/>http:\/\/www.amorin.org\/professional\/jumpstart.php<br \/>http:\/\/hvdkooij.xs4all.nl\/docs-inst-sol-net.cms<br \/>http:\/\/www.docbert.org\/Solaris\/Jumpstart\/<br \/>http:\/\/www.docbert.org\/Solaris\/Jumpstart\/linux.html<br \/>http:\/\/www.docbert.org\/Solaris\/<br \/>http:\/\/www.adminschoice.com\/docs\/jumpstart_solaris.htm<br \/>http:\/\/www.manucomp.com\/solaris_tips\/jumpstart_client_setup.html<br \/>http:\/\/eradman.com\/app\/article?code=jumpstart1<br \/>http:\/\/www.amorin.org\/professional\/jumpstart.php<br \/>http:\/\/www.manucomp.com\/solaris_tips\/jumpstart.html<br \/>http:\/\/eradman.com\/app\/printarticle?code=jumpstart1<br \/>http:\/\/www.transposed.org\/techstuff\/linux-jumpstart.html<br \/>http:\/\/www.znark.com\/tech\/solarisinstall.html<br \/>http:\/\/www.znark.com\/tech\/netbootsparc.html<br \/>http:\/\/www.adminschoice.com\/docs\/jumpstart_solaris.htm<br \/>http:\/\/www.bu.edu\/systems-support\/admin\/network\/sol\/bootserver.html <\/p>\n<p><u><em><strong>VERITAS VOLUME MANAGER :<\/strong><\/em><\/u><br \/>http:\/\/www.manucomp.com\/solaris_tips\/veritas_volume_manager.html <\/p>\n<p><u><em><strong>SOLARIS EXPLORER :<\/strong><\/em><\/u><br \/>http:\/\/sunsolve.sun.com\/pub-cgi\/show.pl?target=explorer\/explorer<\/p>\n<p><u><em><strong>PACKAGES SUN &#8211; PATCHES:<\/strong><\/em><\/u><br \/>http:\/\/ftp.ximian.com\/pub\/ximian-gnome\/solaris-9-sun4\/<br \/>ftp:\/\/rpm.rutgers.edu\/<br \/>http:\/\/www.sunfreeware.com\/pkgadd.html<br \/>http:\/\/www.die.net\/doc\/linux\/HOWTO\/RPM-for-Unix-HOWTO-9.html<br \/>http:\/\/www.sunfreeware.com\/pkgadd.html<br \/>http:\/\/www.blastwave.org\/pkg-get.php<br \/>http:\/\/www.tech-recipes.com\/solaris_system_administration_tips132.html<br \/>pkginfo -l package<br \/>pkgadd -d . Rep_pack <br \/>Sol6 : 106292-14 pkgadd pb<br \/>Sol8 : 110380-06 \/\/ 110934-24 \/\/ 108989-02 pkgadd pb<\/p>\n<p><u><em><strong>SUN CLUSTER PATCH :<\/strong><\/em><\/u><br \/>http:\/\/sunsolve.sun.com\/pub-cgi\/show.pl?target=patches\/patch-access<br \/>showrev -p : liste des patches<\/p>\n<p><u><em><strong>TEST INTERFACE RESEAU :<\/strong><\/em><\/u><br \/>netstat -rn -I qfe0 -i 5<\/p>\n<p><u><em><strong>NAGIOS :<\/strong><\/em><\/u><br \/>configurer check_nrpe &#8211;disable-ssl sur le serveur nagios<br \/>et pareil sur le client solaris<\/p>\n<p><u><em><strong>VMWARE :<\/strong><\/em><\/u><br \/>http:\/\/www.samag.com\/documents\/s=9338\/sam0410j\/0410j.htm <br \/>http:\/\/www.tools.de\/solaris\/xf86\/ <br \/>http:\/\/www.vmware.com\/support\/guestnotes\/doc\/guestos_solaris10.html<br \/>http:\/\/chitchat.at.infoseek.co.jp\/vmware\/soltips.html <br \/>kmdconfig : Xorg<br \/>Monitor 1280&#215;1024<br \/>50-90 Hz<br \/>VESA GENERIC VESA<br \/>choix 7 : 16<\/p>\n<p><u><em><strong>SOLARIS 10 :<\/strong><\/em><\/u><br \/>ftp:\/\/sunfreeware.scarlet.be\/pub\/freeware\/intel\/10\/ <br \/>http:\/\/mirrors.xmission.com\/sunfreeware\/intel\/10\/<br \/>http:\/\/www.sunfreeware.com\/indexintel10.html<\/p>\n<p><u><em><strong>CHANGE IP ADDRESS :<\/strong><\/em><\/u><br \/>http:\/\/www.filibeto.org\/pipermail\/solaris-users\/2003-June\/000085.html<br \/>http:\/\/unix.ittoolbox.com\/groups\/groups.asp?v=SOLARIS-L&amp;i=54052<br \/>http:\/\/www.dbaoncall.net\/references\/ht_change_ip_sun.html<br \/>http:\/\/docs.sun.com\/app\/docs\/doc\/816-4554\/6maoq01n0?a=view <\/p>\n<p><u><em><strong>NETWORK MASKS :<\/strong><\/em><\/u><br \/>http:\/\/docs.sun.com\/app\/docs\/doc\/816-4554\/6maoq01lk?a=view<br \/>\/etc\/netmasks<\/p>\n<p><u><em><strong>CONSOLE :<\/strong><\/em><\/u><br \/>configurer hyper terminal en liaison s&eacute;rie<br \/>9600 bps, 8 bits<br \/>pas de part&eacute;<br \/>1 bit de stop<br \/>GO ? <br \/>rsc<br \/>watch-net all<br \/>show-nets<br \/>devalias<br \/>nvalias variable data<br \/>setenv local-mac-address? = false : pour le jumpstart <\/p>\n<p><u><em><strong>INFO SYSTEM :<\/strong><\/em><\/u><br \/>prtdiag<br \/>inq : liste des disques presents<br \/>drvconfig : check des disques existants <\/p>\n<p><u><em><strong>ARCHITECTURE SOLARIS :<\/strong><\/em><\/u><br \/>psrinfo -v<br \/>isainfo<\/p>\n<p><u><em><strong>PACKAGES :<\/strong><\/em><\/u><br \/>http:\/\/www.geocities.com\/arndike\/creating_solaris_packages.html<br \/>http:\/\/bwachter.lart.info\/solaris\/solpackaging.html<br \/>http:\/\/www.brandonhutchinson.com\/Creating_Solaris_packages.html<br \/>http:\/\/www.sunfreeware.com\/pkgadd.html<\/p>\n<p><u><em><strong>DNS :<\/strong><\/em><\/u><br \/>nscd : process dns a relancer en cas de pb de resolution<\/p>\n<p><u><em><strong>LIBRARY 32 et 64 Bits :<\/strong><\/em><\/u><br \/>&#8211; crle -c \/var\/ld\/ld.config -l \/lib:\/usr\/lib:\/usr\/local\/lib:\/opt\/alct\/lib<br \/>&#8211; crle -64 -c \/var\/ld\/64\/ld.config -l \/usr\/lib\/64:\/opt\/alct\/lib\/sparcv9<\/p>\n<p><u><em><strong>SCSI :<\/strong><\/em><\/u><br \/>inquire : commande pour lister les periph scsi &#8230;<\/p>\n<p><u><em><strong>EEPROM :<\/strong><\/em><\/u><br \/>http:\/\/www.sunmanagers.org\/archives\/1998\/1203.html<br \/>Changer param boot &agrave; partir du shell :<br \/>eeprom<br \/>prtconf -vp | grep disk<br \/>&gt;&gt;&gt;boot-device=disk mirror<br \/>&gt;&gt;&gt;nvramrc=devalias disk \/pci@1f,0\/pci@1,1\/ide@3\/disk@0,0<br \/>devalias mirror \/pci@1f,0\/pci@1,1\/ide@3\/disk@1,0<br \/>&gt;&gt;&gt;diag-device=disk mirror<\/p>\n<p><u><em><strong>CLAVIER FRANCAIS :<\/strong><\/em><\/u><br \/># eeprom kbd-type=French<br \/>$&shy;&shy;&shy;&shy;&shy;&shy;&shy; loadkeys \/usr\/share\/lib\/keytables\/type_6\/france<br \/>$&shy;&shy;&shy;&shy;&shy;&shy;&shy; kbd -l<br \/>type=6<br \/>layout=8 (0x08)<br \/>delay(ms)=500<br \/>rate(ms)=40<\/p>\n<p>Copier coller ds OBP : alias disks :<br \/>&gt;&gt;show-disks puis CTRL+Y<br \/>&gt;&gt;nvalias NOM CTRL+Y+(partition : @0,0 :a)<br \/>\t\t\tC0       t0  d0 c0<\/p>\n<p><u><em><strong>RECONFIGURE :<\/strong><\/em><\/u><br \/>Now you\\&#39;ll want to reboot and have Solaris reconfigure \/dev an \/devices. To do this:<br \/>touch \/reconfigure<\/p>\n<p><u><em><strong>AGRANDIR FS :<\/strong><\/em><\/u><br \/>Growfs &ndash;M \/rep1 \/dev\/md\/rdsk\/d0 : agrandir un montage \/rep1 avec le raw device indiqu&eacute;<\/p>\n<p><u><em><strong>ACCES DISQUES &#8211; PARTITION :<\/strong><\/em><\/u><br \/>Iostat &ndash;xn 1 : tous les acc&egrave;s disk toutes les sec. \/\/ -xnP : par partitions \/\/ -xtncz<br \/>prtvtoc \/dev\/dsk\/c0t0d0s2 | fmthard &ndash;s &#8211; \/dev\/rdsk\/c3&hellip;s2 : recr&eacute;er partitionnement<\/p>\n<p><u><em><strong>TEMPS D\\&#39;EXECUTION D\\&#39;UNE COMMANDE :<\/strong><\/em><\/u><br \/>Ptime command : temps de la commande<\/p>\n<p><u><em><strong>CREER FICHIER :<\/strong><\/em><\/u><br \/>mkfile -nv 100m Fic  : cr&eacute;&eacute; fichier de 100 mb<\/p>\n<p><u><em><strong>DEBUTER avec ZFS :<\/strong><\/em><\/u><br \/>http:\/\/www.opensolaris.org\/os\/community\/zfs\/<\/p>\n<p><u><em><strong>BOOTING SOLARIS FLASH ARCHIVES :<\/strong><\/em><\/u><\/p>\n<p>http:\/\/www.adminschoice.com\/docs\/booting__problems_in_solaris.htm<br \/>http:\/\/www.adminschoice.com\/docs\/jumpstart_solaris.htm<br \/>http:\/\/developers.sun.com\/solaris\/articles\/64_bit_booting.html<br \/>http:\/\/docs.sun.com\/app\/docs\/doc\/819-5776\/6n7r9js5c?a=view<br \/>http:\/\/www.unixgroups.com\/showthread.php?p=287313<br \/>http:\/\/unix.derkeiler.com\/Newsgroups\/comp.unix.solaris\/2005-08\/0169.html<br \/>http:\/\/www.sun.com\/bigadmin\/content\/submitted\/flash_archive.html<\/p>\n<p><u><em><strong>ZONE SOLARIS :<\/strong><\/em><\/u><br \/>http:\/\/www.blastwave.org\/articles\/DMC-0002\/index.html<\/p>\n<p><u><em><strong>JUMPSTART :<\/strong><\/em><\/u><br \/>http:\/\/docs.sun.com\/app\/docs\/doc\/817-5506<\/p>\n<p><u><em><strong>CONSOLE :<\/strong><\/em><\/u><br \/>http:\/\/blogs.sun.com\/salkeld\/date\/200503<br \/>http:\/\/www.compsci.wm.edu\/SciClone\/documentation\/hardware\/Sun\/280R\/280R_OG\/diags6.htm<br \/>http:\/\/www.sun.com\/products-n-solutions\/hardware\/docs\/html\/819-1892-12\/post.html<br \/>http:\/\/www.abix.fr\/xxdisplayproduct.asp?ccode=137000&amp;id=6<br \/>http:\/\/www.gentoo.org\/doc\/fr\/gentoo-sparc-faq.xml<br \/>http:\/\/www.abix.fr\/xxdisplayproduct.asp?ccode=136010&amp;id=6<br \/>http:\/\/www.sunwizard.net\/html\/articles\/jsp001.html<br \/>http:\/\/www.openbsd.org\/faq\/fr\/faq7.html<br \/># Les ports sur un SPARC sont appel&eacute;s ttya, ttyb, etc.<br \/># A la diff&eacute;rence des autres plates-formes, il n\\&#39;est pas n&eacute;cessaire de<br \/>faire des changements &agrave; \/etc\/ttys pour utiliser une console s&eacute;rie.<br \/># Les syst&egrave;mes SPARC\/UltraSPARC interpr&egrave;tent le signal BREAK sur le port<br \/>s&eacute;rie de la m&ecirc;me mani&egrave;re que la commande STOP-A, et renvoient le syst&egrave;me<br \/>&agrave; l\\&#39;invite &quot;Forth&quot;, stoppant toute application et le syst&egrave;me lui m&ecirc;me &agrave;<br \/>ce point. Cela est int&eacute;ressant lorsque souhait&eacute;, mais malheureusement,<br \/>quelques terminaux s&eacute;rie lors de l\\&#39;arr&ecirc;t et quelques mat&eacute;riels de switch<br \/>RS-232 envoient quelques codes &agrave; l\\&#39;ordinateur que celui-ci interpr&egrave;te<br \/>comme un signal BREAK, arr&ecirc;tant la machine. Testez cela avant de passer<br \/>la machine en production.<br \/># Si vous avez un clavier et une souris connect&eacute;s, vous pouvez toujours<br \/>forcer l\\&#39;utilisation de la console s&eacute;rie en utilisant les commandes<br \/>suivantes &agrave; l\\&#39;invite ok :<br \/>    ok setenv input-device ttya<br \/>    ok setenv output-device ttya<br \/>    ok reset<br \/>http:\/\/www.freebsdwiki.net\/index.php\/Sparc_-_Terminal_Emulation<br \/>http:\/\/www.softpanorama.org\/Solaris\/Startup_and_shutdown\/serial_console_on_solaris.shtml<br \/>http:\/\/www.help.perle.com\/index.asp?a=4&amp;q=89<br \/>&gt; &gt;&gt;&gt; CTRL + BREAK sur le port s&eacute;rie.<br \/>http:\/\/www.gentoo.org\/doc\/en\/gentoo-sparc-obpreference.xml<\/p>\n<p><u><em><strong>CHANGE NAME HOST :<\/strong><\/em><\/u><br \/>http:\/\/forum.sun.com\/jive\/thread.jspa?threadID=94568&amp;messageID=325248<\/p>\n<p><u><em><strong>GLOBAL SOLARIS TIPS TRICKS :<\/strong><\/em><\/u><br \/>http:\/\/sysunconfig.net\/unixtips\/solaris.html#accounts<\/p>\n<p><u><em><strong>ULTRA 5-10 OBP  :<\/strong><\/em><\/u><br \/>UPDATE : last obp sun 5\/10 : sun 106121-18<br \/>http:\/\/sunsolve.sun.com\/search\/advsearch.do?collection=PATCH&amp;type=collections&amp;queryKey5=106121&amp;toDocument=yes<\/p>\n<p><u><em><strong>Solaris Error messages :<\/strong><\/em><\/u><br \/>http:\/\/www.adminschoice.com\/docs\/Solaris_Error_Messages_ABCD.htm<\/p>\n<p><u><em><strong>Solaris patches :<\/strong><\/em><\/u><br \/>http:\/\/sunsolve.sun.com\/pub-cgi\/show.pl?target=patches\/patch-access<\/p>\n<p><u><em><strong>Solaris performance\/monotirong :<\/strong><\/em><\/u><br \/>iostat , vmstat &amp; netstat<br \/>http:\/\/www.adminschoice.com\/docs\/iostat_vmstat_netstat.htm<\/p>\n<p><u><em><strong>Solaris network :<\/strong><\/em><\/u><br \/>http:\/\/adminschoice.com\/docs\/solaris_network_configuration.html<br \/>http:\/\/www.scit.wlv.ac.uk\/cgi-bin\/mansec?1M+ifconfig<br \/>ifconfig le0:1 down unplumb<\/p>\n<p><u><em><strong>Solaris security  :<\/strong><\/em><\/u><br \/>http:\/\/www.adminschoice.com\/docs\/securing_solaris.htm<\/p>\n<p><u><em><strong>Solaris ex-SDS SVM :<\/strong><\/em><\/u><br \/>http:\/\/www.adminschoice.com\/docs\/solstice_disksuite.htm<\/p>\n<p><u><em><strong>Solaris &#8211; Veritas VM :<\/strong><\/em><\/u><br \/>http:\/\/www.adminschoice.com\/docs\/vxvm.htm<br \/>http:\/\/www.adminschoice.com\/docs\/vxassist.htm<br \/>http:\/\/www.sun.com\/products-n-solutions\/hardware\/docs\/Software\/Storage_Software\/VERITAS_Volume_Manager\/index.html<\/p>\n<p><!-- Section Title --><br \/><!-- End Section Title --><\/p>\n<p><\/p>\n<table border=\"0\" cellspacing=\"0\" cellpadding=\"10\" width=\"100%\">\n<tbody>\n<tr>\n<td>        <!-- Content Area --><\/p>\n<p>        <\/p>\n<table border=\"0\" cellspacing=\"0\" cellpadding=\"8\" width=\"100%\">\n<tbody>\n<tr>\n<td background=\"ethernet_card_tips_fichiers\/bar_tab_bk.gif\"><a name=\"2\" title=\"2\"><\/a><strong>Installing an Ethernet Card<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>        <img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/lookit.org\/guppy\/articles.php?lng=fr&amp;pg=91\" border=\"0\" alt=\"\" width=\"1\" height=\"10\" \/><\/p>\n<p>        To install an additional Ethernet interface (let&#39;s call it le1):        <\/p>\n<p> 1) Put the card in and from the ok&gt; prompt do a boot -r<\/p>\n<p>        <\/p>\n<p> 1) create \/etc\/hostname.le1 that contains the host name<\/p>\n<p>        <\/p>\n<p> 2) make the interface known to the system:<\/p>\n<p>        <\/p>\n<p>        <\/p>\n<table border=\"0\" cellspacing=\"0\" cellpadding=\"5\" width=\"100%\" bgcolor=\"#dddddd\">\n<tbody>\n<tr>\n<td> <strong>ifconfig le1 plumb<\/strong> <\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>        <\/p>\n<p>        <\/p>\n<p> 3) configure the interface:<\/p>\n<p>        <\/p>\n<p>        <\/p>\n<table border=\"0\" cellspacing=\"0\" cellpadding=\"5\" width=\"100%\" bgcolor=\"#dddddd\">\n<tbody>\n<tr>\n<td> <strong>ifconfig le1 up netmask + broadcast +<\/strong> <\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>        <\/p>\n<p>        <\/p>\n<p> 4) test the connection<\/p>\n<p>        <\/p>\n<p>        <\/p>\n<table border=\"0\" cellspacing=\"0\" cellpadding=\"8\" width=\"100%\">\n<tbody>\n<tr>\n<td background=\"ethernet_card_tips_fichiers\/bar_tab_bk.gif\"><a name=\"2\" title=\"2\"><\/a><strong>Sun Network Interface Duplex<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>        <img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/lookit.org\/guppy\/articles.php?lng=fr&amp;pg=91\" border=\"0\" alt=\"\" width=\"1\" height=\"10\" \/><\/p>\n<p> Checking and setting the link parameters of Sun hme network interfaces requires the use of the ndd command. The procedure for qfe interfaces is similar, except that the instance must be specified. For example, the Sun QuadFast Ethernet card would have instances 0-3: qfe0, qfe1, qfe2, qfe3.        <\/p>\n<p>        <\/p>\n<p> Checking the current running speed(s):<\/p>\n<p>        <\/p>\n<p> Choose the interface instance:<\/p>\n<p>        <\/p>\n<p>        <\/p>\n<table border=\"0\" cellspacing=\"0\" cellpadding=\"5\" width=\"100%\" bgcolor=\"#dddddd\">\n<tbody>\n<tr>\n<td> <strong># ndd -set \/dev\/qfe instance 0<\/strong> <\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>        <\/p>\n<p>        <\/p>\n<p> That selects the first instance: qfe0. Note that the default instance is 0.<\/p>\n<p>        <\/p>\n<p> Check the status, speed &amp; mode:<\/p>\n<p>        <\/p>\n<p>        <\/p>\n<table border=\"0\" cellspacing=\"0\" cellpadding=\"5\" width=\"100%\" bgcolor=\"#dddddd\">\n<tbody>\n<tr>\n<td> <strong> # ndd -get \/dev\/qfe link_status<\/p>\n<p>                1 = up<\/p>\n<p>                0 = down<\/p>\n<p>                # ndd -get \/dev\/qfe link_speed<\/p>\n<p>                1 = 100 Mb<\/p>\n<p>                0 = 10 Mb<\/p>\n<p>                # ndd -get \/dev\/qfe link_mode<\/p>\n<p>                1 = Full Duplex (FDX)<\/p>\n<p>                0 = Half Duplex (HDX)<\/p>\n<p>              <\/strong> <\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>        <\/p>\n<p>        <\/p>\n<p> Hot to configure individual interfaces via ndd commands:<\/p>\n<p>        <\/p>\n<p> These commands are usually placed in a startup script such as \/etc\/rc2.d\/S99qfe.<\/p>\n<p>        <\/p>\n<p> Hot to force 100Mbs Full Duplex (FDX) on qfe1:<\/p>\n<p>        <\/p>\n<p>        <\/p>\n<table border=\"0\" cellspacing=\"0\" cellpadding=\"5\" width=\"100%\" bgcolor=\"#dddddd\">\n<tbody>\n<tr>\n<td> <strong> ndd -set \/dev\/qfe instance 1<\/p>\n<p>                ndd -set \/dev\/qfe adv_100T4_cap 0<\/p>\n<p>                ndd -set \/dev\/qfe adv_100fdx_cap 1<\/p>\n<p>                ndd -set \/dev\/qfe adv_100hdx_cap 0<\/p>\n<p>                ndd -set \/dev\/qfe adv_10fdx_cap 0<\/p>\n<p>                ndd -set \/dev\/qfe adv_10hdx_cap 0<\/p>\n<p>                ndd -set \/dev\/qfe adv_autoneg_cap 0<\/p>\n<p>              <\/strong> <\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>        <\/p>\n<p>        <\/p>\n<p> It is important to run these commands in the above order. The link will be renegotiated when the final command is run.<\/p>\n<p>          <!-- End Content Area -->      <\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>  <!-- Section Title --><\/p>\n<p><!-- End Section Title --><\/p>\n<p><\/p>\n<table border=\"0\" cellspacing=\"0\" cellpadding=\"10\" width=\"100%\">\n<tbody>\n<tr>\n<td>        <!-- Content Area --><\/p>\n<p>        <\/p>\n<table border=\"0\" cellspacing=\"0\" cellpadding=\"8\" width=\"100%\">\n<tbody>\n<tr>\n<td background=\"tape_devices_fichiers\/bar_tab_bk.gif\"><a name=\"2\" title=\"2\"><\/a><strong>Tape Control -the mt Command:<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>        <img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/lookit.org\/guppy\/articles.php?lng=fr&amp;pg=91\" border=\"0\" alt=\"\" width=\"1\" height=\"10\" \/><\/p>\n<p>        This assume that the device is at the 0 address.        <\/p>\n<p> Shows whether device is valid, whether tape is loaded, and status of tape<\/p>\n<p>        <\/p>\n<p>        <\/p>\n<table border=\"0\" cellspacing=\"0\" cellpadding=\"5\" width=\"100%\" bgcolor=\"#dddddd\">\n<tbody>\n<tr>\n<td> <strong>mt -f \/dev\/rmt\/0 status: <\/strong> <\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>        <\/p>\n<p>        <\/p>\n<p> Rewinds tape to start<\/p>\n<p>        <\/p>\n<p>        <\/p>\n<table border=\"0\" cellspacing=\"0\" cellpadding=\"5\" width=\"100%\" bgcolor=\"#dddddd\">\n<tbody>\n<tr>\n<td> <strong>mt -f \/dev\/rmt\/0 rewind:<\/strong> <\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>        <\/p>\n<p>        <\/p>\n<p> Shows table of contents of archive. If tar tvf produces an error, then there are no more records on the tape.<\/p>\n<p>        <\/p>\n<p>        <\/p>\n<table border=\"0\" cellspacing=\"0\" cellpadding=\"5\" width=\"100%\" bgcolor=\"#dddddd\">\n<tbody>\n<tr>\n<td> <strong>tar tvf \/dev\/rmt\/0:<\/strong> <\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>        <\/p>\n<p>        <\/p>\n<p> Advanced to the next archive on the tape.<\/p>\n<p>        <\/p>\n<p>        <\/p>\n<table border=\"0\" cellspacing=\"0\" cellpadding=\"5\" width=\"100%\" bgcolor=\"#dddddd\">\n<tbody>\n<tr>\n<td> <strong>mt -f \/dev\/rmt\/0 fsf:<\/strong> <\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>        <\/p>\n<p>        <\/p>\n<p> Moves the tape to the end of the last archive that it can detect.<\/p>\n<p>        <\/p>\n<p>        <\/p>\n<table border=\"0\" cellspacing=\"0\" cellpadding=\"5\" width=\"100%\" bgcolor=\"#dddddd\">\n<tbody>\n<tr>\n<td> <strong>mt -f \/dev\/rmt\/0 eom:<\/strong> <\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>        <\/p>\n<p>        <\/p>\n<p> Erases the tape. Use with care.<\/p>\n<p>        <\/p>\n<p>        <\/p>\n<table border=\"0\" cellspacing=\"0\" cellpadding=\"5\" width=\"100%\" bgcolor=\"#dddddd\">\n<tbody>\n<tr>\n<td> <strong>mt -f \/dev\/rmt\/0 erase:<\/strong> <\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>        <\/p>\n<p>        <\/p>\n<p> Ejects the tape, if the device supports that option.<\/p>\n<p>        <\/p>\n<p>        <\/p>\n<table border=\"0\" cellspacing=\"0\" cellpadding=\"5\" width=\"100%\" bgcolor=\"#dddddd\">\n<tbody>\n<tr>\n<td> <strong>mt -f \/dev\/rmt\/0 offline:<\/strong> <\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>        <\/p>\n<p>        <\/p>\n<p> To extract lengthy archives even if you plan to log out, use the nohup command as follows:<\/p>\n<p>        <\/p>\n<p>        <\/p>\n<table border=\"0\" cellspacing=\"0\" cellpadding=\"5\" width=\"100%\" bgcolor=\"#dddddd\">\n<tbody>\n<tr>\n<td> <strong>nohup tar xvf \/dev\/rmt\/0 &amp;<\/strong> <\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>        <\/p>\n<p>        <\/p>\n<p>          <!-- End Content Area -->      <\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><\/p>\n<p><!-- Section Title --><\/p>\n<p><!-- End Section Title --><\/p>\n<p>        <!-- Content Area --><\/p>\n<p>        <\/p>\n<table border=\"0\" cellspacing=\"0\" cellpadding=\"8\" width=\"100%\">\n<tbody>\n<tr>\n<td background=\"solstice_disk_suite_fichiers\/bar_tab_bk.gif\"><strong>Solstice Disksuite is a free RAID volume manager from Sun Microsystems. <\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>        <img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/lookit.org\/guppy\/articles.php?lng=fr&amp;pg=91\" border=\"0\" alt=\"\" width=\"1\" height=\"10\" \/><\/p>\n<p>        This article describes the method of mirroring a boot drive using Solstice Disksuite via the command line.        <\/p>\n<p> Solstice Disksuite comes bundled with the Solaris 8 operating system.<\/p>\n<p>          Install Solstice Disksuite 4.2.1 on Solaris 8<\/p>\n<p>          Insert 2 of 2 software for Solaris 8<\/p>\n<p>        <\/p>\n<p>&nbsp;<\/p>\n<p>        <\/p>\n<div class=\"command\"># CD \/cdrom\/sol_8_1000_sparc_2\/Solaris_8\/EA\/products\/DiskSuite_4.2.1\/sparc\/Packages<\/div>\n<p>        <\/p>\n<p> I usually install all the packages even though I do not use the GUI.<\/p>\n<p>        <\/p>\n<p>&nbsp;<\/p>\n<p>        <\/p>\n<div class=\"command\"># pkgadd -d .<\/div>\n<p>        <\/p>\n<p> The following packages are available:<\/p>\n<p>        <\/p>\n<pre>  1  SUNWlvma     Solaris Volume Management API&#39;s<br \/>                  (sparc) 1.0,REV=2001.07.25.13.05<br \/>  2  SUNWlvmg     Solaris Volume Management Application<br \/>                  (sparc) 1.0,REV=2001.07.25.13.05<br \/>  3  SUNWlvmr     Solaris Volume Management (root)<br \/>                  (sparc) 1.0,REV=2001.07.25.13.05<br \/>  4  SUNWmdg      Solstice DiskSuite Tool<br \/>                  (sparc) 4.2.1,REV=1999.11.04.18.29<br \/>  5  SUNWmdja     Solstice DiskSuite Japanese localization<br \/>                  (sparc) 4.2.1,REV=1999.12.09.15.37<br \/>  6  SUNWmdnr     Solstice DiskSuite Log Daemon Configuration Files<br \/>                  (sparc) 4.2.1,REV=1999.11.04.18.29<br \/>  7  SUNWmdnu     Solstice DiskSuite Log Daemon<br \/>                  (sparc) 4.2.1,REV=1999.11.04.18.29<br \/>  8  SUNWmdr      Solstice DiskSuite Drivers<br \/>                  (sparc) 4.2.1,REV=1999.12.03.10.00<br \/>  9  SUNWmdu      Solstice DiskSuite Commands<br \/>                  (sparc) 4.2.1,REV=1999.11.04.18.29<br \/> 10  SUNWmdx      Solstice DiskSuite Drivers(64-bit)<br \/>                  (sparc) 4.2.1,REV=1999.11.04.18.29<br \/><\/pre>\n<p>        Select package(s) you wish to process (or &#39;all&#39; to process all packages). (default: all) [?,??,q]: all        <\/p>\n<p> Reboot the server after the successful installation. <\/p>\n<p>        <\/p>\n<p>&nbsp;<\/p>\n<p>        <\/p>\n<div class=\"command\"># init 6<\/div>\n<p>        <\/p>\n<p> Prepare the drives for SDS<\/p>\n<p>        <\/p>\n<p> SDS uses metadevice state databases to store information on disk about the state of your DiskSuite configuration. The metadevice state database records and tracks changes made to your configuration. These databases must reside on a dedicated slice(in the case of a boot drive). I typically leave about 10MB of unused space on the boot drive when installing Solaris for these databases.<\/p>\n<p>        <\/p>\n<p> Disksuite has the following rules with respect to the use of database replicas:<\/p>\n<p>        <\/p>\n<p> The system will not boot unless more than half of the replicas are available The system will panic if more than half of the replicas are corrupt.<\/p>\n<p>        <\/p>\n<p> If one of your drives fail, and the system is rebooted for any reason it will not automatically boot in a two disk mirror configuration. You can disable the feature by setting the following system parameter:<\/p>\n<p>        <\/p>\n<p>&nbsp;<\/p>\n<p>        <\/p>\n<div class=\"command\"># echo &quot;set md:mirrored_root_flag=1&quot; &gt;&gt; \/etc\/system<\/div>\n<p>        <\/p>\n<p> The output from format of my boot disk looks like the following. <\/p>\n<p>        <\/p>\n<div class=\"command_small\">          <\/p>\n<pre>Total disk cylinders available: 24620 + 2 (reserved cylinders)<br \/><br \/>Part      Tag    Flag     Cylinders         Size            Blocks<br \/>  0       root    wm       0 -   283      400.62MB    (284\/0\/0)     820476<br \/>  1        var    wm     284 -  1701        1.95GB    (1418\/0\/0)   4096602<br \/>  2     backup    wm       0 - 24619       33.92GB    (24620\/0\/0) 71127180<br \/>  3       swap    wu    1702 -  3136        1.98GB    (1435\/0\/0)   4145715<br \/>  4 unassigned    wm    3137 -  3144       11.29MB    (8\/0\/0)        23112<br \/>  5 unassigned    wm    3145 -  5271        2.93GB    (2127\/0\/0)   6144903<br \/>  6        usr    wm    5272 - 11652        8.79GB    (6381\/0\/0)  18434709<br \/>  7       home    wm   11653 - 24619       17.86GB    (12967\/0\/0) 37461663<br \/><\/pre>\n<p>        <\/div>\n<p> The partition table of the mirrored drive should be identical to the boot drive. Copy the partition table of the boot drive to its mirror.        <\/p>\n<p>&nbsp;<\/p>\n<p>        <\/p>\n<div class=\"command\"># prtvtoc \/dev\/rdsk\/c0t0d0s2 | fmthard -s &#8211; \/dev\/rdsk\/c0t1d0s2<\/div>\n<p>        <\/p>\n<p> fmthard: New volume table of contents now in place <\/p>\n<p>        <\/p>\n<p> In this case c0t0d0s2 is the boot drive and c0t1d0s2 is the mirror. <\/p>\n<p>        <\/p>\n<p>&nbsp;<\/p>\n<p>        <\/p>\n<div class=\"command\"># metadb -a -f -c2 \/dev\/dsk\/c0t0d0s4 \/dev\/dsk\/c0t1d0s4<\/div>\n<p>        <\/p>\n<p> Create the mirror for \/ filesystem <\/p>\n<p>        <\/p>\n<div class=\"command\">          <\/p>\n<pre># metainit -f d10 1 1 c0t0d0s0<br \/>d10: Concat\/Stripe is setup<br \/># metainit d20 1 1 c0t1d0s0<br \/>d20: Concat\/Stripe is setup<br \/># metainit d30 -m d10<br \/>d30: Mirror is setup<br \/># metaroot d30<br \/><\/pre>\n<p>        <\/div>\n<p>        Create the mirror for all other filesystems        <\/p>\n<div class=\"command\">          <\/p>\n<pre>\/var filesystem:<br \/># metainit -f d11 1 1 c0t0d0s1<br \/># metainit d21 1 1 c0t1d0s1<br \/># metainit d31 -m d11<br \/><br \/>Swap filesystem:<br \/># metainit -f d13 1 1 c0t0d0s3<br \/># metainit d23 1 1 c0t1d0s3<br \/># metainit d33 -m d13<br \/><br \/>\/opt filesystem:<br \/># metainit -f d15 1 1 c0t0d0s5<br \/># metainit d25 1 1 c0t1d0s5<br \/># metainit d35 -m d15<br \/><br \/>\/usr filesystem:<br \/># metainit -f d16 1 1 c0t0d0s6<br \/># metainit d26 1 1 c0t1d0s6<br \/># metainit d36 -m d16<br \/><br \/>\/export\/home filesystem:<br \/># metainit -f d17 1 1 c0t0d0s7<br \/># metainit d27 1 1 c0t1d0s7<br \/># metainit d37 -m d17<br \/><\/pre>\n<p>        <\/div>\n<p>        Edit the \/etc\/vfstab to mount the new mirrors on boot.        <\/p>\n<p> Before : <\/p>\n<p>        <\/p>\n<div class=\"command_small\">          <\/p>\n<pre>#device         device          mount           FS      fsck    mount   mount<br \/>#to mount       to fsck         point           type    pass    at boot options<br \/>#<br \/>#\/dev\/dsk\/c1d0s2 \/dev\/rdsk\/c1d0s2 \/usr          ufs     1       yes     -<br \/>fd      -       \/dev\/fd fd      -       no      -<br \/>\/proc   -       \/proc   proc    -       no      -<br \/>\/dev\/dsk\/c0t0d0s3       -       -       swap    -       no      -<br \/>\/dev\/md\/dsk\/d30 \/dev\/md\/rdsk\/d30        \/       ufs     1       no      -<br \/>\/dev\/dsk\/c0t0d0s6       \/dev\/rdsk\/c0t0d0s6      \/usr    ufs     1       no      -<br \/>\/dev\/dsk\/c0t0d0s1       \/dev\/rdsk\/c0t0d0s1      \/var    ufs     1       no      -<br \/>\/dev\/dsk\/c0t0d0s7       \/dev\/rdsk\/c0t0d0s7      \/export\/home    ufs     2       yes     -<br \/>\/dev\/dsk\/c0t0d0s5       \/dev\/rdsk\/c0t0d0s5      \/opt    ufs     2       yes     -<br \/>swap    -       \/tmp    tmpfs   -       yes     -<br \/><\/pre>\n<p>        <\/div>\n<p>        After :        <\/p>\n<div class=\"command_small\">          <\/p>\n<pre>#\/dev\/dsk\/c1d0s2 \/dev\/rdsk\/c1d0s2 \/usr          ufs     1       yes     -<br \/>fd      -       \/dev\/fd fd      -       no      -<br \/>\/proc   -       \/proc   proc    -       no      -<br \/>\/dev\/md\/dsk\/d33 -       -       swap    -       no      -<br \/>\/dev\/md\/dsk\/d30 \/dev\/md\/rdsk\/d30        \/       ufs     1       no      -<br \/>\/dev\/md\/dsk\/d36 \/dev\/md\/rdsk\/d36        \/usr    ufs     1       no      -<br \/>\/dev\/md\/dsk\/d31 \/dev\/md\/rdsk\/d31        \/var    ufs     1       no      -<br \/>\/dev\/md\/dsk\/d37 \/dev\/md\/rdsk\/d37        \/export\/home    ufs     2       yes     -<br \/>\/dev\/md\/dsk\/d35 \/dev\/md\/rdsk\/d35        \/opt    ufs     2       yes     -<br \/>swap    -       \/tmp    tmpfs   -       yes     -<br \/><\/pre>\n<p>        <\/div>\n<p>        Suppress warning messages        <\/p>\n<div class=\"command\"># metainit hsp001<\/div>\n<p> Attach the second submirror to the mirror. This will cause the data from the boot disk to be synchronized with the mirrored drive.        <\/p>\n<div class=\"command\">          <\/p>\n<pre># metattach d30 d20<br \/># metattach d31 d21<br \/># metattach d33 d23<br \/># metattach d35 d25<br \/># metattach d36 d26<br \/># metattach d37 d27<br \/><\/pre>\n<p>        <\/div>\n<p>        you will hear alot of disk thrashing at this point and your i\/o will go through the roof.        <\/p>\n<p> Use metastat to track progress<\/p>\n<p>        <\/p>\n<p>&nbsp;<\/p>\n<p>        <\/p>\n<div class=\"command\"># metastat<\/div>\n<p>        I like to use this one when i&#39;m watching though. it looks more impressive        <\/p>\n<div class=\"command\"># metastat | grep %<\/div>\n<p>        &#8230;        <\/p>\n<p> Enable the mirror disk to be bootable: <\/p>\n<p>        <\/p>\n<div class=\"command_small\"> # installboot \/usr\/platform\/`uname -i`\/lib\/fs\/ufs\/bootblk \/dev\/rdsk\/c0t1d0s0<\/p>\n<p>          # ls -l \/dev\/rdsk\/c0t1d0s0<\/p>\n<p>          lrwxrwxrwx 1 root root 45 Sep 8 11:25 \/dev\/rdsk\/c0t1d0s0 -&gt; ..\/..\/devices\/pci@1f,4000\/scsi@3\/sd@1,0:a,raw<\/p><\/div>\n<p>        This is the device path that you will use to define the alternate boot device at the hardware level.        <\/p>\n<div class=\"command\">ok nvalias mirror \/pci@1f,4000\/scsi@3\/sd@1,0:a,raw <\/div>\n<p> Issue a &quot;show-disks&quot; at the ok prompt to verify the correct path to the disk. Use &quot;devalias&quot; at the ok prompt to also give clues as to which device path to use.        <\/p>\n<p> In case of primary boot disk failure, boot from the alternate disk<\/p>\n<p>        <\/p>\n<p>&nbsp;<\/p>\n<p>        <\/p>\n<div class=\"command\">ok boot mirror<\/div>\n<p><\/p>\n<p><u><em><strong>Recr\u00e9er liens lecteurs de bandes: <\/strong><\/em><\/u><br \/>\n    If you remove or add a device on Solaris then the devices files must be recreated, either with boot -rv or devfsadm. For example to renumber the logical tape drive devices do the following: Tape drives were numbered beginning with \/dev\/rmt\/3 instead of \/dev\/rmt\/0. The physical devices pointed to by the logical \/dev\/rmt\/[012] devices no longer existed, and we wanted to renumber the valid devices beginning at \/dev\/rmt\/0.<br \/>\n       1. Cleanup non-existent tape drive devices with devfsadm.<\/p>\n<p>          # devfsadm -C -c tape -v           <br \/>\n       2. Remove all \/dev\/rmt logical links.<br \/>\n          # rm -f \/dev\/rmt\/*           <br \/>\n       3. Recreate all \/dev\/rmt logical links with devfsadm<br \/>\n          #  devfsadm -c tape -v<\/p>\n<p><\/p>\n<p><u><em><strong>D\u00e9marrage service r\u00e9seau en single<\/strong><\/em><\/u><\/p>\n<p>\/etc\/init.d\/inetinit start<br \/>\n\/etc\/init.d\/inetsvc start <\/p>\n<p><\/p>\n<p><u><em><strong>script pour monter une image iso<\/strong><\/em><\/u><br \/>\n#!\/bin\/ksh<br \/>\nif [ $# -eq 0 ] ; then<br \/>\n  lofiadm<br \/>\nelse<br \/>\n  ISOREP=$PWD<br \/>\n  ISOIMG=$1<br \/>\n  lofiadm | grep \u00ab\u00a0lofi\u00a0\u00bb > \/dev\/null<br \/>\n  if [ $? -eq 0 ] ; then<br \/>\n    echo \u00ab\u00a0Suppression de l ancien point de montage&#8230;\u00a0\u00bb<br \/>\n    umount \/cdrom > \/dev\/null<br \/>\n    lofiadm -d \/dev\/lofi\/1<br \/>\n  fi<br \/>\n  lofiadm -a ${ISOREP}\/${ISOIMG} \/dev\/lofi\/1<br \/>\n  mount -F hsfs -o ro \/dev\/lofi\/1 \/cdrom<br \/>\nfi<\/p>\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Quelques trucs et astuces pour Sun Solaris<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[8],"tags":[],"class_list":["post-109","post","type-post","status-publish","format-standard","hentry","category-informatique"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/pWrTo-1L","jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"_links":{"self":[{"href":"http:\/\/www.lookit.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/109","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.lookit.org\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.lookit.org\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.lookit.org\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.lookit.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=109"}],"version-history":[{"count":0,"href":"http:\/\/www.lookit.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/109\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.lookit.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=109"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.lookit.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=109"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.lookit.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=109"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}