Re: [OpenIndiana-discuss] An installation report and a few questions from a Solaris neophyte.

2018-05-12 Thread Lazarus Long
Thanks to everyone for your replies to my message.  I can figure out how to
add my information to the wiki if someone will create an account for me.
Just point me in the right direction.

It's been a busy week.  The issue with ndp filling up the kernel was not
fixed.  I just disabled the ndp service.  The way I see it is that if
anything depends on it in the future I'll trouble shoot it then but for now
I have more important things to learn about. I have been learning about
zones, networking configuration, service management, a bit about user
accounts, and a smattering of other things.  I have created a vnic,
configured a zone and installed a zone with an exclusive ip stack set up
for dhcp, configured the DNS (although I don't why I had to create
resolv.conf:  dhcp should take of that), installed tmux, the UTF-8 locale,
openjdk8, and now it's a minecraft server on my LAN.  I have got to say
that it was more work than I expected since the zone install is the very
definition of minimalism.  It took a few tries to get it right, but I have
a much better understanding of what I don't know yet just from setting up a
small zone.  Thank goodness for wikis and mailing list archives.  One thing
that didn't work was the zone-proxy-cache from the wiki article.  I think
it may be missing a step but once I stopped trying to use it things
progressed much faster.

My current TODO list, in no particular order:

{([ I still need to turn on m firewall but I don't want to lock myself out
of the system when I do it ;-)  For now the server is two routers (and
their firewalls) away from the internet but I want move it back to being
the main gateway for my LAN.

I need to set up the VNC server and try it out.  I might even keep it
running for a few days.

I need to learn more about RBAC, roles, pfexec, etc. so my user account can
be plugged into them so I can stop using sudo for everything.

Getting KVM working is still on the list but I have time before I really
need it for anything.  The lack of familiar tools will slow me down a bit
anyway so I don't want to rush and make a mess of my system.

Investigating 2FA options for my ssh connection once I am ready to move it
back to the gateway role.  Where's the fun in remote access if you only do
it through 10 meters of cat6?

Learn more about IPv6 and the OI networking tools (so I can get to the
bottom of the ndp issue) and test and deploy:  routing, a dhcp server, and
a local DNS server on the system.

Maybe install and use an irc client.

Learn more about SMF.  Things like it's tools and how the layers of
services are structured.

Learn more about pkg.  Things like it's tools and how the layers of
packages are structured.])}

And that's just a few days worth of what I know-that-I-don't-know.  Imagine
what I'll know-that-I-don't-know in 6 months or a year!  Anyway, I should
get back some food and get back at it.  If anyone has advice about common
pitfalls or if your years of experience tell you that I really need to
prioritize or add something to my list please feel free to mention it.
___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] An installation report and a few questions from a Solaris neophyte.

2018-05-08 Thread Tim Mooney

In regard to: [OpenIndiana-discuss] An installation report and a few...:


I have successfully installed Hipster 18.04 on my home serve,


Welcome to OI!  You've indicated you're a Solaris neophyte, but you've
succeeded at some fairly technical challenges, especially your install
to raidz.


a Xeon D-1520
with 32GB RAM, 4x1TB HDD in raidz and dual 1Gb Intel NICs (It's an ASROCK
D1520D4I motherboard, just for the record).  I also have an Nvidia
GTX750-ti card in the PCI-e slot.  The only hardware in the system that
doesn't have a working driver is the Intel Management Engine.


As others have mentioned, if you have time and are so inclined, getting
a login for wiki.openindiana.org and adding this hardware to the
user-maintained hardware compatibility list (HCL) would be beneficial
for other users down the road.  Not a requirement at all, but nice if
you can find the time.

Regarding these messages:


in.ndpd[574]: [ID 302683 daemon.error] incoming_ra: SIOCSLIFLNKINFO
(interface igb0): Invalid argument
in.ndpd[574]: [ID 102006 daemon.error] prefix_update_k(igb0, igb0:6, ::/64)
from  to ONLINK  name is already allocated


Your home network is IPv6 enabled, and something is sending out router
advertisements (the "_ra" in "incoming_ra") that the Solaris/OI neighbor
discovery protocol daemon (in.ndpd) doesn't like.

Reading the in.ndpd manual, you might be able to avoid the messages if you
try turning off either stateless or stateful (or both) autoconfiguration.
See the section on "-a" and how to do that via the config file.  There's
also the "-d" option, which might provide additional info to narrow down
what's causing it.

There are people on the list with a very deep understanding of Solaris
(and OI) networking.  I'm not one of them.  :-) If you can packet-capture
the IPv6 traffic that is triggering the message and post it, others might
be able to definitively suggest a fix.

Good luck!

Tim
--
Tim Mooney tim.moo...@ndsu.edu
Enterprise Computing & Infrastructure  701-231-1076 (Voice)
Room 242-J6, Quentin Burdick Building  701-231-8541 (Fax)
North Dakota State University, Fargo, ND 58105-5164

