Re: xCAT on z/VM

2011-03-08 Thread Aaron Peeler

Hello Cameron,

You'll want to ask this on the xCAT user mailing list.

Aaron

On 3/7/11 5:47 PM, Cameron Seay wrote:

Greetings all!

Has anyone used xCAT on z/VM (the mainframe hypervisor)?  I'm working on
a project with it and any insight would be appreciated.

Oh, and when folks sign their names can they indicate their organization
(school, company, etc).

Thanks.

Cameron  Seay
NC A T State
Greensboro, NC, USA




--
Aaron Peeler
Program Manager
Virtual Computing Lab
NC State University


Re: xCAT on z/VM

2011-03-08 Thread Cameron Seay
Will do, thanks Aaron.

On Tue, Mar 8, 2011 at 9:03 AM, Aaron Peeler aaron_pee...@ncsu.edu wrote:

 Hello Cameron,

 You'll want to ask this on the xCAT user mailing list.

 Aaron


 On 3/7/11 5:47 PM, Cameron Seay wrote:

 Greetings all!

 Has anyone used xCAT on z/VM (the mainframe hypervisor)?  I'm working on
 a project with it and any insight would be appreciated.

 Oh, and when folks sign their names can they indicate their organization
 (school, company, etc).

 Thanks.

 Cameron  Seay
 NC A T State
 Greensboro, NC, USA



 --
 Aaron Peeler
 Program Manager
 Virtual Computing Lab
 NC State University




-- 
Cameron Seay, Ph.D.
Adjunct Professor
Electronics, Computer and Information Technology
School of Technology
NC A  T State University
Greensboro, NC
336 334 7717 x2251


Re: ssh on vmguest

2011-03-08 Thread Tyler Hardesty
This is what I get when I do ssh -vvv it says connection established
towards the beginning but I can't make heads or tails of the rest of it...
P.S. I started over with cygwin on the vm (deleted and reinstalled) but
still get the same warning message that vm2 isn't responding to ssh when I
do a vcld -setup.

output:
[root@vcl ~]# ssh -vvv 144.38.205.252
OpenSSH_4.3p2, OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008
debug1: Reading configuration data /root/.ssh/config
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug2: ssh_connect: needpriv 0
debug1: Connecting to 144.38.205.252 [144.38.205.252] port 22.
debug1: Connection established.
debug1: permanently_set_uid: 0/0
debug1: identity file /root/.ssh/identity type -1
debug1: identity file /root/.ssh/id_rsa type -1
debug1: identity file /root/.ssh/id_dsa type -1
debug1: loaded 3 keys
debug1: Remote protocol version 2.0, remote software version OpenSSH_5.1
debug1: match: OpenSSH_5.1 pat OpenSSH*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_4.3
debug2: fd 3 setting O_NONBLOCK
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug2: kex_parse_kexinit:
diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
debug2: kex_parse_kexinit: ssh-rsa,ssh-dss
debug2: kex_parse_kexinit:
aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour128,arcfour256,arcfour,aes192-cbc,aes256-cbc,
rijndael-...@lysator.liu.se,aes128-ctr,aes192-ctr,aes256-ctr
debug2: kex_parse_kexinit:
aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour128,arcfour256,arcfour,aes192-cbc,aes256-cbc,
rijndael-...@lysator.liu.se,aes128-ctr,aes192-ctr,aes256-ctr
debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,hmac-ripemd160,
hmac-ripemd...@openssh.com,hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,hmac-ripemd160,
hmac-ripemd...@openssh.com,hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit: none,z...@openssh.com,zlib
debug2: kex_parse_kexinit: none,z...@openssh.com,zlib
debug2: kex_parse_kexinit:
debug2: kex_parse_kexinit:
debug2: kex_parse_kexinit: first_kex_follows 0
debug2: kex_parse_kexinit: reserved 0
debug2: kex_parse_kexinit:
diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
debug2: kex_parse_kexinit: ssh-rsa,ssh-dss
debug2: kex_parse_kexinit:
aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour128,arcfour256,arcfour,aes192-cbc,aes256-cbc,
rijndael-...@lysator.liu.se,aes128-ctr,aes192-ctr,aes256-ctr
debug2: kex_parse_kexinit:
aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour128,arcfour256,arcfour,aes192-cbc,aes256-cbc,
rijndael-...@lysator.liu.se,aes128-ctr,aes192-ctr,aes256-ctr
debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,umac...@openssh.com
,hmac-ripemd160,hmac-ripemd...@openssh.com,hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,umac...@openssh.com
,hmac-ripemd160,hmac-ripemd...@openssh.com,hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit: none
debug2: kex_parse_kexinit: none
debug2: kex_parse_kexinit:
debug2: kex_parse_kexinit:
debug2: kex_parse_kexinit: first_kex_follows 0
debug2: kex_parse_kexinit: reserved 0
debug2: mac_init: found hmac-md5
debug1: kex: server-client aes128-cbc hmac-md5 none
debug2: mac_init: found hmac-md5
debug1: kex: client-server aes128-cbc hmac-md5 none
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(102410248192) sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
debug2: dh_gen_key: priv key bits set: 124/256
debug2: bits set: 497/1024
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
debug3: check_host_in_hostfile: filename /dev/null
debug3: check_host_in_hostfile: filename /etc/ssh/ssh_known_hosts
Warning: Permanently added '144.38.205.252' (RSA) to the list of known
hosts.
debug2: bits set: 502/1024
debug1: ssh_rsa_verify: signature correct
debug2: kex_derive_keys
debug2: set_newkeys: mode 1
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug2: set_newkeys: mode 0
debug1: SSH2_MSG_NEWKEYS received
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug2: service_accept: ssh-userauth
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug2: key: /root/.ssh/identity ((nil))
debug2: key: /root/.ssh/id_rsa ((nil))
debug2: key: /root/.ssh/id_dsa ((nil))
debug1: Authentications that can continue: publickey,keyboard-interactive
debug3: start over, passed a different list publickey,keyboard-interactive
debug3: preferred gssapi-with-mic,publickey,keyboard-interactive,password
debug3: authmethod_lookup publickey
debug3: remaining preferred: keyboard-interactive,password
debug3: authmethod_is_enabled publickey
debug1: Next authentication method: publickey
debug1: Trying private key: /root/.ssh/identity
debug3: no such identity: /root/.ssh/identity
debug1: Trying private key: /root/.ssh/id_rsa
debug3: no such identity: /root/.ssh/id_rsa
debug1: Trying private key: /root/.ssh/id_dsa
debug3: no such 

