Creation of a Private System container
This copies the files from the global system to a folder name as /var/hpsrp/<cSRPNAME>
Ensure that you have enough space on the /var/hpsrp on the global system.
In case you plan that you want also to import and export the system container to a different system also you may better plan to have the /var/hpsrp/<cSRP> to be hosted on a SAN/ISCSI LUN which both the source and the target global systems can see and can access.
root@node3l@/#srp -add privsrp -t system subtype=private
Enter the requested values when prompted, then press return.
Enter "?" for help at prompt. Press control-c to exit.
Services to add: [cmpt,admin,init,prm,network,provision]
Autostart container at system boot? [yes]
Root user password :
Reenter root user password:
Configure DNS Resolver? [no]
List of Unix user names for container administrator: [root]
PRM group name to associate with this container: [privsrp]
PRM group type (FSS, PSET): [FSS]
PRM FSS group CPU shares: [10]
PRM FSS group CPU cap (press return for no cap): []
PRM group memory shares: [10]
PRM group memory cap (press return for no cap): []
PRM group shared memory (press return for no dedicated memory): []
IP address: 192.168.10.123
Add IP address to netconf file? [yes]
IP subnet mask (press return to accept default): []
Network interface name: lan0
Gateway server IP address for default route (0 to skip) [192.168.10.123]
The following template variables have been set to the values shown:
iface = lan0
ip_address = 192.168.10.123
root_password = ******
Press return or enter "yes" to make the selected modifications with these
values. Do you wish to continue? [yes] yes
add compartment rules succeeded
add RBAC admin role for compartment succeeded
add prm rules succeeded
+++++++++++++++
Start the container after the container of the type system and subtype private has been created.
srp_su to the container
swinstall is not supported inside the system container
newfs , mkfs is however supported inside the system container
+++++++++++++++++++++++++++++++++++++++++
In a system container the NFS Client is supported but nfsexport is not supported
The /sbin/init.d has very less things
# ls
S101vxfs_remount_root hpws22_webmin ovpa
TftpdStandAlone hpws22_webproxy pwgr
autofs hpws_xmltools rwhod
clean_adm inetd samba
clean_ex killall sec_init
clean_tmps ldapclientd.rc sec_late_init
cron lockmgr secsh
dhcpv6.client lp sendmail
dtlogin.rc nfs.client srp_bootup
escsi nfs.core swagentd
fsdaemon nfs.core-ipv6 swconfig
hostname nfs.core2-ipv6 syslogd
hpws22_apache nis.client userdb
hpws22_tomcat nis.server utmpd
#
#
# exportfs
#
# exportfs -av
shareall -F nfs
shareall is supported only from a global SRP
#
#
# shareall -F nfs
shareall is supported only from a global SRP
+++++++++++++++++++++++++++
No comments:
Post a Comment