___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] An installation report and a few questions from a Solaris neophyte.

2018-05-08 Thread Till Wegmüller
Hi Lazarus

On 08.05.2018 11:36, Michal Nowak wrote:

> 
> Perhaps KVMadm from SFE repo is what you are looking for:
> 
> http://sfe.opencsw.org/quickrepolinks
> http://sfe.opencsw.org/localhostoih/en/search.shtml?token=kvmadm=Search
> 
> https://github.com/hadfl/KVMadm/blob/master/README.md
> 

A Simple Shell script is usually enough to run kvm I use the following.

'''ksh
#!/usr/bin/ksh

# configuration
VNIC=vnic4
# Sample zvol path.
HDD=/dev/zvol/rdsk/rpool1/kvm/jenkins-alpine/disk0
CD=/root/alpine-virt-3.7.0-x86_64.iso
VNC=0
# Memory for the KVM instance, in Mebibytes (2^20 bytes).
MEM=2048
# Virtual CPUs for the instance
CPUS=2

mac=`dladm show-vnic -po macaddress $VNIC`

/usr/bin/amd64/qemu-system-x86_64 \
-name "$(basename $CD)" \
-boot cd \
-enable-kvm \
-nodefaults \
-vnc :$VNC \
-monitor telnet:localhost:7000,server,nowait,nodelay \
-smp $CPUS \
-m $MEM \
-no-hpet \
-localtime \
-drive file=$HDD,if=virtio,index=0 \
-drive file=$CD,media=cdrom,if=ide,index=2  \
-net nic,vlan=0,name=net0,model=e1000,macaddr=$mac \
-net vnic,vlan=0,name=net0,ifname=$VNIC,macaddr=$mac \
-vga std \
-daemonize

if [ $? -gt 0 ]; then
echo "Failed to start VM"
fi
'''

I place this under the zfs dataset of the vm (rpool1/kvm/jenkins-alpine
in this case) as init.sh make it executable and just connect via ssh and
run the vm.

That gives you a telnet port on localhost:7000 to look into the vm
console if you want to to anything there. and a VNC on :0 on the host.

This is easiest to put into a zone as the zone will only need the
priviledges and the it's good to go. Which is best to do homework first
before using something more automagic like kvmadm.

Hope this helps
Greetings
Till

___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] An installation report and a few questions from a Solaris neophyte.

2018-05-08 Thread Michal Nowak

Hello Lazarus and welcome.

On 05/08/2018 06:17 AM, Lazarus Long wrote:

  Greetings,

First off, thanks for making OI.

I have successfully installed Hipster 18.04 on my home serve, a Xeon D-1520
with 32GB RAM, 4x1TB HDD in raidz and dual 1Gb Intel NICs (It's an ASROCK
D1520D4I motherboard, just for the record).  I also have an Nvidia
GTX750-ti card in the PCI-e slot.  The only hardware in the system that
doesn't have a working driver is the Intel Management Engine.  Since this
is a home server, I never use it anyway.


You may want to share your experience with various HW components on 
https://wiki.openindiana.org/oi/Community+HCL. Guys here on ml or IRC 
can create an wiki account for you.



   In order to install the operating
system I had use the text installer via the LiveUSB image because the
TextInstaller image flooded the console with kernel messages like these:

in.ndpd[574]: [ID 302683 daemon.error] incoming_ra: SIOCSLIFLNKINFO
(interface igb0): Invalid argument
in.ndpd[574]: [ID 102006 daemon.error] prefix_update_k(igb0, igb0:6, ::/64)
from  to ONLINK  name is already allocated

This meant that the text installer was scrolling off the screen faster than
I could read and respond to it.  Having to download the installer twice was
a minor thing for my part, but might mean that the project is spending more
on bandwidth than it needs to so I thought I should bring it up.  I had
read a bit before trying the install and I knew that I wouldn't be able to
install OI onto striped mirrors (raid10) like *BSD so I chose raidz
instead.  I had to reboot and restart the the installation once because I
had created the zpool manually, but when I tried to install to an existing
zpool the installer didn't prompt me to create a user account.  I can see
the logic behind this if one is upgrading or recovering an existing
system.  Anyway, the text installer had trouble overwriting the zfs info I
had added to my disks and when I rebooted the OI bootloader couldn't mount
the zpool.  Knowing that this was above my pay grade I just installed again.

After the install:

The MATE desktop looks and acts almost just like Linux.  There were a few
cosmetic glitches when changing themes, but logging out and back in
resolved them.

The messages from ndp are still coming fast and furious but I am closer to
finding out how to disable them.  I am currently reading about man pages
about service management and trying to do my homework before I make any
changes.

The sshd daemon works great out the box and I was able to return my server
to it's normal headless state.  So now a few questions:

Is there a preferred VNC server I should install or will ssh be "good
enough" for remote administration of the system?

When I do 'pkg search libvirt' and 'pkg search virt-manager' I can see:

pkg.fmri   setopenindiana.org/system/library/libvirt
pkg:/system/library/libvirt@0.5.11-2015.0.2.0

and

pkg.fmri   setopenindiana.org/desktop/virt-manager
pkg:/desktop/virt-manager@0.6.1-2015.0.2.0

However I think that these are pkg categories since I can't install them.
Are there other packages I should be searching for in order to get libvirt
up and running for remote KVM management or will I have to do everything
via command line?


Perhaps KVMadm from SFE repo is what you are looking for:

http://sfe.opencsw.org/quickrepolinks
http://sfe.opencsw.org/localhostoih/en/search.shtml?token=kvmadm=Search
https://github.com/hadfl/KVMadm/blob/master/README.md

Though, I haven't tried that myself.

Michal



Thanks for reading this and have great day!

Marc Roberts
___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss


___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] An installation report and a few questions from a Solaris neophyte.

2018-05-08 Thread Alexander Pyhalov

Hi.

On 05/08/18 07:17 AM, Lazarus Long wrote:

  Greetings,




Is there a preferred VNC server I should install or will ssh be "good
enough" for remote administration of the system?


There's x11/server/xvnc (Tiger VNC). But usually servers don't have GUI 
apps installed, and ssh is enough.




When I do 'pkg search libvirt' and 'pkg search virt-manager' I can see:

pkg.fmri   setopenindiana.org/system/library/libvirt
pkg:/system/library/libvirt@0.5.11-2015.0.2.0

and

pkg.fmri   setopenindiana.org/desktop/virt-manager
pkg:/desktop/virt-manager@0.6.1-2015.0.2.0

However I think that these are pkg categories since I can't install them.
Are there other packages I should be searching for in order to get libvirt
up and running for remote KVM management or will I have to do everything
via command line?


IIRC, these packages were coming from closed consolidation and are 
removed now, what you see is 'obsolete' packages, they make existing 
systems to uninstall them on upgrade.


--
Best regards,
Alexander Pyhalov,
system administrator of Southern Federal University IT department

___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss


[OpenIndiana-discuss] An installation report and a few questions from a Solaris neophyte.

2018-05-07 Thread Lazarus Long
 Greetings,

First off, thanks for making OI.

I have successfully installed Hipster 18.04 on my home serve, a Xeon D-1520
with 32GB RAM, 4x1TB HDD in raidz and dual 1Gb Intel NICs (It's an ASROCK
D1520D4I motherboard, just for the record).  I also have an Nvidia
GTX750-ti card in the PCI-e slot.  The only hardware in the system that
doesn't have a working driver is the Intel Management Engine.  Since this
is a home server, I never use it anyway.  In order to install the operating
system I had use the text installer via the LiveUSB image because the
TextInstaller image flooded the console with kernel messages like these:

in.ndpd[574]: [ID 302683 daemon.error] incoming_ra: SIOCSLIFLNKINFO
(interface igb0): Invalid argument
in.ndpd[574]: [ID 102006 daemon.error] prefix_update_k(igb0, igb0:6, ::/64)
from  to ONLINK  name is already allocated

This meant that the text installer was scrolling off the screen faster than
I could read and respond to it.  Having to download the installer twice was
a minor thing for my part, but might mean that the project is spending more
on bandwidth than it needs to so I thought I should bring it up.  I had
read a bit before trying the install and I knew that I wouldn't be able to
install OI onto striped mirrors (raid10) like *BSD so I chose raidz
instead.  I had to reboot and restart the the installation once because I
had created the zpool manually, but when I tried to install to an existing
zpool the installer didn't prompt me to create a user account.  I can see
the logic behind this if one is upgrading or recovering an existing
system.  Anyway, the text installer had trouble overwriting the zfs info I
had added to my disks and when I rebooted the OI bootloader couldn't mount
the zpool.  Knowing that this was above my pay grade I just installed again.

After the install:

The MATE desktop looks and acts almost just like Linux.  There were a few
cosmetic glitches when changing themes, but logging out and back in
resolved them.

The messages from ndp are still coming fast and furious but I am closer to
finding out how to disable them.  I am currently reading about man pages
about service management and trying to do my homework before I make any
changes.

The sshd daemon works great out the box and I was able to return my server
to it's normal headless state.  So now a few questions:

Is there a preferred VNC server I should install or will ssh be "good
enough" for remote administration of the system?

When I do 'pkg search libvirt' and 'pkg search virt-manager' I can see:

pkg.fmri   setopenindiana.org/system/library/libvirt
pkg:/system/library/libvirt@0.5.11-2015.0.2.0

and

pkg.fmri   setopenindiana.org/desktop/virt-manager
pkg:/desktop/virt-manager@0.6.1-2015.0.2.0

However I think that these are pkg categories since I can't install them.
Are there other packages I should be searching for in order to get libvirt
up and running for remote KVM management or will I have to do everything
via command line?

Thanks for reading this and have great day!

Marc Roberts
___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss