YOGGIE YOGGIE MANAGEMENT SERVER Informations techniques Page 503

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 536
  • Table des matières
  • DEPANNAGE
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 502
Appendix A. HMC command list 485
Working with system profiles
This section describes commands for working with system profiles.
Creating a system profile
Use the mksyscfg command to create a system profile. In the following example, the user is
making a system profile named sysprof1, with partition profile prof1 for partition lpar1 and
partition profile prof1 for partition lpar2.
mksyscfg -r sysprof -m <managed system>
–i"name=sysprof1,\"lpar_names=lpar1,lpar2\",\"profile_names=prof1,prof1\""
Partition IDs can be specified instead of partition names when creating a system profile. This
is done by using the lpar_ids attribute instead of the lpar_names attribute.
Activating a system profile
Use the chsysstate command to activate a system profile. Type the following command:
chsysstate -r sysprof -m <managed system> -o on -n <system profile name>
Validating a system profile
Use the chsysstate command to validate a system profile. Type the following command:
chsysstate -r sysprof -m <managed system> -n <system profile name> --test
To validate a system profile, then activate that system profile if the validation is successful,
Type the following command:
chsysstate -r sysprof -m <managed system> -o on -n <system profile name> --test
Deleting a system profile
Use the rmsyscfg command to remove a system profile. Type the following command:
rmsyscfg -r sysprof -m <managed system> -n <system profile name>
Listing system profile properties
Use the lssyscfg command to list a system profile’s properties. Type the following command:
lssyscfg -r sysprof -m <managed system> --filter "profile_names=<system profile
name>"
To list all system profiles for the managed system, Type the following command:
lssyscfg -r sysprof -m <managed system>
Modifying system profile properties
Use the chsyscfg command to modify system profile properties. In the following example, the
user is adding profiles prof1 for partition lpar3 and prof2 for partition lpar4 to system profile
sysprof1:
chsyscfg -r sysprof -m <managed system>
-i"name=sysprof1,\"lpar_names+=lpar3,lpar4\",\"profile_names+=prof1,prof2\""
Valid attributes, specified with the –i flag, include:
򐂰 new_name
Note: Instead of entering configuration information on the command line with the -i flag,
the information can instead be placed in a file, and the filename specified with the -f flag.
Vue de la page 502
1 2 ... 498 499 500 501 502 503 504 505 506 507 508 ... 535 536

Commentaires sur ces manuels

Pas de commentaire