- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Trouble creating HP 9000 Container
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-01-2012 06:50 AM - edited 10-01-2012 01:11 PM
10-01-2012 06:50 AM - edited 10-01-2012 01:11 PM
I am trying to build a HP 9000 container for a proof-of-concept. I have a vm guest (VSE-OE, 11.31-1209). I have installed HP-UX-SRP and HP9KContainers. When I execute the command to create the container, there seems to be a missing file:
/opt/hpsrp/newconfig/var/hpsrp/sbin/init.d/srp_cleanup.
Here is the output from the srp -add command:
root@vm01 [/root]
#srp -add packard -t hp9000sys
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? [yes]
Domain name: [hp.local]
DNS Server IP Address: [192.168.0.80, 192.168.0.1, 205.171.2.25, 205.171.3.25]
Use rules to restrict unsupported commands? [no]
List of Unix user names for container administrator: [root]
PRM group name to associate with this container: [packard]
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.0.202
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.0.202]
The following template variables have been set to the values shown:
iface = lan0
ip_address = 192.168.0.202
root_password = ******
Press return or enter "yes" to make the selected modifications with these
values. Do you wish to continue? [yes]
add compartment rules succeeded
add RBAC admin role for compartment succeeded
add prm rules succeeded
Mounting loopback (LOFS) filesystems ...
Generating swlist ...
Changing root user password ...
Configuring srp user and group ids ...
Configuring sshd ...
Configuring software distributor ...
Configuring DNS Resolver ...
Warning: more than three nameservers configured in /var/hpsrp/packard/etc/resolv.conf
A maximum of three nameservers will be used by the DNS resolver.
Configuring device files ...
Copying products from INIT ...
Deleting unsupported services ...
command "cp -p /opt/hpsrp/newconfig/var/hpsrp/sbin/init.d/srp_cleanup /var/hpsrp/packard/sbin/init.d/srp_cleanup 2>&1" failed: cp: cannot access /opt/hpsrp/newconfig/var/hpsrp/sbin/init.d/srp_cleanup: No such file or directory
Anyone have any idea what I am missing, stepwise?
Regards,
Jim Reed
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-01-2012 07:24 AM
10-01-2012 07:24 AM
Re: Trouble creating HP 9000 Container
The first question is -- Does the file "/opt/hpsrp/newconfig/var/hpsrp/sbin/init.d/srp_cleanup" actually exist?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-01-2012 07:41 AM
10-01-2012 07:41 AM
Re: Trouble creating HP 9000 Container
No it does not.
root@vm01 [/opt/hpsrp/newconfig/var/hpsrp/sbin/init.d]
#ls
srp_bootup srp_mount srp_sd_setup
srp_killall srp_net xinetd
Jim Reed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-01-2012 02:07 PM
10-01-2012 02:07 PM
Re: Trouble creating HP 9000 Container
>No it does not.
Can you do a find to search other places:
find /opt/hpsrp -name "srp_cleanup*"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-01-2012 02:28 PM
10-01-2012 02:28 PM
Re: Trouble creating HP 9000 Container
@Dennis Handly wrote:>No it does not.
>Can you do a find to search other places:
>find /opt/hpsrp -name "srp_cleanup*"
No, find /opt/hpsrp -name "srp_cleanup*" shows nothing. Likewise,
find /opt/hpsrp | grep cleanup.
Do you have "golden" (known working installation) where you can check for that file?
Jim Reed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-02-2012 06:42 AM - last edited on 10-11-2012 10:45 PM by Cathy_xu
10-02-2012 06:42 AM - last edited on 10-11-2012 10:45 PM by Cathy_xu
SolutionThis is a recently discovered incompatibility with HP-UX-SRP A.03.01.004 released in September. We are updating HP 9000 Containers product to take care of this. The update HP 9000 Containers A.03.01.04 will be available via web release on Oct 17 (also adding some new features).
I applied this version of HP9KContainers (A.03.01.04) and am now able to create my container:
root@vm01 [/opt/hpsrp]
#srp -add packard -t hp9000sys
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? [yes]
Domain name: [hp.local]
DNS Server IP Address: [192.168.0.80, 192.168.0.1, 205.171.2.25]
Use rules to restrict unsupported commands? [no]
List of Unix user names for container administrator: [root]
PRM group name to associate with this container: [packard]
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.0.202
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.0.202] 192.168.0.1
The following template variables have been set to the values shown:
gw_ip_address = 192.168.0.1
iface = lan0
ip_address = 192.168.0.202
root_password = ******
Press return or enter "yes" to make the selected modifications with these
values. Do you wish to continue? [yes]
add compartment rules succeeded
add RBAC admin role for compartment succeeded
add prm rules succeeded
Mounting loopback (LOFS) filesystems ...
Generating swlist ...
Changing root user password ...
Configuring srp user and group ids ...
Configuring sshd ...
Configuring software distributor ...
Configuring DNS Resolver ...
Configuring device files ...
Copying products from INIT ...
Deleting unsupported services ...
Creating ARIES configuration ...
Moving root cron jobs ...
Copying files from INIT ...
Creating symbolic links ...
Replacing unsupported commands,,,
add compartment network service rules succeeded
add provision service succeeded
root@vm01 [/opt/hpsrp]
#srp -status
NAME TYPE STATE SUBTYPE ROOTPATH
packard hp9000sys stopped none /var/hpsrp/packard
root@vm01 [/opt/hpsrp]
#
The problem is solved.