Re: ssh on vmguest

2011-03-08 Thread James O'Dell
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

I've gone through and compared your ssh debug info with mine.

It looks like your '/etc/ssh/ssh_config' is different than
mine. I added the following to the end of the file when I built
vcl:

 IdentityFile /opt/vcl/etc/vcl/vcl.key
 StrictHostKeyChecking no


I think this reflects the problem. You get:
 debug1: SSH2_MSG_SERVICE_ACCEPT received
 debug2: key: /root/.ssh/identity ((nil))
 debug2: key: /root/.ssh/id_rsa ((nil))
 debug2: key: /root/.ssh/id_dsa ((nil))
 debug1: Authentications that can continue: publickey,keyboard-interactive

I get
 debug1: SSH2_MSG_SERVICE_ACCEPT received
 debug2: key: /opt/vcl/etc/vcl/vcl.key (0x2ad12fbccc30)
 debug1: Authentications that can continue: publickey,keyboard-interactive


Also, where you get
 Warning: Permanently added '144.38.205.252' (RSA) to the list of known

I get
 debug1: Host 'vclvm010511' is known and matches the RSA host key.
 debug1: Found key in /root/.ssh/known_hosts:856


Here's where it really diverges. You have
 debug1: Next authentication method: publickey
 debug1: Trying private key: /root/.ssh/identity
 debug3: no such identity: /root/.ssh/identity
 debug1: Trying private key: /root/.ssh/id_rsa
 debug3: no such identity: /root/.ssh/id_rsa
 debug1: Trying private key: /root/.ssh/id_dsa
 debug3: no such identity: /root/.ssh/id_dsa
 debug2: we did not send a packet, disable method
 debug3: authmethod_lookup keyboard-interactive
 debug3: remaining preferred: password
 debug3: authmethod_is_enabled keyboard-interactive
 debug1: Next authentication method: keyboard-interactive
 debug2: userauth_kbdint
 debug2: we sent a keyboard-interactive packet, wait for reply
 debug1: Authentications that can continue: publickey,keyboard-interactive
 debug3: userauth_kbdint: disable: no info_req_seen
 debug2: we did not send a packet, disable method
 debug1: No more authentication methods to try.

I have
 debug1: Next authentication method: publickey
 debug1: Offering public key: /opt/vcl/etc/vcl/vcl.key
 debug3: send_pubkey_test
 debug2: we sent a publickey packet, wait for reply
 debug1: Server accepts key: pkalg ssh-rsa blen 149



Hope this helps,

__Jim




On 3/8/2011 12:22 PM, Tyler Hardesty wrote:
 This is what I get when I do ssh -vvv it says connection established
 towards the beginning but I can't make heads or tails of the rest of
 it... P.S. I started over with cygwin on the vm (deleted and
 reinstalled) but still get the same warning message that vm2 isn't
 responding to ssh when I do a vcld -setup.
 
 output:
 [root@vcl ~]# ssh -vvv 144.38.205.252
 OpenSSH_4.3p2, OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008
 debug1: Reading configuration data /root/.ssh/config
 debug1: Reading configuration data /etc/ssh/ssh_config
 debug1: Applying options for *
 debug2: ssh_connect: needpriv 0
 debug1: Connecting to 144.38.205.252 [144.38.205.252] port 22.
 debug1: Connection established.
 debug1: permanently_set_uid: 0/0
 debug1: identity file /root/.ssh/identity type -1
 debug1: identity file /root/.ssh/id_rsa type -1
 debug1: identity file /root/.ssh/id_dsa type -1
 debug1: loaded 3 keys
 debug1: Remote protocol version 2.0, remote software version OpenSSH_5.1
 debug1: match: OpenSSH_5.1 pat OpenSSH*
 debug1: Enabling compatibility mode for protocol 2.0
 debug1: Local version string SSH-2.0-OpenSSH_4.3
 debug2: fd 3 setting O_NONBLOCK
 debug1: SSH2_MSG_KEXINIT sent
 debug1: SSH2_MSG_KEXINIT received
 debug2: kex_parse_kexinit:
 diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
 debug2: kex_parse_kexinit: ssh-rsa,ssh-dss
 debug2: kex_parse_kexinit:
 aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour128,arcfour256,arcfour,aes192-cbc,aes256-cbc,rijndael-...@lysator.liu.se
 mailto:rijndael-...@lysator.liu.se,aes128-ctr,aes192-ctr,aes256-ctr
 debug2: kex_parse_kexinit:
 aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour128,arcfour256,arcfour,aes192-cbc,aes256-cbc,rijndael-...@lysator.liu.se
 mailto:rijndael-...@lysator.liu.se,aes128-ctr,aes192-ctr,aes256-ctr
 debug2: kex_parse_kexinit:
 hmac-md5,hmac-sha1,hmac-ripemd160,hmac-ripemd...@openssh.com
 mailto:hmac-ripemd...@openssh.com,hmac-sha1-96,hmac-md5-96
 debug2: kex_parse_kexinit:
 hmac-md5,hmac-sha1,hmac-ripemd160,hmac-ripemd...@openssh.com
 mailto:hmac-ripemd...@openssh.com,hmac-sha1-96,hmac-md5-96
 debug2: kex_parse_kexinit: none,z...@openssh.com
 mailto:z...@openssh.com,zlib
 debug2: kex_parse_kexinit: none,z...@openssh.com
 mailto:z...@openssh.com,zlib
 debug2: kex_parse_kexinit:
 debug2: kex_parse_kexinit:
 debug2: kex_parse_kexinit: first_kex_follows 0
 debug2: kex_parse_kexinit: reserved 0
 debug2: kex_parse_kexinit:
 diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
 debug2: kex_parse_kexinit: ssh-rsa,ssh-dss
 debug2: kex_parse_kexinit:
 

Re: ssh on vmguest

2011-03-08 Thread Tyler Hardesty
Hey thanks!

adding those lines helped solve my permission denied problem but
unfortunately I still can't create the base image... It keeps telling me
that it is not responding to ssh (It also looks like Jay Diener-Brazelle had
this problem that he posted at the end of Feb 2011 but I don't see a
solution reply to his either)

management node:

[root@vcl vcl]# /usr/local/vcl/bin/vcld -setup
VCL Management Node Setup

Select a module to configure:
1. VCL Base Module
2. VCL Image State Module
3. Windows OS Module

[vcld]
Make a selection (1-3, 'c' to cancel): 2

Choose an operation:
1. Capture Base Image

[vcld/Image]
Make a selection (1, 'c' to cancel): 1

Enter the VCL login name or ID of the user who will own the image: [admin]:

User who will own the image: admin (ID: 1)

Enter the hostname or IP address of the computer to be captured: ('c' to
cancel): vm2

