Umask chuser Aix

# chuser umask=002 username

Advertisements

Clone LPAR

Extraemos información del HMC:

lssyscfg -r prof -m Server-8233-E8B-SN0690DD

Nos quedamos con la parte que nos interesa en el fichero profile_file:

name=normal,lpar_name=NODE01,lpar_id=11,lpar_env=aixlinux,all_resources=0,min_mem=10240,desired_mem=12288,max_mem=30720,min_num_huge_pages=0,desired_num_huge_pages=0,max_num_huge_pages=0,mem_mode=ded,mem_expansion=0.0,hpt_ratio=1:64,proc_mode=shared,min_proc_units=0.3,desired_proc_units=0.6,max_proc_units=1.0,min_procs=1,desired_procs=2,max_procs=4,sharing_mode=uncap,uncap_weight=128,shared_proc_pool_id=0,shared_proc_pool_name=DefaultPool,affinity_group_id=none,io_slots=none,lpar_io_pool_ids=none,max_virtual_slots=6,”virtual_serial_adapters=0/server/1/any//any/1,1/server/1/any//any/1″,”virtual_scsi_adapters=2/client/1/VIOS21/10/0,3/client/2/VIOS22/2/0″,”virtual_eth_adapters=4/0/154//0/0/ETHERNET0//all/none,5/0/612//0/0/ETHERNET0//all/none”,vtpm_adapters=none,virtual_fc_adapters=none,hca_adapters=none,boot_mode=norm,conn_monitoring=1,auto_start=0,power_ctrl_lpar_ids=none,work_group_id=none,redundant_err_path_reporting=0,bsr_arrays=0,lhea_logical_ports=none,lhea_capabilities=none,lpar_proc_compat_mode=default,electronic_err_reporting=null

Clonamos:

mksyscfg -r prof -m P550_server -f profile_file

Salut!

cdrom AIX

$ mkvdev -fbo -vadapter vhost4
vtopt5 Available
$
$
$
$ lsmap -vadapter vhost4
SVSA            Physloc                                      Client Partition ID
————— ——————————————– ——————
vhost4          U8233.E8B.0690DDP-V1-C14                     0x00000006

VTD                   vtopt5
Status                Available
LUN                   0x8100000000000000
Backing device
Physloc
Mirrored              N/A

$ loadopt -vtd vtopt5 -disk AIX61-1.iso
$
$ lsmap -vadapter vhost4
SVSA            Physloc                                      Client Partition ID
————— ——————————————– ——————
vhost4          U8233.E8B.0690DDP-V1-C14                     0x00000006

VTD                   vtopt5
Status                Available
LUN                   0x8100000000000000
Backing device        /var/vio/VMLibrary/AIX61-1.iso
Physloc
Mirrored              N/A