Ajout d’applications

mercredi 17 septembre 2008
par  Jerome ROBERT
popularité : 6%

Ajouter une application dans SMC :



Pour commencer il faut exécuter :

# smc edit




















Je vous laisse libre votre imagination pour remplire la
description ....

Vous pouvez donner des icons/images
... ou laisser par défaut ...










On n’oublie pas de sauvegardé ...

Voici le fichier :

< ?xml version="1.0" encoding="UTF-8" ?>



< !DOCTYPE ToolBox PUBLIC ’-//Sun Microsystems, Inc.//Solaris
Management Console Toolbox//EN’
http://www.sun.com/solaris/management/toolbox.dtd’>



<ToolBox Version="0.0">

<Name>Management Tools</Name>

<Description>This is the root toolbox, which includes all
management tools installed on solaris-pc. Its default behavior is to
look for a toolbox on the host machine ("This Computer")
and link to it when SMC is started. You can add (link) multiple
toolboxes to Management Tools.</Description>

<Information>Management Tools displays all management
tools installed on solaris-pc. Click a closed "turner" icon
in the left (Navigation) pane to display system management tools that
are available on this server. Click on a tool in the Navigation pane
to load it and display the result in the right (View) pane. If
nothing is displayed under "Management Tools," double-click
it to display the nodes beneath it. Note that you have to
double-click a tool in the View pane to load it.</Information>

<Icon>http://solaris-pc:898/toolboxes/smc/smc.gif</Icon>

<LargeIcon>http://solaris-pc:898/toolboxes/smc/smc32.gif</LargeIcon>

<Scope>file :/solaris-pc/solaris-pc</Scope>

<ToolBoxURL>

<URL>http://solaris-pc:898/toolboxes/this_computer/this_computer.tbx</URL>

</ToolBoxURL>

<Tool TreeDisplay="false">

<Name>Admintool</Name>

<Description>Mettre la description de votre choix
...</Description>

<Icon>file :/var/sadm/smc/toolboxes/images/executable_16.gif</Icon>

<LargeIcon>file :/var/sadm/smc/toolboxes/images/executable_32.gif</LargeIcon>

<ClassName>LegacyAppTool.client.LaunchLegacyAppTool</ClassName>

<Properties>

<Key>Command</Key>
<Value>/usr/bin/admintool</Value>

<Key>Type</Key> <Value>XAPP</Value>

<Key>Name</Key> <Value>Admintool</Value>

</Properties>

</Tool>

</ToolBox>





Navigation

Articles de la rubrique

Statistiques

Dernière mise à jour

mercredi 4 octobre 2023

Publication

273 Articles
Aucun album photo
Aucune brève
6 Sites Web
2 Auteurs

Visites

24 aujourd’hui
105 hier
827514 depuis le début
5 visiteurs actuellement connectés