Computer to be captured: vm2 (ID: 3)
Provisioning module: provisioning_vmware
Install type: vmware

Select the OS to be captured (install type: vmware):
1. Generic Linux (VMware)
2. Windows 2003 Server (VMware)
3. Windows 7 (VMware)
4. Windows Server 2008 (VMware)
5. Windows Vista (VMware)
6. Windows XP (VMware)

[vcld/Image/Capture Base Image]
Make a selection (1-6, 'c' to cancel): 6

Selected OS: Windows XP (VMware)

Image architecture:
1. x86
2. x86_64

[vcld/Image/Capture Base Image]
Make a selection (1-2, 'c' to cancel): 1

Image architecture: x86

Use Sysprep:
1. Yes
2. No

[vcld/Image/Capture Base Image]
Make a selection (1-2, 'c' to cancel): 2

Use Sysprep: No

Enter the name of the image to be captured: ('c' to cancel): win_xp

Added new image to database: 'win_xp'
   image.name: vmwarewinxp-win_xp14-v0
   image.id: 14
   imagerevision.id: 14
   imagemeta.id: 12
   resource.id: 24


Inserted imaging request to the database:
request ID: 10
reservation ID: 10

This process will now display the contents of the vcld.log file if the vcld
daemon is running. If you do not see many lines of additional output, exit
this
process, start the vcld daemon, and monitor the image capture process by
running
the command:
tail -f /var/log/vcld.log | grep '10:10'


2011-03-08 14:40:01|20476|utils.pm:insert_request(8343)|inserted new reload
request into request table, request id=10
2011-03-08 14:40:01|20476|utils.pm:insert_request(8374)|inserted new reload
request into reservation table, reservation id=10
2011-03-08 
14:40:05|13551|10:10|image|utils.pm:reservation_being_processed(8923)|computerloadlog
'begin' entry does NOT exist for reservation 10
2011-03-08 14:40:05|13551|10:10|image|utils.pm:run_command(8995)|executed
command: pgrep -fl 'vcld [0-9]+:10 ', pid: 20517, exit status: 1, output:
2011-03-08 
14:40:05|13551|10:10|image|utils.pm:is_management_node_process_running(9177)|process
is NOT running, identifier: 'vcld [0-9]+:10 '
2011-03-08 
14:40:05|13551|10:10|image|utils.pm:reservation_being_processed(8944)|reservation
is NOT currently being processed
2011-03-08 14:40:05|13551|10:10|image|vcld:main(278)|reservation 10 is NOT
already being processed
2011-03-08 14:40:05|13551|10:10|image|utils.pm:get_request_info(4510)|standalone
affiliation found: Local
2011-03-08 14:40:05|13551|10:10|image|vcld:main(283)|retrieved request
information from database
2011-03-08
14:40:05|13551|10:10|image|DataStructure.pm:is_parent_reservation(992)|returning
true: parent reservation ID for this request: 10
2011-03-08 
14:40:05|13551|10:10|image|utils.pm:update_request_state(1991)|request
10 state updated to: pending, laststate to: image
2011-03-08 14:40:05|13551|10:10|image|utils.pm:insertloadlog(3875)|inserted
computer=3, begin, beginning to process, state is image
2011-03-08 14:40:05|13551|10:10|image|vcld:make_new_child(515)|loaded
VCL::image module
2011-03-08 14:40:05|13551|10:10|image|vcld:make_new_child(539)|current
number of forked kids: 1
2011-03-08 14:40:05|20532|10:10|image|vcld:make_new_child(555)|vcld
environment variable set to 0 for this process
2011-03-08 14:40:05|20532|10:10|image|Module.pm:new(161)|VCL::image object
created for state image, address: 9a54b24
2011-03-08 14:40:05|20532|10:10|image|State.pm:initialize(86)|obtained a
database handle for this state process, stored as $ENV{dbh}
2011-03-08 14:40:05|20532|10:10|image|State.pm:check_image_os(772)|no
corrections need to be made to image OS: vmwarewinxp
2011-03-08
14:40:05|20532|10:10|image|DataStructure.pm:is_parent_reservation(992)|returning
true: parent reservation ID for this request: 10
2011-03-08 
14:40:05|20532|10:10|image|utils.pm:rename_vcld_process(7082)|reservation
count: 1
2011-03-08 
14:40:05|20532|10:10|image|utils.pm:rename_vcld_process(7101)|PARENTIMAGE:
1
2011-03-08